CN111726829A - Method and device for acquiring data transmission rate and computer equipment - Google Patents

Method and device for acquiring data transmission rate and computer equipment Download PDF

Info

Publication number
CN111726829A
CN111726829A CN202010358920.6A CN202010358920A CN111726829A CN 111726829 A CN111726829 A CN 111726829A CN 202010358920 A CN202010358920 A CN 202010358920A CN 111726829 A CN111726829 A CN 111726829A
Authority
CN
China
Prior art keywords
specified
time
data
rate
wireless transmission
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.)
Granted
Application number
CN202010358920.6A
Other languages
Chinese (zh)
Other versions
CN111726829B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010358920.6A priority Critical patent/CN111726829B/en
Priority to PCT/CN2020/098792 priority patent/WO2021217847A1/en
Publication of CN111726829A publication Critical patent/CN111726829A/en
Application granted granted Critical
Publication of CN111726829B publication Critical patent/CN111726829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • 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)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method for acquiring data transmission rate, which comprises the following steps: acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment; acquiring a specified time period to which the current moment belongs and a specified area range to which a mobile terminal connected with the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor beta according to the specified time period and the specified area range, wherein beta is more than or equal to 0 and less than or equal to 1; and obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor. A wireless signal quality sensor is added on the side of the moving edge, so that the current data transmission rate is accurately acquired.

Description

