Mobile data traffic transmission rate detection method and device and electronic equipment
By obtaining data transmission information between the electronic device and the application server, the problem that electronic devices cannot detect whether the mobile data traffic transmission rate is limited is solved, and higher detection accuracy and flexibility are achieved.
Patent Information
- Application Number
- CN202510240042.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-03
AI Technical Summary
Electronic devices cannot obtain the speed limit reminder message of mobile data traffic sent by the operator, resulting in the inability to detect whether the transmission rate of mobile data traffic is limited.
By obtaining data transmission information between the electronic device and the application server, including data transmission parameters or data transmission status, it is determined whether the transmission rate of the mobile data traffic is limited.
When the speed limit reminder message cannot be obtained, it can still accurately determine whether the mobile data traffic of the electronic device is limited, which improves the accuracy and flexibility of detection.
Smart Images

Figure CN120091349A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technologies, and particularly relates to a method, apparatus, and electronic device for detecting the transmission rate of mobile data traffic. Background Art
[0002] With the continuous improvement of network communication requirements, after the mobile data traffic of an electronic device is speed-limited, some application services in the electronic device will become stuck.
[0003] When an application service becomes stuck, the electronic device manufacturer will combine the speed-limiting reminder message of the mobile data traffic sent by the operator to determine whether the reason for the stuck application service is the speed-limiting behavior of the mobile data traffic. If so, a speed-limiting reminder for the mobile data traffic will be given in the electronic device to enable the user to know in time that the mobile data traffic is speed-limited.
[0004] However, due to reasons such as network and SMS collection permissions, the electronic device may not be able to obtain the speed-limiting reminder message of the mobile data traffic sent by the operator, resulting in the electronic device being unable to detect the transmission rate of its mobile data traffic. Summary of the Invention
[0005] The purpose of the embodiments of this application is to provide a method, apparatus, and electronic device for detecting the transmission rate of mobile data traffic, so that the transmission rate of the mobile data traffic of the electronic device can still be detected when the electronic device cannot obtain the speed-limiting reminder message of the mobile data traffic sent by the operator, and it can accurately determine whether the mobile data traffic of the electronic device is speed-limited.
[0006] In a first aspect, the embodiments of this application provide a method for detecting the transmission rate of mobile data traffic, and the method includes:
[0007] When the Aggregate Maximum Bit Rate (AMBR) value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device has not received a data traffic speed-limiting reminder message, obtain the data transmission information between the electronic device and the application server, where the data transmission information includes data transmission parameters or data transmission status;
[0008] When the data transmission information meets the speed-limiting reminder condition, determine that the transmission rate of the mobile data traffic of the electronic device is restricted.
[0009] In a second aspect, the embodiments of this application provide a device for detecting the transmission rate of mobile data traffic, and the device includes:
[0010] An obtaining module, configured to obtain data transmission information between an electronic device and an application server when an aggregated maximum bit rate (AMBR) value configured by a core network device for the electronic device is less than a bit rate threshold and the electronic device has not received a data traffic speed limit reminder message, where the data transmission information includes data transmission parameters or a data transmission status;
[0011] A detection module, configured to determine that the transmission rate of the mobile data traffic of the electronic device is restricted when the data transmission information meets a speed limit reminder condition.
[0012] In a third aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0013] In a fourth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method described in the first aspect.
[0014] In a fifth aspect, an embodiment of the present application provides a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect.
[0015] In the embodiment of the present application, when the aggregated maximum bit rate value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device has not received a data traffic speed limit reminder message, the data transmission information between the obtained electronic device and the application server can be used to determine whether the transmission rate of the mobile data traffic of the electronic device is restricted. In this way, when the electronic device cannot obtain a mobile data traffic speed limit reminder message sent by the operator, the mobile data traffic of the electronic device can still be detected whether it is speed limited through the data transmission information between the electronic device and the application server, improving the accuracy and flexibility of determining whether the mobile data traffic of the electronic device is speed limited. Description of the Drawings
[0016] Figure 1 is a schematic flowchart of a method for detecting a mobile data traffic transmission rate provided by some embodiments of the present application;
[0017] Figure 2 is a schematic flowchart of a method for detecting a mobile data traffic transmission rate provided by some embodiments of the present application;
[0018] Figure 3 is a schematic structural diagram of a device for detecting a mobile data traffic transmission rate shown by some embodiments of the present application;
[0019] Figure 4 It is a schematic structural diagram of an electronic device shown in some embodiments of the present application;
[0020] Figure 5 It is a schematic hardware structure diagram of an electronic device shown in some embodiments of the present application. Detailed implementation manners
[0021] Next, the technical solutions in the embodiments of the present application will be clearly described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such used data may be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and do not limit the number of objects. For example, the first object may be one or N. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means an "or" relationship between the associated objects before and after.
[0023] The terms used in the embodiments part of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0024] Next, the terms related to the embodiments of the present invention will be explained.
[0025] Mobile data traffic refers to the data traffic generated by accessing the Internet or using related data value-added services through mobile communication technologies such as General Packet Radio Service (GPRS), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), and High Speed Downlink Packet Access (HSDPA).
[0026] Aggregated Maximum BitRate (AMBR) is mainly used to control the maximum network bandwidth of mobile users to limit the overall bandwidth consumption of mobile users. In a wireless communication network, the setting of AMBR helps to optimize the allocation of network resources, prevent a single user or device from occupying too much bandwidth, and thus affect the communication quality of other users. By setting AMBR for each electronic device, network operators can ensure that the overall performance of the network is reasonably managed.
[0027] Transmission Control Protocol (TCP) is a transport protocol specifically designed to provide a reliable end-to-end byte stream over an unreliable internetwork.
[0028] TCP stream is a data stream represented by 8-bit bytes sent from the application layer to the TCP layer for inter-network transmission.
[0029] The retransmission rate of the TCP stream is an important indicator to measure the performance of the TCP network. It reflects the proportion of packet retransmissions during TCP communication due to packet loss, damage, or the acknowledgment from the data receiver not arriving as expected.
[0030] The round-trip time (RTT) of the TCP stream refers to the time from when the sender starts sending data until the sender receives the acknowledgment from the receiver.
[0031] Packet loss means that the data of one or more packets cannot reach the destination through the network.
[0032] The packet loss amount is the number of lost packets.
[0033] Symbol error rate (SER) is an indicator to measure the accuracy of data transmission within a specified time. The generation of error codes is due to the decay changing the voltage of the signal during signal transmission, resulting in the signal being damaged during transmission and generating error codes.
[0034] Currently, the electronic device combines the speed limit reminder message of the mobile data traffic sent by the operator to determine whether the reason for the application service lag of the electronic device is the speed limit behavior of the mobile data traffic. The specific judgment process can refer to the following steps 110 - step 150.
[0035] Step 110: Obtain the AMBR value configured by the core network device for the electronic device.
[0036] In some embodiments of the present application, the AMBR value configured by the core network device for the electronic device can be obtained from the radio interface signaling of the electronic device or the Transmission Control Protocol (TCP).
[0037] Step 120: Determine whether the AMBR value is less than the bit rate threshold. If so, execute Step 130; if not, end the process.
[0038] Among them, the bit rate threshold can be the upper limit value of the AMBR value set in advance.
[0039] In some embodiments of the present application, when the AMBR value of the electronic device is lower than the bit rate threshold, it may be that the AMBR value of the electronic device has not been updated, or it may be that the data mobile traffic of the electronic device is throttled under the configured network of the core network where the electronic device is currently located, that is, the AMBR value configured by the core network where the electronic device is currently located for the electronic device is relatively low.
[0040] The value of the above bit rate threshold can be determined in the following way: when the network connection state of the electronic device is only connected to the mobile data traffic network and the application service of the electronic device starts to experience lag, obtain the AMBR value from the radio interface signaling or TCP of the electronic device. If the AMBR value at this time is significantly lower than the AMBR value in the non-lagging scenario of the service, for example, the AMBR value at this time is lower than 1 / 2 or 1 / 4 of the AMBR value in the non-lagging scenario of the service, the AMBR value obtained at this time can be determined as the bit rate threshold.
[0041] It should be noted that the value range of the above bit rate threshold can be 1 - 10 Mbps. For example, the bit rate threshold can be set to 2 Mbps or 8 Mbps. The specific value of the bit rate threshold can be set by the user according to needs and is not limited in the embodiments of the present application.
[0042] Step 130: Determine whether the electronic device has received a reminder message sent by the operator that the mobile data traffic is throttled. If so, execute Step 140; if not, end the process.
[0043] In some embodiments of the present application, when the electronic device has received a reminder message sent by the operator that the mobile data traffic is throttled, it is determined that the mobile data traffic of the SIM in the electronic device is throttled, rather than the AMBR value not being updated.
[0044] Step 140: Determine that the mobile data traffic of the electronic device is throttled.
[0045] In step 140, when the AMBR value is less than the bit rate threshold and the electronic device receives a reminder message that the mobile data traffic sent by the operator is speed-limited, it is determined that the mobile data traffic of the electronic device is speed-limited because it exceeds the upper limit value of the data mobile traffic.
[0046] Step 150: Display a prompt message indicating that the mobile data traffic is speed-limited.
[0047] The technical solution of the embodiment of the present application can be applied to the scenario where, in the case of being unable to obtain the speed-limiting reminder message of the mobile data traffic sent by the operator in the electronic device, other methods are used to determine whether the mobile data traffic of the electronic device is speed-limited.
[0048] Next, in conjunction with the accompanying drawings, through specific embodiments and their application scenarios, the mobile data traffic transmission rate detection method provided by the embodiments of the present application will be described in detail.
[0049] Figure 1 It is a flowchart of a mobile data traffic transmission rate detection method provided by an embodiment of the present application. The execution subject of the mobile data traffic transmission rate detection method can be an electronic device, and the electronic device can be, but is not limited to, a personal computer (PC), a smart phone, a tablet computer, or a personal digital assistant (PDA), etc.
[0050] As Figure 1 shown, the mobile data traffic transmission rate detection method provided by the embodiment of the present application may include step 210-step 220.
[0051] Step 210: When the aggregated maximum bit rate value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device does not receive a data traffic speed-limiting reminder message, obtain the data transmission information between the electronic device and the application server.
[0052] Among them, the application server can be a device end that provides services for the applications in the electronic device. For example, the application server can include, but is not limited to: an audio and video server that provides audio and video playback services for the audio and video application programs in the electronic device and an instant messaging server that provides instant messaging services for the instant messaging application programs in the electronic device, etc.
[0053] The data transmission information can be the relevant information of the data transmission between the electronic device and the application server. For example, the data transmission information can include data transmission parameters or data transmission status.
[0054] The above data transmission status may include: the voice data reception status between the electronic device and the audio application server, that is, the reception status of the voice data transmitted by the audio application server by the electronic device, such as whether the electronic device has received the voice data transmitted by the audio application server.
[0055] The data transmission parameters may include at least one of the following: the retransmission rate of the TCP stream between the electronic device and the application server, the round-trip time of the TCP stream between the electronic device and the application server, the data packet loss amount between the electronic device and the application server, and the error rate of the transmitted data between the electronic device and the application server.
[0056] Step 220, when the data transmission information meets the speed limit reminder condition, determine that the transmission rate of the mobile data traffic of the electronic device is restricted.
[0057] Among them, the speed limit reminder condition may be a condition that the data transmission information meets when it is determined that the transmission rate of the mobile data traffic of the electronic device is restricted, which is set in advance. Different data transmission information corresponds to different speed limit reminder conditions, and the specific speed limit reminder conditions corresponding to different data transmission information will be elaborated in detail in the subsequent embodiments.
[0058] In some embodiments of the present application, when the data transmission information meets the speed limit reminder condition, it can be determined that the transmission rate of the mobile data traffic of the electronic device is restricted, that is, the mobile data traffic of the electronic device is speed-limited.
[0059] In some embodiments of the present application, in order to further improve the flexibility of determining whether the mobile data traffic of the electronic device is speed-limited, when the data transmission parameters include at least one of the retransmission rate of the TCP stream between the electronic device and the application server, the round-trip time of the TCP stream between the electronic device and the application server, the data packet loss amount between the electronic device and the application server, and the error rate of the transmitted data between the electronic device and the application server, step 220 may specifically include:
[0060] When the retransmission rate of the TCP stream in the first time period is greater than the retransmission rate threshold, determine that the transmission rate of the mobile data traffic of the electronic device is restricted;
[0061] Or, when the round-trip time of the TCP stream in the second time period is greater than the round-trip time threshold, determine that the transmission rate of the mobile data traffic of the electronic device is restricted;
[0062] Or, when the data packet loss amount between the electronic device and the application server in the third time period is greater than the packet loss amount threshold, determine that the transmission rate of the mobile data traffic of the electronic device is restricted;
[0063] Alternatively, when the proportion of the data packet loss volume between the electronic device and the application server within the fourth time period in the total transmission volume of the transmitted data is greater than the packet loss proportion threshold, it is determined that the transmission rate of the mobile data traffic of the electronic device is restricted;
[0064] Alternatively, when the bit error rate is greater than the bit error rate threshold within the fifth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is restricted;
[0065] Alternatively, when the electronic device does not receive the audio data sent by the audio application server within the sixth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is restricted.
[0066] Among them, the first time period can be any pre-set time period. Specifically, it can be a time period before each judgment on whether the mobile data traffic is speed-limited. For example, when it is necessary to judge whether the mobile data traffic is speed-limited, and the current time is 10:00 am on January 20, 2024, the first time period can be from January 1, 2024 to January 19, 2024.
[0067] The retransmission rate threshold can be the threshold of the retransmission rate of the TCP stream within the first time period set in advance. For example, the value of the retransmission rate threshold can be greater than 0.02%, such as 0.1% or 0.2%, etc. Specifically, the specific value of the retransmission rate threshold can be set according to user needs and is not limited in the embodiments of the present application.
[0068] The second time period can be any pre-set time period. Specifically, it can be a time period before each judgment on whether the mobile data traffic is speed-limited. For example, when it is necessary to judge whether the mobile data traffic is speed-limited, and the current time is 10:00 am on January 21, 2024, the second time period can be from January 1, 2024 to January 20, 2024.
[0069] The round-trip time threshold can be the threshold of the RTT of the TCP stream within the second time period set in advance. For example, the value of the round-trip time threshold can be greater than 10 ms, such as 20 ms or 15 ms, etc. Specifically, the specific value of the round-trip time threshold can be set according to user needs and is not limited in the embodiments of the present application.
[0070] The third time period can be any pre-set time period. Specifically, it can be a time period before each judgment on whether the mobile data traffic is speed-limited. For example, when it is necessary to judge whether the mobile data traffic is speed-limited, and the current time is 10:00 am on January 21, 2024, the third time period can be from 9:50 am to 9:50:01 am on January 21, 2024.
[0071] The packet loss threshold can be a pre-set threshold for the packet loss amount between the electronic device and the application server within the third time period. For example, the value of the packet loss threshold can be greater than 50, such as 60 or 70, etc. Specifically, the specific value of the packet loss threshold can be set according to user needs and is not limited in the embodiments of the present application.
[0072] The fourth time period can be any pre-set time period. Specifically, it can be a time period before each judgment on whether the mobile data traffic is throttled. For example, when it is necessary to judge whether the mobile data traffic is throttled, and the current time is 11:00 am on January 21, 2024, then the fourth time period can be from 9:52 am to 9:52:01 am on January 21, 2024.
[0073] The packet loss ratio threshold can be a pre-set threshold for the ratio of the packet loss amount between the electronic device and the application server within the fourth time period in the total transmission amount of the transmitted data. For example, the value of the packet loss ratio threshold can be greater than 1%, such as 2% or 3%, etc. The specific value of the packet loss ratio threshold can be set according to user needs and is not limited in the embodiments of the present application.
[0074] It should be noted that the ratio of the packet loss amount between the electronic device and the application server within the fourth time period in the total transmission amount of the transmitted data can be the ratio of the packet loss amount between the electronic device and the application server within the fourth time period in all the data amounts transmitted within the fourth preset time period.
[0075] In one example, taking the application server as a short video application server and the fourth time period as from 9:52 am to 9:52:01 am on January 21, 2024 as an example, if within the time period from 9:52 am to 9:52:01 am on January 21, 2024, the short video playback data cannot be displayed from 9:52:10 milliseconds to 9:52:20 milliseconds, that is, the video transmission data is lost during this time period from 9:52:10 milliseconds to 9:52:20 milliseconds. If the number of lost video transmission data is 80, and the total transmitted video data between 9:52 am and 9:52:01 am on January 21, 2024 is 5000, then the ratio of the packet loss amount between the electronic device and the short video application server within the fourth time period in the total transmission amount of the transmitted data is (80 / 5000) × 100% = 1.6%.
[0076] The fifth time period can be any pre-set time period. Specifically, it can be a time period before each determination of whether the mobile data traffic is throttled. For example, when it is necessary to determine whether the mobile data traffic is throttled, and the current time is 11:00 am on January 21, 2024, the fifth time period can be from 9:00 am to 11:00 am on January 21, 2024.
[0077] The error rate threshold can be the pre-set error rate threshold within the fifth time period. For example, the value of this error rate threshold can be greater than 10 -6 , for example, it can be 10 -5 or 10 -2 etc. Specifically, the specific value of this error rate threshold can be set by the user according to their needs and is not limited in the embodiments of this application.
[0078] The sixth time period can be any pre-set time period. Specifically, it can be a time period before each determination of whether the mobile data traffic is throttled. For example, when it is necessary to determine whether the mobile data traffic is throttled, and the current time is 11:00 am on January 21, 2024, the sixth time period can be from 10:45 am to 10:45:30 am on January 21, 2024.
[0079] It should be noted that the values of the above first time period, second time period, third time period, fourth time period, fifth time period, and sixth time period can be completely the same, completely different, or partially the same, and are not limited in the embodiments of this application.
[0080] In some embodiments of this application, when the network of the electronic device is limited to the mobile data traffic of the electronic device, if it is detected that the retransmission rate of the TCP stream within the first time period is greater than the retransmission rate threshold, it indicates that the retransmission rate of the TCP stream is relatively large within this first time period. Since the retransmission rate of the TCP stream is related to the network speed of the electronic device, it can be determined that the network speed of the electronic device is relatively low, that is, the transmission rate of the mobile data traffic of the electronic device is restricted.
[0081] If it is detected that the round-trip time of the TCP stream within the second time period is greater than the round-trip time threshold, it indicates that the round-trip time of the TCP stream is relatively large within this second time period. Since the round-trip time of the TCP stream is related to the network speed of the electronic device, it can be determined that the network speed of the electronic device is relatively low, that is, the transmission rate of the mobile data traffic of the electronic device is restricted.
[0082] If it is detected that the data packet loss volume between the electronic device and the application server within the third time period is greater than the packet loss volume threshold, it indicates that the data packet loss volume between the electronic device and the application server is large within this third time period. Since the data packet loss volume between the electronic device and the application server is related to the network speed of the electronic device, it can be determined that the network speed of the electronic device is low, that is, the transmission rate of the mobile data traffic of the electronic device is restricted.
[0083] If it is detected that the proportion of the data packet loss volume between the electronic device and the application server in the total transmission volume of the transmitted data within the fourth time period is greater than the data packet loss volume threshold, it indicates that the data packet loss volume between the electronic device and the application server is large within this fourth time period. Since the data packet loss volume between the electronic device and the application server is related to the network speed of the electronic device, it can be determined that the network speed of the electronic device is low, that is, the transmission rate of the mobile data traffic of the electronic device is restricted.
[0084] If it is detected that the error code rate of the transmitted data between the electronic device and the application server within the fifth time period is greater than the error code rate threshold, it indicates that the data error code rate between the electronic device and the application server is large within this fifth time period. Since the data transmission error code rate between the electronic device and the application server is related to the network speed of the electronic device, it can be determined that the network speed of the electronic device is low, that is, the transmission rate of the mobile data traffic of the electronic device is restricted.
[0085] If it is detected that the electronic device does not receive the audio data sent by the audio application server within the sixth time period, since the transmission of the audio data between the electronic device and the audio application server depends on the transmission rate of the mobile data traffic, then when the electronic device does not receive the audio data sent by the audio application server within a certain time period, it can be determined that the network speed of the electronic device is low, that is, the transmission rate of the mobile data traffic of the electronic device is restricted.
[0086] In some embodiments of the present application, in the case where the electronic device cannot obtain the speed limit reminder message of the mobile data traffic sent by the operator, the transmission rate of the mobile data traffic of the electronic device can be detected by detecting service-level data transmission information such as the retransmission rate of the TCP stream between the electronic device and the application server, the round-trip time of the TCP stream between the electronic device and the application server, the lost data packet loss volume between the electronic device and the application server, the error code rate of the transmitted data between the electronic device and the application server, and the voice data reception status between the electronic device and the audio application server. In this way, in the case where the electronic device cannot obtain the speed limit reminder message of the mobile data traffic sent by the operator, the transmission rate of the mobile data traffic of the electronic device can still be detected to determine whether the mobile data traffic of the electronic device is speed-limited, further improving the flexibility of determining whether the mobile data traffic of the electronic device is speed-limited.
[0087] In some embodiments of the present application, to facilitate the user's awareness that the transmission rate of the mobile data traffic of the electronic device is restricted, after step 220, the method described above may further include:
[0088] Display a mobile data traffic speed limit prompt message.
[0089] Among them, the mobile data traffic speed limit prompt message is used to prompt that the transmission rate of the mobile data traffic of the electronic device is restricted.
[0090] In some embodiments of the present application, after determining whether the mobile data traffic of the electronic device is speed-limited, a mobile data traffic speed limit prompt message can be directly displayed on the electronic device. The mobile data traffic speed limit prompt message can be used to prompt the user that the transmission rate of the mobile data traffic of the electronic device is restricted, so that the user can promptly know that the transmission rate of the mobile data traffic of the electronic device is restricted, and then can take corresponding measures in time to avoid business lags caused by the mobile data traffic being speed-limited. For example, the user can be reminded to recharge the mobile data traffic in time, etc.
[0091] It should be noted that when displaying the mobile data traffic speed limit prompt message, it can be displayed in the form of a pop-up window on the desktop of the electronic device, or can be displayed in the notification bar of the electronic device, or can be displayed in other forms, which is not limited in the embodiments of the present application.
[0092] In addition, when displaying the mobile data traffic speed limit prompt message, the specific display content of the mobile data traffic speed limit prompt message can be "Your mobile data traffic is speed-limited", or can be "Your mobile data traffic is speed-limited, please recharge as soon as possible", etc., which is not limited in the embodiments of the present application.
[0093] In the embodiments of the present application, through the intuitive display method of the mobile data traffic speed limit prompt message, it is convenient for the user to know that the transmission rate of the mobile data traffic of the electronic device is restricted, and then the user can take corresponding measures in time to avoid application service lags caused by the mobile data traffic being speed-limited.
[0094] In some embodiments of the present application, in order to avoid disturbing the user with excessive reminders while facilitating the user to promptly know that the transmission rate of the mobile data traffic of the electronic device is restricted, the display of the mobile data traffic speed limit prompt message may specifically include:
[0095] When the total number of speed limit reminder times within the seventh time period is less than the number threshold, display the mobile data traffic speed limit prompt message.
[0096] Among them, the seventh time period can be a pre-set time period before each judgment on whether the mobile data traffic is speed-limited. For example, when it is necessary to judge whether the mobile data traffic is speed-limited and the current time is 11:00 am on January 21, 2024, the seventh time period can be from January 1, 2024 to January 20, 2024. The specific value of this seventh time period can be set by the user according to their needs and is not limited in the embodiments of this application.
[0097] The total number of speed-limiting reminders can be the total number of reminder messages received by the electronic device within the seventh time period, which prompt that the transmission rate of the mobile data traffic of the electronic device is limited. For example, the value range of the total number of speed-limiting reminders can be 20 - 30 times. The specific value of the total number of speed-limiting reminders can be 25 times or 28 times. The specific value of the total number of speed-limiting reminders is not limited in the embodiments of this application.
[0098] The number threshold can be a pre-set threshold for the total number of speed-limiting reminders. The value range of this number threshold can be 25 - 30. For example, the number threshold can be set to 30 times. The specific value of this number threshold can be set by the user according to their needs and is not limited in the embodiments of this application.
[0099] In some embodiments of this application, before displaying the mobile data traffic speed-limiting reminder message, it can first be judged the total number of times the mobile data traffic speed-limiting reminder message is displayed within the seventh time period, that is, within the seventh time period, the total number of reminder messages received by the electronic device, which prompt that the transmission rate of the mobile data traffic of the electronic device is limited. If within the seventh time period, the total number of reminder messages received by the electronic device, which prompt that the transmission rate of the mobile data traffic of the electronic device is limited, is less than the number threshold, it indicates that the number of times of reminding the user that the mobile data traffic is speed-limited is not too frequent, and the mobile data traffic speed-limiting reminder message can be displayed to remind the user again that the mobile data traffic of the electronic device is speed-limited.
[0100] If within the seventh time period, the total number of reminder messages received by the electronic device, which prompt that the transmission rate of the mobile data traffic of the electronic device is limited, is greater than or equal to the number threshold, it indicates that the number of times of displaying the speed-limiting reminder message of the mobile data traffic is relatively large. At this time, there is no need to remind the user again that the mobile data traffic of the electronic device is speed-limited, and the mobile data traffic speed-limiting reminder message can not be displayed, so as to avoid excessively reminding the user that the mobile data traffic of the electronic device is speed-limited and causing trouble to the user.
[0101] In an embodiment of the present application, when the total number of speed limit reminder times within the seventh time period is less than the number threshold, mobile data traffic speed limit reminder information can be displayed. In this way, within the seventh time period, when the total number of speed limit reminder times is small, the mobile data traffic speed limit reminder information is displayed, avoiding excessive reminders to cause trouble to the user, while increasing the number of times to remind the user of the mobile data traffic speed limit, enabling the user to promptly know that the transmission rate of the mobile data traffic of the electronic device is restricted, and then the user can take corresponding measures in time to avoid application service lags caused by the mobile data traffic being speed limited.
[0102] In some embodiments of the present application, in order to avoid frequent reminders to the user and cause trouble to the user, when the total number of speed limit reminder times within the seventh time period is less than the number threshold, displaying the mobile data traffic speed limit reminder information may specifically include:
[0103] When the total number of speed limit reminder times within the seventh time period is less than the number threshold and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, display the mobile data traffic speed limit reminder information.
[0104] Among them, the last display can be the adjacent display of the mobile data traffic speed limit reminder information before the current display of the mobile data traffic speed limit reminder information.
[0105] In an example, taking the time when it is determined whether the mobile data traffic of the electronic device is speed limited as 11:00 am on January 21, 2024, the display time of the adjacent mobile data traffic speed limit reminder information before this is 8:00 am on January 20, 2024, then the time of the last display is 8:00 am on January 20, 2024.
[0106] The time interval can be the time elapsed between the current display of the mobile data traffic speed limit reminder information and the last display of the mobile data traffic speed limit reminder information.
[0107] Continuing with the above example, the time of the current display of the mobile data traffic speed limit reminder information is 11:00 am on January 21, 2024, and the time of the last display of the mobile data traffic speed limit reminder information is 8:00 am on January 20, 2024, then the time interval is 1 day and 3 hours.
[0108] The time interval threshold can be a preset threshold for the time interval between the current display of the mobile data traffic speed limit reminder information and the last display of the mobile data traffic speed limit reminder information. For example, the value range of this time interval threshold can be 20 - 24 hours, and the specific value of the time interval threshold can be 24 hours. Specifically, the value of this time interval threshold can be set according to user needs and is not limited in the embodiments of the present application.
[0109] In some embodiments of the present application, when the total number of speed limit reminder times within the seventh time period is less than the number threshold, the time interval since the last display of the mobile data traffic speed limit reminder information can be judged. If this time interval is greater than the time interval threshold, it means that a relatively long time has passed since the last reminder to the user about the mobile data traffic speed limit. At this time, the mobile data traffic speed limit reminder information can be displayed to timely remind the user that the mobile data traffic is speed limited.
[0110] If the time interval since the last display of the mobile data traffic speed limit reminder information is less than or equal to the time interval threshold, it means that not much time has passed since the last reminder to the user about the mobile data traffic speed limit. To avoid disturbing the user with frequent reminders, the mobile data traffic speed limit reminder information may not be displayed at this time.
[0111] In some embodiments of the present application, when the total number of speed limit reminder times within the seventh time period is less than the number threshold and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, the mobile data traffic speed limit reminder information can be displayed. This can avoid disturbing the user with frequent reminders about the mobile data traffic speed limit.
[0112] In some embodiments of the present application, when the total number of speed limit reminder times within the seventh time period is less than the number threshold and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, it cannot be completely determined that the application service lags because the mobile data traffic is speed limited. There may be other reasons. For example, the AMBR value configured by the core network device for the electronic device before may be less than the bit rate threshold. However, after the user recharges the mobile data traffic later, the core network device reconfigures the AMBR value for the electronic device, but the electronic device side does not update the AMBR value in time, resulting in the transmission rate of the mobile data traffic of the electronic device not being updated in time. As a result, the data transmitted between the electronic device and the application server still uses the transmission rate before the mobile data traffic recharge, causing the application service in the single device to still lag.
[0113] Since the AMBR value obtained from the air interface signaling or TCP is generally lower than the bit rate threshold after the mobile data traffic is throttled, and the AMBR value generally does not change within a certain time range after it is lower than the bit rate threshold. That is, after the AMBR value is lower than the bit rate threshold, it is generally difficult for the electronic device to return to the AMBR value range initially configured by the core network device for the electronic device within a certain time. For example, it is difficult for the AMBR value to return to the AMBR value range initially configured by the core network device for the electronic device within the current month. This is because the core network device will reconfigure the mobile data traffic for the electronic device next month, and the AMBR value will return to the network configuration range (25 - 30 Mbps) for normal use of the application service.
[0114] Therefore, after initially determining that the AMBR value is less than the bit rate threshold, if the transmission rate of the mobile data traffic of the electronic device is determined again based on the AMBR value, it is necessary to make a judgment again after one month. This results in too long a judgment time for whether the transmission rate of the mobile data traffic is restricted, and the purpose of timely determining whether the transmission rate of the mobile data traffic is restricted cannot be achieved.
[0115] To solve the above problems, when the total number of throttling reminder times in the seventh time period is less than the number threshold and the time interval since the last display of the mobile data traffic throttling prompt message is greater than the time interval threshold, display the mobile data traffic throttling prompt message. Specifically, it may include:
[0116] When the total number of throttling reminder times in the seventh time period is less than the number threshold and the time interval since the last display of the mobile data traffic throttling prompt message is greater than the time interval threshold, re - establish the connection of the mobile network between the electronic device and the core network device to update the AMBR value and obtain the updated AMBR value;
[0117] When the updated AMBR value is less than the bit rate threshold, display the mobile data traffic throttling prompt message.
[0118] In some embodiments of the present application, when the total number of throttling reminder times in the seventh time period is less than the number threshold and the time interval since the last display of the mobile data traffic throttling prompt message is greater than the time interval threshold, the connection of the mobile network between the electronic device and the core network device can be re - established. In this way, the AMBR value can be updated to obtain the updated AMBR value, and then it is judged whether the updated AMBR value is still less than the bit rate threshold. When the updated AMBR value is still less than the bit rate threshold, it can be further determined that the application service lags because the mobile data traffic is throttled, that is, it can be further determined that the mobile data traffic is throttled at this time, and the mobile data traffic throttling prompt message can be displayed at this time.
[0119] In some embodiments of the present application, when the total number of speed limit reminders within the seventh time period is less than the number threshold, and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, by re - establishing the connection of the mobile network between the electronic device and the core network device, the AMBR value can be updated to obtain the updated AMBR value. When the updated AMBR value is still less than the bit rate threshold, it can be determined that the mobile data traffic is speed - limited, and thus the mobile data traffic speed limit reminder information can be displayed. In this way, it can be further determined whether the mobile data traffic is speed - limited, improving the accuracy of determining the mobile data traffic speed limit.
[0120] In some embodiments of the present application, it is also possible not to re - establish the connection of the mobile network between the electronic device and the core network device to update the AMBR value. That is, without updating the AMBR value, it is also possible to further determine whether the mobile data traffic is speed - limited by other means. Specifically, it can be to let the electronic device access other base stations and determine whether the application service still lags. When the electronic device accesses other base stations and the application service still has lag problems, it can be determined that the mobile data traffic is speed - limited. For example, when the user holds the electronic device at home and the application service has lag problems, if the user takes the electronic device to other places far from home, such as a shopping mall, and the application service still has lag problems, it can be determined that the mobile data traffic is indeed speed - limited, that is, the lag of the application service is caused by the speed - limitation of the mobile data traffic.
[0121] In some embodiments of the present application, in order to re - establish the connection of the mobile network between the electronic device and the core network end without affecting the user's use of the electronic device, when the total number of speed limit reminders within the seventh time period is less than the number threshold, and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, re - establishing the connection of the mobile network between the electronic device and the core network device may specifically include:
[0122] When the total number of speed limit reminders within the seventh time period is less than the number threshold, the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the interval threshold, and the electronic device meets the mobile network reconstruction conditions, re - establish the connection of the mobile network between the electronic device and the core network end.
[0123] Among them, the mobile network reconstruction conditions can be the conditions that need to be met for re - establishing the connection of the mobile network between the electronic device and the core network device set in advance. The above - mentioned mobile network reconstruction conditions may include any one of the following:
[0124] The screen of the electronic device is in the off - screen state and the electronic device has not received any user operations within the eighth time period;
[0125] The mobile network connection status of the electronic device is in a disconnected state;
[0126] The overall power consumption of the electronic device is less than the power consumption threshold.
[0127] The above-mentioned eighth time period can be a pre-set time period before each judgment on whether the mobile data traffic is throttled. For example, when it is necessary to judge whether the mobile data traffic is throttled, and the current time is 11:00 am on January 21, 2024, the eighth preset time period can be from 10:30 am to 11:00 am on January 21, 2024. The specific value of this eighth time period can be set by the user according to their needs and is not limited in the embodiments of the present application.
[0128] The power consumption threshold can be a pre-set threshold for the overall power consumption of the electronic device. When the overall power consumption of the electronic device is less than this power consumption threshold, it can be determined that the electronic device is in the deep sleep mode. The value range of this power consumption threshold can be less than 1.1 μA / MHz, and the specific value of the power consumption threshold can be 0.8 μA / MHz. The specific value of the power consumption threshold is not limited in the embodiments of the present application.
[0129] In some embodiments of the present application, when re-establishing the mobile network connection between the electronic device and the core network device, it is executed while minimizing the impact on the user's use. For example, it can be executed when the screen of the electronic device is in the off state and the electronic device has not received any user operations within the eighth time period. This is because if the screen of the electronic device is in the off state and the electronic device has not received any user operations within the eighth time period, it means that the user is not using the electronic device at this time, and re-establishing the mobile network connection between the electronic device and the core network device at this time will not affect the user's use of the electronic device.
[0130] It can also be established when the mobile network connection status of the electronic device is in a disconnected state. If the mobile network connection status of the electronic device is in a disconnected state, it means that the electronic device is not connected to the mobile network at this time, and the network connection of the electronic device can be re-established.
[0131] It can also be established when the overall power consumption of the electronic device is less than the power consumption threshold. If the overall power consumption of the electronic device is less than the power consumption threshold, it means that the usage frequency of the electronic device is not high at this time, and the mobile network connection between the electronic device and the core network device can also be re-established at this time.
[0132] In some embodiments of the present application, re-establishing the connection of the mobile data traffic between the electronic device and the core network device can be specifically achieved through the following methods:
[0133] Restart the mobile network control that reflects the mobile network connection status in the electronic device, or restart the flight mode control in the electronic device. The above restarting of the mobile network control that reflects the mobile network connection status in the electronic device, or restarting the flight mode control in the electronic device, can be actively executed by the electronic device or executed in response to a user operation. Specifically, whether it is actively executed by the electronic device or executed in response to a user operation can be set according to user needs and is not limited in the embodiments of this application.
[0134] In the embodiments of this application, a mobile network connection between the electronic device and the core network device is re-established without the user's awareness, so as not to affect the user's use of the electronic device.
[0135] In some embodiments of this application, in order to enable the user to view the mobile data traffic speed limit prompt information in a timely manner, the displaying of the mobile data traffic speed limit prompt information may specifically include:
[0136] When the screen state of the electronic device is the lit screen state, display the mobile data traffic speed limit prompt information;
[0137] Or, when it is detected that the program interface of the application receives a user operation, display the mobile data traffic speed limit prompt information in the program interface.
[0138] Among them, the above application can be an application in the electronic device whose usage frequency by the user is greater than the usage frequency threshold.
[0139] The usage frequency threshold can be a pre-set threshold of the user's usage frequency. For example, the value range of the usage frequency threshold can be once every 3 - 4 hours. For example, the usage frequency threshold can be once every 3 hours. Specifically, the value of this usage frequency threshold can be set according to user needs and is not limited in the embodiments of this application.
[0140] In some embodiments of this application, in order to ensure that the user can see the mobile data traffic speed limit prompt information in a timely manner, the mobile data traffic speed limit prompt information can be displayed when it is detected that the screen state of the electronic device is in the lit screen state. Because when the screen state of the electronic device is in the lit screen state, it means that the electronic device is being used at this time. Therefore, when the mobile data traffic speed limit prompt information is displayed at this time, the user can view it in a timely manner.
[0141] It may also be that when a user operation is received on the program interface of an application whose usage frequency detected by the user is greater than the usage frequency threshold, a mobile data traffic speed limit prompt message is displayed on the program interface of the application. This is because if the usage frequency of a certain application by the user is greater than the usage frequency threshold, it means that the user often uses this application. Therefore, by reminding the user on the program interface of this application that the mobile data traffic is speed-limited, the user can view the mobile data traffic speed limit prompt message in a timely manner.
[0142] In an embodiment of the present application, when the screen state of the electronic device is the lit screen state, a mobile data traffic speed limit prompt message is displayed. Alternatively, when a user operation is received on the program interface of an application whose usage frequency detected by the user is greater than the usage frequency threshold, a mobile data traffic speed limit prompt message can be displayed on the program interface of this application. In this way, it is convenient for the user to view the mobile data traffic speed limit prompt message in a timely manner.
[0143] To enable the user to better understand the solution of the embodiment of the present application, the solution of the embodiment of the present application will be introduced below with a specific scenario.
[0144] As Figure 2 shown, the mobile data traffic transmission rate detection method provided by the embodiment of the present application may include steps 1-step 12.
[0145] Step 1: Determine whether the AMBR value configured by the core network device for the electronic device is less than the bit rate threshold. If so, execute Step 2; if not, end the process.
[0146] Step 2: Determine whether the electronic device has received a data traffic speed limit reminder text message. If so, execute Step 3; if not, execute Step 4.
[0147] Step 3: Display a mobile data traffic speed limit prompt message.
[0148] When it is determined that the electronic device has received a data traffic speed limit reminder text message, as in the process of steps 110-step 140 of the prior art solution, it can be determined that the mobile data traffic of the electronic device is speed-limited, and thus a mobile data traffic speed limit prompt message can be directly displayed.
[0149] Step 4: Obtain the data transmission information between the electronic device and the application server.
[0150] In Step 4, when the aggregated maximum bit rate value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device has not received a data traffic speed limit reminder text message, the data transmission information between the electronic device and the application server can be obtained, which is the process of step 210 above.
[0151] Step 5: Determine whether the data transmission information meets the speed limit reminder condition. If yes, execute Step 6; if no, end the process.
[0152] In Step 5, determining whether the data transmission information meets the speed limit reminder condition may include:
[0153] Determine whether the retransmission rate of the TCP flow in the first time period is greater than the retransmission rate threshold; or, determine whether the round-trip time of the TCP flow in the second time period is greater than the round-trip time threshold; or, determine whether the data packet loss amount between the electronic device and the application server in the third time period is greater than the packet loss amount threshold; or, determine whether the proportion of the data packet loss amount between the electronic device and the application server in the total transmission amount of the transmitted data in the fourth time period is greater than the packet loss proportion threshold; or, determine whether the bit error rate in the fifth time period is greater than the bit error rate threshold; or, determine whether the electronic device has received the audio data sent by the audio application server in the sixth time period.
[0154] In Step 5, when the retransmission rate of the TCP flow in the first time period is greater than the retransmission rate threshold, execute Step 6; or, when the round-trip time of the TCP flow in the second time period is greater than the round-trip time threshold, execute Step 6; or, when the data packet loss amount between the electronic device and the application server in the third time period is greater than the packet loss amount threshold, execute Step 6; or, when the proportion of the data packet loss amount between the electronic device and the application server in the total transmission amount of the transmitted data in the fourth time period is greater than the packet loss proportion threshold, execute Step 6; or, when the bit error rate in the fifth time period is greater than the bit error rate threshold, execute Step 6; or, when the electronic device has not received the audio data sent by the audio application server in the sixth time period, execute Step 6.
[0155] Step 6: Obtain the total number of speed limit reminders in the seventh time period.
[0156] Step 7: Determine whether the total number of speed limit reminders in the seventh time period is less than the number threshold. If yes, execute Step 9; if no, end the process.
[0157] Step 8: Determine whether the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold. If yes, execute Step 9; if no, end the process.
[0158] Step 9: Re-establish the mobile network connection between the electronic device and the core network device to update the AMBR value and obtain the updated AMBR value.
[0159] Step 10: Determine whether the updated AMBR value is less than the bit rate threshold. If yes, execute Step 11; if no, end the process.
[0160] Step 11: Determine whether the screen state of the electronic device is the screen-on state. If so, execute Step 3; if not, end the process.
[0161] Steps 5 - 11 above are the steps in the above embodiment. When the data transmission information meets the speed limit reminder condition, if the total number of speed limit reminders within the seventh time period is less than the number threshold, and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, and when the electronic device meets the mobile network reconstruction condition, re - establish the mobile network connection between the electronic device and the core network end to update the AMBR value, and obtain the updated AMBR value. When the updated AMBR value is still less than the bit rate threshold, the mobile data traffic speed limit reminder information can be displayed.
[0162] When displaying the mobile data traffic speed limit reminder information, it can be determined whether the screen state of the electronic device is the screen - on state. If it is the screen - on state, it means that the electronic device is being used, and the mobile data traffic speed limit reminder information can be displayed, so that the user can view the mobile data traffic speed limit reminder information in time.
[0163] In the mobile data traffic transmission rate detection method provided by the embodiments of the present application, the execution subject can be a mobile data traffic transmission rate detection device. In the embodiments of the present application, taking the mobile data traffic transmission rate detection device as an example to execute the mobile data traffic transmission rate detection method, the mobile data traffic transmission rate detection device provided by the embodiments of the present application is described.
[0164] Figure 3 It is a schematic structural diagram of a mobile data traffic transmission rate detection device shown according to an exemplary embodiment. The mobile data traffic transmission rate detection device can be applied to an electronic device. As Figure 3 shown, the mobile data traffic transmission rate detection device 400 may include:
[0165] An acquisition module 410, configured to obtain data transmission information between the electronic device and the application server when the aggregated maximum bit rate AMBR value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device has not received a data traffic speed limit reminder text message, where the data transmission information includes data transmission parameters or data transmission status;
[0166] A detection module 420, configured to determine that the transmission rate of the mobile data traffic of the electronic device is restricted when the data transmission information meets the speed limit reminder condition.
[0167] In an embodiment of the present application, when the aggregated maximum bit rate value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device has not received a data traffic speed limit reminder message, the transmission rate of the mobile data traffic of the electronic device can be determined by obtaining the data transmission information between the electronic device and the application server. In this way, when the electronic device cannot obtain the speed limit reminder message of the mobile data traffic sent by the operator, the mobile data traffic of the electronic device can still be detected whether it is speed limited through the data transmission information between the electronic device and the application server, improving the accuracy and flexibility of determining whether the mobile data traffic of the electronic device is speed limited.
[0168] In some embodiments of the present application, the data transmission state includes: the voice data reception state between the electronic device and the audio application server;
[0169] The data transmission parameters include at least one of the following: the retransmission rate of the Transmission Control Protocol (TCP) stream between the electronic device and the application server, the round-trip time of the TCP stream between the electronic device and the application server, the data packet loss amount between the electronic device and the application server, and the error rate of the transmitted data between the electronic device and the application server;
[0170] The detection module 420 is specifically configured to:
[0171] When the retransmission rate of the TCP stream is greater than the retransmission rate threshold within the first time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited;
[0172] Or, when the round-trip time of the TCP stream is greater than the round-trip time threshold within the second time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited;
[0173] Or, when the data packet loss amount between the electronic device and the application server is greater than the packet loss amount threshold within the third time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited;
[0174] Or, when the ratio of the data packet loss amount between the electronic device and the application server to the total transmission amount of the transmitted data is greater than the packet loss ratio threshold within the fourth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited;
[0175] Or, when the error rate is greater than the error rate threshold within the fifth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited;
[0176] Alternatively, in the case that the electronic device does not receive the audio data sent by the audio application server within the sixth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is restricted.
[0177] In some embodiments of the present application, the above-mentioned device may further include:
[0178] A display module, configured to display a mobile data traffic speed limit prompt message after it is determined that the transmission rate of the mobile data traffic of the electronic device is restricted, where the mobile data traffic speed limit prompt message is used to prompt that the transmission rate of the mobile data traffic of the electronic device is restricted.
[0179] In some embodiments of the present application, the display module is specifically configured to: display a mobile data traffic speed limit prompt message when the total number of speed limit reminder times within the seventh time period is less than the number threshold.
[0180] In some embodiments of the present application, the display module is specifically configured to: display a mobile data traffic speed limit prompt message when the total number of speed limit reminder times within the seventh time period is less than the number threshold and the time interval from the last display of the mobile data traffic speed limit prompt message is greater than the time interval threshold;
[0181] wherein the last display is the previous and adjacent display of the mobile data traffic speed limit prompt message before the current display of the mobile data traffic speed limit prompt message.
[0182] In some embodiments of the present application, the display module is specifically configured to:
[0183] When the total number of speed limit reminder times within the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit prompt message is greater than the time interval threshold, re - establish the mobile network connection between the electronic device and the core network device to update the AMBR value and obtain the updated AMBR value;
[0184] When the updated AMBR value is less than the bit rate threshold, display a mobile data traffic speed limit prompt message.
[0185] In some embodiments of the present application, the display module is specifically configured to:
[0186] When the total number of speed limit reminder times within the seventh time period is less than the number threshold, the time interval from the last display of the mobile data traffic speed limit prompt message is greater than the interval threshold, and the electronic device meets the mobile network reconstruction condition, re - establish the mobile network connection between the electronic device and the core network end;
[0187] The mobile network reconstruction condition includes any one of the following:
[0188] The screen of the electronic device is in the off - screen state and the electronic device does not receive any user operation during the eighth time period;
[0189] The mobile network connection state of the electronic device is in a disconnected state;
[0190] The overall power consumption of the electronic device is less than the power consumption threshold.
[0191] In some embodiments of the present application, the display module is specifically configured to:
[0192] When the screen state of the electronic device is in the on - screen state, display mobile data traffic speed - limit prompt information;
[0193] Alternatively, when it is detected that the program interface of an application receives a user operation, in the program interface, display mobile data traffic speed - limit prompt information, where the application is an application in the electronic device with a user usage frequency greater than the usage frequency threshold.
[0194] The mobile data traffic transmission rate detection device in the embodiments of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than terminals. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle - mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra - mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and can also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self - service machine, etc. The embodiments of the present application do not make specific limitations.
[0195] The mobile data traffic transmission rate detection device in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.
[0196] The mobile data traffic transmission rate detection device provided by the embodiments of the present application can implement Figure 2 each process implemented by the method embodiments. To avoid repetition, it will not be elaborated here.
[0197] Optionally, as Figure 4 shown, the embodiments of the present application further provide an electronic device 500, including a processor 501 and a memory 502. A program or instruction that can run on the processor 501 is stored on the memory 502. When the program or instruction is executed by the processor 501, it implements each step of the above-mentioned mobile data traffic speed limit determination method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0198] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0199] Figure 5 It is a schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.
[0200] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc.
[0201] Those skilled in the art can understand that the electronic device 600 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 610 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 5 The structure of the electronic device shown in
[0202] does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0203] Thus, when the aggregated maximum bitrate value configured by the core network device for the electronic device is less than the bitrate threshold and the electronic device has not received a data traffic speed limit reminder message, the transmission rate of the mobile data traffic of the electronic device can be determined by obtaining the data transmission information between the electronic device and the application server. Thus, when the electronic device cannot obtain the speed limit reminder message of the mobile data traffic sent by the operator, the mobile data traffic of the electronic device can still be detected for speed limit through the data transmission information between the electronic device and the application server, improving the accuracy and flexibility of determining whether the mobile data traffic of the electronic device is speed limited.
[0204] Optionally, the data transmission state includes: the voice data reception state between the electronic device and the audio application server; the data transmission parameters include at least one of the following: the retransmission rate of the Transmission Control Protocol (TCP) flow between the electronic device and the application server, the round-trip time of the TCP flow between the electronic device and the application server, the data packet loss amount between the electronic device and the application server, the bit error rate of the transmitted data between the electronic device and the application server;
[0205] The processor 610 is further configured to determine that the transmission rate of the mobile data traffic of the electronic device is limited when the retransmission rate of the TCP flow is greater than the retransmission rate threshold within the first time period; or, determine that the transmission rate of the mobile data traffic of the electronic device is limited when the round-trip time of the TCP flow is greater than the round-trip time threshold within the second time period; or, determine that the transmission rate of the mobile data traffic of the electronic device is limited when the data packet loss amount between the electronic device and the application server is greater than the packet loss amount threshold within the third time period; or, determine that the transmission rate of the mobile data traffic of the electronic device is limited when the proportion of the data packet loss amount between the electronic device and the application server in the total transmission amount of the transmitted data is greater than the packet loss proportion threshold within the fourth time period; or, determine that the transmission rate of the mobile data traffic of the electronic device is limited when the bit error rate is greater than the bit error rate threshold within the fifth time period; or, determine that the transmission rate of the mobile data traffic of the electronic device is limited when the electronic device does not receive the audio data sent by the audio application server within the sixth time period.
[0206] Thus, in the case where the electronic device cannot obtain the speed limit reminder message of the mobile data traffic sent by the operator, it is possible to detect whether the mobile data traffic of the electronic device is speed-limited by detecting service-level data transmission information such as the retransmission rate of the TCP stream between the electronic device and the application server, the round-trip time of the TCP stream between the electronic device and the application server, the amount of lost data packets between the electronic device and the application server, the error rate of the transmitted data between the electronic device and the application server, and the voice data reception status between the electronic device and the audio application server. Thus, in the case where the electronic device cannot obtain the speed limit reminder message of the mobile data traffic sent by the operator, the transmission rate of the mobile data traffic of the electronic device can still be detected to determine whether the mobile data traffic of the electronic device is speed-limited, further improving the flexibility of determining whether the mobile data traffic of the electronic device is speed-limited.
[0207] Optionally, the display unit 606 is configured to display a mobile data traffic speed limit reminder message, where the mobile data traffic speed limit reminder message is used to remind that the transmission rate of the mobile data traffic of the electronic device is limited.
[0208] Thus, through the intuitive display method of the mobile data traffic speed limit reminder message, it is convenient for the user to know that the transmission rate of the mobile data traffic of the electronic device is limited, and then the user can take corresponding measures in time to avoid application service jams caused by the speed limit of the mobile data traffic.
[0209] Optionally, the display unit 606 is further configured to display a mobile data traffic speed limit reminder message when the total number of speed limit reminders within the seventh time period is less than the number threshold.
[0210] Thus, when the total number of speed limit reminders within the seventh time period is less than the number threshold, a mobile data traffic speed limit reminder message can be displayed. Thus, within the seventh time period, when the total number of speed limit reminders is small, a mobile data traffic speed limit reminder message is displayed to avoid disturbing the user with too many reminders, and at the same time increase the number of times to remind the user of the mobile data traffic speed limit, which can facilitate the user to know in time that the transmission rate of the mobile data traffic of the electronic device is limited, and then the user can take corresponding measures in time to avoid application service jams caused by the speed limit of the mobile data traffic.
[0211] Optionally, the display unit 606 is further configured to display a mobile data traffic speed limit reminder message when the total number of speed limit reminders within the seventh time period is less than the number threshold and the time interval from the last display of the mobile data traffic speed limit reminder message is greater than the time interval threshold; where the last display is the previous and adjacent display of the mobile data traffic speed limit reminder message before the current display of the mobile data traffic speed limit reminder message.
[0212] In this way, when the total number of speed limit reminders within the seventh time period is less than the number threshold, and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, the mobile data traffic speed limit reminder information can be displayed, thus avoiding frequent reminders to the user about the mobile data traffic speed limit and causing trouble to the user.
[0213] Optionally, the display unit 606 is further configured to, when the total number of speed limit reminders within the seventh time period is less than the number threshold, and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, re - establish the mobile network connection between the electronic device and the core network device to update the AMBR value and obtain an updated AMBR value; and when the updated AMBR value is less than the bit rate threshold, display the mobile data traffic speed limit reminder information.
[0214] In this way, when the total number of speed limit reminders within the seventh time period is less than the number threshold, and the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, by re - establishing the connection of the mobile network between the electronic device and the core network device, the AMBR value can be updated to obtain an updated AMBR value. When the updated AMBR value is still less than the bit rate threshold, it can be determined that the mobile data traffic is speed - limited, and thus the mobile data traffic speed limit reminder information can be displayed. In this way, it can be further clarified whether the mobile data traffic is speed - limited, improving the accuracy of determining the mobile data traffic speed limit.
[0215] Optionally, the display unit 606 is further configured to, when the total number of speed limit reminders within the seventh time period is less than the number threshold, the time interval since the last display of the mobile data traffic speed limit reminder information is greater than the interval threshold, and the electronic device meets the mobile network reconstruction condition, re - establish the mobile network connection between the electronic device and the core network end; the mobile network reconstruction condition includes any one of the following: the screen of the electronic device is in the off - screen state and the electronic device has not received a user operation within the eighth time period; the mobile network connection state of the electronic device is in the unconnected state; the overall power consumption of the electronic device is less than the power consumption threshold.
[0216] In this way, the mobile network connection between the electronic device and the core network device is re - established without the user's awareness, thus not affecting the user's use of the electronic device.
[0217] Optionally, the display unit 606 is further configured to display mobile data traffic speed limit prompt information when the screen state of the electronic device is the screen-on state; or, when it is detected that the program interface of an application has received a user operation, display the mobile data traffic speed limit prompt information in the program interface, where the application is an application in the electronic device with a usage frequency greater than a usage frequency threshold.
[0218] In this way, when the screen state of the electronic device is the screen-on state, the mobile data traffic speed limit prompt information is displayed, or when it is detected that the program interface of an application with a usage frequency greater than the usage frequency threshold has received a user operation, the mobile data traffic speed limit prompt information can be displayed in the program interface of the application, so that the user can conveniently view the mobile data traffic speed limit prompt information in a timely manner.
[0219] It should be understood that in the embodiment of the present application, the input unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042. The graphics processor 6041 processes the image data of static pictures or videos obtained by an image capture device (such as a color camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. The other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here.
[0220] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both a volatile and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 609 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memories.
[0221] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 610 either.
[0222] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above embodiments of the mobile data traffic transmission rate detection method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0223] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs, etc.
[0224] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above embodiment of the mobile data traffic transmission rate detection method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0225] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.
[0226] The embodiments of the present application provide a computer program product. The program product is stored in a storage medium and is executed by at least one processor to implement each process of the above embodiment of the mobile data traffic transmission rate detection method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0227] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0228] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0229] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.
Claims
1. A method for detecting a mobile data flow transmission rate, characterized in that: The method comprises: When the aggregate maximum bit rate AMBR value configured by the core network device for the electronic device is less than the bit rate threshold, and the electronic device has not received a data traffic speed limit reminder SMS, obtaining data transmission information between the electronic device and the application server, wherein the data transmission information includes data transmission parameters or data transmission status; When the data transmission information satisfies the speed limit reminder condition, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited.
2. The method according to claim 1, characterized in that The data transmission status includes: the sound data receiving status between the electronic device and the audio application server; The data transmission parameter includes at least one of the following: a retransmission rate of a transmission control protocol TCP stream between the electronic device and the application server, a round trip time of a TCP stream between the electronic device and the application server, a data packet loss amount between the electronic device and the application server, and a bit error rate of transmission data between the electronic device and the application server; When the data transmission information satisfies the speed limit reminder condition, determining that the transmission rate of the mobile data traffic of the electronic device is limited includes: When the retransmission rate of the TCP stream in the first time period is greater than the retransmission rate threshold, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the round-trip time of the TCP flow in the second time period is greater than the round-trip time threshold, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the amount of data packet loss between the electronic device and the application server in the third time period is greater than a packet loss amount threshold, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the proportion of the amount of data packet loss between the electronic device and the application server in the total amount of transmitted data in the fourth time period is greater than a packet loss proportion threshold, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the bit error rate is greater than the bit error rate threshold in the fifth time period, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the electronic device does not receive the audio data sent by the audio application server within the sixth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited.
3. The method according to claim 1, characterized in that After determining that the transmission rate of the mobile data traffic of the electronic device is limited, the method further includes: The mobile data traffic speed limit prompt information is displayed, and the mobile data traffic speed limit prompt information is used to prompt that the transmission rate of the mobile data traffic of the electronic device is limited.
4. The method according to claim 3, characterized in that The display of mobile data traffic speed limit prompt information includes: When the total number of speed limit reminders in the seventh time period is less than the number threshold, the mobile data traffic speed limit reminder information is displayed.
5. The method according to claim 4, characterized in that When the total number of speed limit reminders in the seventh time period is less than the number threshold, displaying the mobile data traffic speed limit reminder information includes: If the total number of speed limit reminders in the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, the mobile data traffic speed limit reminder information is displayed; The last display is a display of mobile data traffic speed limit prompt information that is before and adjacent to the current display of mobile data traffic speed limit prompt information.
6. The method according to claim 5, characterized in that When the total number of speed limit reminders in the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the interval threshold, displaying the mobile data traffic speed limit reminder information includes: When the total number of speed limit reminders in the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, re-establishing the mobile network connection between the electronic device and the core network device to update the AMBR value and obtain an updated AMBR value; When the updated AMBR value is less than the bit rate threshold, mobile data traffic speed limit prompt information is displayed.
7. The method according to claim 6, characterized in that When the total number of speed limit reminders in the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, re-establishing the mobile network connection between the electronic device and the core network device includes: The total number of speed limit reminders in the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the interval threshold, and when the electronic device meets the mobile network reconstruction condition, the mobile network connection between the electronic device and the core network end is re-established; The mobile network reestablishment condition includes any of the following: The screen of the electronic device is in an off state and the electronic device does not receive any user operation within an eighth time period; The mobile network connection state of the electronic device is disconnected; The whole power consumption of the electronic device is less than the power consumption threshold.
8. The method according to any one of claims 3 to 6, characterized in that: The display of mobile data traffic speed limit prompt information includes: When the screen of the electronic device is in a bright screen state, displaying mobile data traffic speed limit prompt information; Alternatively, when it is detected that a program interface of an application has received a user operation, mobile data traffic speed limit prompt information is displayed in the program interface, and the application is an application whose user usage frequency in the electronic device is greater than a usage frequency threshold.
9. A mobile data flow transmission rate detection device, characterized in that: The device comprises: An acquisition module, configured to acquire data transmission information between the electronic device and the application server when the aggregate maximum bit rate AMBR value configured by the core network device for the electronic device is less than the bit rate threshold and the electronic device has not received a data traffic speed limit reminder SMS, wherein the data transmission information includes data transmission parameters or data transmission status; The detection module is used to determine that the transmission rate of the mobile data traffic of the electronic device is limited when the data transmission information meets the speed limit reminder condition.
10. The device according to claim 9, characterized in that The data transmission status includes: the sound data receiving status between the electronic device and the audio application server; The data transmission parameter includes at least one of the following: a retransmission rate of a transmission control protocol TCP stream between the electronic device and the application server, a round trip time of a TCP stream between the electronic device and the application server, a data packet loss amount between the electronic device and the application server, and a bit error rate of transmission data between the electronic device and the application server; The detection module is specifically used for: When the retransmission rate of the TCP stream in the first time period is greater than the retransmission rate threshold, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the round-trip time of the TCP flow in the second time period is greater than the round-trip time threshold, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the amount of data packet loss between the electronic device and the application server in the third time period is greater than a packet loss amount threshold, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the proportion of the amount of data packet loss between the electronic device and the application server in the total amount of transmitted data in the fourth time period is greater than a packet loss proportion threshold, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the bit error rate is greater than the bit error rate threshold in the fifth time period, determining that the transmission rate of the mobile data traffic of the electronic device is limited; Alternatively, when the electronic device does not receive the audio data sent by the audio application server within the sixth time period, it is determined that the transmission rate of the mobile data traffic of the electronic device is limited.
11. The device according to claim 9, characterized in that The device also includes: The display module is used to display mobile data traffic speed limit prompt information after determining that the transmission rate of the mobile data traffic of the electronic device is limited, and the mobile data traffic speed limit prompt information is used to prompt that the transmission rate of the mobile data traffic of the electronic device is limited.
12. The device according to claim 11, characterized in that The display module is specifically used to display mobile data traffic speed limit reminder information when the total number of speed limit reminders in the seventh time period is less than the number threshold.
13. The device according to claim 12, characterized in that The display module is specifically used to: display the mobile data traffic speed limit reminder information when the total number of speed limit reminders in the seventh time period is less than the number threshold and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold; The last display is a display of mobile data traffic speed limit prompt information that is before and adjacent to the current display of mobile data traffic speed limit prompt information.
14. The device according to claim 13, characterized in that The display module is specifically used for: When the total number of speed limit reminders in the seventh time period is less than the number threshold, and the time interval from the last display of the mobile data traffic speed limit reminder information is greater than the time interval threshold, re-establishing the mobile network connection between the electronic device and the core network device to update the AMBR value and obtain an updated AMBR value; When the updated AMBR value is less than the bit rate threshold, mobile data traffic speed limit prompt information is displayed.
15. An electronic device, characterized in that: It includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the mobile data traffic transmission rate detection method as described in any one of claims 1-8 are implemented.