CN116709433B - Method for determining upper limit of network speed of terminal equipment and electronic equipment - Google Patents

Method for determining upper limit of network speed of terminal equipment and electronic equipment Download PDF

Info

Publication number
CN116709433B
CN116709433B CN202211716308.7A CN202211716308A CN116709433B CN 116709433 B CN116709433 B CN 116709433B CN 202211716308 A CN202211716308 A CN 202211716308A CN 116709433 B CN116709433 B CN 116709433B
Authority
CN
China
Prior art keywords
rate
upper limit
parameter
determining
terminal device
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
CN202211716308.7A
Other languages
Chinese (zh)
Other versions
CN116709433A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211716308.7A priority Critical patent/CN116709433B/en
Publication of CN116709433A publication Critical patent/CN116709433A/en
Application granted granted Critical
Publication of CN116709433B publication Critical patent/CN116709433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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

Landscapes

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

Abstract

The embodiment of the application provides a method for determining the upper limit of the network speed of terminal equipment and electronic equipment, relates to the field of communication, and can accurately determine the upper limit of the network speed which can be allocated to the terminal equipment by a base station at the terminal equipment side, thereby providing a basis for measuring the network quality. The method comprises the following steps: and determining an uplink rate upper limit and a downlink rate upper limit of the terminal equipment. The determining of the upper limit of the downlink rate of the terminal equipment comprises the following steps: the first parameter and the second parameter are obtained. And calculating a first peak rate corresponding to the first parameter and the second parameter according to a preset database. The upper limit of the downlink rate is determined according to the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal reception quality and the total maximum bit rate. The determining of the uplink rate upper limit of the terminal equipment comprises the following steps: and acquiring a third parameter and a fourth parameter. And determining a first rate according to the uplink rate, the current transmitting power and the number of the divided resource blocks. And determining an uplink rate upper limit according to the first rate, the third parameter and the fourth parameter.

Description