Method and device for acquiring data transmission rate and computer equipment
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, and a computer device for obtaining a data transmission rate.
Background
The calculation force of the mobile edge side calculation node is limited due to the limitation of size, weight and power consumption, the calculation processing is long in time consumption, the mobile edge side calculation node is close to a user side, the time delay of a large amount of video data transmission is not needed, and the edge calculation node sinks to the user side due to the calculation force, so that the edge calculation node has the advantages of low time delay and bandwidth overhead saving in practical application, and is very suitable for occasions needing low time delay and high bandwidth overhead, such as unmanned driving, AR/VR, video intelligent analysis and the like. However, the wireless environment quality in a mobile scene directly affects the interaction efficiency of edge-cloud cooperation, so that the application delay core index is affected. The cloud computing hardware resources have the characteristic of elastic expansion, and on the contrary, the cloud side hardware computing resources are not the most critical factors influencing time delay. The cloud computing node has rich hardware resources, strong computing power and short computing processing time, but needs a large amount of time for transmitting data to be transmitted, so that the time delay is seriously influenced, and particularly under the condition that the data transmission environment is not ideal, the influence is more prominent, but the technical scheme for accurately acquiring the transmission rate in real time does not exist.
Disclosure of Invention
The application mainly aims to provide a method for acquiring a data transmission rate, and aims to solve the technical problem that the transmission rate cannot be accurately acquired in real time.
The application provides a method for acquiring data transmission rate, which comprises the following steps:
acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment;
acquiring a specified time period to which the current moment belongs and a specified area range to which a mobile terminal connected with the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor beta according to the specified time period and the specified area range, wherein beta is more than or equal to 0 and less than or equal to 1;
and obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
Preferably, the step of obtaining, in real time, a specified channel quality indication value in a wireless transmission channel at a current time, obtaining, by the specified channel quality indication value, transmission efficiency corresponding to the specified channel quality indication value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current time includes:
determining the network standard of the current moment, and acquiring the designated channel quality indicated value in real time;
calling a data list corresponding to the network standard at the current moment, wherein the data list comprises all channel quality indicating values, transmission efficiency values and/or modulation and coding strategy combinations corresponding to all the channel quality indicating values one to one;
determining a transmission efficiency corresponding to the specified channel quality indication value from the data list;
according to
Figure BDA0002474401120000021
Calculating the basic transmission rate in the wireless transmission channel corresponding to the current time, wherein E is the transmission efficiency corresponding to the specified channel quality indication value, EPeak(s)For channel quality indicator values, V, corresponding to peak transmission ratesPeak(s)The peak transmission rate.
Preferably, the step of obtaining the specified time period to which the current time belongs and the specified area range to which the mobile terminal connected to the wireless transmission channel belongs, and obtaining the corresponding specified rate conversion factor β according to the specified time period and the specified area range includes:
determining the specified time period according to the read current time, wherein the current time belongs to any point time of the specified time period;
determining a designated area range to which a mobile terminal connected with the wireless transmission channel belongs according to longitude and latitude information acquired by a current positioning device, wherein an area point corresponding to the longitude and latitude information belongs to any area point position in the designated area range;
determining a partition corresponding to the specified two-dimensional partition in a specified rate model through a specified two-dimensional partition surrounded by the specified time period and the specified area range, wherein the specified rate model comprises a three-dimensional coordinate model composed of the specified time period, the specified area range and a specified area normalization rate;
acquiring a specified normalization rate of the specified two-dimensional partition and a maximum normalization rate value in all partitions of the three-dimensional coordinate model;
the specified rate conversion factor β is obtained by dividing the specified normalized rate by the maximum normalized rate value.
Preferably, the determining the specified time period according to the read current time, wherein the step of determining that the current time belongs to any point time of the specified time period includes:
obtaining historical operation data of an operator, and determining a covered geographical area from the historical operation data;
uniformly segmenting the geographic area in a specified unit area according to the longitude direction or the latitude direction to form one-dimensional data corresponding to an area range;
forming two-dimensional coordinates by the one-dimensional data corresponding to the area range and the one-dimensional data corresponding to the time period, wherein the one-dimensional data corresponding to the time period comprises distribution state data which are uniformly segmented according to a specified time span in twenty-four hours corresponding to a natural day;
and forming the three-dimensional coordinate model by using the two-dimensional coordinates and the one-dimensional data corresponding to the speed value of the real-time speed change.
Preferably, after the step of obtaining the data transmission rate in the wireless transmission channel corresponding to the current time by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current time by the specified rate conversion factor, the method includes:
acquiring a first time delay of task data processed at a mobile edge side and a second time delay of the task data processed at a cloud side;
calculating the sum of the second time delay and the transmission time of the task data at the data transmission rate in the wireless transmission channel corresponding to the first moment to obtain the total processing time of the first cloud side;
comparing whether the first cloud side total processing time is less than the first time delay or not;
and if the total processing time of the first cloud side is less than the first time delay, the task data is selected to be sent to the cloud side for processing, otherwise, the task data is processed at the mobile edge side.
Preferably, if the total time of the first cloud-side processing is less than the first time delay, the task data is selected to be sent to the cloud-side processing, otherwise, after the step of processing the task data by the mobile edge side, the method includes:
judging whether the continuous processing time of the task data reaches a preset time period from the first moment;
if the preset time period is reached, recalculating the sum of the transmission time of the task data at the data transmission rate of the wireless transmission channel corresponding to the second moment to obtain the total processing time of the second cloud side;
comparing whether the second cloud side total processing time is less than the first time delay or not;
and if not, switching the data channel for processing the task data from the cloud side to the mobile edge side.
Preferably, after the step of comparing whether the total processing time of the second cloud side is less than the first time delay, the method includes:
if the second cloud side processing total time is greater than or equal to the first time delay, judging whether the difference between the second cloud side processing total time and the first time delay is within a preset range;
if so, keeping the data channel selected for connection at the first moment, otherwise, switching to other data channels.
The present application further provides an apparatus for obtaining a data transmission rate, including:
the first acquisition module is used for acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment;
a second obtaining module, configured to obtain a specified time period to which the current time belongs and a specified area range to which a mobile terminal connected to the wireless transmission channel belongs, and obtain a corresponding specified rate conversion factor β according to the specified time period and the specified area range, where β is greater than or equal to 0 and less than or equal to 1;
and the obtaining module is used for obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method as described above.
According to the method, a wireless signal quality sensor is additionally arranged on a mobile edge side, wireless environment quality is monitored, calculation of a basic transmission rate based on CQI and a data transmission model based on the basic transmission rate are designed, and the current data transmission rate is accurately obtained; the real-time data transmission rate is obtained according to the basic transmission rate and the rate conversion factor, the basic transmission rate can be obtained only by obtaining the signal intensity in real time, and the data transmission rate in the wireless transmission channel corresponding to the current moment is estimated through the conversion factor, so that the method has the engineering value of practical application.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for obtaining a data transmission rate according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a three-dimensional coordinate model according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus for acquiring a data transmission rate according to an embodiment of the present application;
fig. 4 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, a method for acquiring a data transmission rate according to an embodiment of the present application includes:
s1: the method comprises the steps of obtaining a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, obtaining transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment.
In the embodiment provided by the application, the signal strength value of the wireless network is obtained in real time, and is mapped and converted into the channel quality indication value, where the signal strength value is a signal-to-Noise Ratio (SINR), which is a signal-to-Interference plus Noise Ratio (SINR) in dB, and the SINR is an international wireless signal quality measurement standard and directly represents the quality of the current wireless environment. SINR is an original value of measured signal quality, and is quantized to cqi (channel quality indication) channel quality indication value used for determining an allocation index of radio channel resources in actual radio communication. According to the 4GLTE specification protocol 3GPP TS36.213, the CQI feedback is given in a range of 0-15, and a common SINR-to-CQI quantization mapping rule, as shown in table 1 below, is used to obtain a quantized CQI value through the measurement result SINR of a wireless quality sensor mounted at the edge of a mobile terminal. And then, according to a corresponding list of the quantized CQI value and the transmission efficiency, obtaining the transmission efficiency corresponding to the designated channel quality indicating value, wherein the designated channel quality indicating value is any one of all the channel quality indicating values, and then calculating the basic transmission rate in the current wireless channel according to the proportional relation of the transmission efficiency corresponding to the designated channel quality indicating value and the transmission efficiency corresponding to the duty peak rate.
TABLE 1
Figure BDA0002474401120000051
Figure BDA0002474401120000061
S2: acquiring a specified time period to which the current moment belongs and a specified area range to which a mobile terminal connected with the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor beta according to the specified time period and the specified area range, wherein beta is more than or equal to 0 and less than or equal to 1;
three-dimensional modeling is carried out on a specified time period, a specified region range to which a mobile terminal connected with the wireless transmission channel belongs and a normalized rate, one-to-one correspondence between the regions and the normalized rate is realized, and then a conversion factor beta is obtained by comparing the normalized rate of the region with the maximum rate value of the region. The normalized rate refers to the average value of the rate in the same time period in the area for a plurality of consecutive days.
S3: and obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
In theoretical research of wireless channel transmission rate, calculation is usually performed by the standard shannon theorem, but parameters such as bandwidth, power, noise, gain, distance, loss factor and the like required in the calculation process are random variables which change constantly in practical application, and the parameters cannot be obtained in real time in practical application. The embodiment of the application obtains the real-time data transmission rate according to the basic transmission rate and the rate conversion factor, only needs to obtain the signal intensity in real time, can obtain the basic transmission rate, and estimates the data transmission rate in the wireless transmission channel corresponding to the current moment through the conversion factor, and has the engineering value of practical application. A wireless signal quality sensor is additionally arranged on a mobile edge side, the calculation of a basic transmission rate based on CQI and a data transmission model based on the basic transmission rate are designed for monitoring the quality of a wireless environment, and the current data transmission rate is accurately acquired.
Further, the step S1 of acquiring, in real time, the specified channel quality indicator value in the wireless transmission channel at the current time, acquiring, by the specified channel quality indicator value, the transmission efficiency corresponding to the specified channel quality indicator value, and calculating the basic transmission rate in the wireless transmission channel corresponding to the current time includes:
s11: determining the network standard of the current moment, and acquiring the designated channel quality indicated value in real time;
s12: calling a data list corresponding to the network standard at the current moment, wherein the data list comprises all channel quality indicating values, transmission efficiency values and/or modulation and coding strategy combinations corresponding to all the channel quality indicating values one to one;
s13: determining a transmission efficiency corresponding to the specified channel quality indication value from the data list;
s14: according to
Figure BDA0002474401120000071
Calculating the basic transmission rate in the wireless transmission channel corresponding to the current time, wherein E is the transmission efficiency corresponding to the specified channel quality indication value, EPeak(s)For channel quality indicator values, V, corresponding to peak transmission ratesPeak(s)The peak transmission rate.
The network standard comprises 4G standardQuasi or 5G standard, etc. The above-mentioned appointed channel quality indicated value is realized by acquiring the signal to noise ratio SINR in real time through the wireless quality sensor installed at the edge of the mobile terminal, and the process of converting the signal to noise ratio SINR into the channel quality indicated value is the same as above, which is not repeated. The data list refers to a one-to-one correspondence list of channel quality indication values and transmission efficiency values under different network standards, and the transmission efficiency values can be derived from a modulation and coding strategy combination corresponding to the channel quality indication values, so that the data list can include a column corresponding to the channel quality indication values and a column corresponding to the transmission efficiency values; or the modulation and coding strategy combination comprises a column corresponding to the channel quality indication value and a column corresponding to the modulation and coding strategy combination; or, in order to make the correspondence relationship more clear, the sequence includes a sequence corresponding to the channel quality indication value, a sequence corresponding to the transmission efficiency value, and a sequence corresponding to the combination of the modulation and coding strategies. Modulation and Coding Scheme (MCS) is a mode defined by the international communication organization for data wireless transmission, and directly determines the rate of data transmission, wherein MCS selection is determined by an input quantized CQI value, and according to the specification 3gpp ts36.213, section 7.2.3, the corresponding relationship between the CQI quantized value and the MCS can be directly obtained, wherein transmission efficiency is a resource transmission efficiency calculation result under different MCS combinations, and is directly related to the transmission rate, and CQI of 0 indicates that the wireless environment is very poor, and transmission resources are not allocated. Taking 4G network standards as an example, the data list is as shown in table 2, and as can be seen from table 2, the MCS combination is obtained by the CQI value, and the transmission efficiency can be obtained. When the CQI is 15, it indicates the maximum rate that can be obtained, and the transmission efficiency is 5.5547. Taking a 4GLTE network as an example, the peak rate of the data uploading transmission rate is 50Mbps, and the peak rate can be obtained only when the CQI is 15, so that it can be calculated that the basic transmission rate V is:
Figure BDA0002474401120000081
where E is the corresponding transmission efficiency value for the current CQI value.
TABLE 2
Figure BDA0002474401120000082
Further, the step S2 of acquiring the specified time period to which the current time belongs and the specified area range to which the mobile terminal connected to the wireless transmission channel belongs, and acquiring the corresponding specified rate conversion factor β according to the specified time period and the specified area range includes:
s21: determining the specified time period according to the read current time, wherein the current time belongs to any point time of the specified time period;
s22: determining a designated area range to which a mobile terminal connected with the wireless transmission channel belongs according to longitude and latitude information acquired by a current positioning device, wherein an area point corresponding to the longitude and latitude information belongs to any area point position in the designated area range;
s23: determining a partition corresponding to the specified two-dimensional partition in a specified rate model through a specified two-dimensional partition surrounded by the specified time period and the specified area range, wherein the specified rate model comprises a three-dimensional coordinate model composed of the specified time period, the specified area range and a specified area normalization rate;
s24: acquiring a specified normalization rate of the specified two-dimensional partition and a maximum normalization rate value in all partitions of the three-dimensional coordinate model;
s25: the specified rate conversion factor β is obtained by dividing the specified normalized rate by the maximum normalized rate value.
The transmission rate of a wireless communication signal consists of two elements: the base transmission rate and the occupied resources. The occupied resource is related to the congestion degree of the network, and the congestion degree of the network is related to the position and the time period of the user. For example, the rate allocated in the idle period in the morning is far greater than the rate allocated in the busy period of the working time; "regions with low population density are exclusive of resources and allocated at a rate much greater than the rate allocated to densely populated regions". Thus, in essence, the resource element model can be translated into two factors, "location area" and "time period". In the embodiment provided by the application, a three-dimensional coordinate model is constructed according to a time period, an area position and an average rate, so that rate data of a partition, including a normalized rate and a maximum upload rate value, can be obtained more accurately or according to the determined partition, a rate conversion factor is obtained through the obtained rate data, and then a real upload data rate in a current wireless transmission channel is estimated through the rate conversion factor and a basic transmission rate. The value of the rate conversion factor is between 0 and 1, and when the value is 1, the partitioned network is in an idle state, and the maximum basic transmission rate can be obtained. The time period and area location for the task upload are directly available to the clock and GPS device of the edge intelligence hardware.
Further, the determining the specified time period according to the read current time, where before step S21, the step of the current time belonging to any point in the specified time period includes:
s20 a: obtaining historical operation data of an operator, and determining a covered geographical area from the historical operation data;
s20 b: uniformly segmenting the geographic area in a specified unit area according to the longitude direction or the latitude direction to form one-dimensional data corresponding to an area range;
s20 c: forming two-dimensional coordinates by the one-dimensional data corresponding to the area range and the one-dimensional data corresponding to the time period, wherein the one-dimensional data corresponding to the time period comprises distribution state data which are uniformly segmented according to a specified time span in twenty-four hours corresponding to a natural day;
s20 d: and forming the three-dimensional coordinate model by using the two-dimensional coordinates and the one-dimensional data corresponding to the speed value of the real-time speed change.
As shown in fig. 2, the rate of each time segment of each geographic area can be obtained from an operator, the same CQI value of each time segment of each geographic area is taken, two-dimensional coordinate data with a two-dimensional coordinate of a segment of the region and a segment of the time is drawn, and a three-dimensional coordinate model is combined with a rate value of a real-time rate change. By dividing the region segments and the time segments according to a certain granularity, the division granularity can be based on an operator baseThe station density is determined, so that the three-dimensional coordinate model has practical engineering application feasibility. According to the experience of 4G network construction, the signal coverage and speed are basically the same in every 0.01 square kilometer (100 meters each in length and width) in every 5 minutes, so the above specified unit area is 0.01 square kilometer, and the specified time span is 5 minutes. Obtaining the statistical rate of a certain partition in a continuous multi-day three-dimensional coordinate model within 5 minutes of the same time period, then taking an average value to obtain the normalized rate of the certain partition, taking the highest normalized rate value in all the partitions, and then calculating a rate conversion factor: namely, it is
Figure BDA0002474401120000101
Wherein, the numerator is the normalized rate value of a certain partition, and the denominator is the highest normalized rate value in all the partitions.
Further, after the step S3 of obtaining the data transmission rate in the wireless transmission channel corresponding to the current time by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current time by the specified rate conversion factor, the method includes:
s31: acquiring a first time delay of task data processed at a mobile edge side and a second time delay of the task data processed at a cloud side;
s32, calculating the sum of the second time delay and the transmission time of the task data at the data transmission rate in the wireless transmission channel corresponding to the first moment to obtain the total processing time of the first cloud side;
s33: comparing whether the first cloud side total processing time is less than the first time delay or not;
s34: and if the total processing time of the first cloud side is less than the first time delay, the task data is selected to be sent to the cloud side for processing, otherwise, the task data is processed at the mobile edge side.
In the embodiment provided by the application, the task data is set to be U, and the task data includes an electronic data stream that needs to be analyzed and processed, such as video recording data. After the hardware configuration and AI algorithm model of the mobile edge side are confirmed, the computing capability of the mobile edge side can be obtained, and the assumption is made thatIs CEdgeThe processing time delay of the task at the mobile edge side is TEdgeThen T isEdge=U/CEdge. After the cloud side computing hardware configuration and the AI algorithm model are confirmed, the computing capability of the cloud side can be obtained, and the assumption is CCloudAnd the cloud side computing task processing time delay is TCloudThen, then
Figure BDA0002474401120000111
The computing power C of the mobile edge side is limited by the factors of the cost, power consumption, weight and volume of the hardware of the mobile edge sideEdgeMuch less than the computing power C of the cloud sideCloudHowever, the cloud side computing involves the delay generated by data transmission, for example, according to the actual transmission rate β V of the recorded content, the transmission delay of the computing task data uploaded to the cloud side is TConveying applianceThen, then
Figure BDA0002474401120000112
Therefore, comprehensive consideration is needed to match the task processing mode with the optimal delay, wherein the optimal delay refers to a mode with the least time and the fastest feedback. The task data processing comprises processing the electronic data stream into a result such as conclusive text format data and uploading the processed result to the application service side. By comparing the moving edge-side time delay TEdgeAnd cloud side processing Total latency (T)Conveying appliance+TCloud) To make the best decision. When the whole task data volume is small, the processing difference between the two ends is not obvious, and the processing mode of the whole task data can be determined through the judgment condition of the first moment in the processing process, namely the cloud side processing or the mobile edge side processing.
Further, if the total time of the first cloud-side processing is smaller than the first time delay, the selecting to send the task data to the cloud-side processing, otherwise, after the step S34 of processing the task data by the mobile edge side, the method includes:
s35: judging whether the continuous processing time of the task data reaches a preset time period from the first moment;
s36: if the preset time period is reached, recalculating the sum of the transmission time of the task data at the data transmission rate of the wireless transmission channel corresponding to the second moment to obtain the total processing time of the second cloud side;
s37: comparing whether the second cloud side total processing time is less than the first time delay or not;
s38: and if not, switching the data channel for processing the task data from the cloud side to the mobile edge side.
In this embodiment, when the data amount of the task data is large, the data may be processed in cycles and in batches, for example, the data channel is preferably selected or switched by taking the preset time period as a judgment cycle. The predetermined time period may be defined according to a statistical duration of network stability, such as 5 minutes. And if the whole task data is transmitted within 5 minutes, the data volume is considered to be small, otherwise, the data volume is considered to be large.
Further, after the step S37 of comparing whether the second cloud-side total processing time is less than the first time delay, the method further includes:
s38: if the second cloud side processing total time is greater than or equal to the first time delay, judging whether the difference between the second cloud side processing total time and the first time delay is within a preset range;
s39: if so, keeping the data channel selected for connection at the first moment, otherwise, switching to other data channels.
In this embodiment, when two adjacent periods are determined again, it is determined whether the delay difference between the previous period and the next period changes significantly, if so, the switching is performed, otherwise, the switching is not performed, so as to ensure the continuity and the integrity of data transmission, and the switching also needs to be time-consuming. For example, if the difference is within 5%, the difference is considered to be small and the handover is not performed. In addition, other embodiments may also determine whether to switch according to the size of the remaining amount of data that needs to be uploaded in the next period, and if the data is less than 10% of the data in one period, the switching is not selected. The above-mentioned selection process when switching to other data channels is the same as the above-mentioned process of selecting a data channel according to the shortest consumed time, and is not repeated.
Referring to fig. 3, an apparatus for acquiring a data transmission rate according to an embodiment of the present application includes:
the first obtaining module 1 is configured to obtain, in real time, a specified channel quality indication value in a wireless transmission channel at a current time, obtain, through the specified channel quality indication value, transmission efficiency corresponding to the specified channel quality indication value, and calculate a basic transmission rate in the wireless transmission channel corresponding to the current time.
In the embodiment provided by the application, the signal strength value of the wireless network is obtained in real time, and is mapped and converted into the channel quality indication value, where the signal strength value is a signal-to-Noise Ratio (SINR), which is a signal-to-Interference plus Noise Ratio (SINR) in dB, and the SINR is an international wireless signal quality measurement standard and directly represents the quality of the current wireless environment. SINR is an original value of measured signal quality, and is quantized to cqi (channel quality indication) channel quality indication value used for determining an allocation index of radio channel resources in actual radio communication. According to the 4GLTE specification protocol 3GPP TS36.213, the CQI feedback is given in a range of 0-15, and a common SINR-to-CQI quantization mapping rule, as shown in table 1 below, is used to obtain a quantized CQI value through the measurement result SINR of a wireless quality sensor mounted at the edge of a mobile terminal. And then, according to a corresponding list of the quantized CQI value and the transmission efficiency, obtaining the transmission efficiency corresponding to the designated channel quality indicating value, wherein the designated channel quality indicating value is any one of all the channel quality indicating values, and then calculating the basic transmission rate in the current wireless channel according to the proportional relation of the transmission efficiency corresponding to the designated channel quality indicating value and the transmission efficiency corresponding to the duty peak rate.
TABLE 1
Figure BDA0002474401120000121
Figure BDA0002474401120000131
And the second obtaining module 2 is configured to obtain a specified time period to which the current time belongs and a specified area range to which a mobile terminal connected to the wireless transmission channel belongs, and obtain a corresponding specified rate conversion factor β according to the specified time period and the specified area range, where β is greater than or equal to 0 and less than or equal to 1.
Three-dimensional modeling is carried out on a specified time period, a specified region range to which a mobile terminal connected with the wireless transmission channel belongs and a normalized rate, one-to-one correspondence between the regions and the normalized rate is realized, and then a conversion factor beta is obtained by comparing the normalized rate of the region with the maximum rate value of the region. The normalized rate refers to the average value of the rate in the same time period in the area for a plurality of consecutive days.
And the obtaining module 3 is configured to obtain the data transmission rate in the wireless transmission channel corresponding to the current time by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current time by the specified rate conversion factor.
In theoretical research of wireless channel transmission rate, calculation is usually performed by the standard shannon theorem, but parameters such as bandwidth, power, noise, gain, distance, loss factor and the like required in the calculation process are random variables which change constantly in practical application, and the parameters cannot be obtained in real time in practical application. The embodiment of the application obtains the real-time data transmission rate according to the basic transmission rate and the rate conversion factor, only needs to obtain the signal intensity in real time, can obtain the basic transmission rate, and estimates the data transmission rate in the wireless transmission channel corresponding to the current moment through the conversion factor, and has the engineering value of practical application. A wireless signal quality sensor is additionally arranged on a mobile edge side, the calculation of a basic transmission rate based on CQI and a data transmission model based on the basic transmission rate are designed for monitoring the quality of a wireless environment, and the current data transmission rate is accurately acquired.
Further, the first obtaining module 1 includes:
a first determining unit, configured to determine a network standard of the current time, and obtain the specified channel quality indication value in real time;
an invoking unit, configured to invoke a data list corresponding to the network standard at the current time, where the data list includes each channel quality indication value, and a transmission efficiency value and/or a combination of modulation and coding strategies that are in one-to-one correspondence with each channel quality indication value;
a second determining unit configured to determine, from the data list, a transmission efficiency corresponding to the specified channel quality indication value;
a computing unit for computing based on
Figure BDA0002474401120000141
Calculating the basic transmission rate in the wireless transmission channel corresponding to the current time, wherein E is the transmission efficiency corresponding to the specified channel quality indication value, EPeak(s)For channel quality indicator values, V, corresponding to peak transmission ratesPeak(s)The peak transmission rate.
The network standards include a 4G standard, a 5G standard, and the like. The above-mentioned appointed channel quality indicated value is realized by acquiring the signal to noise ratio SINR in real time through the wireless quality sensor installed at the edge of the mobile terminal, and the process of converting the signal to noise ratio SINR into the channel quality indicated value is the same as above, which is not repeated. The data list refers to a one-to-one correspondence list of channel quality indication values and transmission efficiency values under different network standards, and the transmission efficiency values can be derived from a modulation and coding strategy combination corresponding to the channel quality indication values, so that the data list can include a column corresponding to the channel quality indication values and a column corresponding to the transmission efficiency values; or the modulation and coding strategy combination comprises a column corresponding to the channel quality indication value and a column corresponding to the modulation and coding strategy combination; or, in order to make the correspondence relationship more clear, the sequence includes a sequence corresponding to the channel quality indication value, a sequence corresponding to the transmission efficiency value, and a sequence corresponding to the combination of the modulation and coding strategies. The Modulation and Coding Scheme (MCS) is a mode defined by the international communication organization for wireless data transmission, and directly determines the rate of data transmission, the MCS selection is determined by the input quantized CQI value, and according to the specification of 3GPP TS36.213, section 7.2.3, the corresponding relationship between the CQI quantized value and the MCS can be directly obtained, wherein the transmission efficiency is the calculation result of the resource transmission efficiency under different MCS combinations, and the transmission efficiency is the result of the resource transmission efficiency calculation under different MCS combinationsIn relation to the transmission rate, CQI of 0 indicates that the radio environment is very poor and no transmission resource is allocated. Taking 4G network standards as an example, the data list is as shown in table 2, and as can be seen from table 2, the MCS combination is obtained by the CQI value, and the transmission efficiency can be obtained. When the CQI is 15, it indicates the maximum rate that can be obtained, and the transmission efficiency is 5.5547. Taking a 4GLTE network as an example, the peak rate of the data uploading transmission rate is 50Mbps, and the peak rate can be obtained only when the CQI is 15, so that it can be calculated that the basic transmission rate V is:
Figure BDA0002474401120000151
where E is the corresponding transmission efficiency value for the current CQI value.
TABLE 2
Figure BDA0002474401120000152
Further, the second obtaining module 2 includes:
a third determining unit, configured to determine the specified time period according to the read current time, where the current time belongs to any point time of the specified time period;
a fourth determining unit, configured to determine, according to latitude and longitude information obtained by a current positioning device, an appointed area range to which a mobile terminal connected to the wireless transmission channel belongs, where an area point corresponding to the latitude and longitude information belongs to any area point position within the appointed area range;
and a fifth determining unit, configured to determine, through a specified two-dimensional partition surrounded by the specified time period and the specified region range, a partition corresponding to the specified two-dimensional partition in a specified rate model, where the specified rate model includes a three-dimensional coordinate model composed of the specified time period, the specified region range, and a specified region normalization rate.
The first acquisition unit is used for acquiring the specified normalization rate of the specified two-dimensional partition and the maximum normalization rate value in all the partitions of the three-dimensional coordinate model;
an obtaining unit, configured to obtain the specified rate conversion factor β by dividing the specified normalized rate by the maximum normalized rate value.
The transmission rate of a wireless communication signal consists of two elements: the base transmission rate and the occupied resources. The occupied resource is related to the congestion degree of the network, and the congestion degree of the network is related to the position and the time period of the user. For example, the rate allocated in the idle period in the morning is far greater than the rate allocated in the busy period of the working time; "regions with low population density are exclusive of resources and allocated at a rate much greater than the rate allocated to densely populated regions". Thus, in essence, the resource element model can be translated into two factors, "location area" and "time period". In the embodiment provided by the application, a three-dimensional coordinate model is constructed according to a time period, an area position and an average rate, so that rate data of a partition, including a normalized rate and a maximum upload rate value, can be obtained more accurately or according to the determined partition, a rate conversion factor is obtained through the obtained rate data, and then a real upload data rate in a current wireless transmission channel is estimated through the rate conversion factor and a basic transmission rate. The value of the rate conversion factor is between 0 and 1, and when the value is 1, the partitioned network is in an idle state, and the maximum basic transmission rate can be obtained. The time period and area location for the task upload are directly available to the clock and GPS device of the edge intelligence hardware.
Further, the second obtaining module 2 includes:
the second acquisition unit is used for acquiring historical operation data of an operator and determining a covered geographical area from the historical operation data;
the segmentation unit is used for uniformly segmenting the geographic area in a specified unit area according to the longitude direction or the latitude direction to form one-dimensional data corresponding to an area range;
the first forming unit is used for forming two-dimensional coordinates by the one-dimensional data corresponding to the area range and the one-dimensional data corresponding to the time period, wherein the one-dimensional data corresponding to the time period comprises distribution state data which are uniformly segmented according to a specified time span in twenty-four hours corresponding to a natural day;
and the second forming unit is used for forming the three-dimensional coordinate model by the one-dimensional data corresponding to the two-dimensional coordinates and the rate value of the real-time rate change.
As shown in fig. 2, the rate of each time segment of each geographic area can be obtained from an operator, the same CQI value of each time segment of each geographic area is taken, two-dimensional coordinate data with a two-dimensional coordinate of a segment of the region and a segment of the time is drawn, and a three-dimensional coordinate model is combined with a rate value of a real-time rate change. The region segmentation and the time segmentation are divided according to certain granularity, and the division granularity can be determined according to the density of the base station of an operator, so that the three-dimensional coordinate model has practical engineering application feasibility. According to the experience of 4G network construction, the signal coverage and speed are basically the same in every 0.01 square kilometer (100 meters each in length and width) in every 5 minutes, so the above specified unit area is 0.01 square kilometer, and the specified time span is 5 minutes. Obtaining the statistical rate of a certain partition in a continuous multi-day three-dimensional coordinate model within 5 minutes of the same time period, then taking an average value to obtain the normalized rate of the certain partition, taking the highest normalized rate value in all the partitions, and then calculating a rate conversion factor: namely, it is
Figure BDA0002474401120000171
Wherein, the numerator is the normalized rate value of a certain partition, and the denominator is the highest normalized rate value in all the partitions.
Further, the apparatus for acquiring data transmission rate comprises:
the third acquisition module is used for acquiring a first time delay of task data processed at a mobile edge side and a second time delay of the task data processed at a cloud side;
the first computing module is used for computing the sum of the second time delay and the transmission time of the task data at the data transmission rate in the wireless transmission channel corresponding to the first moment to obtain the total processing time of the first cloud side;
the first comparison module is used for comparing whether the first cloud side total processing time is less than the first time delay or not;
and the selection module is used for selecting to send the task data to the cloud side for processing if the total processing time of the first cloud side is less than the first time delay, otherwise, processing the task data at the mobile edge side.
In the embodiment provided by the application, the task data is set to be U, and the task data includes an electronic data stream that needs to be analyzed and processed, such as video recording data. After the hardware configuration and AI algorithm model of the mobile edge side are confirmed, the computing power of the mobile edge side can be obtained, and the calculation power is assumed to be CEdgeThe processing time delay of the task at the mobile edge side is TEdgeThen T isEdge=U/CEdge. After the cloud side computing hardware configuration and the AI algorithm model are confirmed, the computing capability of the cloud side can be obtained, and the assumption is CCloudAnd the cloud side computing task processing time delay is TCloudThen, then
Figure BDA0002474401120000181
The computing power C of the mobile edge side is limited by the factors of the cost, power consumption, weight and volume of the hardware of the mobile edge sideEdgeMuch less than the computing power C of the cloud sideCloudHowever, the cloud side computing involves the delay generated by data transmission, for example, according to the actual transmission rate β V of the recorded content, the transmission delay of the computing task data uploaded to the cloud side is TConveying applianceThen, then
Figure BDA0002474401120000182
Therefore, comprehensive consideration is needed to match the task processing mode with the optimal delay, wherein the optimal delay refers to a mode with the least time and the fastest feedback. The task data processing comprises processing the electronic data stream into a result such as conclusive text format data and uploading the processed result to the application service side. By comparing the moving edge-side time delay TEdgeAnd cloud side processing Total latency (T)Conveying appliance+TCloud) To make the best decision. When the whole task data volume is small, the processing difference between the two ends is not obvious, and the processing process can determine the position of the whole task data through the judgment condition at the first momentThe processing mode is that the cloud side processing or the mobile edge side processing is carried out.
Further, the apparatus for acquiring data transmission rate comprises:
the first judgment module is used for judging whether the continuous processing time of the task data reaches a preset time period from the first moment;
the second computing module is used for recalculating the sum of the transmission time of the task data at the data transmission rate of the wireless transmission channel corresponding to the second moment if the preset time period is reached to obtain the total processing time of the second cloud side;
the second comparison module is used for comparing whether the total processing time of the second cloud side is less than the first time delay or not;
and the switching module is used for switching the data channel for processing the task data from the cloud side to the mobile edge side if the task data is not processed.
In this embodiment, when the data amount of the task data is large, the data may be processed in cycles and in batches, for example, the data channel is preferably selected or switched by taking the preset time period as a judgment cycle. The predetermined time period may be defined according to a statistical duration of network stability, such as 5 minutes. And if the whole task data is transmitted within 5 minutes, the data volume is considered to be small, otherwise, the data volume is considered to be large.
Further, the apparatus for obtaining data transmission rate further comprises:
the second judging module is used for judging whether the difference between the second cloud side processing total time and the first time delay is in a preset range or not if the second cloud side processing total time is greater than or equal to the first time delay;
and the holding module is used for holding the data channel selected for connection at the first moment if the data channel is selected for connection at the first moment, and switching to other data channels if the data channel is not selected for connection at the first moment.
In this embodiment, when two adjacent periods are determined again, it is determined whether the delay difference between the previous period and the next period changes significantly, if so, the switching is performed, otherwise, the switching is not performed, so as to ensure the continuity and the integrity of data transmission, and the switching also needs to be time-consuming. For example, if the difference is within 5%, the difference is considered to be small and the handover is not performed. In addition, other embodiments may also determine whether to switch according to the size of the remaining amount of data that needs to be uploaded in the next period, and if the data is less than 10% of the data in one period, the switching is not selected. The above-mentioned selection process when switching to other data channels is the same as the above-mentioned process of selecting a data channel according to the shortest consumed time, and is not repeated.
Referring to fig. 4, a computer device, which may be a server and whose internal structure may be as shown in fig. 4, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store all the data required for the process of obtaining the data transfer rate. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of acquiring a data transmission rate.
The processor executes the method for acquiring the data transmission rate, and the method comprises the following steps: acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment; acquiring a specified time period to which the current moment belongs and a specified area range to which a mobile terminal connected with the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor beta according to the specified time period and the specified area range, wherein beta is more than or equal to 0 and less than or equal to 1; and obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
The computer equipment monitors the quality of a wireless environment by adding a wireless signal quality sensor at a mobile edge side, designs calculation of a basic transmission rate based on CQI and a data transmission model based on the basic transmission rate, and accurately acquires the current data transmission rate; the real-time data transmission rate is obtained according to the basic transmission rate and the rate conversion factor, the basic transmission rate can be obtained only by obtaining the signal intensity in real time, and the data transmission rate in the wireless transmission channel corresponding to the current moment is estimated through the conversion factor, so that the method has the engineering value of practical application.
In one embodiment, the step of obtaining, in real time, a specified channel quality indicator value in a wireless transmission channel at a current time, obtaining, by the specified channel quality indicator value, transmission efficiency corresponding to the specified channel quality indicator value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current time includes: determining the network standard of the current moment, and acquiring the designated channel quality indicated value in real time; calling a data list corresponding to the network standard at the current moment, wherein the data list comprises all channel quality indicating values, transmission efficiency values and/or modulation and coding strategy combinations corresponding to all the channel quality indicating values one to one; determining a transmission efficiency corresponding to the specified channel quality indication value from the data list; according to
Figure BDA0002474401120000201
Calculating the basic transmission rate in the wireless transmission channel corresponding to the current time, wherein E is the transmission efficiency corresponding to the specified channel quality indication value, EPeak(s)For channel quality indicator values, V, corresponding to peak transmission ratesPeak(s)The peak transmission rate.
In an embodiment, the step of acquiring, by the processor, a specified time period to which the current time belongs and a specified area range to which a mobile terminal connected to the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor β according to the specified time period and the specified area range includes: determining the specified time period according to the read current time, wherein the current time belongs to any point time of the specified time period; determining a designated area range to which a mobile terminal connected with the wireless transmission channel belongs according to longitude and latitude information acquired by a current positioning device, wherein an area point corresponding to the longitude and latitude information belongs to any area point position in the designated area range; determining a partition corresponding to the specified two-dimensional partition in a specified rate model through a specified two-dimensional partition surrounded by the specified time period and the specified area range, wherein the specified rate model comprises a three-dimensional coordinate model composed of the specified time period, the specified area range and a specified area normalization rate; acquiring a specified normalization rate of the specified two-dimensional partition and a maximum normalization rate value in all partitions of the three-dimensional coordinate model; the specified rate conversion factor β is obtained by dividing the specified normalized rate by the maximum normalized rate value.
In an embodiment, the processor determines the specified time period according to the read current time, where after the step of determining that the current time belongs to any point in the specified time period, the method includes: obtaining historical operation data of an operator, and determining a covered geographical area from the historical operation data; uniformly segmenting the geographic area in a specified unit area according to the longitude direction or the latitude direction to form one-dimensional data corresponding to an area range; forming two-dimensional coordinates by the one-dimensional data corresponding to the area range and the one-dimensional data corresponding to the time period, wherein the one-dimensional data corresponding to the time period comprises distribution state data which are uniformly segmented according to a specified time span in twenty-four hours corresponding to a natural day; and forming the three-dimensional coordinate model by using the two-dimensional coordinates and the one-dimensional data corresponding to the speed value of the real-time speed change.
In an embodiment, after the step of obtaining the data transmission rate in the wireless transmission channel corresponding to the current time by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current time by the specified rate conversion factor, the processor includes: acquiring a first time delay of task data processed at a mobile edge side and a second time delay of the task data processed at a cloud side; calculating the sum of the second time delay and the transmission time of the task data at the data transmission rate in the wireless transmission channel corresponding to the first moment to obtain the total processing time of the first cloud side; comparing whether the first cloud side total processing time is less than the first time delay or not; and if the total processing time of the first cloud side is less than the first time delay, the task data is selected to be sent to the cloud side for processing, otherwise, the task data is processed at the mobile edge side.
In one embodiment, if the total time of the first cloud-side processing is smaller than the first time delay, the processor selects to send the task data to the cloud-side processing, otherwise, after the step of processing the task data by the mobile edge side, the method includes: judging whether the continuous processing time of the task data reaches a preset time period from the first moment; if the preset time period is reached, recalculating the sum of the transmission time of the task data at the data transmission rate of the wireless transmission channel corresponding to the second moment to obtain the total processing time of the second cloud side; comparing whether the second cloud side total processing time is less than the first time delay or not; and if not, switching the data channel for processing the task data from the cloud side to the mobile edge side.
In an embodiment, after the step of comparing whether the second cloud-side total processing time is less than the first time delay, the processor includes: if the second cloud side processing total time is greater than or equal to the first time delay, judging whether the difference between the second cloud side processing total time and the first time delay is within a preset range; if so, keeping the data channel selected for connection at the first moment, otherwise, switching to other data channels.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is only a block diagram of some of the structures associated with the present solution and is not intended to limit the scope of the present solution as applied to computer devices.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for acquiring a data transmission rate, including: acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment; acquiring a specified time period to which the current moment belongs and a specified area range to which a mobile terminal connected with the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor beta according to the specified time period and the specified area range, wherein beta is more than or equal to 0 and less than or equal to 1; and obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
The computer-readable storage medium monitors the wireless environment quality by adding a wireless signal quality sensor at the mobile edge side, and designs calculation of a basic transmission rate based on CQI and a data transmission model based on the basic transmission rate so as to accurately acquire the current data transmission rate; the real-time data transmission rate is obtained according to the basic transmission rate and the rate conversion factor, the basic transmission rate can be obtained only by obtaining the signal intensity in real time, and the data transmission rate in the wireless transmission channel corresponding to the current moment is estimated through the conversion factor, so that the method has the engineering value of practical application.
In one embodiment, the step of obtaining, in real time, a specified channel quality indicator value in a wireless transmission channel at a current time, obtaining, by the specified channel quality indicator value, transmission efficiency corresponding to the specified channel quality indicator value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current time includes: determining the network standard of the current moment, and acquiring the designated channel quality indicated value in real time; calling a data list corresponding to the network standard of the current time, wherein the data list comprises each channel quality indication value and each channel qualityMeasuring transmission efficiency values and/or modulation and coding strategy combinations corresponding to the indication values one by one; determining a transmission efficiency corresponding to the specified channel quality indication value from the data list; according to
Figure BDA0002474401120000221
Calculating the basic transmission rate in the wireless transmission channel corresponding to the current time, wherein E is the transmission efficiency corresponding to the specified channel quality indication value, EPeak(s)For channel quality indicator values, V, corresponding to peak transmission ratesPeak(s)The peak transmission rate.
In an embodiment, the step of acquiring, by the processor, a specified time period to which the current time belongs and a specified area range to which a mobile terminal connected to the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor β according to the specified time period and the specified area range includes: determining the specified time period according to the read current time, wherein the current time belongs to any point time of the specified time period; determining a designated area range to which a mobile terminal connected with the wireless transmission channel belongs according to longitude and latitude information acquired by a current positioning device, wherein an area point corresponding to the longitude and latitude information belongs to any area point position in the designated area range; determining a partition corresponding to the specified two-dimensional partition in a specified rate model through a specified two-dimensional partition surrounded by the specified time period and the specified area range, wherein the specified rate model comprises a three-dimensional coordinate model composed of the specified time period, the specified area range and a specified area normalization rate; acquiring a specified normalization rate of the specified two-dimensional partition and a maximum normalization rate value in all partitions of the three-dimensional coordinate model; the specified rate conversion factor β is obtained by dividing the specified normalized rate by the maximum normalized rate value.
In an embodiment, the processor determines the specified time period according to the read current time, where after the step of determining that the current time belongs to any point in the specified time period, the method includes: obtaining historical operation data of an operator, and determining a covered geographical area from the historical operation data; uniformly segmenting the geographic area in a specified unit area according to the longitude direction or the latitude direction to form one-dimensional data corresponding to an area range; forming two-dimensional coordinates by the one-dimensional data corresponding to the area range and the one-dimensional data corresponding to the time period, wherein the one-dimensional data corresponding to the time period comprises distribution state data which are uniformly segmented according to a specified time span in twenty-four hours corresponding to a natural day; and forming the three-dimensional coordinate model by using the two-dimensional coordinates and the one-dimensional data corresponding to the speed value of the real-time speed change.
In an embodiment, after the step of obtaining the data transmission rate in the wireless transmission channel corresponding to the current time by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current time by the specified rate conversion factor, the processor includes: acquiring a first time delay of task data processed at a mobile edge side and a second time delay of the task data processed at a cloud side; calculating the sum of the second time delay and the transmission time of the task data at the data transmission rate in the wireless transmission channel corresponding to the first moment to obtain the total processing time of the first cloud side; comparing whether the first cloud side total processing time is less than the first time delay or not; and if the total processing time of the first cloud side is less than the first time delay, the task data is selected to be sent to the cloud side for processing, otherwise, the task data is processed at the mobile edge side.
In one embodiment, if the total time of the first cloud-side processing is smaller than the first time delay, the processor selects to send the task data to the cloud-side processing, otherwise, after the step of processing the task data by the mobile edge side, the method includes: judging whether the continuous processing time of the task data reaches a preset time period from the first moment; if the preset time period is reached, recalculating the sum of the transmission time of the task data at the data transmission rate of the wireless transmission channel corresponding to the second moment to obtain the total processing time of the second cloud side; comparing whether the second cloud side total processing time is less than the first time delay or not; and if not, switching the data channel for processing the task data from the cloud side to the mobile edge side.
In an embodiment, after the step of comparing whether the second cloud-side total processing time is less than the first time delay, the processor includes: if the second cloud side processing total time is greater than or equal to the first time delay, judging whether the difference between the second cloud side processing total time and the first time delay is within a preset range; if so, keeping the data channel selected for connection at the first moment, otherwise, switching to other data channels.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for obtaining a data transmission rate, comprising:
acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment;
acquiring a specified time period to which the current moment belongs and a specified area range to which a mobile terminal connected with the wireless transmission channel belongs, and acquiring a corresponding specified rate conversion factor beta according to the specified time period and the specified area range, wherein beta is more than or equal to 0 and less than or equal to 1;
and obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
2. The method of claim 1, wherein the step of obtaining the specified channel quality indicator value in the wireless transmission channel at the current time in real time, obtaining the transmission efficiency corresponding to the specified channel quality indicator value through the specified channel quality indicator value, and calculating the base transmission rate in the wireless transmission channel corresponding to the current time comprises:
determining the network standard of the current moment, and acquiring the designated channel quality indicated value in real time;
calling a data list corresponding to the network standard at the current moment, wherein the data list comprises all channel quality indicating values, transmission efficiency values and/or modulation and coding strategy combinations corresponding to all the channel quality indicating values one to one;
determining a transmission efficiency corresponding to the specified channel quality indication value from the data list;
according to
Figure FDA0002474401110000011
Calculating the basic transmission rate in the wireless transmission channel corresponding to the current time, wherein E is the transmission efficiency corresponding to the specified channel quality indication value, EPeak(s)For channel quality indicator values, V, corresponding to peak transmission ratesPeak(s)The peak transmission rate.
3. The method of claim 1, wherein the step of obtaining the specified time period to which the current time belongs and the specified area range to which the mobile terminal connected to the wireless transmission channel belongs, and obtaining the corresponding specified rate conversion factor β according to the specified time period and the specified area range comprises:
determining the specified time period according to the read current time, wherein the current time belongs to any point time of the specified time period;
determining a designated area range to which a mobile terminal connected with the wireless transmission channel belongs according to longitude and latitude information acquired by a current positioning device, wherein an area point corresponding to the longitude and latitude information belongs to any area point position in the designated area range;
determining a partition corresponding to the specified two-dimensional partition in a specified rate model through a specified two-dimensional partition surrounded by the specified time period and the specified area range, wherein the specified rate model comprises a three-dimensional coordinate model composed of the specified time period, the specified area range and a specified area normalization rate;
acquiring a specified normalization rate of the specified two-dimensional partition and a maximum normalization rate value in all partitions of the three-dimensional coordinate model;
the specified rate conversion factor β is obtained by dividing the specified normalized rate by the maximum normalized rate value.
4. The method of claim 3, wherein the step of determining the specified time period according to the read current time, wherein the step of determining the current time belongs to any point in the specified time period comprises:
obtaining historical operation data of an operator, and determining a covered geographical area from the historical operation data;
uniformly segmenting the geographic area in a specified unit area according to the longitude direction or the latitude direction to form one-dimensional data corresponding to an area range;
forming two-dimensional coordinates by the one-dimensional data corresponding to the area range and the one-dimensional data corresponding to the time period, wherein the one-dimensional data corresponding to the time period comprises distribution state data which are uniformly segmented according to a specified time span in twenty-four hours corresponding to a natural day;
and forming the three-dimensional coordinate model by using the two-dimensional coordinates and the one-dimensional data corresponding to the speed value of the real-time speed change.
5. The method according to claim 1, wherein the step of obtaining the data transmission rate in the wireless transmission channel corresponding to the current time by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current time by the specified rate conversion factor is followed by:
acquiring a first time delay of task data processed at a mobile edge side and a second time delay of the task data processed at a cloud side;
calculating the sum of the second time delay and the transmission time of the task data at the data transmission rate in the wireless transmission channel corresponding to the first moment to obtain the total processing time of the first cloud side;
comparing whether the first cloud side total processing time is less than the first time delay or not;
and if the total processing time of the first cloud side is less than the first time delay, the task data is selected to be sent to the cloud side for processing, otherwise, the task data is processed at the mobile edge side.
6. The method according to claim 5, wherein if the total processing time of the first cloud side is smaller than the first time delay, the task data is selected to be sent to the cloud side for processing, otherwise, after the step of processing the task data by the mobile edge side, the method comprises:
judging whether the continuous processing time of the task data reaches a preset time period from the first moment;
if the preset time period is reached, recalculating the sum of the transmission time of the task data at the data transmission rate of the wireless transmission channel corresponding to the second moment to obtain the total processing time of the second cloud side;
comparing whether the second cloud side total processing time is less than the first time delay or not;
and if not, switching the data channel for processing the task data from the cloud side to the mobile edge side.
7. The method of claim 6, wherein the step of comparing whether the total processing time of the second cloud side is less than the first time delay comprises:
if the second cloud side processing total time is greater than or equal to the first time delay, judging whether the difference between the second cloud side processing total time and the first time delay is within a preset range;
if so, keeping the data channel selected for connection at the first moment, otherwise, switching to other data channels.
8. An apparatus for obtaining a data transmission rate, comprising:
the first acquisition module is used for acquiring a specified channel quality indicated value in a wireless transmission channel at the current moment in real time, acquiring transmission efficiency corresponding to the specified channel quality indicated value through the specified channel quality indicated value, and calculating a basic transmission rate in the wireless transmission channel corresponding to the current moment;
a second obtaining module, configured to obtain a specified time period to which the current time belongs and a specified area range to which a mobile terminal connected to the wireless transmission channel belongs, and obtain a corresponding specified rate conversion factor β according to the specified time period and the specified area range, where β is greater than or equal to 0 and less than or equal to 1;
and the obtaining module is used for obtaining the data transmission rate in the wireless transmission channel corresponding to the current moment by multiplying the basic transmission rate in the wireless transmission channel corresponding to the current moment by the specified rate conversion factor.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010358920.6A 2020-04-29 2020-04-29 Method, device and computer equipment for acquiring data transmission rate Active CN111726829B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010358920.6A CN111726829B (en) 2020-04-29 2020-04-29 Method, device and computer equipment for acquiring data transmission rate
PCT/CN2020/098792 WO2021217847A1 (en) 2020-04-29 2020-06-29 Data transmission rate acquisition method, device, and computer apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010358920.6A CN111726829B (en) 2020-04-29 2020-04-29 Method, device and computer equipment for acquiring data transmission rate

