Data processing method, device, terminal device and computer storage medium
By detecting the operating indicators and base station load values of the terminal equipment, a acceleration request is generated to deal with the problem of excessive base station load, the problem of invalid call of QoS acceleration capabilities in the mobile communication system is solved, and resource utilization efficiency is improved.
Patent Information
- Application Number
- CN202110555059.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-20
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2041-05-20
AI Technical Summary
In mobile communication systems, QoS acceleration capability often leads to waste of resources when invoked, because prior art is difficult to effectively identify and deal with excessive base station load.
By detecting the operation indicators when the terminal device runs the target service, the duplex mode between the terminal device and the service server is obtained, and the load value of the target data link associated with the duplex mode is determined. When the base station load value reaches or exceeds the load threshold value, an acceleration request is generated and sent to the target server for service acceleration processing.
It effectively avoids invalid calls to QoS acceleration capabilities, improves the effectiveness when calling QoS acceleration capabilities, and ensures efficient resource use.
Smart Images

Figure CN115379404B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a data processing method, apparatus, terminal device, and computer storage medium. Background Art
[0002] In a mobile communication system, the transmission of data packets from a mobile terminal to the cloud server side may cause network congestion, and invoking the QoS (Quality of Service) capability can effectively alleviate network congestion. In practical applications, there are many reasons for network congestion (such as: excessive delay in the bearer network, poor wireless signal quality, base station overload, etc.). QoS can only effectively solve network congestion caused by excessive base station load (or: base station overload). For network congestion caused by other reasons, invoking the QoS acceleration capability will result in waste of resources. Therefore, how to improve the effectiveness of invoking the QoS acceleration capability has become a current research hotspot. Summary of the Invention
[0003] The embodiments of the present application provide a data processing method, apparatus, terminal device, and computer storage medium, which can improve the effectiveness of invoking the QoS acceleration capability.
[0004] On the one hand, the embodiments of the present application provide a data processing method, including:
[0005] When it is detected that the running metrics corresponding to the terminal device during the operation of the target service are less than the standard metrics, obtain the duplex mode adopted for data communication between the terminal device and the service server, where the service server is used to provide the target service;
[0006] Obtain a target data link associated with the duplex mode, where the target data link refers to a link in which when the base station transmits service data of the target service in the duplex mode using the target data link, there is a corresponding load value exceeding the load threshold;
[0007] If the load value corresponding to the base station when transmitting the service data in the target data link is greater than or equal to the load threshold, generate an acceleration request, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link;
[0008] Send the acceleration request to the target server so that the target server performs service acceleration processing on the target service according to the acceleration request.
[0009] On the other hand, the embodiments of the present application provide a data processing apparatus, characterized in that the apparatus includes:
[0010] An acquisition unit, configured to obtain the duplex mode adopted when the terminal device performs data communication with the service server when it is detected that the running metric corresponding to the terminal device during the operation of the target service is less than the standard metric, where the service server is used to provide the target service;
[0011] The acquisition unit is further configured to obtain a target data link associated with the duplex mode, where the target data link refers to a link where, when the base station transmits the service data of the target service in the duplex mode using the target data link, there is a corresponding load value exceeding the load threshold;
[0012] A generation unit, configured to generate an acceleration request if the load value corresponding to the base station is greater than or equal to the load threshold when the base station transmits the service data in the target data link, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link;
[0013] A sending unit, configured to send the acceleration request to a target server, so that the target server performs service acceleration processing on the target service according to the acceleration request.
[0014] On the other hand, an embodiment of the present application provides a terminal device, characterized in that the terminal device includes an output interface, and further includes:
[0015] A processor, adapted to implement one or more instructions;
[0016] A computer storage medium, where the computer storage medium stores one or more instructions, and the one or more instructions are adapted to be loaded and executed by the processor:
[0017] When it is detected that the running metric corresponding to the terminal device during the operation of the target service is less than the standard metric, obtain the duplex mode adopted when the terminal device performs data communication with the service server, where the service server is used to provide the target service; obtain a target data link associated with the duplex mode, where the target data link refers to a link where, when the base station transmits the service data of the target service in the duplex mode using the target data link, there is a corresponding load value exceeding the load threshold; if the load value corresponding to the base station is greater than or equal to the load threshold when the base station transmits the service data in the target data link, generate an acceleration request, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link; send the acceleration request to a target server, so that the target server performs service acceleration processing on the target service according to the acceleration request.
[0018] In another aspect, an embodiment of the present application provides a computer storage medium, characterized in that the computer storage medium stores one or more instructions, and the one or more instructions are adapted to be loaded and executed by a processor:
[0019] When it is detected that the running metrics of the terminal device during the operation of the target business service are less than the standard metrics, obtain the duplex mode adopted when the terminal device communicates with the business server for data, where the business server is used to provide the target business service; obtain the target data link associated with the duplex mode, where the target data link refers to a link where, when the base station transmits the service data of the target business service using the target data link in the duplex mode, there is a situation where the corresponding load value exceeds the load threshold value; if the load value corresponding to the base station is greater than or equal to the load threshold value when the base station transmits the service data in the target data link, generate an acceleration request, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link; send the acceleration request to the target server so that the target server performs service acceleration processing on the target business service according to the acceleration request.
[0020] In another aspect, an embodiment of the present application provides a computer program product or a computer program. The computer program product includes a computer program, and the computer program is stored in a computer storage medium; the processor reads the computer program from the computer storage medium, and the processor executes the computer program, causing the terminal device to execute:
[0021] When it is detected that the running metrics of the terminal device during the operation of the target business service are less than the standard metrics, obtain the duplex mode adopted when the terminal device communicates with the business server for data, where the business server is used to provide the target business service; obtain the target data link associated with the duplex mode, where the target data link refers to a link where, when the base station transmits the service data of the target business service using the target data link in the duplex mode, there is a situation where the corresponding load value exceeds the load threshold value; if the load value corresponding to the base station is greater than or equal to the load threshold value when the base station transmits the service data in the target data link, generate an acceleration request, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link; send the acceleration request to the target server so that the target server performs service acceleration processing on the target business service according to the acceleration request.
[0022] In the embodiments of the present application, by obtaining the duplex mode for data communication between a terminal device and a service server, the terminal device can obtain the load value of the base station corresponding to the target data link corresponding to the duplex mode when transmitting data, and then generate an acceleration request when the load value is greater than or equal to the load threshold value to accelerate the service of the target service, which can effectively avoid the ineffective invocation of the acceleration capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0024] Figure 1a It is a schematic diagram of a data processing system provided by an embodiment of the present application;
[0025] Figure 1b It is a functional schematic diagram of a terminal device provided by an embodiment of the present application;
[0026] Figure 1c It is a functional schematic diagram of a service server provided by an embodiment of the present application;
[0027] Figure 2 It is a schematic flowchart of a data processing method provided by an embodiment of the present application;
[0028] Figure 3a It is an execution flowchart of a data processing method provided by an embodiment of the present application;
[0029] Figure 3b It is a schematic flowchart of QoS acceleration capability invocation provided by an embodiment of the present application;
[0030] Figure 4 It is a schematic flowchart of a method for determining the load condition of a base station provided by an embodiment of the present application;
[0031] Figure 5 It is a schematic structural diagram of a data processing device provided by an embodiment of the present application;
[0032] Figure 6 It is a schematic structural diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] In a mobile communication system, it is necessary to ensure the performance of various service offerings. For example, the data transmission performance of a certain service offering can be ensured by reducing its latency. In practical applications, the latency of a service offering can be reduced by invoking the QoS (Quality of Service) acceleration capability, where the QoS acceleration capability can be provided by telecommunications operators (such as China Mobile, China Telecom, etc.). Specifically, a dedicated QoS bearer with a latency guarantee of QCI = 3 can be established for the service offering of the service provider by the telecommunications operator to achieve acceleration of the service offering. In specific applications, once the dedicated bearer is successfully established by the telecommunications operator, the telecommunications operator will generate a charge for the service provider, so that the service provider pays a fee to the telecommunications operator according to the billing details. In one implementation, the parameters corresponding to QCI = 3 and other QCIs (QoS Class Identifiers) and their corresponding parameters can be found in the standardized QCI feature table. Exemplarily, the standardized QCI feature table can be as shown in Table 1.
[0034] Table 1
[0035]
[0036]
[0037] As can be seen from Table 1, QCI (QoS Class Identifier) can be applied to both GBR and Non-GBR bearers. A QCI is a value that can be used to specify the control bearer-level packet forwarding method defined within the access node (such as scheduling weight, admission threshold, queue management threshold, link layer protocol configuration, etc.). QCI is one of the most important QoSs for EPS (Evolved Packet System) bearers. It is a quantitative level that represents the QoS characteristics that EPS should provide for this SDF (Service Data Flow). Each SDF is associated with a QCI. Among them, SDF refers to an IP data stream or an aggregation of user IP data streams classified according to service types.
[0038] As shown in Table 1, Table 1 mainly contains five pieces of information: Resource Type (i.e., resource type), Priority (i.e., resource priority), Packet Delay Budget (i.e., data transmission delay, used to indicate the delay of data transmission under this QCI), Packet Error Loss Rate (i.e., data packet loss rate), and Example Services (i.e., service examples). Among them, the resource type mainly includes GBR (Guranteed Bit Rate) and Non-GBR. The so-called GBR means that the bit rate required by the bearer is "permanently" and constantly allocated by the network. Even in the case of tight network resources, the corresponding bit rate can be maintained. Generally, a GBR bearer is established only when needed. The so-called Non-GBR means that in the case of network congestion, the service (or bearer) needs to bear the requirement of reduced rate. Since a Non-GBR bearer does not need to occupy fixed network resources, it can be established for a long time. Exemplarily, in VoLTE (Voice over LTE, 4G high-definition voice service technology), QCI = 1, QCI = 2, and QCI = 5 can be mainly used. For example, when QCI = 1, it can be used for voice bearer; when QCI = 2, it can be used for video bearer; when QCI = 5, it can be used for IMS signaling bearer. In ordinary data services, QCI = 9 can be mainly used. Exemplarily, QCI = 9 can be used for general Internet access service bearers, such as: email, chat, p2p file sharing, etc.
[0039] Also, since the QoS acceleration capability can be invoked either when the load value of the base station is greater than or equal to the load threshold (or: base station heavy load) or when the load value of the base station is less than the load threshold (or: base station light load), but in the case of base station light load, the improvement effect of invoking the QoS acceleration capability on the data transmission capacity is very limited (it can be understood that invoking the QoS acceleration capability in the case of base station light load is an ineffective invocation); therefore, in order to save the invocation cost, it is necessary to make the QoS acceleration capability be invoked as much as possible in the case of base station heavy load, and then it is necessary to accurately estimate the load of the base station.
[0040] An embodiment of the present application provides a data processing method. This data processing method can be executed by a terminal device. In this data processing method, each duplex mode is associated with a target data link. By obtaining the duplex mode for data communication between the terminal device and the service server, the terminal device can obtain the load value of the base station corresponding to the target data link when transmitting data in the duplex mode. Then, when the load value is greater than or equal to the load threshold, an acceleration request is generated to accelerate the service of the target service, which can effectively avoid the ineffective invocation of the acceleration capability. Among them, the target data link refers to a link in which, when the base station transmits the service data of the target service using the data link in the duplex mode, there is a corresponding situation where the load value exceeds the load threshold. For example, when the terminal device and the service server perform data transmission in the TDD (time-division duplexing) mode, generally the uplink capacity is limited first, that is: when transmitting the service data on the uplink, the load value of the base station may exceed the load threshold. Then it can be understood that the target data link corresponding to the TDD mode can be the uplink. In one embodiment, the data processing method provided by the embodiment of the present application can be applied to a data processing system as shown in Figure 1a as shown. As shown in Figure 1a , the data processing system includes multiple terminal devices 10, as well as a service server 11 and a target server 12. Among them, both the service server 11 and the target server 12 are established with communication connections with each terminal device. The terminal device is a terminal device in any duplex mode, and the terminal device can obtain the duplex mode and obtain the corresponding target data link based on the duplex mode. Exemplarily, the functions of the terminal device can be as shown in Figure 1b ; the service server 11 is used to provide the target service running on the terminal device. Exemplarily, the functions of the service server 11 can be as shown in Figure 1c ; the target server 12 is used to respond to the acceleration request to perform service acceleration processing on the target service. In practical applications, the service server 11 and the target server 12 can be different servers or the same server. The embodiment of the present application does not make a limitation on this. In the following description, unless otherwise specified, the embodiment of the present application will take the service server 11 and the target server 12 as different servers as an example for description.
[0041] In one embodiment, the terminal device can obtain the duplex mode adopted during data communication between the terminal device and the service server. For example, when the terminal device runs the target service, after detecting that the corresponding running metric is less than the standard metric. Here, the running metric can be a service latency metric, which can be used to determine whether the service latency corresponding to the target service (the two-way latency from the terminal device to the service server) meets the service requirements. Exemplarily, the so-called service latency metric can refer to: service processing latency, data transmission latency, etc. Correspondingly, the service requirements can refer to: requirements for the processing time of service data, requirements for the transmission time of service data, etc. In practical applications, when the running metric is the service processing latency, the terminal device can determine the service processing latency by obtaining the execution parameters when executing the target service in the target period. Here, the execution parameters can include: the reference time in the target period, the instantaneous latency when executing the target service. Correspondingly, when the running metric is the service transmission latency, the terminal device can determine the data transmission latency of the service server by obtaining the signal quality of the terminal device.
[0042] Further, in one embodiment, after the terminal device obtains the target data link corresponding to the duplex mode, it can obtain the transmission parameters when the base station transmits service data on the target data link, and can determine the load value corresponding to the base station when transmitting service data on the target data link according to the transmission parameters. The transmission parameters can be the transmission latency when the test data packet is transmitted on the target data link, or the rate at which the base station responds to the service corresponding to the test data packet after transmitting the test data packet on the target data link (i.e., the service response rate). In another embodiment, after the terminal device obtains the target data link corresponding to the duplex mode, it can notify the service server to obtain the transmission parameters when the base station transmits service data on the target data link, and notify the service server to send the transmission parameters to the terminal device after obtaining the transmission parameters, so that the terminal device can determine the load value corresponding to the base station when transmitting service data on the target data link according to the transmission parameters. Optionally, after the terminal device obtains the target data link corresponding to the duplex mode, it can also notify the service server to: obtain the transmission parameters when the base station transmits service data on the target data link, and determine the load value corresponding to the base station based on the transmission parameters; further, after the service server obtains the load value, the terminal device can notify the service server to send the load value to the terminal device, so that the terminal device can determine the load value corresponding to the base station. The embodiments of the present application do not limit this.
[0043] In one embodiment, if the load value corresponding to the base station is greater than or equal to the load threshold value, the terminal device may determine that the load of the base station is large and suitable for service acceleration processing. Then, the terminal device may generate an acceleration request and send the acceleration request to the target server, so that the target server may perform service acceleration processing according to the acceleration request. Exemplarily, the acceleration request may be a QoS acceleration request. Correspondingly, the target server may call the QoS acceleration capability to perform service acceleration processing on the target service.
[0044] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a data processing method provided by an embodiment of the present application. The data processing method may be executed by a terminal device. As Figure 2 shown, the method includes:
[0045] S201, when it is detected that the running metric corresponding to the terminal device during the operation of the target service is less than the standard metric, obtain the duplex mode adopted when the terminal device communicates with the service server.
[0046] Among them, the target service may be provided by the service server; the running metric may be: the service processing delay of the target service, or may be: the data transmission delay of the target service; the duplex mode includes a first duplex mode and a second duplex mode. Exemplarily, the first duplex mode may be a TDD (time-division duplexing) mode, and the second duplex mode may be an FDD (frequency-division duplexing) mode. In practical applications, the terminal device may continuously monitor the service delay periodically to determine whether the running metric meets the service requirements.
[0047] In one embodiment, the service delay corresponding to the service processing may be used as the service delay, and the service processing delay of the target service may be continuously monitored periodically. Among them, the terminal device may obtain the service processing delay in the following manner: obtain the execution parameters when the target service is executed in the target period, where the execution parameters include: the instantaneous delay when the target service is executed at the reference time t in the target period, assumed to be T(t); then the terminal device may determine the first average delay when the target service is executed at the reference time in the target period according to the instantaneous delay, assumed to be T ave (t). Exemplarily, the terminal device may determine the first average delay by the method shown in Equation 1:
[0048]
[0049] The terminal device can also determine, based on the instantaneous delay T(t), the second average delay for executing the target service in the target period, assumed to be Exemplarily, the terminal device can determine the second average delay through the method shown in Equation 2:
[0050]
[0051] where TW is a time window (which can be understood as: the period from time (t - TW) to time t). Further, the terminal device can determine the service processing delay of the target service based on the first average delay and the second average delay, and determine whether the operation metrics of the service server meet the service requirements based on this service processing delay. For example: the terminal device compares this service processing delay with threshold parameters to determine whether the current service processing delay meets the service requirements, where the threshold parameters include a first threshold parameter and a second threshold parameter. In one implementation, the terminal device can use the second average delay as the service processing delay. If the second average delay is greater than the first threshold parameter (assumed to be T th , exemplarily: T th = 90 ms), it is considered that the operation metrics of the service server do not meet the service requirements (or: the operation metrics of the service server are less than the standard metrics); for example, assume that the second average delay is 100 ms (i.e., T ave (t) = 100), and the first threshold parameter is 90 ms (i.e., T th = 90), then since T th < T ave (t), therefore, the terminal device will detect that the operation metrics are less than the standard metrics and start to obtain the duplex mode adopted when the terminal device and the service server perform data communication. In yet another implementation, the terminal device can also use the ratio of the second average delay to the first average delay (i.e., the value of ) as the service processing delay. If this ratio is greater than the second threshold parameter (assumed to be λ th , exemplarily: λ th = 1.3), it is considered that the operation metrics of the service server meet the service requirements; for example, assume that the second average delay is 10 ms (i.e., T ave (t) = 10), the first average delay is 2 ms (i.e., T ave (t) = 2), and the second threshold parameter is 1.3 (i.e., λ th = 1.3), then, since Therefore, the terminal device will detect that the operation metrics are less than the standard metrics and start to obtain the duplex mode adopted when the terminal device and the service server perform data communication.
[0052] In yet another embodiment, in order to eliminate the impact of the bearer network delay on the service delay and further eliminate the impact of the bearer network delay on the load estimation of the terminal device, the terminal device may also periodically and continuously monitor the data transmission delay of the target service, and compare the data transmission delay with a delay threshold through the terminal device to determine whether the current service processing delay meets the service requirements. Specifically, the terminal device may: obtain the signal quality of the terminal device to obtain the data transmission delay of the service server when the signal quality is greater than the quality threshold. Among them, in a 4G system, the terminal device may obtain the signal quality based on RSRP (reference signal received power) or SINR (signal-to-interference-noise ratio). If the signal quality is less than the signal quality threshold, for example: RSRP < -105 dBm, the terminal device will re-execute the steps after a certain suppression time: periodically and continuously monitor the data transmission delay of the target service; if the signal quality is greater than the signal quality threshold, for example: RSRP > -105 dBm, the terminal device will obtain the data transmission delay of the service server.
[0053] Further, if the data transmission delay of the service server is greater than the delay threshold, it is determined that when the terminal device runs the target service, the corresponding running metric is less than the standard metric. In practical applications, the service server can be understood as an edge cloud. The edge cloud refers to a small-scale cloud data center distributed on the edge side of the network that provides real-time data processing and analysis and decision-making. The data transmission delay can be understood as the edge cloud delay. The edge cloud delay refers to the transmission delay when the service data of the target service is transmitted in the direction from the terminal device to the edge cloud. Then, it can be understood that the terminal device can measure the edge cloud delay of the edge cloud closest to the terminal device to obtain a rough estimate of the bearer network delay based on the edge cloud delay. Among them, the terminal device can measure the edge cloud delay by sending a delay measurement packet. Exemplarily, the terminal device can implement the sending of the delay measurement packet based on the Ping (Packet Internet Groper) command in the ICMP (Internet Control Message Protocol). The so-called Ping command refers to a program command used to test the network connection quality. In addition, the terminal device can also implement the sending of the delay measurement packet at the application layer. For example, it is designed by imitating the Ping command at the application layer. If the edge cloud delay measured by the terminal device is greater than the delay threshold, it means that the service delay is mainly caused by the bearer network delay. Therefore, it can be determined that the corresponding running metric of the terminal device when running the target service is less than the standard metric. Exemplarily, to select the edge cloud closest to the terminal device, it can be implemented with reference to the well-known technologies in the traditional CDN (Content Delivery Network) scheduling system. For example, the terminal device sends a request to the global scheduling system GSLB (Global Server Load Balance). The GSLB selects the edge cloud closest to the terminal device based on the user IP (Internet Protocol) or user location information, etc. The user IP can be the operator mobile gateway IP.
[0054] S202. Obtain a target data link associated with the duplex mode.
[0055] Among them, the target data link refers to the link where the corresponding load value exceeds the load threshold when the base station performs data transmission in the duplex mode. As can be seen from the foregoing, the duplex mode includes the first duplex mode and the second duplex mode. Then, the target data link associated with the first duplex mode can be the uplink. At this time, the first duplex mode can be the TDD mode; the target data link associated with the second duplex mode can be the downlink. At this time, the second duplex mode can be the FDD mode. It can be understood that for the terminal device and the service server in the TDD mode, when performing data transmission, the transmission rate of the uplink will be limited. The uplink mentioned above can be understood as: the data transmission link in the direction from the terminal device to the service server; for the terminal device and the service server in the FDD mode, when performing data transmission, the transmission rate of the downlink will be limited. The downlink mentioned above can be understood as: the data transmission link in the direction from the service server to the terminal device. Optionally, the target data link associated with the first duplex mode can also be the downlink. At this time, the first duplex mode can be the FDD mode; correspondingly, the target data link associated with the second duplex mode can be the uplink. At this time, the second duplex mode can be the TDD mode. The embodiments of the present application do not limit this. Without special instructions, the embodiments of the present application are described by taking the first duplex mode as the TDD mode and the second duplex mode as the FDD mode as an example.
[0056] S203, if the load value corresponding to the base station is greater than or equal to the load threshold when the base station transmits service data in the target data link, generate an acceleration request.
[0057] Among them, the load value is determined according to the transmission parameters corresponding to the base station when transmitting service data in the target data link. The acquisition method of the transmission parameters can be: the terminal device sends a test data packet to the base station through the target data link, and determines the transmission parameters corresponding to the target data link according to the sending result of the test data packet. Among them, the test data packet includes a first test data packet and a second test data packet, and the number of test data packets is multiple; the sending result of the test data packet can include: the sending time of the test data packet and the receiving time of the feedback data packet corresponding to the received test data packet. Exemplarily, the transmission parameter can be the transmission delay corresponding to the target data link. The transmission delay can be the time difference between the receiving time and the sending time. The time difference can be understood as: the absolute value of the time difference between two times (or: two moments). For example, assume that the time when the terminal device sends a test data packet on the target data link is 09:01:20 (i.e., the sending time is: 09 hours 01 minute 20 seconds), and the time when the terminal device receives the feedback data packet corresponding to the test data packet on the target data link is 09:01:21 (i.e., the receiving time is: 09 hours 01 minute 21 seconds). Then the time difference between the sending time and the receiving time is 1 second. Therefore, a transmission parameter corresponding to the target data link can be 1 second. Unless otherwise specified, in step S203, the transmission parameter is taken as the transmission delay as an example to describe the embodiments of the present application in detail.
[0058] In one embodiment, if the target data link is an uplink, the terminal device may obtain the transmission delay corresponding to the uplink based on the first test data packet. Exemplarily, the first test data packet may include: a service delay measurement packet and multiple uplink service traffic packets. Correspondingly, the feedback data packet corresponding to the first test data packet may be: the data response packet of the service delay measurement packet. In practical applications, when the first test data packet includes a service delay measurement packet and multiple uplink service traffic packets, the terminal device may send the first test data packet in the following manner to obtain multiple transmission delays corresponding to the uplink: before initiating the delay measurement packet, the terminal device injects multiple uplink service traffic packets of different sizes, and then the terminal device transmits the uplink service traffic packet and sends the delay measurement packet after transmitting the uplink service traffic packet to measure a transmission delay. Furthermore, the terminal device may obtain multiple transmission delays by sending multiple first test data packets. This method of obtaining the transmission delay can avoid the random influence caused by the uplink SR (scheduling request) on the measurement of the transmission delay in a mobile communication network (such as 4G, 5G); in addition, in the case of common scheduling algorithms in the base station (such as the PF proportional fair scheduling algorithm), the terminal device first transmits background service traffic of different sizes, making the difference in the measured transmission delay more obvious when the base station is overloaded (or understood as: it can have different impacts on the delay measurement results of subsequent delay measurement packets in the case of base station overload), while when the base station is lightly loaded, the impact on the delay measurement results of the delay measurement packet is limited.
[0059] In one implementation, the terminal device can continuously obtain two transmission delays based on alternately transmitting large-traffic uplink service traffic packets and small-traffic uplink service traffic packets. Specifically, the terminal device can first send a large-traffic uplink service traffic packet, and then send a delay measurement packet (such as a Ping packet) to measure the first transmission delay; when it is necessary to obtain the second transmission delay, the terminal device can send a small-traffic uplink service traffic packet, and then send a delay measurement packet to measure the second transmission delay. Exemplarily, when the terminal device obtains any transmission delay, it can be obtained based on the time difference between the sending time of the uplink service traffic packet and the receiving time of the feedback data packet of the service delay measurement packet. Based on this, the terminal device can obtain multiple transmission delays in the following manner: repeatedly execute the above steps of "the terminal device can send a large-traffic uplink service traffic packet, and then send a delay measurement packet (such as a Ping packet) to measure the first transmission delay; when it is necessary to obtain the second transmission delay, the terminal device can send a small-traffic uplink service traffic packet, and then send a delay measurement packet to measure the second transmission delay" to obtain multiple transmission delays. It should be noted that the embodiments of the present application do not limit the alternating order of transmitting the large-traffic uplink service traffic packet and the small-traffic uplink service traffic packet, that is: the terminal device can also first send a small-traffic uplink service traffic packet to obtain the first transmission delay, and then send a large-traffic uplink service traffic packet to obtain the second transmission delay, as long as it is ensured that the sizes of the adjacent uplink service background traffic packets sent are different. In another implementation, the terminal device can also continuously obtain two transmission delays in the following manner: after the terminal device sends M (M is a positive integer) large-traffic uplink service traffic packets, it then sends a delay measurement packet (such as a Ping packet) to measure the first transmission delay; when it is necessary to obtain the second transmission delay, the terminal device can send N (N is a positive integer) small-traffic uplink service traffic packets, and then send a delay measurement packet to measure the second transmission delay, where M and N can be the same.
[0060] In another embodiment, if the target data link is a downlink, the terminal device sends a notification message to the service server, so that the service server sends a second test data packet to the base station through the target data link, and the service server determines the transmission parameters corresponding to the downlink according to the sending result of the second test data packet. Exemplarily, the second test data packet may include: a service delay measurement packet and multiple downlink service traffic packets. In a specific application, the principle of the method by which the service server obtains the transmission parameters (i.e., transmission delay) corresponding to the downlink is the same as that of the method by which the above terminal device obtains the transmission delay corresponding to the uplink, and the embodiments of the present application will not elaborate herein. This method of determining the transmission delay can avoid the random influence caused by the C-DRX (C-DRX: Connected mode Discontinuous Reception UE, connected mode discontinuous reception) on the terminal side of the mobile network (such as 4G, 5G) on the measurement of the transmission delay; in addition, based on common scheduling algorithms of the base station (such as the PF proportional fair scheduling algorithm), the service server first transmits background service traffic of different sizes, which will also have different impacts on the transmission delay measured by subsequent delay measurement packets when the base station is overloaded, while when the base station is lightly loaded, the impact on the transmission delay measured by subsequent delay measurement packets is limited. It should be noted that the terminal device may also send a notification message to the service server, so that the service server sends a second test data packet to the base station through the target data link, and the service server sends the sending result of the second test data packet to the terminal device, and the terminal device then determines the transmission parameters corresponding to the downlink based on the sending result. The embodiments of the present application do not make specific limitations on the execution subject for determining the transmission parameters of the downlink.
[0061] Further, after the terminal device obtains multiple transmission delays, the ratio between the delay mean value of each transmission delay and the delay standard deviation of each transmission delay can be used as the load value of the base station. For example, assuming that the transmission delay is measured N times in total, the terminal device can calculate the average value and the standard deviation σ N of these N transmission delays, and use the ratio of the two as the load value of the base station. Further, if the load value of the base station corresponding to the uplink is greater than or equal to the load threshold value, the terminal device can generate an acceleration request based on the load estimation result and other necessary information (such as: the terminal mobile network IP) to invoke the service processing acceleration capability; if the load value of the base station corresponding to the downlink is greater than or equal to the load threshold value, after obtaining the load estimation result, the service server can send the load estimation result to the terminal device and notify the terminal device to generate an acceleration request based on the load estimation result and other necessary information (such as: the terminal mobile network IP) to invoke the service processing acceleration capability.
[0062] S204, send the acceleration request to the target server so that the target server performs business acceleration processing on the target business service according to the acceleration request.
[0063] In one embodiment, after generating the acceleration request, the terminal device may send the acceleration request to the target server so that the target server performs business acceleration processing on the target business service according to the acceleration request. In another embodiment, after generating the acceleration request, the terminal device may also send the acceleration request to the business server so that the business server performs business acceleration processing on the target business service according to the acceleration request.
[0064] Based on the above description, it can be understood that when the service processing acceleration capability is the QoS acceleration capability, for an exemplary execution process of the data processing method provided by the embodiments of the present application applied in the 4G system, reference can be made to Figure 3aAs shown: The terminal device continuously monitors the service delay metric to determine whether the current service delay meets the service requirements. If the current service delay meets the service requirements, the terminal device will, after a period of time (or: a suppression time), re - execute the step of the terminal device continuously monitoring the service delay metric; if the current service delay does not meet the service requirements, the terminal device will monitor the wireless signal quality. If the wireless signal quality is less than the signal quality threshold, it is considered that the service delay is caused by poor wireless signal quality. At this time, invoking the QoS acceleration capability is an ineffective invocation. Then, the terminal device can re - execute the step of the terminal device continuously monitoring the service delay metric after a suppression time; correspondingly, if the wireless signal quality is greater than or equal to the signal quality threshold, the influence of wireless signal quality on the service delay is excluded. Then, the terminal device can monitor the edge cloud delay closest to the terminal device (the "closest to the terminal device" mentioned here can refer to: the straight - line distance closest to the terminal device in terms of geographical location). If the edge cloud delay is less than the preset threshold, it can be considered that the current service delay is caused by the bearer network delay. At this time, invoking the QoS acceleration capability is also an ineffective invocation. Then, similarly, the terminal device can re - execute the step of the terminal device continuously monitoring the service delay metric after a suppression time; if the edge cloud delay is greater than or equal to the preset threshold, the influence of the bearer network delay on the service delay is excluded. At this time, the most likely reason for the large service delay is excessive base - station load. Therefore, after excluding the situations where the wireless signal quality and the bearer network delay cause excessive service delay, the terminal device can obtain the 4G communication system format (or: duplex mode) and initiate sniffing of the base - station load based on the system format to obtain the delay measurement process (i.e., transmission delay). Among them, the terminal device initiating sniffing of the base - station load based on the system format to obtain the delay measurement process can also be understood as: the terminal device measures the transmission delay on the target data link corresponding to the duplex mode based on the duplex mode; if the transmission delay is less than the preset threshold (i.e., the delay measurement result in the figure is less than the preset threshold), the terminal device can determine that a QoS acceleration call can be initiated at this time, generate an acceleration request based on the parameters required for invoking the QoS acceleration capability, and transmit the acceleration request to the service server so that the service server can complete the QoS acceleration call.
[0065] Among them, after the terminal device generates the acceleration request, the specific process of the service server invoking the QoS acceleration capability can be referred to Figure 3bAs shown in the figure, the terminal device that generates the acceleration request is the "terminal device to be accelerated" in the figure. The terminal device to be accelerated and the service server can form a service party. Then, the service party initiates a QoS acceleration request to obtain QoS acceleration services. Among them, the server that provides QoS acceleration services can be the target server, and the target server can be: the network capability open platform of the telecommunications operator, or the server that provides QoS acceleration services can be the service server. From Figure 3b it can be seen that the terminal device to be accelerated can first initiate a QoS acceleration request to the service server, and then the service server carries relevant parameters to initiate a QoS acceleration request to the target server. Then, the target server calls the QoS acceleration capability and returns the acceleration result to the service server. Finally, the service server feeds back the acceleration result to the terminal device to be accelerated to perform acceleration processing on the target service running in the terminal device to be accelerated (i.e., the user side).
[0066] In the embodiment of the present application, the terminal device can first obtain the duplex mode of data communication between the terminal device and the service server, and estimate the load condition on a specific data link of the base station (such as: the uplink or the downlink) according to the duplex mode. Usually, when it is less than the standard index, the estimation of the load condition of the base station can be triggered. However, there are many reasons for the operating index to be less than the standard index, such as: poor signal quality, large bearer network delay, etc. Therefore, when estimating the load of the base station, it can also be required that the signal quality is greater than the signal quality threshold and the bearer network delay is less than the delay threshold, so as to exclude the influence of signal quality and bearer network delay on the load estimation of the base station, and further improve the accuracy of the load value estimated by the terminal device. Based on the obtained load value, the terminal device (or the service server) can initiate a Qos service request only when the base station is heavily loaded, thus effectively avoiding the ineffective invocation of this service, improving the effectiveness of service invocation, and further enabling the effective acceleration of the target service on the service side.
[0067] Based on the description of the above embodiments, when determining the load value of the base station according to the transmission parameters corresponding to the transmission of service data by the base station in the target data link, and determining whether the load value corresponding to the base station is greater than or equal to the load threshold, a data test packet can also be sent to the base station through the target data link, and the rate of responding to the service in the test data packet (i.e., the service response rate) can be obtained. Then, based on the response rate of the base station to this service, it can be determined whether the load value corresponding to the base station exceeds the load threshold. For the specific method, please refer to Figure 4 as shown in Figure 4 shown, the method includes:
[0068] S401, obtain the rate of responding to the service corresponding to the test data packet after sending the test data packet to the base station.
[0069] Among them, the test data packet includes the data packet corresponding to the service data. Then, after the base station receives the test data packet, it can determine the data packet corresponding to the service data from the test data packet and respond to the data packet corresponding to the service data. It can be understood that if the test data packet is sent by the terminal device to the base station, then after the base station receives the test data packet, it can send the data packet corresponding to the service data included in the test data packet to the service server so that the service server responds to the service requested by the terminal device. Then, the rate at which the service server responds to the service is the response rate of the service corresponding to the test data packet. Or, the test data packet can also be sent by the service server to the base station. Then, similarly, after the base station receives the test data packet sent by the service server, it can forward the data packet corresponding to the corresponding service included in the test data packet to the terminal device. Then, the response rate of the terminal device to the service requested by the service server is the response rate. In one embodiment, if the terminal device (or service server) only sends one test data packet, the service response rate can be the actual rate of responding to the service of the test data packet; if the terminal device (or service server) sends multiple test data packets, the service response rate can be the sum (or average, or weighted average, etc.) of the actual service response rates corresponding to the multiple test data packets.
[0070] In one embodiment, when the terminal device determines that the current duplex mode is the TDD mode, the test data packet can be sent to the server through the base station, and when the terminal device determines that the current duplex mode is the FDD mode, it can notify the server to send a test data packet to the base station to determine the efficiency of the base station in responding to the test data packet for the service. That is, if the target data link is the uplink, the terminal device can obtain the service response rate; if the target data link is the downlink, the terminal device can send a notification message to the service server so that the service server obtains the service response rate.
[0071] S402, use the service response rate as the load value corresponding to the base station.
[0072] S403, obtain the reference response rate of the base station in responding to the service corresponding to the test data packet.
[0073] The reference response rate refers to: under the condition of light load of the base station, the reference rate for responding to the test data packet. Among them, the reference response rate is the rate statistically obtained after the base station responds to a large number of test data packets. In practical applications, after the reference response rate is statistically obtained, a corresponding signal quality-response rate curve can be generated, so that it can be determined whether the base station is heavily loaded based on this curve in the subsequent process. Exemplarily, the signal quality can be represented by RSRP (Reference Signal Receiving Power) or SINR (Signal to Interference plus Noise Ratio). It can be understood that after obtaining the signal quality-response rate curve, the terminal device can, based on this signal quality-response rate curve, find the reference response rate according to the signal quality when responding to the service in the test data packet. For example, assume that when the service in the test data packet is responded to for the i-th time, the signal quality is RSRP i When, the corresponding response rate under the condition of light load of the base station is TR i (RSRP i ), and the actual service response rate is MR i . Then, when the terminal device obtains N actual service response rates, the sum of the N actual service response rates MRi, that is: can be used as the service response rate. If when the terminal device obtains these N actual service response rates, the sum of the N response rates obtained in the signal quality-response rate curve according to the signal quality corresponding to the terminal device each time when obtaining the actual service response rate is then it can be considered that the reference response rate is:
[0074] Among them, the test data packet can be sent by the terminal device or by the service server. Correspondingly, if the test data packet is sent by the terminal device, the terminal device will obtain the reference response rate; if the test data packet is sent by the service server, the service server will obtain the reference response rate.
[0075] S404. If the service response rate is less than the reference response rate, it is determined that the load value corresponding to the base station is greater than or equal to the load threshold.
[0076] Among them, the signal quality-response rate curve can be used to describe: when the base station is lightly loaded, the rate at which the base station responds to the test data packet when the terminal device is in different signal qualities. Specifically, the terminal device can determine whether the load value corresponding to the base station exceeds the load threshold based on the service response rate and the reference response rate; exemplarily, the way for the terminal device to determine whether the load value corresponding to the base station exceeds the load threshold can be as shown in the following example: Assume that the service response rate is: The reference response rate is: , then, when , it can be considered that the load value corresponding to the base station is greater than or equal to the load threshold, where ρ is a preset parameter threshold. It should be noted that in specific implementation, either the terminal device can determine whether the load value of the base station exceeds the load threshold, or the service server can determine whether the load of the base station exceeds the load.
[0077] In the embodiment of the present application, before generating an acceleration request, by comparing the service response rate and the reference response rate to determine whether the load value of the base station is greater than the load threshold, since the reference response rate is obtained based on the situation where the load value of the base station is less than the load threshold, comparing the service response rate and the reference response rate can more quickly and intuitively show the load situation of the base station. For example, when the service response rate is less than the reference response rate, it can be determined that the load situation of the base station is that the base station is heavily loaded; when the service response rate is less than the reference response rate, it can be determined that the load situation of the base station is that the base station is lightly loaded.
[0078] Based on the above Figure 2 and Figure 4 related descriptions, in one embodiment, the embodiment of the present application further provides a data processing method. This data processing method includes: after the terminal device determines that the service response rate is less than the reference response rate and the ratio between the mean delay and the standard deviation of each transmission delay is greater than a preset threshold, determining that the load value corresponding to the base station is greater than or equal to the load threshold, and generating an acceleration request to obtain a more effective call of the QoS acceleration capability. The data processing method provided by the embodiment of the present application determines the load situation of the base station from two aspects of the service response rate and the transmission delay, which can further improve the accuracy of the effectiveness prediction of the QoS capability call, thereby effectively reducing the number of calls of ineffective or inefficient QoS acceleration capabilities and greatly reducing the call cost of users.
[0079] Based on the description of the related embodiments of the above data processing method, the embodiment of the present application further discloses a data processing device. This data processing device can be a computer program (including program code) running in the above-mentioned terminal device. This data processing device can execute Figure 2 orFigure 4 The method shown. Please refer to Figure 5 , the data processing device may include: an acquisition unit 501, a generation unit 502, and a sending unit 503.
[0080] The acquisition unit 501 is configured to, when detecting that the running metrics of the terminal device during the operation of the target service are less than the standard metrics, acquire the duplex mode adopted when the terminal device communicates with the service server for data, and the service server is used to provide the target service;
[0081] The acquisition unit 501 is further configured to acquire a target data link associated with the duplex mode, where the target data link refers to a link where, when the base station transmits service data of the target service using the target data link in the duplex mode, there is a corresponding load value exceeding the load threshold value;
[0082] The generation unit 502 is configured to generate an acceleration request if the load value of the base station is greater than or equal to the load threshold value when the base station transmits the service data in the target data link, and the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link;
[0083] The sending unit 503 is configured to send the acceleration request to the target server, so that the target server performs service acceleration processing on the target service according to the acceleration request.
[0084] In an implementation manner, the duplex mode includes a first duplex mode and a second duplex mode, the target data link associated with the first duplex mode is an uplink, and the target data link associated with the second duplex mode is a downlink; when the acquisition unit 501 is used to acquire transmission parameters, it may specifically be configured to perform:
[0085] If the target data link is an uplink, send a first test data packet to the base station through the target data link, and determine the transmission parameters corresponding to the uplink according to the sending result of the first test data packet;
[0086] If the target data link is a downlink, send a notification message to the service server, so that the service server sends a second test data packet to the base station through the target data link, and the service server determines the transmission parameters corresponding to the downlink according to the sending result of the second test data packet.
[0087] In yet another implementation manner, the transmission parameters include: transmission delay, and when the acquisition unit 501 determines the load value corresponding to the base station according to the transmission delay, it may specifically perform:
[0088] Obtain the transmission time when the test data packet is sent to the base station and the reception time when the feedback data packet corresponding to the test data packet is received; the test data packet includes the first test data packet and the second test data packet, and the number of the test data packets is multiple;
[0089] Determine the time difference between the transmission time of any one of the test data packets and the reception time of the feedback data packet corresponding to the any one of the test data packets, and use the time difference as a transmission delay;
[0090] Use the ratio between the mean value of the delays obtained from each transmission delay and the obtained delay standard deviation as the load value of the base station.
[0091] In another embodiment, the transmission parameter further includes: service response rate. When the obtaining unit 501 determines the load value corresponding to the base station according to the service response rate, it is specifically used to load and execute:
[0092] Obtain the rate of responding to the service corresponding to the test data packet after sending the test data packet to the base station, and the rate of responding to the service corresponding to the test data packet is the service response rate;
[0093] Use the service response rate as the load value corresponding to the base station.
[0094] In another embodiment, the obtaining unit 501 is further specifically used to execute:
[0095] Obtain the reference response rate of the base station for responding to the service corresponding to the test data packet, and the reference response rate is determined based on the condition that the load value of the base station on the target data link is less than the load threshold;
[0096] If the service response rate is less than the reference response rate, it is determined that the load value corresponding to the base station is greater than or equal to the load threshold.
[0097] In another embodiment, the obtaining unit 501 may be specifically used to execute:
[0098] Obtain the execution parameters when executing the target service in the target period, and the execution parameters include: the instantaneous delay when executing the target service at the reference moment in the target period;
[0099] The data processing device further includes a determining unit 504, and the determining unit 504 may be specifically used to execute:
[0100] Determine a first average delay for executing the target service at a reference time in the target period and a second average delay for executing the target service in the target period according to the instantaneous delay;
[0101] Determine a service processing delay of the target service according to the first average delay and the second average delay, where the service processing delay is an operation metric of the service server.
[0102] In another embodiment, the obtaining unit 501 is further configured to execute:
[0103] Obtain the signal quality of the terminal device, and when the signal quality is greater than a signal quality threshold, obtain the data transmission delay of the service server;
[0104] The determining unit 504 is further configured to execute:
[0105] If the data transmission delay is greater than a delay threshold, determine that the operation metric corresponding to the terminal device when running the target service is less than the standard metric.
[0106] According to another embodiment of the embodiments of the present application, Figure 2 and Figure 4 each step involved in the method shown can be executed by each unit in the Figure 5 shown data processing device. For example: Figure 2 The shown step S201 and step S202 can both be executed by the obtaining unit 501 in the Figure 5 shown data processing device, step S203 can be executed by the generating unit 502 in the Figure 5 shown data processing device, and step S204 can be executed by the sending unit 503 in the Figure 5 shown data processing device; Figure 4 The shown steps S401 to S403 can all be executed by the obtaining unit 501 in the Figure 5 shown data processing device, and step S404 can be executed by the determining unit 504 in the Figure 5 shown data processing device.
[0107] According to another embodiment of the embodiments of the present application, Figure 5Each unit in the data processing device shown is divided based on logical functions. The above-mentioned units can be separately or all combined into one or several other units to form, or some of them can be further split into multiple smaller units in terms of functions to form, which can achieve the same operations without affecting the realization of the technical effects of the embodiments of this application. In other embodiments of the embodiments of this application, based on the data processing device, other units can also be included. In practical applications, these functions can also be assisted by other units and can be achieved through the cooperation of multiple units.
[0108] According to another embodiment of the embodiments of this application, it can be achieved by running a computer program (including program code) that can execute each step involved in the corresponding method shown, such as Figure 2 or Figure 4 on a general computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM), to construct a data processing device as shown in Figure 5 and to implement the data processing method of the embodiments of this application. The computer program can be recorded on, for example, a computer storage medium, loaded into the above-mentioned computing device through the computer storage medium, and run therein.
[0109] In the embodiments of this application, the data processing device obtains the duplex mode of data communication between the terminal device and the service server, so that the terminal device can obtain the load value of the base station corresponding to the target data link corresponding to the duplex mode when transmitting data, and then generate an acceleration request when the load value is greater than or equal to the load threshold value to accelerate the service of the target service, which can effectively avoid the ineffective invocation of the acceleration ability.
[0110] Based on the descriptions of the above method embodiments and device embodiments, the embodiments of this application also provide a terminal device. Please refer to Figure 6 , this terminal device at least includes a processor 601, an output interface 602, and a computer storage medium 603, and the processor 601, the output interface 602, and the computer storage medium 603 in the computer device can be connected through a bus or other means.
[0111] The computer storage medium 603 is a memory device in the terminal device, used to store programs and data. It can be understood that the computer storage medium 603 here can include both the built-in storage medium in the terminal device and, of course, the extended storage medium supported by the terminal device. The computer storage medium 603 provides a storage space, and this storage space stores the operating system of the terminal device. Moreover, one or more instructions suitable for being loaded and executed by the processor 601 are stored in this storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory; optionally, it can also be at least one computer storage medium located far from the aforementioned processor. The processor 601 (or CPU (Central Processing Unit)) is the computing core and control core of the computer device, and it is suitable for implementing one or more instructions, specifically for loading and executing one or more instructions to implement the corresponding method flow or corresponding function.
[0112] In one embodiment, one or more instructions stored in the computer storage medium 603 can be loaded and executed by the processor 601 to implement the corresponding method steps in the above-mentioned Figure 2 and Figure 4 shown data processing method embodiments; in specific implementation, one or more instructions in the computer storage medium 603 are loaded and executed by the processor 601 as follows:
[0113] When it is detected that the corresponding operation index is less than the standard index during the operation of the target service by the terminal device, obtain the duplex mode adopted during data communication between the terminal device and the service server, where the service server is used to provide the target service
[0114] Obtain the target data link associated with the duplex mode, where the target data link refers to: when the base station transmits the service data of the target service using the target data link in the duplex mode, there is a situation where the corresponding load value exceeds the load threshold value;
[0115] If the load value corresponding to the base station is greater than or equal to the load threshold value when the base station transmits the service data in the target data link, generate an acceleration request, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link;
[0116] Send the acceleration request to the target server so that the target server performs service acceleration processing on the target service according to the acceleration request.
[0117] In one embodiment, the duplex mode includes a first duplex mode and a second duplex mode. The target data link associated with the first duplex mode is the uplink, and the target data link associated with the second duplex mode is the downlink. When the processor 601 is used to obtain transmission parameters, it can be specifically used to load and execute:
[0118] If the target data link is the uplink, send a first test data packet to the base station through the target data link, and determine the transmission parameters corresponding to the uplink according to the sending result of the first test data packet;
[0119] If the target data link is the downlink, send a notification message to the service server, so that the service server sends a second test data packet to the base station through the target data link, and the service server determines the transmission parameters corresponding to the downlink according to the sending result of the second test data packet.
[0120] In another embodiment, the transmission parameters include: transmission delay. When the processor 601 is used to determine the load value corresponding to the base station according to the transmission delay, it can be specifically used to load and execute:
[0121] Obtain the sending time of the test data packet sent to the base station and the receiving time of the feedback data packet corresponding to the received test data packet. The test data packet includes the first test data packet and the second test data packet, and the number of test data packets is multiple;
[0122] Determine the time difference between the sending time of any one of the test data packets and the receiving time of the feedback data packet corresponding to the any one of the test data packets, and use the time difference as a transmission delay;
[0123] Use the ratio between the mean value of the transmission delays obtained from each transmission delay and the obtained standard deviation of the delays as the load value of the base station.
[0124] In another embodiment, the transmission parameters further include: service response rate. When the processor 601 determines the load value corresponding to the base station according to the service response rate, it is specifically used to load and execute:
[0125] Obtain the rate of responding to the service corresponding to the test data packet after sending the test data packet to the base station. The rate of responding to the service corresponding to the test data packet is the service response rate;
[0126] Use the service response rate as the load value corresponding to the base station.
[0127] In yet another embodiment, the processor 601 is further specifically configured to load and execute:
[0128] Obtain a reference response rate at which the base station responds to the service corresponding to the test data packet, where the reference response rate is determined based on the condition that the load value of the base station on the target data link is less than the load threshold value;
[0129] If the service response rate is less than the reference response rate, determine that the load value corresponding to the base station is greater than or equal to the load threshold value.
[0130] In yet another embodiment, the processor 601 may further be specifically configured to load and execute:
[0131] Obtain execution parameters when executing the target service during a target period, where the execution parameters include: at a reference moment during the target period, the instantaneous delay when executing the target service;
[0132] According to the instantaneous delay, determine a first average delay when executing the target service at the reference moment during the target period, and a second average delay when executing the target service during the target period;
[0133] According to the first average delay and the second average delay, determine the service processing delay of the target service, where the service processing delay is an operation metric of the service server.
[0134] In yet another embodiment, the processor 601 is further configured to load and execute:
[0135] Obtain the signal quality of the terminal device, and when the signal quality is greater than the signal quality threshold, obtain the data transmission delay of the service server;
[0136] If the data transmission delay is greater than the delay threshold, determine that the operation metric corresponding to the terminal device when running the target service is less than the standard metric.
[0137] In the embodiments of the present application, the terminal device obtains the duplex mode for data communication between the terminal device and the service server, so that the terminal device can obtain the load value of the base station corresponding to the target data link when transmitting data corresponding to the duplex mode, and then generate an acceleration request when the load value is greater than or equal to the load threshold value to accelerate the service of the target service, which can effectively avoid the ineffective invocation of the acceleration capability.
[0138] The embodiments of the present application also provide a computer storage medium, in which a computer program for the above data processing method is stored. The computer program includes program instructions. When one or more processors load and execute the program instructions, the description of the service processing method in the embodiments can be implemented, which will not be elaborated herein. The description of the beneficial effects of using the same method will not be elaborated herein. It can be understood that the program instructions can be deployed on one or more devices capable of communicating with each other for execution.
[0139] It should be noted that according to one aspect of the embodiments of the present application, a computer program product or a computer program is also provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the terminal device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal device executes the methods provided in various alternative ways in the related embodiments of the data processing method shown in the above Figure 2 and Figure 4 figures.
[0140] Moreover, it should be understood that the above-disclosed are only the preferred embodiments of the present application. Of course, the scope of the rights of the present application cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.
Claims
1. A data processing method, characterized in that, comprising: when it is detected that the running metrics of the terminal device do not meet the standard metrics during the running of the target service, obtaining the duplex mode adopted when data communication is performed between the terminal device and the service server, where the service server is used to provide the target service; the running metric is the service processing delay of the target service; obtaining a target data link associated with the duplex mode, where the target data link refers to: when the base station transmits service data of the target service using the target data link in the duplex mode, there is a situation where the corresponding load value exceeds the load threshold; among them, different duplex modes are associated with different target data links; when the duplex mode is the time division duplex mode, the associated target data link is the uplink, and when the duplex mode is the frequency division duplex mode, the associated target data link is the downlink; if the load value corresponding to the base station is greater than or equal to the load threshold when the base station transmits the service data in the target data link, generating an acceleration request, where the load value is determined according to the transmission parameters corresponding to the base station when transmitting the service data in the target data link; sending the acceleration request to the target server so that the target server performs service acceleration processing on the target service according to the acceleration request.
2. The method according to claim 1, characterized in that, the obtaining method of the transmission parameters includes: if the target data link is the uplink, sending a first test data packet to the base station through the target data link, and determining the transmission parameters corresponding to the uplink according to the sending result of the first test data packet; if the target data link is the downlink, sending a notification message to the service server so that the service server sends a second test data packet to the base station through the target data link, and enabling the service server to determine the transmission parameters corresponding to the downlink according to the sending result of the second test data packet.
3. The method according to claim 2, characterized in that, the transmission parameters include: transmission delay, and the method for determining the load value corresponding to the base station according to the transmission delay includes: obtaining the sending time of the test data packet sent to the base station and the receiving time of the feedback data packet corresponding to the received test data packet; the test data packet includes the first test data packet and the second test data packet, and the number of test data packets is multiple; determining the time difference between the sending time of any one of the test data packets and the receiving time of the feedback data packet corresponding to any one of the test data packets, and taking the time difference as a transmission delay; taking the ratio between the mean value of the delays obtained from each transmission delay and the obtained delay standard deviation as the load value of the base station.
4. The method according to claim 2, characterized in that, the transmission parameters further include: service response rate, and the method for determining the load value corresponding to the base station according to the service response rate includes: Obtain the rate of responding to the service corresponding to the test data packet after sending the test data packet to the base station, and the rate of responding to the service corresponding to the test data packet is the service response rate; Use the service response rate as the load value corresponding to the base station.
5. The method according to claim 4, wherein, the method further includes: Obtain the reference response rate of the base station for responding to the service corresponding to the test data packet, and the reference response rate is determined based on the condition that the load value of the base station on the target data link is less than the load threshold; If the service response rate is less than the reference response rate, it is determined that the load value corresponding to the base station is greater than or equal to the load threshold.
6. The method according to claim 1, wherein, the method further includes: Obtain the execution parameters when the target service is executed in the target period, and the execution parameters include: the instantaneous delay when the target service is executed at the reference moment in the target period; According to the instantaneous delay, determine the first average delay of executing the target service at the reference moment in the target period, and the second average delay of executing the target service in the target period; According to the first average delay and the second average delay, determine the service processing delay of the target service, and the service processing delay is the operation index of the service server.
7. The method according to claim 1 or 6, wherein, the method further includes: Obtain the signal quality of the terminal device, and when the signal quality is greater than the signal quality threshold, obtain the data transmission delay of the service server; If the data transmission delay is greater than the delay threshold, it is determined that the operation index corresponding to the terminal device when running the target service does not meet the standard index.
8. A data processing device, wherein, comprises: An obtaining unit, configured to, when detecting that the operation index corresponding to the terminal device when running the target service does not meet the standard index, obtain the duplex mode adopted for data communication between the terminal device and the service server, where the service server is used to provide the target service; the operation index is the service processing delay of the target service; The obtaining unit is further configured to obtain the target data link associated with the duplex mode, where the target data link refers to: a link where, when the base station transmits the service data of the target service using the target data link in the duplex mode, there is a situation where the corresponding load value exceeds the load threshold; among them, different duplex modes are associated with different target data links; when the duplex mode is the time division duplex mode, the associated target data link is the uplink, and when the duplex mode is the frequency division duplex mode, the associated target data link is the downlink; A generating unit, configured to generate an acceleration request if a load value corresponding to the base station is greater than or equal to a load threshold when the base station transmits the service data in the target data link, where the load value is determined according to transmission parameters corresponding to the base station when transmitting the service data in the target data link; A sending unit, configured to send the acceleration request to a target server, so that the target server performs service acceleration processing on the target service according to the acceleration request.
9. A terminal device, characterized in that the terminal device includes an output interface, and further includes: a processor, adapted to implement one or more instructions; a computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded and executed by the processor to perform the data processing method according to any one of claims 1-7.
10. A computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded and executed by a processor to perform the data processing method according to any one of claims 1-7.
11. A computer program product, characterized in that the computer program product includes a computer program, the computer program includes program instructions, and when the program instructions are called by a processor, the processor is caused to execute the method according to any one of claims 1-7.
Citation Information
Patent Citations
Privacy film filter, display device, and device and manufacturing method thereof
CN107534916A
Service acceleration method and device
WO2015062039A1