Method for determining upper limit of network speed of terminal equipment and electronic equipment
Technical Field
The embodiment of the application relates to the field of communication, in particular to a method for determining an upper limit of a network speed of terminal equipment and electronic equipment.
Background
With the popularization of wireless network technologies such as LTE (3GPP Long Term Evolution,3GPP long term evolution technology), NR (New Radio), and the like, the requirements of people on network quality are also increasing. For the terminal device, there may be various indexes for measuring the network quality, such as network speed, network delay, and upper limit of network speed. The upper limit of the network speed refers to the network speed corresponding to the maximum bandwidth that the base station can allocate to the terminal equipment.
In the above indexes, the network speed and the network delay can be determined at the terminal equipment side, but the upper limit of the network speed is determined by the base station according to the current traffic of each terminal equipment, the signal-to-noise environment and other parameters through a bandwidth allocation algorithm. The terminal device cannot know the maximum bandwidth that the base station can allocate to itself, and thus cannot determine the upper limit of its own network speed.
Disclosure of Invention
The embodiment of the application provides a method for determining the upper limit of the network speed of terminal equipment and electronic equipment, which can accurately calculate the upper limit of the network speed corresponding to the maximum bandwidth which can be allocated to the terminal equipment by a base station at the terminal equipment side, thereby providing a basis for measuring the network quality of the terminal equipment.
In order to achieve the above purpose, the following technical scheme is adopted in the embodiment of the application.
In a first aspect, a method for determining an upper limit of a network speed of a terminal device is provided, the method is applied to the terminal device, the terminal device is in communication connection with a base station, and the base station is used for providing a wireless network for the terminal device. The method comprises the following steps: and determining an uplink rate upper limit of the terminal equipment and determining a downlink rate upper limit of the terminal equipment. The determining of the upper limit of the downlink rate of the terminal equipment comprises the following steps: the method comprises the steps of obtaining a first parameter of a terminal device and a second parameter of a wireless network. The first parameter includes the MIMO order, the downlink rate, and the aggregate maximum bit rate. The second parameter includes frequency band, resource block number, signal to interference plus noise ratio, and reference signal receiving quality. And calculating a first peak rate corresponding to the first parameter and the second parameter according to a preset database. The preset database is used for indicating the corresponding peak rates of the terminal equipment with different MIMO orders in the wireless network with different frequency bands, resource block numbers and signal to interference plus noise ratios. And determining the downlink rate upper limit of the terminal equipment according to the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal receiving quality and the total maximum bit rate. The determining of the uplink rate upper limit of the terminal equipment comprises the following steps: and acquiring a third parameter of the terminal equipment and a fourth parameter of the wireless network. The third parameter includes uplink rate, maximum transmitting power, current transmitting power, total maximum bit rate, and number of divided resource blocks. The fourth parameter includes the number of resource blocks, the signal to interference plus noise ratio, and the reference signal reception quality. And determining a first rate according to the uplink rate, the current transmitting power and the number of the divided resource blocks. The first rate is used to indicate the uplink rate that can be provided per power unit and per resource block. And determining an uplink rate upper limit of the terminal equipment according to the first rate, the third parameter and the fourth parameter.
Based on the scheme, when the first parameter of the terminal equipment and the second parameter of the wireless network are acquired, the maximum downlink rate which can be allocated to the terminal equipment by the base station can be accurately calculated at the terminal equipment side. When the third parameter of the terminal equipment and the fourth parameter of the wireless network are acquired, the maximum uplink rate which can be allocated to the terminal equipment by the base station can be accurately calculated at the terminal equipment side. Therefore, when the bandwidth allocation algorithm of the base station cannot be known, the basis for measuring the network quality of the terminal equipment can be conveniently calculated at the terminal equipment side, namely, the maximum downlink rate and the maximum uplink rate which can be allocated to the terminal equipment by the base station.
In one possible design, calculating the first peak rate corresponding to the first parameter and the second parameter according to a preset database includes: and determining the frequency band of the wireless network, the first resource block number corresponding to the signal-to-interference-plus-noise ratio, the first MIMO (multiple input multiple output) order and the second peak rate in a preset database. And determining a first peak rate according to the MIMO order, the first MIMO order, the number of resource blocks of the wireless network, the first number of resource blocks and the second peak rate of the terminal equipment. Based on the scheme, the MIMO (multiple input multiple output) order of the terminal equipment, the frequency band of the wireless network and the peak rate of the signal to interference plus noise ratio in theory, namely the first peak rate, can be obtained through a preset database.
In one possible design, determining the first peak rate according to the MIMO order of the terminal device, the first MIMO order, the number of resource blocks of the wireless network, the first number of resource blocks, and the second peak rate includes: and multiplying the ratio of the MIMO order of the terminal equipment to the first MIMO order by the ratio of the number of the resource blocks of the wireless network to the number of the first resource blocks, and obtaining a first peak rate by the second peak rate. Based on this scheme, a specific implementation of calculating the first peak rate is provided.
In one possible design, determining the upper downlink rate limit of the terminal device according to the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal reception quality, and the aggregate maximum bit rate includes: and determining the resource block utilization rate of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal receiving quality. And determining a second rate according to the first peak rate and the resource block utilization rate, wherein the second rate is used for indicating the downlink rate available for unallocated resource blocks in the wireless network. And determining the downlink rate upper limit of the terminal equipment according to the second rate, the downlink rate and the total maximum bit rate. Based on the scheme, the downlink rate, namely the second rate, which can be provided by the unallocated bandwidth resource of the wireless network can be calculated according to the peak rate which can be achieved by the terminal equipment theoretically.
In one possible design, determining the second rate from the first peak rate and the resource block utilization includes: and calculating the difference between 1 and the utilization rate of the resource block. And calculating the product of the first peak rate and the difference value to obtain a second rate. Based on this scheme, a specific implementation of calculating the second rate is provided.
In one possible design, determining the upper downlink rate limit of the terminal device according to the second rate, the downlink rate and the aggregate maximum bit rate includes: and calculating the sum of the second rate and the downlink rate to obtain a first downlink rate upper limit. The smaller of the aggregate maximum bit rate and the first upper downlink rate limit is taken as the upper downlink rate limit of the terminal device. Based on the scheme, a specific implementation mode for determining the upper limit of the downlink rate of the terminal equipment is provided.
In one possible design, determining the first rate based on the uplink rate, the current transmit power, and the number of allocated resource blocks includes: and calculating the product of the number of the divided resource blocks and the current transmitting power. And calculating the quotient of the uplink speed and the product to obtain a first speed. Based on the scheme, the uplink rate which can be provided by each power unit and each resource block, namely the first rate, can be calculated.
In one possible design, determining the uplink rate upper limit of the terminal device according to the first rate, the third parameter and the fourth parameter includes: and determining the resource block utilization rate of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal receiving quality. And calculating the difference value between the maximum transmitting power and the current transmitting power to obtain a first numerical value. And calculating the difference between the 1 and the utilization rate of the resource block to obtain a second value. And calculating the product of the first value, the second value, the first rate and the number of resource blocks to obtain a third rate. And determining the uplink rate upper limit of the terminal equipment according to the third rate, the uplink rate and the total maximum bit rate. Based on the scheme, a specific implementation mode for calculating the uplink rate upper limit of the terminal equipment is provided.
In one possible design, determining the uplink rate upper limit of the terminal device according to the third rate, the uplink rate and the aggregate maximum bit rate includes: and calculating the sum of the third rate and the uplink rate to obtain a first uplink rate upper limit. The smaller of the first upper rate limit and the total maximum bit rate is taken as the upper uplink rate limit of the terminal equipment. Based on the scheme, a specific implementation mode for calculating the uplink rate upper limit of the terminal equipment is provided.
In one possible design, calculating the first peak rate corresponding to the first parameter and the second parameter according to a preset database includes: and determining the resource block utilization rate of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal receiving quality. The resource block utilization is used to indicate the ratio of the number of allocated resource blocks to the total number of resource blocks of the wireless network. And when the utilization rate of the resource block is smaller than a first preset threshold value, calculating a first peak rate corresponding to the first parameter and the second parameter according to a preset database. Based on the scheme, the resource block utilization rate is smaller than a first preset threshold value, which indicates that unallocated resource blocks exist in the wireless network, so that the downlink rate upper limit can be calculated through a subsequent algorithm.
In one possible design, after determining the resource block utilization of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal reception quality, the method further includes: and when the resource block utilization rate is larger than a first preset threshold value, taking the downlink rate as the upper limit of the downlink rate of the terminal equipment. Based on the scheme, the resource block utilization rate is larger than the first preset threshold value, which indicates that no unallocated resource block exists in the wireless network, so that the current downlink rate of the terminal equipment can be used as the upper limit of the downlink rate.
In one possible design, determining the first rate based on the uplink rate, the current transmit power, the number of resource blocks, the signal-to-interference-plus-noise ratio, and the reference signal received quality includes: and obtaining the uplink buffer time of the terminal equipment. The uplink buffer time is used for indicating the time when the terminal equipment requests the base station to schedule uplink resources. And when the uplink buffer time is smaller than a second preset threshold value, determining a first rate according to the uplink rate, the current transmitting power, the number of resource blocks, the signal-to-interference-plus-noise ratio and the reference signal receiving quality. Based on the scheme, the uplink buffer time is smaller than a second preset threshold value, which indicates that the uplink channel of the current wireless network is smoother, and the uplink rate upper limit can be calculated through a subsequent algorithm.
In one possible design, after the uplink buffer time of the terminal device is obtained, the method further includes: and when the uplink buffer time is greater than a second preset threshold value, taking the uplink rate as the uplink rate upper limit of the terminal equipment. Based on the scheme, the uplink buffer time is larger than the second preset threshold value, which indicates that the uplink channel of the current wireless network is more congested, so that the current uplink rate of the terminal equipment can be used as the uplink rate upper limit.
In a second aspect, a system for determining an upper limit of a network speed of a terminal device is provided, the system being applied to the terminal device, the terminal device being communicatively connected to a base station, the base station being configured to provide a wireless network to the terminal device. The system comprises: a first subsystem and a second subsystem. The first subsystem includes: a first module, configured to obtain a first parameter of the terminal device and a second parameter of the wireless network. The first parameter includes the MIMO order, the downlink rate, and the aggregate maximum bit rate. The second parameter includes frequency band, resource block number, signal to interference plus noise ratio, and reference signal receiving quality. And the second module is used for calculating a first peak rate corresponding to the first parameter and the second parameter according to a preset database. The preset database is used for indicating the corresponding peak rates of the terminal equipment with different MIMO orders in the wireless network with different frequency bands, resource block numbers and signal to interference plus noise ratios. And a third module, configured to determine an upper downlink rate limit of the terminal device according to the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal reception quality, and the total maximum bit rate. The second subsystem includes: and a fourth module, configured to obtain a third parameter of the terminal device and a fourth parameter of the wireless network. The third parameter includes uplink rate, maximum transmitting power, current transmitting power, total maximum bit rate, and number of divided resource blocks. The fourth parameter includes the number of resource blocks, the signal to interference plus noise ratio, and the reference signal reception quality. And a fifth module, configured to determine a first rate according to the uplink rate, the current transmission power, and the number of divided resource blocks. The first rate is used to indicate the uplink rate that can be provided per power unit and per resource block. And a sixth module, configured to determine an uplink rate upper limit of the terminal device according to the first rate, the third parameter and the fourth parameter.
In a third aspect, an electronic device is provided that includes one or more processors and one or more memories. One or more memories are coupled to the one or more processors, the one or more memories storing computer instructions. The computer instructions, when executed by one or more processors, cause the electronic device to perform the method of determining an upper limit for network speed for a terminal device as in any of the first aspects.
In a fourth aspect, a system on a chip is provided, the chip comprising processing circuitry and an interface. The processing circuit is configured to call from the storage medium and execute a computer program stored in the storage medium to perform the method of determining the upper limit of the network speed of the terminal device as in any one of the first aspects.
In a fifth aspect, a computer readable storage medium is provided, the computer readable storage medium comprising computer instructions which, when executed, perform the method of determining an upper limit of network speed for a terminal device as in any of the first aspects.
In a sixth aspect, a computer program product is provided, comprising instructions in the computer program product, which when run on a computer, causes the computer to perform the method of determining an upper limit of network speed of a terminal device as in any of the first aspects, according to the instructions.
It should be appreciated that the technical features of the technical solutions provided in the second aspect, the third aspect, the fourth aspect, the fifth aspect and the sixth aspect may all correspond to the method for determining the upper network speed limit of the terminal device provided in the first aspect and the possible designs thereof, so that the beneficial effects can be achieved similarly, and are not repeated herein.
Drawings
Fig. 1 is a schematic diagram of a connection between a base station and a terminal device;
fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 3 is a schematic software architecture diagram of a terminal device according to an embodiment of the present application;
Fig. 4 is a flowchart of a method for determining an upper limit of a downlink rate of a terminal device according to an embodiment of the present application;
Fig. 5 is a flowchart of a method for determining an uplink rate upper limit of a terminal device according to an embodiment of the present application;
fig. 6 is a flowchart of a terminal device requesting a base station to schedule resources according to an embodiment of the present application;
fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a system on chip according to an embodiment of the present application.
Detailed Description
The terms "first," "second," and "third," etc. in embodiments of the application are used for distinguishing between different objects and not for defining a particular sequence. Furthermore, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
For ease of understanding, the following description is given of the application background of the embodiments of the present application.
A base station, also called public mobile communication base station, is a form of radio station for providing a wireless network to terminal devices within its signal coverage area. Specifically, the base station may allocate bandwidth resources to each terminal device according to parameters such as the number of terminal devices in the signal coverage area and the current traffic of each terminal device through a preset bandwidth allocation algorithm. The current traffic of the terminal device may refer to the network throughput of the networking application currently running by the terminal device.
Fig. 1 is a schematic diagram of a connection between a base station and a terminal device. As shown in fig. 1, the base station a is communicatively connected to the terminal device b and the terminal device c.
For example, the base station a may allocate bandwidth to the terminal device b according to the current traffic of the terminal device b, and allocate bandwidth to the terminal device c according to the current traffic of the terminal device c. For example, the greater the current traffic of a terminal device, the greater the bandwidth allocated to that terminal device by the base station. For example, if the current traffic volume of terminal equipment b is smaller than the current traffic volume of terminal equipment c, the bandwidth allocated to terminal equipment b by base station a may be smaller than the bandwidth allocated to terminal equipment c.
It will be appreciated that, under otherwise identical conditions, the greater the bandwidth allocated by the base station to a terminal device, the faster the current network speed of that terminal device, and the better the network quality of that terminal device. The "other conditions" may be a signal-to-noise environment or the like.
It should be noted that, in the embodiment of the present application, the signal-to-noise environment may be characterized by parameters such as SINR (Signal to Interference plus Noise Ratio, signal-to-interference-plus-noise ratio), MCS (Modulation and Coding Scheme, modulation and coding strategy), and the like. The larger the SINR or MCS, the better the signal-to-noise environment and the faster the network speed of the terminal device under the same bandwidth.
However, in practical applications, parameters such as signal-to-noise environments of different terminal devices are not completely the same, so the current network speed of the terminal device cannot completely represent the network quality. An exemplary explanation will be given below taking a base station a, a terminal device b, and a terminal device c in fig. 1 as an example.
In this example, the current traffic volume of terminal device b is much smaller than that of terminal device c, and the signal-to-noise environment of terminal device b is better than that of terminal device c.
Since the current traffic volume of terminal equipment b is much smaller than that of terminal equipment c, the bandwidth allocated to terminal equipment b by base station a is much smaller than that allocated to terminal equipment c by base station a. Since the current network speed of the terminal device is mainly determined by the bandwidth allocated by the base station, the current network speed of the terminal device b is smaller than the current network speed of the terminal device c.
In the above scenario, it is not accurate enough to judge that the network quality of the terminal device b is worse than that of the terminal device c. Since in the case where the bandwidth resources assignable by the base station a are sufficient, when the current traffic of the terminal device b is increased to be the same as that of the terminal device c, the bandwidth allocated by the base station a to the terminal device b and the bandwidth allocated by the base station a to the terminal device c will be the same. Thus, since the signal-to-noise environment of the terminal equipment b is better than that of the terminal equipment c, the network speed of the terminal equipment a is greater than that of the terminal equipment c.
That is, the network speed corresponding to the maximum bandwidth that the base station a can allocate to the terminal device b is greater than the network speed corresponding to the maximum bandwidth that the base station a can allocate to the terminal device c. Therefore, the network quality of terminal device b is not necessarily inferior to that of terminal device c.
In the embodiment of the application, the network rate corresponding to the maximum bandwidth allocated to the terminal equipment by the base station can be called as the upper limit of the network speed. It can be seen that the upper limit of the network speed can also be used as an index for measuring the network quality.
However, different from the network speed, parameters such as time delay and the like can be directly measured at the terminal equipment side, and the upper limit of the network speed cannot be directly measured. In addition, the terminal equipment side cannot learn the bandwidth allocation algorithm of the base station side, so that the upper limit of the network speed cannot be determined.
In order to solve the above problems, the embodiments of the present application provide a method and an electronic device for determining an upper limit of a network speed of a terminal device, which can enable the terminal device to more accurately estimate the upper limit of the network speed, thereby providing a basis for evaluating network quality.
In the embodiment of the application, the terminal device may be a portable terminal capable of being connected to a wireless network through a base station, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch), a vehicle-mounted device, and the like. Exemplary embodiments of the portable terminal include, but are not limited to, piggy-backOr other operating system.
As an example, please refer to fig. 2, which is a schematic structural diagram of a terminal device 200 according to an embodiment of the present application. The method for determining the upper limit of the network speed of the terminal device provided by the embodiment of the application can be applied to the terminal device 200 shown in fig. 2.
As shown in fig. 2, the terminal device 200 may include a processor 201, a display screen 203, a communication module 202, and the like.
The processor 201 may include one or more processing units, for example: processor 201 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video stream codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors 201.
The controller may be a neural and command center of the terminal device 200. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 201 for storing instructions and data. In some embodiments, the memory in the processor 201 is a cache memory. The memory may hold instructions or data that the processor 201 has just used or recycled. If the processor 201 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 201 is reduced, thus improving the efficiency of the system.
In some embodiments, the processor 201 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface 211, among others.
The terminal device 200 realizes a display function by a GPU, a display screen 203, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 203 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 201 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 203 is used to display images, video streams, and the like.
The communication module 202 may include an antenna 1, an antenna 2, a mobile communication module 202A, and/or a wireless communication module 202B. Taking the communication module 202 as an example, the antenna 1, the antenna 2, the mobile communication module 202A and the wireless communication module 202B are included at the same time.
The wireless communication function of the terminal device 200 can be realized by the antenna 1, the antenna 2, the mobile communication module 202A, the wireless communication module 202B, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 200 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 202A may provide a solution including 2G/3G/4G/5G wireless communication applied on the terminal device 200. The mobile communication module 202A may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), or the like. The mobile communication module 202A may receive electromagnetic waves from the antenna 1, perform processing such as filtering and amplifying the received electromagnetic waves, and transmit the processed electromagnetic waves to a modem processor for demodulation. The mobile communication module 202A may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 202A may be provided in the processor 201. In some embodiments, at least some of the functional modules of the mobile communication module 202A may be provided in the same device as at least some of the modules of the processor 201.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 206A, receiver 206B, etc.), or displays images or video streams through display 203. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 202A or other functional module, independent of the processor 201.
The wireless communication module 202B may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wi-Fi network, WIRELESS FIDELITY), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near Field Communication (NFC), infrared (IR), etc. applied to the terminal device 200. The wireless communication module 202B may be one or more devices that integrate at least one communication processing module. The wireless communication module 202B receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 201. The wireless communication module 202B may also receive a signal to be transmitted from the processor 201, frequency modulate it, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
In some embodiments, antenna 1 and mobile communication module 202A of terminal device 200 are coupled, and antenna 2 and wireless communication module 202B are coupled, such that terminal device 200 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
As shown in fig. 2, in some implementations, the terminal device 200 may further include an external memory interface 210, an internal memory 204, a universal serial bus (universal serial bus, USB) interface 211, a charge management module 212, a power management module 213, a battery 214, an audio module 206, a speaker 206A, a receiver 206B, a microphone 206C, an earphone interface 206D, a sensor module 205, keys 209, a motor, an indicator 208, a camera 207, and a subscriber identity module (subscriber identification module, SIM) card interface, etc.
The charge management module 212 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 212 may receive a charging input of a wired charger through the USB interface 211. In some wireless charging embodiments, the charging management module 212 may receive wireless charging input through a wireless charging coil of the terminal device 200. The charging management module 212 may also supply power to the terminal device 200 through the power management module 213 while charging the battery 214.
The power management module 213 is used for connecting the battery 214, and the charge management module 212 and the processor 201. The power management module 213 receives input from the battery 214 and/or the charge management module 212 to power the processor 201, the internal memory 204, the external memory, the display 203, the camera 207, the wireless communication module 202B, and the like. The power management module 213 may also be configured to monitor the capacity of the battery 214, the number of cycles of the battery 214, and the state of health (leakage, impedance) of the battery 214. In other embodiments, the power management module 213 may also be disposed in the processor 201. In other embodiments, the power management module 213 and the charge management module 212 may be disposed in the same device.
The external memory interface 210 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 200. The external memory card communicates with the processor 201 via an external memory interface 210 to implement data storage functions. For example, files such as music, video streams, etc. are stored in an external memory card.
The internal memory 204 may be used to store computer executable program code including instructions. The processor 201 executes various functional applications of the terminal device 200 and data processing by executing instructions stored in the internal memory 204.
The internal memory 204 may also store one or more computer programs corresponding to the method for determining the upper limit of the network speed of the terminal device according to the embodiment of the present application.
The terminal device 200 may implement audio functions through an audio module 206, a speaker 206A, a receiver 206B, a microphone 206C, an earphone interface 206D, an application processor, and the like. Such as music playing, recording, etc.
Keys 209 include a power on key, a volume key, etc. The keys 209 may be mechanical keys 209. Or may be a touch key 209. The terminal device 200 may receive key 209 inputs, generating key signal inputs related to user settings and function control of the terminal device 200.
The indicator 208 may be an indicator light, which may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface is used for connecting the SIM card. The SIM card may be inserted into or withdrawn from the SIM card interface to achieve contact and separation with the terminal apparatus 200. The terminal device 200 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface may support Nano SIM cards, micro SIM cards, etc. The same SIM card interface can be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface may also be compatible with different types of SIM cards. The SIM card interface may also be compatible with external memory cards. The terminal device 200 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the terminal device 200 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device 200 and cannot be separated from the terminal device 200.
The sensor module 205 in the terminal device 200 may include a touch sensor, a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, an ambient light sensor, a fingerprint sensor, a temperature sensor, a bone conduction sensor, etc. to implement sensing and/or acquisition functions for different signals.
It is to be understood that the configuration illustrated in the present embodiment does not constitute a specific limitation on the terminal device 200. In other embodiments, terminal device 200 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The hardware structure of the terminal device provided by the embodiment of the present application is introduced through fig. 2, and the software architecture of the terminal device provided by the embodiment of the present application is illustrated below. It should be noted that, in the embodiment of the present application, the terminal device may also be referred to as an electronic device, and the present application does not distinguish between the two.
The software architecture of the terminal device provided by the embodiment of the present application will be described first.
Fig. 3 is a schematic diagram of a software architecture of a terminal device according to an embodiment of the present application. As shown in fig. 3, the software architecture is an SDAP (SERVICE DATA Adaption Protocol, service data adaptation protocol) layer, a PDCP (PACKET DATA Convergence Protocol ) layer, an RLC (Radio Link Control, radio link Control) layer, a MAC (MEDIA ACCESS Control, media intervention Control) layer, and a PHY (PHYSICAL LAYER, physical) layer in this order from top to bottom.
The SDAP layer is responsible for mapping the QoS (Quality of Service ) flows and the DRB (Data Radio Bearer, data radio bearer). The PDCP layer is responsible for integrity protection, encryption and decryption, reordering and the like; the RLC layer is responsible for unpacking received fragmented packets into complete packets, i.e., group packets, according to an uplink scheduling Grant (UL Grant) for the uplink or for the downlink. The MAC layer is responsible for mapping logical channels (protocol layer) and transport channels (physical layer), and when uplink packets are sent, MAC subPDU (Protocol Data Unit ) are formed into MAC PDUs in units of TB according to the priority of the logical channels, and downlink demultiplexes received data packets, and distributes corresponding data packets to the mapped logical channels according to the sequence numbers of the logical channels.
In the embodiment of the application, the uplink signals sequentially pass through the PDCP layer, the RLC layer and the MAC layer, then reach the PHY layer, and complete transmission through the radio frequency front end and the antenna. After the downlink signal is received by the antenna and the radio frequency front end, the downlink signal passes through the PHY layer, the MAC layer, the RLC layer and the PDCP layer in sequence to finish receiving. Thus, references to acquiring an uplink network rate in the subsequent embodiments may refer to acquisition from the PDCP layer, RLC layer, MAC layer or PHY layer. References to acquiring the downlink network rate in the subsequent embodiments may also refer to acquisition from the PDCP layer, RLC layer, MAC layer or PHY layer. This will not be described in detail later.
The above describes the software architecture of the terminal device provided by the embodiment of the present application when the terminal device supports NR. It should be noted that, when the terminal device provided in the embodiment of the present application supports LTE, the software architecture of the terminal device is the same as that of the terminal device in fig. 3 except for the SDAP layer, which is not described here.
Based on the above description of the hardware structure and the software architecture of the terminal device provided by the embodiment of the present application, a method for determining the upper limit of the network speed of the terminal device provided by the embodiment of the present application is described below. It should be noted that the method may be performed by a module, such as a processor, having a data processing function in the terminal device.
It should be noted that, the method for determining the upper limit of the network speed of the terminal device provided by the embodiment of the present application is used for determining the upper limit of the network speed of the terminal device, that is, the network speed corresponding to the maximum bandwidth that the base station can allocate to the terminal device. It will be appreciated that for a terminal device, the network speed includes an uplink rate and a downlink rate. The uplink rate is used for indicating the rate of sending signals to the base station by the terminal equipment. The downlink rate is used to indicate the rate at which the terminal device receives the signal sent by the base station. The method for determining the upper limit of the network speed of the terminal equipment provided by the embodiment of the application is firstly described below.
Referring to fig. 4, a flowchart of a method for determining an upper limit of a downlink rate of a terminal device according to an embodiment of the present application is provided. As shown in fig. 4, the method includes the following steps.
S401, obtaining the downlink rate, MIMO order of the terminal equipment, and frequency band, reference signal receiving quality, resource block number, signal to interference plus noise ratio of the current wireless network.
In the embodiment of the present application, the downlink rate of the terminal device, the MIMO order may also be referred to as a first parameter of the terminal device. The frequency band, reference signal reception quality, number of resource blocks, signal to interference plus noise ratio of the current wireless network may also be referred to as a second parameter of the wireless network.
The downlink rate of the terminal device refers to the network rate of the downlink of the terminal device. As described above, the downlink rate may be obtained from the PDCP layer, RLC layer, MAC layer or PHY layer of the terminal device, which will not be described herein.
The MIMO (Multiple-In Multiple-Out) order refers to the number of MIMO antennas In an operating state In the terminal device. The terminal device may obtain the MIMO order from its own configuration information.
The frequency band of the wireless network refers to the LTE frequency band or the NR frequency band. The LTE frequency band may include B1, B3, etc., and the NR frequency band may include N40, N41, etc., which are not described herein.
Reference Signal Received Quality (RSRQ) of the wireless network is used to indicate the signal-to-noise ratio and interference level of the current channel Quality. The larger the value of RSRQ, the better the quality of the received signal. The smaller the value of RSRQ, the worse the quality of the received signal.
According to the definition of RSRQ by 3GPP (3 rd Generation Partnership Project, third generation partnership project), the following formula (1) can be derived:
Wherein RSRP is a reference signal received Power (REFERENCE SIGNAL RECEIVING Power) for indicating the strength of the wireless signal. The RSSI is a received signal strength Indicator (RECEIVED SIGNAL STRENGTH Indicator) that indicates the received signal strength and the interference level of the current channel.
From the definition of RSSI on 3GPP, the following equation (2) can be obtained:
RSSI = 2 xnxrsrp+10 xrsrp×ratio×n+12×s×n formula (2).
Wherein N is the total resource block number corresponding to the actual bandwidth of the wireless network frequency band of the current cell. The Ratio is the resource block utilization of the current wireless network. S is interference and noise.
The number of resource blocks is RB (Resource Block). The RB is used to measure how much of the frequency domain resources and the time domain resources. Specifically, 1 RB may include 12 consecutive subcarriers in the frequency domain and one slot (slot) in the time domain. Where the bandwidth of the sub-carrier is 15KHz and one slot may be 0.5ms or 0.125ms. That is, one RB may include a frequency domain resource of 180Khz and a time domain resource of 1 slot.
Note that, although different RBs include frequency domain resources and time domain resources of the same size, the amount of data carried is not necessarily the same. For example, the signal-to-noise environment can affect the amount of data carried by the RB. The better the signal-to-noise environment, the greater the amount of data carried by 1 RB. The worse the signal-to-noise environment, the smaller the amount of data one RB carries. It can be appreciated that when the base station allocates the same number of RBs to two terminal devices, the terminal device with better signal-to-noise environment has faster network speed, i.e. better network quality.
In the embodiment of the application, the number of the resource blocks of the current wireless network refers to the total RB number corresponding to the actual bandwidth of the wireless network frequency band of the current cell. For example, if the actual bandwidth of the current cell radio network band is 20M bandwidth of LTE, the corresponding total RB number is 100. For another example, if the actual bandwidth of the current cell radio network band is the 100M bandwidth of NR, the corresponding total RB number is 273.
The signal to interference plus noise ratio (Signal to Interference plus Noise Ratio, SINR) refers to the ratio of the strength of the received useful signal to the strength of the received interfering signal (noise and interference). Can be simply understood as the signal to noise ratio.
According to the definition of SINR on 3GPP, the following equation (3) can be obtained:
in the embodiment of the present application, the terminal device may obtain parameters such as RSSI, RSRP, the number of resource blocks, and the signal-to-interference-and-noise ratio of the current wireless network in the process of performing SRS (Sounding REFERENCE SIGNAL, channel Sounding reference signal) with the base station.
Note that, the relationships between the parameters in the LTE wireless network are indicated by the above formulas (1) to (3). For the NR wireless network, the definition of some parameters is slightly different, and specific reference may be made to IEEE (Institute of ELECTRICAL AND Electronics Engineers ) for the definition of each parameter in the NR wireless network, which is not described herein.
S402, determining the resource block utilization rate of the current wireless network according to the reference signal receiving quality and the signal-to-interference-plus-noise ratio.
For LTE wireless networks, the following equation (4) can be derived based on the above equations (1) to (3):
for NR wireless networks, the following equation (5) can be derived based on the definition of the parameters by IEEE:
It can be seen that, whether it is an LTE wireless network or an NR wireless network, the resource block utilization Ratio of the wireless network can be obtained according to the RSRQ and SINR of the corresponding wireless network.
S403, judging whether the utilization rate of the resource block is more than or equal to 100%. If not, executing S404a; if yes, S404b is executed.
In an embodiment of the present application, 100% may be a possible value of the first preset threshold.
It can be understood that the resource block utilization is greater than or equal to 100%, which indicates that the current air interface has no RB resource available for allocation, and the current downlink rate of the terminal device can be considered as the upper limit of the downlink rate.
And the utilization rate of the resource block is less than 100%, which indicates that the current air interface also has the resource block available for allocation. Therefore, the upper limit of the downlink rate of the terminal equipment can be obtained by calculating the downlink rate which can be provided by the resource block for allocation and adding the calculated downlink rate with the current downlink rate of the terminal equipment.
The following describes the situation that the utilization rate of the resource block is less than 100%, that is, the current air interface has a resource block available for allocation.
S404a, determining a first peak rate of the terminal equipment in a preset database according to the frequency band of the current wireless network, the signal-to-interference-plus-noise ratio, the number of resource blocks and the MIMO (multiple input multiple output) order of the terminal equipment.
The preset database comprises the frequency bands of each wireless network, the signal-to-interference-plus-noise ratio, the number of resource blocks and the corresponding relation between the MIMO order and the peak downlink rate.
Referring to the description of the resource blocks, parameters such as the signal-to-noise environment, the number of resource blocks, the MIMO order of the terminal device and the like affect the amount of data carried by the RB, thereby affecting the network downlink rate of the terminal device.
In the embodiment of the application, the peak downlink rate corresponding to each SINR, MIMO (multiple input multiple output) order and RB (radio frequency) number in different frequency bands can be tested through the off-line test terminal equipment, and the result data of the off-line test is stored and used as a preset database. It can be understood that the preset database is used for indicating the corresponding relations of different signal-to-noise ratios, the number of resource blocks and the MIMO order and the peak downlink rate in the signals of each frequency band.
The preset database may be as shown in table 1 below.
TABLE 1
As shown in table 1, the preset database may include frequency bands, SINR, RB number, MIMO order, and peak rate. The specific procedure of S404a is illustrated below.
For example, the MIMO order of the terminal device obtained in S401 is 2, the frequency band of the current wireless network is n41, the number of resource blocks is 273, and the signal to interference plus noise ratio is 1. Then in S404a, it may be determined that the peak rate corresponding to the above parameter is 100Mbps according to the above table 1. That is, the first peak rate of the terminal device can be determined to be 100Mbps based on the above parameters.
In other embodiments, the preset database may not have a peak rate corresponding to the parameters acquired in S401, in which case the corresponding RB number and MIMO order may be determined in the preset database according to the SINR acquired in S401, and the peak rate may be converted according to the corresponding RB number and MIMO order.
For example, the first peak rate may be obtained by the following formula (6).
Wherein, rate curr_peak is a first peak Rate, rank curr refers to the acquired MIMO order of the terminal device, rank peak refers to the MIMO order of the terminal device in a preset database, RB curr refers to the acquired number of resource blocks of the current wireless network, RB peak refers to the number of resource blocks in the preset database, and Rate peak refers to the peak Rate in the preset database.
For example, the MIMO order of the terminal device obtained in S401 is 1, the frequency band of the current wireless network is n41, the number of resource blocks is 100, and the signal to interference plus noise ratio is 1. It can be determined from the above parameters and Table 1 that Rank curr is 1, rank peak is 2, RB curr is 100, RB peak is 273, and rate peak is 100Mbps. Therefore, the first peak rate can be determined to be 18.3Mbps according to the above formula (6).
It should be noted that, the first peak rate calculated by the formula (6) does not consider the current downlink rate of the terminal device, nor does it consider whether the remaining RBs on the base station side can be fully allocated to itself, so that the first peak rate cannot fully represent the actual upper limit of the downlink rate of the terminal device.
S405a, determining a first downlink rate upper limit of the terminal equipment according to the downlink rate of the terminal equipment, the first peak rate and the resource block utilization rate of the current wireless network.
Specifically, the first downlink rate upper limit of the terminal device may be determined by the following formula (7).
Rate_dl=λ× (1-Ratio) ×Rate curr_peak+Ratecurr equation (7).
Wherein lambda is a preset coefficient, the value range is between 0 and 1, and 0 and 1 are not included. Rate_dl is the first upper downlink Rate limit of the terminal device. Substituting the Ratio calculated in the formula (4) or the formula (5), the Rate curr_peak calculated in the formula (6) and the downlink Rate of the terminal equipment acquired in the step S401 into the formula (7), and then calculating to obtain a first downlink Rate upper limit of the terminal equipment.
The preset coefficient is introduced because the remaining air interface resources of the wireless network are not necessarily all allocated to the terminal equipment, so that the rate corresponding to the remaining air interface resources is multiplied by the preset coefficient, and the calculation result can more accurately reflect the rate corresponding to the bandwidth which can be allocated to the terminal equipment by the base station.
In the embodiment of the present application, the first upper downlink rate limit of the terminal device obtained in S405a may be compared with the AMBR (AGGREGATE MAXIMUM BIT RATE, total maximum bit rate) of the terminal device, and the smaller value of the two may be used as the finally determined upper downlink rate limit of the terminal device. Namely S406a described below.
S406a, taking the smaller value of the first downlink rate upper limit of the terminal equipment and the total maximum bit rate of the terminal equipment as the downlink rate upper limit of the terminal equipment.
The AMBR may be understood as an upper rate limit set by the core network side when the core network side opens an account for the terminal device, and the base station allocates an air interface resource to the terminal device generally does not exceed the upper rate limit. Therefore, when the calculated first downlink rate upper limit is greater than the AMBR, the AMBR is used as the actual downlink rate upper limit of the terminal equipment, and the accuracy is higher.
The following describes the case where the resource block utilization is greater than or equal to 100%, i.e. there is no resource block available for allocation on the current air interface.
S404b, determining the upper limit of the downlink rate of the terminal equipment according to the downlink rate of the terminal equipment.
In this case, the base station does not have more RBs allocated to the terminal device, and thus the downlink rate of the terminal device, i.e., the upper limit of the downlink rate.
The method for determining the upper limit of the downlink rate of the terminal device is described above through fig. 4. The method for determining the uplink rate upper limit of the terminal device is described below.
Referring to fig. 5, a flowchart of a method for determining an uplink rate upper limit of a terminal device according to an embodiment of the present application is provided. As shown in fig. 5, the method includes the following steps.
S501, obtaining uplink buffer time, maximum transmitting power, current transmitting power, uplink speed, number of divided resource blocks, reference signal receiving quality, number of resource blocks and signal-to-interference-plus-noise ratio of the current wireless network of the terminal equipment.
The uplink rate, the maximum transmission power, the current transmission power, the total maximum bit rate of the terminal device, and the number of divided resource blocks may also be referred to as a third parameter of the terminal device. The number of resource blocks of the wireless network, the signal to interference plus noise ratio, and the reference signal reception quality may also be referred to as a fourth parameter of the wireless network.
The uplink buffer time is the time for waiting for the base station scheduling of the data message to be sent by the terminal equipment side, namely the time for the terminal equipment to request the base station to schedule resources, and can be used for evaluating the congestion degree of the current uplink resources. Referring to fig. 6, a flowchart of a terminal device requesting a base station to schedule resources is provided in an embodiment of the present application. As shown in fig. 6, the process includes the following steps.
S601, the terminal equipment sends an authorization request to the base station at a first moment.
The authorization request is used for requesting the base station to indicate when the data message can be sent.
S602, after receiving the authorization request at the second moment, the base station issues scheduling resources to the terminal equipment at the third moment.
The scheduling resource issued by the base station is used for indicating the terminal equipment to send the data message at the fifth moment.
S603, after receiving the scheduling resource issued by the base station at the fourth moment, the terminal equipment starts to send the data message at the fifth moment.
In the process that the terminal equipment requests the base station to schedule resources, the first moment is written as t1, the fifth moment is written as t5, and then the uplink buffer time is t5-t1.
The maximum transmit power is typically constant for the terminal device. The antenna conduction Power of the terminal device may be, for example, PC2 (Power Class 2 ), i.e. 26dBm, or PC3 (Power Class 3 ), i.e. 23dBm. Where dBm (decibel relative to one milliwatt, decibel milliwatts) is a unit of power used to indicate the absolute value of power. The conversion of decibel-to-milli-watts may be achieved by the following equation (8).
P= (1 mW) ×10 (x/10) formula (8).
Where P is milliwatts and x is decibel milliwatts.
S502, judging whether the uplink buffer time of the terminal equipment is larger than a preset threshold value. If not, execution proceeds to S503a. If yes, S503b is executed.
In the embodiment of the present application, the preset threshold may be 50ms,60ms, etc., which is not limited herein.
The uplink buffer time of the terminal equipment is larger than a preset threshold value, which indicates that the current network is more congested, so that the current uplink rate of the terminal equipment is the upper limit of the uplink rate.
And the uplink buffer time of the terminal equipment is smaller than a preset threshold value, which indicates that the current network still has a margin, so that the uplink rate upper limit can be further determined.
The case where the uplink buffer time of the terminal device is smaller than the preset threshold will be described first.
S503a, determining the utilization rate of the resource block of the current wireless network according to the reference signal receiving quality of the current wireless network and the signal-to-interference-plus-noise ratio.
The specific calculation process can be referred to the foregoing formula (4) and formula (5), and will not be described herein.
S504a, determining a first rate according to the uplink rate of the terminal equipment, the current transmitting power of the terminal equipment and the number of resource blocks obtained by the terminal equipment.
The first rate is used to indicate the contribution to the uplink rate per power unit and per resource block.
In embodiments of the present application, the process of determining the first rate may include a number of steps, as exemplified below.
First, a first rate is calculated according to an uplink rate of the terminal device, a current transmitting power and a number of resource blocks obtained by the terminal device.
The uplink Rate of the terminal device is called Rate up_curr, the current transmitting Power is called Power actual, and the number of resource blocks allocated by the terminal device is called Count RB_UE. The first Rate perPower_RB can be calculated by the following equation (9).
The first rate is used to indicate the contribution to the uplink rate per power unit and per resource block. Therefore, the power margin and the resource block margin may be multiplied by the first rate to obtain a margin of the uplink rate, and further obtain the theoretical uplink rate upper limit of the terminal device, that is, S505a described below.
S505a, determining a first uplink rate upper limit according to the first rate, the uplink rate of the terminal equipment, the maximum transmission power, the current transmission power and the number of resource blocks of the current wireless network, and the resource block utilization rate.
In an embodiment of the present application, the process of determining the first rate may also include a plurality of steps, as exemplified below.
First, a power headroom is calculated from a maximum transmit power of a terminal device, a current transmit power. It is understood that the power margin is the difference between the maximum transmit power and the current transmit power.
And secondly, calculating the resource block allowance according to the number of the resource blocks and the resource block utilization rate of the current wireless network. It can be appreciated that the resource block margin is the product of 1 and the difference in resource block utilization times the number of resource blocks.
Next, an uplink rate margin is calculated from the power margin, the resource block margin, and the first rate. As described above, the uplink rate margin, i.e., the product of the power margin, the resource block margin, and the first rate.
Finally, the sum of the uplink rate and the uplink rate allowance of the terminal equipment is the first uplink rate upper limit.
The uplink Rate margin is called Rate spare, the resource block utilization is called Ratio, the number of resource blocks is called Count RB_Cell, the maximum transmission Power is called Power max, the uplink Rate of the terminal device is called Rate up_curr, the first uplink Rate upper limit is called rate_up, and the first uplink Rate upper limit can be calculated according to the following formula (10).
Rate_up=count RB_Cell×(1-Ratio)×RateperPower_RB×(Powermax-Poweractual)+Rateup_curr equation (10).
In the embodiment of the application, the first uplink rate upper limit is only the theoretical uplink rate upper limit of the terminal equipment. When the first uplink rate upper limit is less than or equal to AMBR, the first uplink rate upper limit may be used as an actual uplink rate upper limit of the terminal device. And when the first uplink rate upper limit is greater than the AMBR, the base station allocates the air interface resource to the terminal device, which generally does not exceed the AMBR, so that the AMBR is the actual uplink rate upper limit of the terminal device.
S506a, taking the smaller value of the first uplink rate upper limit of the terminal equipment and the total maximum bit rate of the terminal equipment as the uplink rate upper limit of the terminal equipment.
The above description of S503a-S506a describes the procedure of determining the actual upper limit of the uplink rate of the terminal device when the uplink buffer time of the terminal device is less than the preset threshold. The process of determining the actual uplink rate upper limit of the terminal device when the uplink buffer time of the terminal device is greater than or equal to the preset threshold will be described below.
S503b, determining the uplink rate upper limit of the terminal equipment according to the uplink rate of the terminal equipment.
The uplink buffer time of the terminal equipment is larger than a preset threshold value, which indicates that the current network is more congested, so that the current uplink rate of the terminal equipment is the upper limit of the uplink rate.
Based on the above description, the method for determining the network speed upper limit of the terminal device provided by the embodiment of the application can relatively accurately calculate the network speed upper limit corresponding to the maximum bandwidth which can be allocated to the terminal device by the base station at the terminal device side, thereby providing a basis for measuring the network quality of the terminal device.
Referring to fig. 7, a schematic diagram of an electronic device 700 according to an embodiment of the application is shown. The electronic device 700 may be any of the above examples, for example, the electronic device 700 may be a mobile phone, a computer, or the like. For example, as shown in fig. 7, the electronic device 700 may include: a processor 701 and a memory 702. The memory 702 is used to store computer-executable instructions. For example, in some embodiments, the processor 701, when executing the instructions stored in the memory 702, may cause the electronic device 700 to perform any of the functions of the electronic device in the above embodiments, so as to implement any of the methods for determining the upper network speed limit of the terminal device in the above examples.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
Fig. 8 shows a schematic diagram of the components of a chip system 800. The chip system 800 may be provided in an electronic device. For example, the chip system 800 may be provided in a mobile phone. By way of example, the chip system 800 may include: a processor 801 and a communication interface 802 for supporting the electronic device to implement the functions referred to in the above embodiments. In one possible design, chip system 800 may further include memory to hold program instructions and data necessary for the electronic device. The chip system can be composed of chips, and can also comprise chips and other discrete devices. It should be noted that in some implementations of the application, the communication interface 802 may also be referred to as an interface circuit.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The embodiment of the application also provides a computer storage medium, in which computer instructions are stored, which when run on a terminal device, cause the terminal device to execute the relevant method steps to implement the method in the above embodiment.
The embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the methods in the above method embodiments.
The terminal device, the computer storage medium, the computer program product, or the chip provided in the embodiments of the present application are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and are not described herein.
The scheme provided by the embodiment of the application is mainly described from the perspective of the electronic equipment. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the devices involved in the method according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
The functions or acts or operations or steps and the like in the embodiments described above may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
Although the application has been described in connection with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely exemplary illustrations of the present application as defined in the appended claims and are considered to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the application. It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (16)

1. A method for determining an upper limit of a network speed of a terminal device, which is applied to the terminal device, wherein the terminal device is in communication connection with a base station, and the base station is used for providing a wireless network for the terminal device; the method comprises the following steps: determining an uplink rate upper limit of the terminal equipment and determining a downlink rate upper limit of the terminal equipment;
the determining the upper limit of the downlink rate of the terminal equipment comprises the following steps:
Acquiring a first parameter of the terminal equipment and a second parameter of the wireless network; the first parameter comprises MIMO order and downlink rate; the second parameter comprises frequency band, resource block number, signal to interference plus noise ratio and reference signal receiving quality;
calculating a first peak rate corresponding to the first parameter and the second parameter according to a preset database; the preset database is used for indicating the corresponding peak rates of terminal equipment with different MIMO orders under wireless networks with different frequency bands, resource block numbers and signal to interference plus noise ratios;
Determining a downlink rate upper limit of the terminal equipment according to the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal receiving quality and the total maximum bit rate;
The determining the uplink rate upper limit of the terminal equipment comprises the following steps:
Acquiring a third parameter of the terminal equipment and a fourth parameter of the wireless network; the third parameter comprises an uplink rate, a maximum transmitting power, a current transmitting power, a total maximum bit rate and a divided resource block number; the fourth parameter includes the number of resource blocks of the wireless network, the signal to interference plus noise ratio, and the reference signal receiving quality;
determining a first rate according to the uplink rate, the current transmitting power and the number of the divided resource blocks; the first rate is used for indicating an uplink rate which can be provided by each power unit and each resource block;
and determining an uplink rate upper limit of the terminal equipment according to the first rate, the third parameter and the fourth parameter.
2. The method of claim 1, wherein calculating a first peak rate for the first parameter and the second parameter according to a preset database comprises:
determining a frequency band of the wireless network, a first resource block number corresponding to a signal-to-interference-plus-noise ratio, a first MIMO (multiple input multiple output) order and a second peak rate in the preset database;
and determining the first peak rate according to the MIMO order of the terminal equipment, the first MIMO order, the number of resource blocks of the wireless network, the first number of resource blocks and the second peak rate.
3. The method of claim 2, wherein the determining the first peak rate according to the MIMO order of the terminal device, the first MIMO order, the number of resource blocks of the wireless network, the first number of resource blocks, the second peak rate comprises:
And multiplying the ratio of the MIMO order of the terminal equipment to the first MIMO order by the ratio of the number of the resource blocks of the wireless network to the number of the first resource blocks, and obtaining the first peak rate by the second peak rate.
4. The method of claim 1, wherein said determining the upper downlink rate for the terminal device based on the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal reception quality, and the aggregate maximum bit rate comprises:
determining the resource block utilization rate of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal receiving quality;
determining a second rate according to the first peak rate and the resource block utilization rate, wherein the second rate is used for indicating a downlink rate which can be provided by unallocated resource blocks in the wireless network;
and determining the downlink rate upper limit of the terminal equipment according to the second rate, the downlink rate and the total maximum bit rate.
5. The method of claim 4, wherein said determining a second rate based on said first peak rate and said resource block utilization comprises:
Calculating the difference between the 1 and the utilization rate of the resource block;
calculating the product of the first peak rate, the difference value and a preset coefficient to obtain the second rate; the preset coefficient has a value ranging from 0 to 1, and does not include 0 and 1.
6. The method of claim 4, wherein the determining the upper downlink rate limit for the terminal device based on the second rate, the downlink rate, and the aggregate maximum bit rate comprises:
Calculating the sum of the second rate and the downlink rate to obtain a first downlink rate upper limit;
And taking the smaller value of the total maximum bit rate and the first downlink rate upper limit as the downlink rate upper limit of the terminal equipment.
7. The method of claim 1, wherein the determining the first rate based on the uplink rate, the current transmit power, and the number of divided resource blocks comprises:
Calculating the product of the number of the divided resource blocks and the current transmitting power;
and calculating the quotient of the uplink rate and the product to obtain the first rate.
8. The method of claim 1, wherein the determining the uplink rate upper limit of the terminal device according to the first rate, the third parameter, and the fourth parameter includes:
determining the resource block utilization rate of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal receiving quality;
calculating the difference value between the maximum transmitting power and the current transmitting power to obtain a first numerical value;
Calculating the difference between the 1 and the utilization rate of the resource block to obtain a second value;
Calculating the product of the first value, the second value, the first rate and the number of resource blocks to obtain a third rate;
and determining an uplink rate upper limit of the terminal equipment according to the third rate, the uplink rate and the total maximum bit rate.
9. The method of claim 8, wherein the determining the uplink rate upper limit for the terminal device based on the third rate, the uplink rate, and the aggregate maximum bit rate comprises:
calculating the sum of the third rate and the uplink rate to obtain a first uplink rate upper limit;
and taking the smaller value of the first rate upper limit and the total maximum bit rate as an uplink rate upper limit of the terminal equipment.
10. The method according to claim 1, wherein calculating the first peak rate corresponding to the first parameter and the second parameter according to a preset database includes:
Determining the resource block utilization rate of the wireless network according to the signal-to-interference-plus-noise ratio and the reference signal receiving quality; the resource block utilization rate is used for indicating the ratio of the number of the allocated resource blocks to the total number of the resource blocks of the wireless network;
And when the utilization rate of the resource block is smaller than a first preset threshold value, calculating a first peak rate corresponding to the first parameter and the second parameter according to a preset database.
11. The method of claim 10, wherein after said determining the resource block utilization of the wireless network based on the signal-to-interference-plus-noise ratio and a reference signal reception quality, the method further comprises:
and when the resource block utilization rate is larger than the first preset threshold value, taking the downlink rate as the upper limit of the downlink rate of the terminal equipment.
12. The method of claim 1, wherein the determining the first rate based on the uplink rate, the current transmit power, and the number of divided resource blocks comprises:
Acquiring uplink buffer time of the terminal equipment; the uplink buffer time is used for indicating the time when the terminal equipment requests the base station to schedule uplink resources;
And when the uplink buffer time is smaller than a second preset threshold value, determining a first rate according to the uplink rate, the current transmitting power and the number of the divided resource blocks.
13. The method of claim 12, wherein after the obtaining the uplink buffer time of the terminal device, the method further comprises:
and when the uplink buffer time is greater than the second preset threshold, taking the uplink rate as an uplink rate upper limit of the terminal equipment.
14. A system for determining an upper limit of a network speed of a terminal device, the system being applied to the terminal device, the terminal device being communicatively connected to a base station, the base station being configured to provide a wireless network to the terminal device; the system comprises: a first subsystem and a second subsystem;
the first subsystem includes:
a first module, configured to obtain a first parameter of the terminal device and a second parameter of the wireless network; the first parameter comprises MIMO order and downlink rate; the second parameter comprises frequency band, resource block number, signal to interference plus noise ratio and reference signal receiving quality;
the second module is used for calculating a first peak value rate corresponding to the first parameter and the second parameter according to a preset database; the preset database is used for indicating the corresponding peak rates of terminal equipment with different MIMO orders under wireless networks with different frequency bands, resource block numbers and signal to interference plus noise ratios;
a third module, configured to determine a downlink rate upper limit of the terminal device according to the downlink rate, the first peak rate, the signal-to-interference-plus-noise ratio, the reference signal reception quality, and the total maximum bit rate;
The second subsystem includes:
a fourth module, configured to obtain a third parameter of the terminal device and a fourth parameter of the wireless network; the third parameter comprises an uplink rate, a maximum transmitting power, a current transmitting power, a total maximum bit rate and a divided resource block number; the fourth parameter includes the number of resource blocks of the wireless network, the signal to interference plus noise ratio, and the reference signal receiving quality;
a fifth module, configured to determine a first rate according to the uplink rate, the current transmit power, and the number of allocated resource blocks; the first rate is used for indicating an uplink rate which can be provided by each power unit and each resource block;
and a sixth module, configured to determine an uplink rate upper limit of the terminal device according to the first rate, the third parameter, and the fourth parameter.
15. An electronic device comprising one or more processors and one or more memories; the one or more memories coupled to the one or more processors, the one or more memories storing computer instructions;
The computer instructions, when executed by the one or more processors, cause the electronic device to perform the method of determining an upper limit of network speed for a terminal device of any one of claims 1-13.
16. A computer readable storage medium comprising computer instructions which, when executed, perform the method of determining an upper limit of network speed for a terminal device according to any one of claims 1-13.
CN202211716308.7A 2022-12-28 2022-12-28 Method for determining upper limit of network speed of terminal equipment and electronic equipment Active CN116709433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211716308.7A CN116709433B (en) 2022-12-28 2022-12-28 Method for determining upper limit of network speed of terminal equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211716308.7A CN116709433B (en) 2022-12-28 2022-12-28 Method for determining upper limit of network speed of terminal equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN116709433A CN116709433A (en) 2023-09-05
CN116709433B true CN116709433B (en) 2024-05-17

Family

ID=87828136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211716308.7A Active CN116709433B (en) 2022-12-28 2022-12-28 Method for determining upper limit of network speed of terminal equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN116709433B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669776A (en) * 2020-05-22 2020-09-15 中国联合网络通信集团有限公司 Method and device for determining edge rate
CN112752291A (en) * 2020-12-15 2021-05-04 中国联合网络通信集团有限公司 Uplink rate evaluation method and device
WO2022212997A1 (en) * 2021-03-31 2022-10-06 Qualcomm Incorporated Techniques for reference signal interference canceling or rate matching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102543097B1 (en) * 2018-01-04 2023-06-14 삼성전자주식회사 Apparatus and method for allocating resources in wireless communication system
WO2019152804A1 (en) * 2018-02-02 2019-08-08 Affirmed Networks, Inc. Estimating bandwidth savings for adaptive bit rate streaming

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669776A (en) * 2020-05-22 2020-09-15 中国联合网络通信集团有限公司 Method and device for determining edge rate
CN112752291A (en) * 2020-12-15 2021-05-04 中国联合网络通信集团有限公司 Uplink rate evaluation method and device
WO2022212997A1 (en) * 2021-03-31 2022-10-06 Qualcomm Incorporated Techniques for reference signal interference canceling or rate matching

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TD-LTE电力无线专网峰值速率分析计算;翟军辉;潘裕庆;周恬;汤震;;信息通信(03);全文 *

Also Published As

Publication number Publication date
CN116709433A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US11729777B2 (en) Channel detection apparatus and method, user equipment, and base station
CN110651501B (en) Electronic device, wireless communication method, and computer-readable medium
US10917915B2 (en) Device and method for wireless communication system, and spectrum management device
CN106162911B (en) Electronic device and method for wireless communication
WO2018142784A1 (en) Relay communication device, base station, method, and recording medium
TWI710255B (en) Electronic equipment, user equipment in wireless communication system and wireless communication method
CN110972315A (en) Electronic device and method for wireless communication, computer-readable storage medium
US20230015263A1 (en) Resource selection method and apparatus, and user equipment
US20220361212A1 (en) Method for transmitting dci, communication device and storage medium
CN116097115A (en) Positioning reference signal design for low power consumption tracking
CN108156629A (en) Equipment and wireless communications method in wireless communication system
CN115702581A (en) Electronic device and method for wireless communication, computer-readable storage medium
CN114696925A (en) Channel quality assessment method and related device
CN116709433B (en) Method for determining upper limit of network speed of terminal equipment and electronic equipment
EP4040889A1 (en) Resource configuration method and apparatus
CN114402657A (en) Communication method, device and system
GB2496733A (en) Determining maximum useful data to be transmitted within a transport block
CN114503722A (en) Method and device for transmitting uplink control information
CN108811070B (en) Power headroom transmission method and equipment
CN113541762B (en) Power adjustment method, device and system
CN110278015B (en) Antenna selection method, device and terminal
CN113366896B (en) Reference signal receiving and sending method, device and system
CN114390691A (en) Electronic device and communication method
CN112020129A (en) Data transmission method, device and system
WO2023185562A1 (en) Electronic device and method for wireless communication, and computer readable storage medium

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