Publications (2)

Publication Number Publication Date
CN111726829A true CN111726829A (en) 2020-09-29
CN111726829B CN111726829B (en) 2023-05-23

Family

ID=72564206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010358920.6A Active CN111726829B (en) 2020-04-29 2020-04-29 Method, device and computer equipment for acquiring data transmission rate

Country Status (2)

Country Link
CN (1) CN111726829B (en)
WO (1) WO2021217847A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347096A (en) * 2021-08-06 2021-09-03 湖南三湘银行股份有限公司 Transmission processing method of third party payment data
WO2021217847A1 (en) * 2020-04-29 2021-11-04 平安科技(深圳)有限公司 Data transmission rate acquisition method, device, and computer apparatus
CN113660170A (en) * 2021-07-28 2021-11-16 江西省湾流港智能科技有限公司 Parking stall lock communication load allocation method and system, storage medium and computer equipment
CN117272054A (en) * 2023-11-22 2023-12-22 四川边缘算力科技有限公司 Interval delay sample rapid judging method and system integrating edge calculation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117294340B (en) * 2023-09-20 2024-04-02 北京泰利斯达科技有限公司 Satellite communication data transmission method, device, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011193163A (en) * 2010-03-12 2011-09-29 Fujitsu Toshiba Mobile Communications Ltd Mobile communication terminal and communication quality display method
CN102710374A (en) * 2012-05-28 2012-10-03 天津大学 Speed control method in wireless streaming media transmission
CN106793132A (en) * 2016-11-21 2017-05-31 中国联合网络通信集团有限公司 A kind of resource allocation methods and network communicating system based on carrier aggregation
CN109906631A (en) * 2017-03-15 2019-06-18 华为技术有限公司 Adaptive transmission method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523074B (en) * 2011-12-22 2015-04-01 北京北方烽火科技有限公司 Adaptive modulation and coding method for wireless communication system and adaptive modulation and coding device for same
CN103152754B (en) * 2013-03-12 2015-11-25 京信通信系统(中国)有限公司 Chain circuit self-adaptive method in a kind of LTE system and device
WO2015044343A2 (en) * 2013-09-27 2015-04-02 Thomson Licensing Method for testing a wireless link of a wi-fi node, and circuit performing the method
CN111726829B (en) * 2020-04-29 2023-05-23 平安科技(深圳)有限公司 Method, device and computer equipment for acquiring data transmission rate

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011193163A (en) * 2010-03-12 2011-09-29 Fujitsu Toshiba Mobile Communications Ltd Mobile communication terminal and communication quality display method
CN102710374A (en) * 2012-05-28 2012-10-03 天津大学 Speed control method in wireless streaming media transmission
CN106793132A (en) * 2016-11-21 2017-05-31 中国联合网络通信集团有限公司 A kind of resource allocation methods and network communicating system based on carrier aggregation
CN109906631A (en) * 2017-03-15 2019-06-18 华为技术有限公司 Adaptive transmission method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁浔;景新幸;韩冰;: "长期演进系统中一种改进的信通质量指示修正算法的设计", 科学技术与工程 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021217847A1 (en) * 2020-04-29 2021-11-04 平安科技(深圳)有限公司 Data transmission rate acquisition method, device, and computer apparatus
CN113660170A (en) * 2021-07-28 2021-11-16 江西省湾流港智能科技有限公司 Parking stall lock communication load allocation method and system, storage medium and computer equipment
CN113347096A (en) * 2021-08-06 2021-09-03 湖南三湘银行股份有限公司 Transmission processing method of third party payment data
CN117272054A (en) * 2023-11-22 2023-12-22 四川边缘算力科技有限公司 Interval delay sample rapid judging method and system integrating edge calculation
CN117272054B (en) * 2023-11-22 2024-03-15 四川边缘算力科技有限公司 Interval delay sample rapid judging method and system integrating edge calculation

Also Published As

Publication number Publication date
CN111726829B (en) 2023-05-23
WO2021217847A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
CN111726829B (en) Method, device and computer equipment for acquiring data transmission rate
EP3780495A1 (en) Model updating method, device, and system
CN113055990B (en) Energy saving and consumption reducing method and system for wireless base station based on big data mining and AI scheduling
CN101835192B (en) Method for measuring network signal coverage, network controller and communication system
CN108293200B (en) Device throughput determination
CN107046691B (en) LTE wireless network rapid site selection method
CN107210852B (en) System and method for controlling operation of an application by predicting a smoothed transport block size
CN101730236A (en) Resource scheduling method and system, base station and terminal therefor
CN110830964B (en) Information scheduling method, internet of things platform and computer readable storage medium
CN114727350B (en) Terminal switching method, device, equipment and storage medium
US9307428B2 (en) Estimating available cell capacity based on monitored network data
CN108462596B (en) SLA decomposition method, equipment and system
CN111741427A (en) Service complaint processing method, device and equipment
CN106899678B (en) High-efficiency data transmission method and system for dynamically balancing energy Internet network bandwidth
CN113950057A (en) Information processing method, device, equipment and computer readable storage medium
CN106713512B (en) Efficient data transmission method and system for dynamically balancing network bandwidth of Internet of things
CN102131300A (en) Queue scheduling method and device
US20220191729A1 (en) Traffic flow management in a cellular network
CN116095689A (en) Terminal bandwidth scheduling method, device and base station in dynamic spectrum sharing network
CN113329411B (en) Wireless network planning method and device
CN101657000B (en) Method and system for determining accessed network
CN110418315B (en) Method for calculating and managing power consumption of terminal of Internet of things
CN103096481A (en) Distribution method and device of packet data information channels
CN112835710A (en) Power line state analysis system based on mobile edge calculation and task processing method
CN101600252B (en) Queue scheduling method and queue scheduling device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40034007

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant