CN114466365B - Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium - Google Patents

Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium Download PDF

Info

Publication number
CN114466365B
CN114466365B CN202210140552.7A CN202210140552A CN114466365B CN 114466365 B CN114466365 B CN 114466365B CN 202210140552 A CN202210140552 A CN 202210140552A CN 114466365 B CN114466365 B CN 114466365B
Authority
CN
China
Prior art keywords
spectrum sharing
preset
mode
terminal
state value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210140552.7A
Other languages
Chinese (zh)
Other versions
CN114466365A (en
Inventor
张瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202210140552.7A priority Critical patent/CN114466365B/en
Publication of CN114466365A publication Critical patent/CN114466365A/en
Application granted granted Critical
Publication of CN114466365B publication Critical patent/CN114466365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a method, a device and a computer readable storage medium for acquiring spectrum resources, which are used for starting a preset spectrum sharing adjustment mode; determining a desired state threshold based on a preset spectrum sharing adjustment mode; acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than an expected state threshold value; spectrum resources are acquired based on a dynamic spectrum sharing mode. Therefore, the expected state threshold value is determined by starting the preset spectrum sharing adjustment mode, and then the state of the dynamic spectrum sharing mode of the terminal is adjusted according to the current network state value of the terminal and the expected state threshold value, so that the network rate of the terminal is ensured, and meanwhile, the acquisition efficiency of spectrum resources is improved.

Description

Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and apparatus for obtaining spectrum resources, and a computer readable storage medium.
Background
In recent years, with the rapid development of communication technologies, mobile communication technologies are also being developed and updated, for example, fourth generation mobile communication technology (4G LTE, abbreviated as 4G), fifth generation mobile communication technology (5G New Radio, abbreviated as 5G), and the like. In order to facilitate smooth transition between 4G and 5G and improve spectrum utilization efficiency, allocation of spectrum resources may be performed by using a dynamic spectrum sharing technique. Dynamic spectrum sharing (DSS, dynamic Spectrum Sharing), that is, allowing the 4G communication technology and the 5G communication technology to share the same spectrum, and dynamically allocating time-frequency resources to the 4G and 5G users, so that both the 4G and 5G users can obtain high-quality spectrum resources, thereby obtaining better data service experience.
However, when the DSS function is started by the terminal, if a large number of other terminals use high-quality spectrum resources at the same time, network congestion may be caused, and the network rate of the terminal is affected, so that the obtaining efficiency of the spectrum resources is lower.
Disclosure of Invention
The embodiment of the application provides a spectrum resource acquisition method, a spectrum resource acquisition device and a computer readable storage medium, which can improve the acquisition efficiency of spectrum resources while guaranteeing the network rate of a terminal.
The embodiment of the application provides a spectrum resource acquisition method, which comprises the following steps:
starting a preset frequency spectrum sharing adjustment mode;
determining a desired state threshold based on the preset spectrum sharing adjustment mode;
acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold value;
and acquiring spectrum resources based on the dynamic spectrum sharing mode.
Correspondingly, an embodiment of the present application provides a spectrum resource obtaining device, including:
the preset frequency spectrum sharing adjustment mode starting unit is used for starting the preset frequency spectrum sharing adjustment mode;
the expected state threshold determining unit is used for determining an expected state threshold based on the preset spectrum sharing adjustment mode;
The dynamic spectrum sharing mode starting unit is used for acquiring a current network state value and starting a dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold value;
and the spectrum resource acquisition unit is used for acquiring spectrum resources based on the dynamic spectrum sharing mode.
In an embodiment, the expected state threshold determining unit includes:
a historical network state value obtaining subunit, configured to obtain at least one historical network state value of a terminal based on the preset spectrum sharing adjustment mode;
and the expected state threshold determining subunit is used for determining a target state value according to the historical network state value and taking the target state value as an expected state threshold.
In an embodiment, the expected state threshold determining subunit comprises:
the time information acquisition module is used for acquiring time information corresponding to the historical network state value;
the rate weight determining module is used for determining the rate weight corresponding to each historical network state value in a preset weight interval based on the time information;
and the rate fusion module is used for fusing the historical network state values based on the rate weight to obtain a target state value.
In an embodiment, the expected state threshold determining unit includes:
a desired state threshold determination information display subunit, configured to display desired state threshold determination information based on the preset spectrum sharing adjustment mode, where the desired state threshold determination information is used to instruct a user to input a desired state threshold;
and the expected state threshold receiving subunit is used for receiving an expected state threshold which is input by the user according to the expected state threshold determination information.
In an embodiment, the dynamic spectrum sharing mode starting unit includes:
the weighting subunit is used for weighting the current network rate according to a preset network rate weight to obtain a weighted network rate, and weighting the current packet loss rate according to a preset packet loss weight to obtain a weighted packet loss rate;
the state fusion subunit is used for fusing the weighted network rate and the weighted packet loss rate to obtain a current state value;
and the starting subunit is used for starting a dynamic spectrum sharing mode when the current state value is smaller than the expected state threshold value.
In an embodiment, the spectrum resource obtaining apparatus further includes:
The adjustment times recording unit is used for recording adjustment times of the user triggering terminal to start and stop the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode;
and the adjusting unit is used for calculating an adjusting frequency based on the adjusting times and adjusting the expected state threshold according to the adjusting frequency.
In an embodiment, the spectrum resource obtaining apparatus further includes:
and the closing unit is used for closing the dynamic spectrum sharing mode when the current network speed value is not smaller than the expected state threshold value.
In addition, the embodiment of the application also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any spectrum resource acquisition method provided by the embodiment of the application.
In addition, the embodiment of the application also provides a computer device, which comprises a processor and a memory, wherein the memory stores an application program, and the processor is used for running the application program in the memory to realize the spectrum resource acquisition method provided by the embodiment of the application.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the spectrum resource acquisition method provided by the embodiment of the application.
The embodiment of the application starts a preset frequency spectrum sharing adjustment mode; determining a desired state threshold based on a preset spectrum sharing adjustment mode; acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than an expected state threshold value; spectrum resources are acquired based on a dynamic spectrum sharing mode. Therefore, the expected state threshold value is determined by starting the preset spectrum sharing adjustment mode, and then the state of the dynamic spectrum sharing mode of the terminal is adjusted in real time according to the current network state value of the terminal and the expected state threshold value, so that the acquisition of the spectrum resources is dynamically carried out based on the network state of the terminal, and the acquisition efficiency of the spectrum resources is improved while the network rate of the terminal is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an implementation scenario of a spectrum resource obtaining method according to an embodiment of the present application;
fig. 2a is a schematic flow chart of a spectrum resource obtaining method according to an embodiment of the present application;
fig. 2b is a specific flowchart of a spectrum resource obtaining method according to an embodiment of the present application;
fig. 3 is another flow chart of a spectrum resource obtaining method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a spectrum resource obtaining apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a spectrum resource acquisition method, a spectrum resource acquisition device and a computer readable storage medium. The spectrum resource obtaining device may be integrated in a computer device, and the computer device may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform. The terminal may be a device capable of obtaining spectrum resources, such as a smart phone, a tablet computer, a smart watch, a notebook computer, a desktop computer, and a smart speaker, but is not limited thereto. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
Referring to fig. 1, taking an example that a spectrum resource obtaining device is integrated in a terminal, fig. 1 is a schematic diagram of an implementation scenario of a spectrum resource obtaining method provided by an embodiment of the present application, where the terminal may be a computer device such as a smart phone, a tablet computer, a notebook computer, a smart watch, etc., but is not limited thereto. The terminal can start a preset spectrum sharing adjustment mode; determining a desired state threshold based on a preset spectrum sharing adjustment mode; acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than an expected state threshold value; spectrum resources are acquired based on a dynamic spectrum sharing mode.
It should be noted that, the schematic view of the implementation environment of the spectrum resource obtaining method shown in fig. 1 is only an example, and the implementation environment of the spectrum resource obtaining method described in the embodiment of the present application is for more clearly describing the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided by the embodiment of the present application. As can be known by those skilled in the art, with the evolution of spectrum resource acquisition and the appearance of new service scenarios, the technical scheme provided by the application is also applicable to similar technical problems.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described from the perspective of a spectrum resource acquisition apparatus, which may be specifically integrated in a computer device, which may be a terminal, the present application is not limited herein.
Referring to fig. 2a, fig. 2a is a flowchart illustrating a spectrum resource obtaining method according to an embodiment of the present application. The spectrum resource acquisition method comprises the following steps:
in step 101, a preset spectrum sharing adjustment mode is turned on.
The preset spectrum sharing adjustment mode may be a preset mode for adjusting a dynamic spectrum sharing (DSS, dynamic Spectrum Sharing) function of the terminal. The logic of the dynamic spectrum sharing function of the adjusting terminal of the preset spectrum sharing adjustment mode can be implemented in the terminal in the form of a computer program, the user can control the state of the preset spectrum sharing adjustment mode through a preset triggering condition, optionally, the preset spectrum sharing adjustment mode can be displayed in a terminal interface in the form of a control, the user can trigger the control of the preset spectrum sharing adjustment mode through touch operation, for example, the control of the preset spectrum sharing adjustment mode by touching, sliding or clicking to select a corresponding control can be triggered, the preset spectrum sharing adjustment mode can also be installed in the terminal in the form of a computer program, and the user can trigger the control of the preset spectrum sharing adjustment mode by the terminal through the corresponding control in the terminal or a remote controller associated with the terminal.
The terminal may be a device supporting mobile communication technologies such as a fourth generation mobile communication technology (4G LTE, abbreviated as 4G) and a fifth generation mobile communication technology (5G New Radio, abbreviated as 5G).
In an embodiment, the terminal may be a smart phone, and the preset spectrum sharing adjustment mode may be installed in the smart phone by means of a computer program and displayed in an interface of the smart phone in a control form, for example, a "DSS smart mode" control may be displayed in a setting interface of the smart phone, so that a user may control the smart phone to start the preset spectrum sharing adjustment mode by selecting the "DSS smart mode" control in the setting interface.
In an embodiment, please refer to fig. 2b, fig. 2b is a specific flowchart of a spectrum resource obtaining method provided in an embodiment of the present application, and when a terminal does not start a preset spectrum sharing adjustment mode, a request for starting a dynamic spectrum sharing mode triggered by a user may be directly received, so as to start the dynamic spectrum sharing mode.
In step 102, a desired state threshold is determined based on the preset spectrum sharing adjustment mode.
The expected state threshold may be a preset critical value, or may be a critical value determined in real time based on a terminal state, where the critical value may be a judgment condition for judging whether to start a dynamic spectrum sharing function by the terminal that starts a preset spectrum sharing adjustment mode. The expected state threshold may be a network rate of the terminal or a packet loss rate corresponding to the terminal, where the network rate may include an uplink rate and a downlink rate, where the uplink rate may be a data transmission rate when the mobile terminal sends information to the base station, for example, a data transmission rate when the wireless terminal such as a mobile phone, a notebook, etc. sends information to the base station, and the downlink rate may be a transmission rate when the base station sends information to the mobile terminal, for example, a data downloading rate when the wireless terminal such as a mobile phone or a notebook, etc. downloads data from the base station or the network. The packet loss rate may be a probability of packet loss in the network.
Specifically, referring to fig. 2b, after the terminal starts the preset spectrum sharing adjustment mode, the terminal may determine the expected state threshold based on the preset spectrum sharing adjustment mode, for example, may determine the current expected state threshold by acquiring a default expected state threshold of the system, may determine the current expected state threshold by acquiring an expected state threshold set by the user in a history process, may also prompt the user to input the expected state threshold by displaying an expected state threshold input interface, so that the expected state threshold may be determined according to information input by the user.
In step 103, a current network state value is obtained, and when the current network state value is less than the expected state threshold, a dynamic spectrum sharing mode is turned on.
The current network state value may be a value that may be used to characterize the current network state of the terminal and determined according to factors that may measure the current network state of the terminal, such as a network rate and a packet loss rate of the terminal. The dynamic spectrum sharing mode can be a mode for starting a dynamic spectrum sharing function of the terminal, the dynamic spectrum sharing mode can be displayed in a control interface of the terminal in a control mode, a user can directly start or close the dynamic spectrum sharing function of the terminal through the control corresponding to the dynamic spectrum sharing mode, and the dynamic spectrum sharing function of the terminal can be indirectly started and closed through starting a preset spectrum sharing adjustment mode.
The method for obtaining the current network state value may be various, for example, the current network rate of the terminal may be obtained as the current network state value of the terminal, for example, the current uplink rate and the current downlink rate of the terminal may be obtained, the current network state value is determined based on the current uplink rate and the current downlink rate of the terminal, for example, the value corresponding to the current uplink rate and the value corresponding to the downlink rate of the terminal may be weighted, so as to obtain the current network state value of the terminal.
Optionally, please continue to refer to fig. 2b, after the current network state value is obtained, the current network state value may be compared with the expected state threshold, when the current network state value is smaller than the expected state threshold, the current network state of the terminal may be considered to be worse, and a better spectrum resource may be obtained through the DSS function, so as to improve the current network state of the terminal, and at this time, a dynamic spectrum sharing mode may be started; when the current network state value is not smaller than the expected state threshold, the current network state of the terminal can be considered to be better, spectrum resources can be acquired without a dynamic spectrum sharing function, and at the moment, the dynamic spectrum sharing mode can be closed, so that unnecessary energy consumption of the terminal due to the fact that the dynamic spectrum sharing function is started can be avoided.
In step 104, spectrum resources are acquired based on the dynamic spectrum sharing mode.
The frequency spectrum resources may be radio frequency spectrum resources, the frequency ranges (i.e., frequency bands) corresponding to different networks are statically divided in advance, that is, different networks may use the frequency spectrum resources of the corresponding different frequency bands, for example, the 4G network may have its corresponding frequency band, the terminal supporting and using the 4G network may use the frequency spectrum resources of its corresponding frequency band, the 5G network may have its corresponding frequency band, and the terminal supporting and using the 5G network may use the frequency spectrum resources of its corresponding frequency band.
The different networks are divided corresponding to different frequency bands, so that mutual interference among the different networks can be basically avoided, and the frequency spectrum resource acquisition and use efficiency is low due to the division mode. For example, if there are few users in the 4G network (LTE) at a certain time, but the number of users in the 5G Network (NR) is large, the 5G network cannot use the spectrum resources corresponding to the 4G network at this time, which results in a waste of spectrum resources. For this reason, dynamic Spectrum Sharing (DSS) technology emerges, which means that LTE and NR can dynamically share spectrum, rather than statically dividing spectrum. For example, when LTE has no user and more NR users, the system may allocate more spectrum resources to NR users, and allocate less spectrum resources to LTE users, so that all users may obtain a good data service experience.
In the prior art, a high-quality spectrum resource is obtained by starting a dynamic spectrum sharing function, and dynamic spectrum sharing is stopped by manually closing the dynamic spectrum sharing function, however, when the dynamic spectrum sharing function is started on a terminal for a long time, on one hand, the power consumption of the terminal is increased, the service time and the battery life of the terminal are shortened, and on the other hand, when a large number of other terminals also use the high-quality spectrum resource at the same time, network congestion and unreasonable resource allocation are caused, the network rate of the terminal is influenced, and further the spectrum resource obtaining efficiency is lower.
Therefore, the embodiment of the application can dynamically adjust the on-off state of the dynamic spectrum sharing mode of the terminal based on the network state of the terminal by adjusting the on-off state of the dynamic spectrum sharing mode of the terminal in real time according to the current network state value and the expected state threshold value of the terminal, thereby improving the acquisition efficiency of the spectrum resources while ensuring the network rate of the terminal.
From the above, the present application opens the preset spectrum sharing adjustment mode; determining a desired state threshold based on a preset spectrum sharing adjustment mode; acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than an expected state threshold value; spectrum resources are acquired based on a dynamic spectrum sharing mode. Therefore, the expected state threshold value is determined by starting the preset spectrum sharing adjustment mode, and then the state of the dynamic spectrum sharing mode of the terminal is adjusted in real time according to the current network state value of the terminal and the expected state threshold value, so that the acquisition of the spectrum resources is dynamically carried out based on the network state of the terminal, and the acquisition efficiency of the spectrum resources is improved while the network rate of the terminal is ensured.
According to the method described in the above embodiments, examples are described in further detail below.
In this embodiment, a specific description will be given by taking the specific integration of the spectrum resource acquiring apparatus in a terminal as an example.
For a better description of embodiments of the present application, please refer to fig. 3. Fig. 3 is a schematic flow chart of a spectrum resource obtaining method according to an embodiment of the present application, as shown in fig. 3. The specific flow is as follows:
in step 201, the terminal starts a preset spectrum sharing adjustment mode, and obtains at least one historical network state value of the terminal based on the preset spectrum sharing adjustment mode.
The historical network state value may be a network state value of the terminal in a historical process, for example, may include a current network state value of the terminal and a historical network state value acquired by the terminal in a past time, alternatively, a network state value acquired in a past half hour may be used as a historical network state value, a network state value acquired in a past hour may also be used as a historical network state value, and a specific time range may be set according to an actual requirement, which is not limited herein. For example, the network state value acquired in the past one minute may be taken as a historical network state value, and assuming that the network state value of the terminal is acquired every 5 seconds, 12 network state values acquired in the past one minute may be taken as historical network state values.
In step 202, the terminal obtains time information corresponding to the historical network status values, and determines a rate weight corresponding to each historical network status value in a preset weight interval based on the time information.
The time information may be a time corresponding to each historical network state value collected by the terminal, the preset weight interval may be a preset weight interval, and each weight interval may include a time interval and a mapping relationship between corresponding weights, so that a weight corresponding to the time information, that is, a rate weight, may be determined in the preset weight interval according to the time interval to which each time information belongs.
Specifically, after obtaining the time information corresponding to the historical network state values, the terminal can determine which time interval the time information corresponding to each historical network state value belongs to, and then can determine the rate weight corresponding to each historical network state value in a preset weight interval according to the time interval corresponding to the time information.
For example, it is assumed that the preset weight interval may include a weight interval 1, a weight interval 2, a weight interval 3, and a weight interval 4, where the weight interval 1 includes a mapping relationship between a time interval from 0 to 5 seconds to the current time and a corresponding weight of 0.9, the weight interval 2 includes a mapping relationship between a time interval from 5 to 10 seconds to the current time and a corresponding weight of 0.7, the weight interval 3 includes a mapping relationship between a time interval from 10 to 15 seconds to the current time and a corresponding weight of 0.5, the weight interval 4 includes a mapping relationship between a time interval from 15 to 30 seconds to the current time and a corresponding weight of 0.2, and at the same time, it may be assumed that the historical network state value is a network state value acquired by the terminal in 30 seconds during the history, the method comprises a historical network state value c acquired 4 seconds away from the current time, a historical network state value d acquired 9 seconds away from the current time, a historical network state value e acquired 14 seconds away from the current time, a historical network state value f acquired 19 seconds away from the current time, a historical network state value g acquired 24 seconds away from the current time, and a historical network state value h acquired 29 seconds away from the current time, so that the rate weight corresponding to the historical network state value c can be determined to be 0.9 according to the time information corresponding to the historical network state value c, the rate weight corresponding to the historical network state value d can be determined to be 0.7 according to the time information corresponding to the historical network state value d, the rate weight corresponding to the historical network state value e can be determined to be 0.5 according to the time information corresponding to the historical network state value f, the rate weight corresponding to the historical network state value f can be determined to be 0.2, the rate weight corresponding to the historical network state value g can be determined to be 0.2 according to the time information corresponding to the historical network state value g, and the rate weight corresponding to the historical network state value h can be determined to be 0.2 according to the time information corresponding to the historical network state value h.
In step 203, the terminal fuses the historical network state values based on the rate weight to obtain a target state value, and takes the target state value as a desired state threshold.
The target state value may be a value obtained by fusing the historical network state values based on the rate weight, and the terminal may have multiple manners of fusing the historical network state values based on the rate weight, for example, each historical network state value may be weighted according to the rate weight corresponding to each historical network state value, the weighted results are accumulated, the target state value is obtained based on the accumulated result, and the target state value is used as the expected state threshold.
For example, assuming that the rate weight corresponding to the historical network state value c is determined to be 0.9, the rate weight corresponding to the historical network state value d is 0.7, the rate weight corresponding to the historical network state value e is 0.5, the rate weight corresponding to the historical network state value f is 0.2, the rate weight corresponding to the historical network state value g is 0.2, and the rate weight corresponding to the historical network state value h is 0.2, each historical network state value can be weighted according to the rate weight corresponding to each historical network state value, and the weighted results are accumulated to obtain 0.9c+0.7d+0.5e+0.2f+0.2g+0.2h, i.e. the target state value is obtained.
In an embodiment, the expected state threshold determining information may be displayed based on the preset spectrum sharing adjustment mode, and the expected state threshold input by the user according to the expected state threshold determining information may be received.
The expected state threshold determining information is used for indicating a user to input an expected state threshold, and the expected state threshold determining information can be generated on a page and displayed in the terminal and indicates the user to input the expected state threshold, so that the terminal can receive the expected state threshold of information input according to the expected state threshold determining information.
In step 204, the terminal obtains a current network state value, and starts a dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold.
The terminal can acquire a current network state value, compare the current network state value with the expected state threshold, and when the current network state value is smaller than the expected state threshold, the terminal is indicated to have a worse network state at the moment, and a dynamic spectrum sharing mode can be started to acquire a better network state.
In an embodiment, the current network state value may include a current network rate and a current packet loss rate, and the step of turning on a dynamic spectrum sharing mode when the current network state value is less than the expected state threshold may include: weighting the current network rate according to preset network rate weight to obtain weighted network rate, weighting the current packet loss rate according to preset packet loss weight to obtain weighted packet loss rate, and fusing the weighted network rate and the weighted packet loss rate to obtain a current state value; and when the current state value is smaller than the expected state threshold value, starting a dynamic spectrum sharing mode.
The preset network rate weight may be a weight value corresponding to a preset different network rate, the weighted network rate may be a rate value obtained by weighting the current network rate according to the preset network rate weight, the preset packet loss weight may be a weight value corresponding to a preset different packet loss rate, and the weighted packet loss rate may be a value obtained by weighting the current packet loss rate according to the preset packet loss weight. The current state value may be a value obtained by fusing the weighted network rate and the weighted packet loss rate.
The manner of fusing the weighted network rate and the weighted packet loss rate may be various, for example, the weighted network rate and the weighted packet loss rate may be averaged to obtain the current state value, for example, assuming that the weighted network rate includes i1 and i2 and the weighted packet loss rate includes j1 and j2, the weighted network rate and the weighted packet loss rate may be averaged to obtain the current state value may be (i1+i2+j1+j2)/4.
In step 205, the terminal obtains spectrum resources based on the dynamic spectrum sharing mode, and records the adjustment times of the user triggering the terminal to turn on and off the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode.
The adjustment number may be the number of times that the terminal starts and stops the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode after the terminal obtains the spectrum resources based on the dynamic spectrum sharing mode, for example, it is assumed that after the terminal starts the dynamic spectrum sharing mode and obtains the spectrum resources based on the dynamic spectrum sharing mode, the number of times that the user triggers the terminal to start the dynamic spectrum sharing mode is recorded as 2 times, the number of times that the user triggers the terminal to stop the preset spectrum sharing adjustment mode is recorded as 1 time, and the number of times that the user triggers the terminal to start the preset spectrum sharing adjustment mode is recorded as 2 times, so the adjustment number of times may be 2+2+1+2=7 times.
In step 206, the terminal calculates an adjustment frequency based on the adjustment times, and adjusts the expected state threshold according to the adjustment frequency.
The adjusting frequency may be a frequency characterizing the user to adjust the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode.
The method for calculating the adjustment frequency by the terminal based on the adjustment times may be various, for example, the terminal may obtain the time of each adjustment of the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode by the user, and further calculate the adjustment frequency according to the time of each adjustment of the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode by the user and the adjustment times, for example, assuming that the adjustment times recorded by the terminal is 6 when the terminal obtains the data of the adjustment times, and the time span between the first adjustment and the sixth adjustment is 10 seconds, the adjustment frequency may be calculated to be 6/10=0.6.
After the terminal calculates the adjustment frequency based on the adjustment times, the desired state threshold may be adjusted according to the adjustment frequency. The method for adjusting the expected state threshold by the terminal according to the adjusting frequency may be multiple, for example, a frequency threshold may be preset, so that the calculated adjusting frequency may be compared with the frequency threshold, when the adjusting frequency is greater than the frequency threshold, it may be indicated that the network state of the terminal is still worse for the user, at this time, the expected state threshold may be adjusted higher, so that the terminal may more easily start the dynamic spectrum sharing function to acquire spectrum resources, so as to improve the network state of the terminal, where optionally, the strength of adjusting the expected state threshold may be determined according to the difference between the adjusting frequency and the frequency threshold, when the difference between the adjusting frequency and the frequency threshold is greater, the strength of adjusting the expected state threshold may be increased, and when the difference between the adjusting frequency and the frequency threshold is smaller, the strength of adjusting the expected state threshold may be reduced, and in particular, the method is not limited herein; when the adjustment frequency is not greater than the frequency threshold, it may indicate that the network state of the terminal is good for the user at this time, and the desired state threshold may not be adjusted at this time.
As can be seen from the above, in the embodiment of the present application, a preset spectrum sharing adjustment mode is started by a terminal, and at least one historical network state value of the terminal is obtained based on the preset spectrum sharing adjustment mode; the terminal obtains time information corresponding to the historical network state values, and determines the rate weight corresponding to each historical network state value in a preset weight interval based on the time information; the terminal fuses the historical network state values based on the rate weight to obtain a target state value, and takes the target state value as an expected state threshold; the terminal acquires a current network state value, and starts a dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold value; the terminal acquires spectrum resources based on the dynamic spectrum sharing mode, and records the adjustment times of the user triggering the terminal to start and close the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode; and the terminal calculates an adjustment frequency based on the adjustment times, and adjusts the expected state threshold according to the adjustment frequency. Therefore, the expected state threshold value is determined by starting the preset spectrum sharing adjustment mode, and then the state of the dynamic spectrum sharing mode of the terminal is adjusted in real time according to the historical network state value of the terminal and the expected state threshold value, so that the acquisition of the spectrum resources is dynamically carried out based on the historical network state of the terminal, the network rate of the terminal is ensured, the acquisition efficiency of the spectrum resources is improved, and the user experience is further improved.
In order to better implement the above method, the embodiment of the present application further provides a spectrum resource obtaining apparatus, where the spectrum resource obtaining apparatus may be integrated in a terminal.
For example, as shown in fig. 4, a schematic structural diagram of a spectrum resource obtaining apparatus according to an embodiment of the present application may include a preset spectrum sharing adjustment mode starting unit 301, an expected state threshold determining unit 302, a dynamic spectrum sharing mode starting unit 303, and a spectrum resource obtaining unit 304, where the following is:
a preset spectrum sharing adjustment mode starting unit 301, configured to start a preset spectrum sharing adjustment mode;
a desired state threshold determining unit 302, configured to determine a desired state threshold based on the preset spectrum sharing adjustment mode;
a dynamic spectrum sharing mode starting unit 303, configured to obtain a current network state value, and start a dynamic spectrum sharing mode when the current network state value is less than the expected state threshold;
a spectrum resource obtaining unit 304, configured to obtain spectrum resources based on the dynamic spectrum sharing mode.
In an embodiment, the expected state threshold determining unit 302 comprises:
a historical network state value obtaining subunit, configured to obtain at least one historical network state value of a terminal based on the preset spectrum sharing adjustment mode;
And the expected state threshold determining subunit is used for determining a target state value according to the historical network state value and taking the target state value as an expected state threshold.
In an embodiment, the expected state threshold determining subunit comprises:
the time information acquisition module is used for acquiring time information corresponding to the historical network state value;
the rate weight determining module is used for determining the rate weight corresponding to each historical network state value in a preset weight interval based on the time information;
and the rate fusion module is used for fusing the historical network state values based on the rate weight to obtain a target state value.
In an embodiment, the expected state threshold determining unit 302 comprises:
a desired state threshold determination information display subunit configured to display desired state threshold determination information for instructing a user to input a desired state threshold based on the preset spectrum sharing adjustment mode;
and the expected state threshold receiving subunit is used for receiving an expected state threshold of information input determined by a user according to the expected state threshold.
In one embodiment, the dynamic spectrum sharing mode starting unit 301 includes:
The weighting subunit is used for weighting the current network rate according to a preset network rate weight to obtain a weighted network rate, and weighting the current packet loss rate according to a preset packet loss weight to obtain a weighted packet loss rate;
the state fusion subunit is used for fusing the weighted network rate and the weighted packet loss rate to obtain a current state value;
an opening subunit, configured to open a dynamic spectrum sharing mode when the current state value is less than the expected state threshold.
In an embodiment, the spectrum resource obtaining apparatus further includes:
the adjustment frequency recording unit is used for recording the adjustment frequency of the user triggering terminal to start and stop the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode;
and the adjusting unit is used for calculating the adjusting frequency based on the adjusting times and adjusting the expected state threshold according to the adjusting frequency.
In an embodiment, the spectrum resource obtaining apparatus further includes:
and the closing unit is used for closing the dynamic spectrum sharing mode when the current network speed value is not smaller than the expected state threshold value.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the above, the preset spectrum sharing adjustment mode is started by the preset spectrum sharing adjustment mode starting unit 301 according to the embodiment of the present application; the expected state threshold determining unit 302 determines an expected state threshold based on a preset spectrum sharing adjustment mode; the dynamic spectrum sharing mode starting unit 303 acquires the current network state value, and starts the dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold; the spectrum resource acquisition unit 304 acquires spectrum resources based on the dynamic spectrum sharing mode. Therefore, the expected state threshold value is determined by starting the preset spectrum sharing adjustment mode, and then the state of the dynamic spectrum sharing mode of the terminal is adjusted in real time according to the current network state value of the terminal and the expected state threshold value, so that the acquisition of the spectrum resources is dynamically carried out based on the network state of the terminal, and the acquisition efficiency of the spectrum resources is improved while the network rate of the terminal is ensured.
The embodiment of the application also provides a computer device, as shown in fig. 5, which shows a schematic structural diagram of the computer device according to the embodiment of the application, where the computer device may be a terminal, specifically:
The computer device may include one or more processors 401 of a processing core, memory 402 of one or more computer readable storage media, a power supply 403, and an input unit 404, among other components. Those skilled in the art will appreciate that the computer device structure shown in FIG. 5 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
the processor 401 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and spectrum resource acquisition by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The computer device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of charge, discharge, and power consumption management may be performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The computer device may also include an input unit 404, which input unit 404 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the computer device loads executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions as follows:
starting a preset frequency spectrum sharing adjustment mode; determining a desired state threshold based on a preset spectrum sharing adjustment mode; acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than an expected state threshold value; spectrum resources are acquired based on a dynamic spectrum sharing mode.
The specific implementation of each operation may be referred to the previous embodiments, and will not be described herein. It should be noted that, the computer device provided in the embodiment of the present application and the spectrum resource obtaining method applicable to the above embodiment belong to the same concept, and detailed implementation processes of the computer device are shown in the above method embodiment, which is not repeated here.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the spectrum resource acquisition methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
starting a preset frequency spectrum sharing adjustment mode; determining a desired state threshold based on a preset spectrum sharing adjustment mode; acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than an expected state threshold value; spectrum resources are acquired based on a dynamic spectrum sharing mode.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any spectrum resource obtaining method provided by the embodiment of the present application can be executed due to the instructions stored in the computer readable storage medium, so that the beneficial effects that any spectrum resource obtaining method provided by the embodiment of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
Wherein according to an aspect of the application, a computer program product or a computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods provided in the various alternative implementations provided in the above embodiments.
The foregoing has described in detail the methods, apparatuses and computer readable storage medium for spectrum resource acquisition provided by the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only for aiding in understanding the methods and core ideas of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the present description should not be construed as limiting the present application in summary.

Claims (9)

1. The spectrum resource acquisition method is applied to a terminal and is characterized by comprising the following steps:
Starting a preset frequency spectrum sharing adjustment mode;
determining a desired state threshold based on the preset spectrum sharing adjustment mode;
acquiring a current network state value, and starting a dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold value;
acquiring spectrum resources based on the dynamic spectrum sharing mode;
recording the adjustment times of the user triggering terminal to start and stop the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode;
and calculating an adjustment frequency based on the adjustment times, and adjusting the expected state threshold according to the adjustment frequency.
2. The spectrum resource acquisition method of claim 1, wherein the determining the desired state threshold based on the preset spectrum sharing adjustment mode comprises:
acquiring at least one historical network state value of a terminal based on the preset spectrum sharing adjustment mode;
and determining a target state value according to the historical network state value, and taking the target state value as an expected state threshold value.
3. The spectrum resource acquisition method of claim 2, wherein said determining a target state value from said historical network state value comprises:
Acquiring time information corresponding to the historical network state value;
based on the time information, determining the rate weight corresponding to each historical network state value in a preset weight interval;
and fusing the historical network state values based on the rate weights to obtain target state values.
4. The spectrum resource acquisition method of claim 1, wherein the determining the desired state threshold based on the preset spectrum sharing adjustment mode comprises:
based on the preset spectrum sharing adjustment mode, displaying expected state threshold determining information, wherein the expected state threshold determining information is used for indicating a user to input an expected state threshold;
and receiving a desired state threshold value of information input determined by a user according to the desired state threshold value.
5. The method of spectrum resource acquisition according to claim 1, wherein the current network state value includes a current network rate and a current packet loss rate, and wherein when the current network state value is less than the expected state threshold, starting a dynamic spectrum sharing mode includes:
weighting the current network rate according to preset network rate weight to obtain weighted network rate, and weighting the current packet loss rate according to preset packet loss weight to obtain weighted packet loss rate;
Fusing based on the weighted network rate and the weighted packet loss rate to obtain a current state value;
and when the current state value is smaller than the expected state threshold value, starting a dynamic spectrum sharing mode.
6. The spectrum resource acquisition method as claimed in claim 1, wherein after the spectrum resource is acquired based on the dynamic spectrum sharing mode, further comprising:
and when the current network state value is not smaller than the expected state threshold value, closing the dynamic spectrum sharing mode.
7. A spectrum resource acquisition apparatus, applied to a terminal, characterized by comprising:
the preset frequency spectrum sharing adjustment mode starting unit is used for starting the preset frequency spectrum sharing adjustment mode;
the expected state threshold determining unit is used for determining an expected state threshold based on the preset spectrum sharing adjustment mode;
the dynamic spectrum sharing mode starting unit is used for acquiring a current network state value and starting a dynamic spectrum sharing mode when the current network state value is smaller than the expected state threshold value;
a spectrum resource obtaining unit, configured to obtain spectrum resources based on the dynamic spectrum sharing mode;
the adjustment times recording unit is used for recording adjustment times of the user triggering terminal to start and stop the dynamic spectrum sharing mode and the preset spectrum sharing adjustment mode;
And the adjusting unit is used for calculating an adjusting frequency based on the adjusting times and adjusting the expected state threshold according to the adjusting frequency.
8. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the spectrum resource acquisition method of any of claims 1 to 6.
9. A computer device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps in the spectrum resource acquisition method as claimed in any one of claims 1 to 6.
CN202210140552.7A 2022-02-16 2022-02-16 Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium Active CN114466365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210140552.7A CN114466365B (en) 2022-02-16 2022-02-16 Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210140552.7A CN114466365B (en) 2022-02-16 2022-02-16 Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114466365A CN114466365A (en) 2022-05-10
CN114466365B true CN114466365B (en) 2023-10-03

Family

ID=81412889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210140552.7A Active CN114466365B (en) 2022-02-16 2022-02-16 Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114466365B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116528330B (en) * 2023-07-05 2023-10-03 Tcl通讯科技(成都)有限公司 Equipment network access method and device, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792751A (en) * 2010-03-17 2012-11-21 高通股份有限公司 Methods and apparatus for best-effort radio backhaul among cells on unlicensed or shared spectrum
CN108271163A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 The sharing method and device of a kind of frequency spectrum resource
CN113498065A (en) * 2020-03-20 2021-10-12 中兴通讯股份有限公司 Spectrum resource scheduling method and device, computer equipment and computer readable medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792751A (en) * 2010-03-17 2012-11-21 高通股份有限公司 Methods and apparatus for best-effort radio backhaul among cells on unlicensed or shared spectrum
CN108271163A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 The sharing method and device of a kind of frequency spectrum resource
CN113498065A (en) * 2020-03-20 2021-10-12 中兴通讯股份有限公司 Spectrum resource scheduling method and device, computer equipment and computer readable medium

Also Published As

Publication number Publication date
CN114466365A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
Jiang et al. Energy delay tradeoff in cloud offloading for multi-core mobile devices
US10491535B2 (en) Adaptive data synchronization
WO2019042169A1 (en) Resource allocation method and related products
CN110633151A (en) Method, device and storage medium for balancing distributed message issuing cluster partitions
WO2019042180A1 (en) Resource allocation method and related product
US11579939B2 (en) Systems and methods for virtual machine resource optimization using machine learning techniques
KR20140009074A (en) Smart scheduled sync method for sync applications and mobile device
CN106997351B (en) Resource cache management method, system and device
CN110546591B (en) Battery virtualization
CN110505105B (en) Method, device, equipment and storage medium for controlling network service quality
CN114466365B (en) Spectrum resource acquisition method, spectrum resource acquisition device and computer readable storage medium
CN107148072A (en) The acquisition methods and system of a kind of target resource parameter of intelligent terminal application
CN109275157A (en) A kind of the configuration parameter optimization method and device of the NPRACE of base station
US20230217360A1 (en) Selecting an application instance
CN109041255B (en) Access method and UE
CN115080341A (en) Computing cluster and data acquisition method, equipment and storage medium thereof
CN112291796B (en) Cell network capacity expansion method, device, equipment and storage medium
CN115985323A (en) Voice wake-up method and device, electronic equipment and readable storage medium
CN109246760B (en) Wireless local area network load balancing method based on power control, wireless access device and wireless access equipment
CN114035940A (en) Resource allocation method and device
CN110442226B (en) Task type-based frequency modulation method and device for specific task terminal processor
CN103442406A (en) Access control method and device
CN112824999B (en) Temperature control method and related product
CN116915717B (en) Throughput distribution method and device, storage medium and electronic equipment
US20210248015A1 (en) Systems and methods for virtual machine resource optimization using tree traversal techniques representing alternate configurations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant