CN116232959B - Network quality detection method and device - Google Patents

Network quality detection method and device Download PDF

Info

Publication number
CN116232959B
CN116232959B CN202310189700.9A CN202310189700A CN116232959B CN 116232959 B CN116232959 B CN 116232959B CN 202310189700 A CN202310189700 A CN 202310189700A CN 116232959 B CN116232959 B CN 116232959B
Authority
CN
China
Prior art keywords
current
network
data transmission
transmission rate
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310189700.9A
Other languages
Chinese (zh)
Other versions
CN116232959A (en
Inventor
高俊男
何彦召
王辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310189700.9A priority Critical patent/CN116232959B/en
Publication of CN116232959A publication Critical patent/CN116232959A/en
Application granted granted Critical
Publication of CN116232959B publication Critical patent/CN116232959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Abstract

The application provides a network quality detection method and device, which can improve the accuracy of network quality detection, thereby improving user experience. The method comprises the following steps: acquiring current transmission parameters of terminal equipment, wherein the transmission parameters comprise data transmission rate or channel bandwidth; determining whether the terminal equipment has network use requirements according to the transmission parameters; determining current jamming information of a network of the terminal equipment under the condition that the terminal equipment has network use requirements, wherein the current jamming information is used for representing the current jamming condition of the network; and determining whether the network of the terminal equipment is stuck according to the current stuck information.

Description

Network quality detection method and device
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for detecting network quality.
Background
Providing internet service for business applications of terminal devices through wireless network technology is widely spread. The smoothness of the business application of the user using the terminal device is directly affected by the network quality. Therefore, the terminal device detects the network quality, and adjusts the service policy of the service application according to the network quality, for example, when the user watches the video using the terminal device, the terminal device detects that the network quality is poor, and the terminal device can reduce the definition of the video so as to ensure the smoothness of the video.
Currently, a terminal device generally detects network quality of the terminal device by detecting service parameters such as uplink and downlink data transmission rate, channel bandwidth, and the like. Under the condition that the service parameter is lower than or equal to a preset threshold value, the terminal equipment determines that the network quality is poor; and under the condition that the service parameter is higher than a preset threshold value, the terminal equipment determines that the network quality is good.
However, the accuracy of the current network quality detection method is low, resulting in poor user experience.
Disclosure of Invention
The application provides a network quality detection method and a network quality detection device, which can improve the accuracy of network quality detection, thereby improving the user experience.
In a first aspect, a network quality detection method is provided, the method comprising: acquiring current transmission parameters of terminal equipment, wherein the transmission parameters comprise data transmission rate or channel bandwidth; determining whether the terminal equipment has network use requirements according to the transmission parameters; determining current jamming information of a network of the terminal equipment under the condition that the terminal equipment has network use requirements, wherein the current jamming information is used for representing the current jamming condition of the network; and determining whether the network of the terminal equipment is stuck according to the current stuck information.
The network quality detection method provided by the application comprises the steps of firstly determining whether the terminal equipment has network use requirements according to the current data transmission rate or channel bandwidth of the terminal equipment, and determining whether the current network is blocked or not according to at least one of the upper limit of the data transmission rate, the upper limit of the available channel bandwidth capacity and the transmission time delay under the condition that the terminal equipment has the network use requirements, so that the network quality has a larger influence on whether the terminal equipment can provide smooth service experience for users under the condition that the terminal equipment has the network use requirements, and detecting whether the current network is blocked or not at the moment is favorable for saving resources. And determining whether the current network is blocked or not through at least one of the upper limit of the data transmission rate, the upper limit of the available channel bandwidth capacity and the transmission delay, so that the accuracy of determining whether the current network is blocked or not can be improved no matter whether the current network capacity of the terminal equipment has a margin or not, the accuracy of network quality detection can be improved, and the user experience is improved.
It should be understood that the data transmission rate may also be referred to as an uplink and downlink data transmission rate or an uplink and downlink data transmission rate. The channel bandwidth (bandwidth) may also be referred to as an uplink and downlink channel bandwidth or an uplink and downlink bandwidth, and refers to an uplink channel bandwidth or a downlink channel bandwidth. The network usage requirement refers to a requirement that the terminal device currently uses a network, and the network may refer to a wireless network or a mobile network, which is not particularly limited in the present application.
In certain implementations of the first aspect, the determining, according to the transmission parameter, whether the terminal device has a network usage requirement includes: determining whether the transmission parameter is greater than or equal to a first preset threshold; and if the transmission parameter is greater than or equal to the first preset threshold value, determining that the terminal equipment has network use requirements.
It should be appreciated that the first preset threshold is any preset value greater than or equal to 0. The dimension corresponding to the first preset threshold value is the same as the dimension of the transmission parameter. For example, in the case that the transmission parameter is the current uplink data transmission rate of the terminal device, the dimension of the first preset threshold is the dimension of the data transmission rate, for example, the current uplink data transmission rate of the terminal device is 5MB/s, and the first preset threshold may be 3MB/s. In the case that the transmission parameter is the current channel bandwidth of the terminal device, the dimension of the first preset threshold is the dimension of the channel bandwidth, for example, the current uplink channel bandwidth of the terminal device is 5MB, and the first preset threshold may be 4MB.
In certain implementations of the first aspect, the first preset threshold is determined based on at least one of: the user operation detected by the terminal equipment, the current display interface of the terminal equipment, the use state of the current application program of the terminal equipment or a data transmission rate probability density curve; the data transmission rate probability density curve is used for representing the corresponding relation between probability density and data transmission rate.
It should be understood that the user operation refers to an input operation of the user to the terminal device, for example, may be an operation of sliding or clicking on a display screen of the terminal device by the user, or may be a key operation. The current display interface of the terminal device refers to an interface currently displayed by a display screen of the terminal device, and may be, for example, a video full-screen playing interface, a chat interface, a call interface, and the like. The current application program use state can refer to whether the application program is in a full-screen use state or a non-full-screen use state in a display screen of the terminal device, the full-screen use state can refer to a full-screen display state, the non-full-screen use state can refer to a non-full-screen display state, for example, the terminal device is a mobile phone, when a user views a video through the video application program by using the mobile phone, the video can be played in a full-screen mode, and at the moment, the video application program is in the full-screen use state; the video may also be played in a small window, where the video application is in a non-full screen use state. The data transmission rate probability density curve may be a curve in a two-dimensional coordinate system for describing a relationship between probability density and data transmission rate. Wherein the probability density indicates the probability of occurrence of the data transmission rate. For example, for any point a on the probability density curve of the data transmission rate, the data transmission rate corresponding to the point a may be 3MB/s, the probability density corresponding to the point a may be 10%, which means that the probability of the data transmission rate of the terminal device being 3MB/s is 10%.
In certain implementations of the first aspect, the first preset threshold is 0 in any of the following cases: the user operation detected by the terminal equipment is a refreshing operation of a user on the current display interface, and the current display interface is a first preset interface; or the using state of the current application program is a full-screen using state, and the current application program is a preset type application program; or the current display interface of the terminal equipment is a second preset interface.
It should be understood that the refreshing operation may be an operation of refreshing the current display interface of the terminal device for the user, for example, an operation of sliding the current display interface or clicking a button, etc. The first preset interface may refer to an interface requiring a network during refreshing, for example, may refer to a video selection interface for displaying a video application program, an article purchase interface for displaying a shopping application program, a chat interface for displaying a social application program, and the like. When the user refreshes the first preset interface, it is indicated that the terminal device currently has network use requirements, in order to avoid the situation that the terminal device determines that the terminal device does not have the network use requirements due to the fact that the current transmission parameters of the terminal device are too small, the first preset threshold value can be set to 0, so that the current transmission parameters of the terminal device are necessarily larger than or equal to the first preset threshold value, whether the current network is blocked or not can be further detected, and the accuracy of network quality detection is improved.
In certain implementations of the first aspect, the first preset threshold is determined according to a data transmission rate corresponding to a point in the data transmission rate probability density curve where a probability density is less than or equal to a second preset threshold.
It should be appreciated that the second preset threshold is any value greater than 0, for example, may be 10%, 5%, etc. The first preset threshold may be a data transmission rate corresponding to any point with a probability density less than or equal to the second preset threshold in the data transmission rate probability density curve, or may be an average value of data transmission rates corresponding to a plurality of points with a probability density less than or equal to the second preset threshold. Optionally, under the condition that the current service application of the terminal device runs smoothly, the first preset threshold is determined according to the data transmission rate corresponding to the point, in the probability density curve of the data transmission rate, of which the probability density is smaller than or equal to the second preset threshold.
In certain implementations of the first aspect, the determining current card-on information of the network of the terminal device includes: determining the current cartoon information according to the current network quality parameter of the terminal equipment, wherein the network quality parameter comprises at least one of an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, an uplink available bandwidth capacity upper limit and a transmission time delay; the uplink data transmission rate upper limit is determined based on the current uplink data transmission rate of the terminal device, the downlink data transmission rate upper limit is determined based on the current downlink data transmission rate of the terminal device, the uplink available bandwidth capacity upper limit is determined based on the current uplink bandwidth of the terminal device, the downlink available bandwidth capacity upper limit is determined based on the current downlink bandwidth of the terminal device, and the transmission delay is determined based on the current uplink packet transmission interval and uplink round trip time RTT of the terminal device.
It should be understood that the upper limit of the uplink data transmission rate refers to the maximum value that the uplink data transmission rate of the terminal device can reach, irrespective of the current uplink data transmission rate. The upper limit of the uplink data transmission rate is greater than or equal to the current uplink data transmission rate, and the upper limit of the uplink data transmission rate can be determined to be equal to the current uplink data transmission rate under the condition that the current network capacity has no margin. The upper limit of the downlink data transmission rate refers to the maximum value that the downlink data transmission rate can reach in downlink transmission, and is irrelevant to the current downlink data transmission rate. The upper limit of the downlink data transmission rate is greater than or equal to the current downlink data transmission rate, and the upper limit of the downlink data transmission rate can be determined to be equal to the current downlink data transmission rate under the condition that the current network capacity has no margin. The upper limit of the uplink available bandwidth capacity refers to the maximum value which can be reached by the uplink bandwidth of the terminal equipment, and is irrelevant to the current uplink bandwidth. The upper limit of the uplink available bandwidth capacity is larger than or equal to the current uplink bandwidth, and the upper limit of the uplink available bandwidth capacity can be determined to be equal to the current uplink bandwidth under the condition that the current network capacity has no allowance. The upper limit of the downlink available bandwidth capacity refers to the maximum value which can be reached by the downlink bandwidth of the terminal equipment, and is irrelevant to the current downlink bandwidth. The upper limit of the downlink available bandwidth capacity is larger than or equal to the current downlink bandwidth, and the upper limit of the downlink available bandwidth capacity can be determined to be equal to the current downlink bandwidth under the condition that the current network capacity has no allowance. The transmission delay, which may also be referred to as a transmission delay, refers to the total time required for the terminal device to transmit information to the access network device. The uplink packet sending interval refers to a time interval when the terminal equipment sends two adjacent data packets to the access network equipment.
In certain implementations of the first aspect, the method further comprises: fitting network quality parameters of a plurality of historical moments of the terminal equipment and the katon information of the historical moments to determine a fitting relation between the network quality parameters of the terminal equipment and the katon information; the determining the current katon information according to the current network quality parameter of the terminal device includes: and determining the current clamping information according to the current network quality parameters of the terminal equipment and the fitting relation.
It should be understood that the plurality of historical moments refers to at least two historical moments. The network quality parameters of the plurality of historical moments refer to one network quality parameter corresponding to each of the plurality of historical moments, and the network quality parameters corresponding to any two of the plurality of historical moments can be the same or different. Illustratively, the plurality of historical moments include a first historical moment and a second historical moment, the network quality parameter corresponding to the first historical moment is m, and m is any value greater than or equal to 0; the network quality parameter corresponding to the second historical moment is n, n is any value greater than or equal to 0, and m and n can be the same or different. The jamming information of the plurality of historical moments refers to that each historical moment of the plurality of historical moments corresponds to one jamming information, and the number of the jamming information is the same as the number of the network quality parameters. For example, assuming that the plurality of historical moments includes a first historical moment, a second historical moment and a third historical moment, the terminal device has a first network quality parameter and first katon information at the first historical moment; the terminal equipment has a second network quality parameter and second clamping information at a second historical moment; and the terminal equipment has a third network quality parameter and third cartoon information at a third historical moment.
In certain implementations of the first aspect, the determining, according to the current blocking information, whether the network of the terminal device is blocked includes: determining whether the current stuck information is greater than or equal to a third preset threshold; and if the current jamming information is larger than or equal to the third preset threshold value, determining network jamming of the terminal equipment.
It should be appreciated that the third preset threshold is the same as the dimension of the current click-through information. In one possible implementation, the current click-through information may be a current click-through probability, and correspondingly, the third preset threshold is any value between 0% and 100%. Optionally, the current click-on information may also be a click-on score, where the click-on score is a value obtained by multiplying the click-on probability by a fourth preset threshold. The fourth preset threshold is any value greater than 0, such as 1000, 800, etc. Correspondingly, the third preset threshold is a value determined according to the value range of the katon fraction. For example, the fourth preset threshold is 1000, the current jamming information=the current jamming probability is 1000, the third preset threshold may be 800, and in the case that the current jamming information is greater than or equal to 800, the network jamming of the terminal device is determined.
In certain implementations of the first aspect, the method further comprises: and if the current jamming information is smaller than the third preset threshold value, determining that the network of the terminal equipment is not jammed.
It should be understood that, when the current blocking information is smaller than the third preset threshold, it is indicated that the current network quality of the terminal device is better, and the current service of the terminal device can be supported, that is, the network of the terminal device is not blocked.
In a second aspect, a network quality detection apparatus is provided for performing the method in any of the possible implementations of the first aspect. In particular, the apparatus comprises means for performing the method in any one of the possible implementations of the first aspect described above.
In a third aspect, the present application provides a further network quality detection apparatus comprising a processor coupled to a memory, operable to execute instructions in the memory to implement a method as in any one of the possible implementations of the first aspect. Optionally, the apparatus further comprises a memory. Optionally, the apparatus further comprises a communication interface, the processor being coupled to the communication interface.
In one implementation, the apparatus is a terminal device. When the apparatus is a terminal device, the communication interface may be a transceiver, or an input/output interface.
In another implementation, the apparatus is a chip configured in a terminal device. When the apparatus is a chip configured in a terminal device, the communication interface may be an input/output interface.
In a fourth aspect, there is provided a processor comprising: input circuit, output circuit and processing circuit. The processing circuit is configured to receive a signal via the input circuit and transmit a signal via the output circuit, such that the processor performs the method of any one of the possible implementations of the first aspect.
In a specific implementation flow, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, various logic circuits, and the like. The input signal received by the input circuit may be received and input by, for example and without limitation, a receiver, the output signal may be output by, for example and without limitation, a transmitter and transmitted by a transmitter, and the input circuit and the output circuit may be the same circuit, which functions as the input circuit and the output circuit, respectively, at different times. The embodiment of the application does not limit the specific implementation modes of the processor and various circuits.
In a fifth aspect, a processing device is provided that includes a processor and a memory. The processor is configured to read instructions stored in the memory and to receive signals via the receiver and to transmit signals via the transmitter to perform the method of any one of the possible implementations of the first aspect.
Optionally, the processor is one or more, and the memory is one or more.
Alternatively, the memory may be integrated with the processor or the memory may be separate from the processor.
In a specific implementation process, the memory may be a non-transient (non-transitory) memory, for example, a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
It should be appreciated that the related data interaction flow may be, for example, a flow of sending indication information from a processor, and the receiving capability information may be a flow of receiving input capability information by the processor. Specifically, the data output by the processing may be output to the transmitter, and the input data received by the processor may be from the receiver. Wherein the transmitter and receiver may be collectively referred to as a transceiver.
The processing means in the fifth aspect may be a chip, and the processor may be implemented by hardware or by software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor, implemented by reading software code stored in a memory, which may be integrated in the processor, or may reside outside the processor, and exist separately.
In a sixth aspect, there is provided a computer program product comprising: a computer program (which may also be referred to as code, or instructions) which, when executed, causes a computer to perform the method of any one of the possible implementations of the first aspect.
In a seventh aspect, a computer readable storage medium is provided, which stores a computer program (which may also be referred to as code, or instructions) which, when run on a computer, causes the computer to perform the method of any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
Fig. 2 is a software architecture block diagram of a terminal device according to an embodiment of the present application;
fig. 3 is a flow chart of a network quality detection method according to an embodiment of the present application;
fig. 4 is a flow chart of a method for determining an upper limit of uplink available bandwidth capacity according to an embodiment of the present application;
fig. 5 is a flow chart of a method for determining an upper limit of a downlink available bandwidth capacity according to an embodiment of the present application;
fig. 6 is a flow chart of another network quality detection method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a network quality detecting device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another network quality detecting device according to an embodiment of the present application.
Detailed Description
The technical scheme of the application will be described below with reference to the accompanying drawings.
In embodiments of the present application, the words "first," "second," and the like are used to distinguish between identical or similar items that have substantially the same function and effect. For example, the first value and the second value are merely for distinguishing between different values, and are not limited in order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The terminal device in the embodiment of the present application may also be referred to as: a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment, etc.
The terminal device may be a device providing voice/data connectivity to a user, e.g., a handheld device with wireless connectivity, an in-vehicle device, etc. Currently, examples of some terminal devices include: a mobile phone, tablet, laptop, palmtop, mobile internet device (mobile internet device, MID), wearable device, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart city), wireless terminal in smart home (smart home), cellular phone, cordless phone, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing device connected to wireless modem, vehicle-mounted device, wearable device, terminal device in future communication land-based network (public land mobile network), and the like, without limiting the application thereto.
By way of example and not limitation, in the present application, the terminal device may be a terminal device in an internet of things (internet of things, ioT) system. The internet of things is an important component of the development of future information technology, and is mainly technically characterized in that objects are connected with a network through a communication technology, so that man-machine interconnection and an intelligent network for the interconnection of the objects are realized. The terminal device in the embodiment of the application can be a wearable device. The wearable device can also be called as a wearable intelligent device, and is a generic name for intelligently designing daily wear by applying wearable technology and developing wearable devices, such as glasses, gloves, watches, clothes, shoes and the like. A wearable device is a portable device that may be worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also can realize powerful functions through software support and data interaction and cloud interaction. The generalized wearable intelligent device includes full functionality, large size, and may not rely on the smart phone to implement complete or partial functionality, such as: smart watches or smart glasses, etc., and focus on only certain types of application functions, and need to be used in combination with other devices, such as smart phones, for example, various smart bracelets, smart jewelry, etc. for physical sign monitoring.
By way of example, and not limitation, in embodiments of the present application, the terminal device may also be a terminal device in machine type communication (machine type communication, MTC). The terminal device may be a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip, a vehicle-mounted unit, or the like, which are built in the vehicle as one or more components or units, and the vehicle may implement the method provided by the present application through the built-in vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip, or vehicle-mounted unit, or the like. Therefore, the embodiment of the application can also be applied to the Internet of vehicles, such as the vehicle external connection (vehicle to everything, V2X), the long-term evolution technology of workshop communication (long term evolution-vehicle, LTE-V), the vehicle-to-vehicle (V2V) technology and the like.
In order to better understand the terminal device in the embodiment of the present application, the hardware structure of the terminal device in the embodiment of the present application is described in detail below with reference to fig. 1.
Fig. 1 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present application. As shown in fig. 1, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, a user identification module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of terminal device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, or may be used to transfer data between the terminal device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other terminal devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard red-green-blue (RGB) format, brightness-chrominance-chroma (YUV) format, or the like. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in various encoding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the terminal device 100 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or to handsfree talk through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The terminal device 100 determines the intensity of the pressure according to the change of the capacitance. When a touch operation is applied to the display 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 180B detects the angle of shake of the terminal apparatus 100, calculates the distance to be compensated for by the lens module according to the angle, and allows the lens to counteract the shake of the terminal apparatus 100 by the reverse movement, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates altitude from barometric pressure values measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the terminal device 100 is a folder, the terminal device 100 may detect opening and closing of the folder according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the terminal device 100 is stationary. The method can also be used for identifying the gesture of the terminal equipment, and is applied to the applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, the terminal device 100 may range using the distance sensor 180F to achieve fast focusing.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the terminal device 100. When insufficient reflected light is detected, the terminal device 100 may determine that there is no object in the vicinity of the terminal device 100. The terminal device 100 can detect that the user holds the terminal device 100 close to the ear to talk by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The terminal device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, the terminal device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 performs a reduction in the performance of a processor located near the temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the terminal device 100 heats the battery 142 to avoid the low temperature causing the terminal device 100 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the terminal device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization. The motor 191 may specifically be a driving motor, and is configured to control the position and angle of the lens of the terminal device 100 according to the anti-shake parameter of the terminal device 100, for example, the compensation zero drift of the driving motor in the X-axis and Y-axis directions, when the terminal device 100 shoots a video, so that the shake of the video shot by the terminal device 100 is small.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the terminal apparatus 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100. The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the terminal device 100 is illustrated.
Fig. 2 is a software configuration block diagram of the terminal device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving the hardware so that the hardware works. The kernel layer at least includes display driver, screen driver, image processor (graphics processing unit, GPU) driver, camera, sensor driver, etc., which is not limited in this embodiment of the application. For example, the screen driver may drive a screen bright or off screen.
Terminal devices have become increasingly popular to provide internet services for business applications through wireless network technologies, such as LTE, new Radio (NR), etc. In order to improve the user experience, the terminal device generally periodically detects the network quality of the wireless network, that is, detects whether the network of the terminal device is stuck, so as to adjust the service policy of the terminal device according to the detection result. The terminal device is a mobile phone, and in the process of video call through the mobile phone, the terminal device can detect whether the network is blocked, if so, the terminal device can send a popup message to the user, wherein the popup message is used for prompting the user whether the current network quality is poor or not and whether to switch to other networks.
Currently, a terminal device detects network quality of the terminal device through service parameters such as an uplink data transmission rate, a downlink data transmission rate, a channel bandwidth and the like. Under the condition that the service parameter is lower than or equal to a preset threshold value, the terminal equipment determines that the network is blocked; and under the condition that the service data is higher than a preset threshold value, the terminal equipment determines that the network is not blocked.
However, when the current network capacity of the terminal equipment has a margin, the current service parameters detected by the terminal equipment cannot accurately represent the current network quality of the terminal equipment, so that the accuracy of the current network quality detection method is low, and the user experience is poor.
In order to solve the above problems, the present application provides a network quality detection method, which determines whether a terminal device has a network usage requirement according to a current data transmission rate or a channel bandwidth of the terminal device, and determines whether a network of the terminal device is blocked according to a current data transmission rate upper limit, an available bandwidth capacity upper limit or a transmission delay of the terminal device under the condition that the terminal device has the network usage requirement.
The network quality detection method according to the embodiments of the present application will be described in detail below with reference to fig. 2 to 6, where the method may be performed by a terminal device, for example, a mobile phone, a tablet computer, a smart bracelet, etc., or may be a chip, a chip system, or a processor that supports the terminal device to implement the method, or may be a logic module or software that can implement all or part of the functions of the terminal device. The execution subject of the embodiment of the present application is collectively referred to as a terminal device, and the above method will be described in detail. The hardware structure of the terminal device is shown in fig. 1, and the software structure is shown in fig. 2.
Fig. 3 is a flowchart of a network quality detection method 300 according to an embodiment of the present application. The method 300 includes the steps of:
s301, acquiring current transmission parameters of the terminal equipment, wherein the transmission parameters comprise data transmission rate or channel bandwidth.
It should be understood that the data transmission rate may also be referred to as an uplink and downlink data transmission rate or an uplink and downlink data transmission rate. The channel bandwidth (bandwidth) may also be referred to as an uplink and downlink channel bandwidth or an uplink and downlink bandwidth, and refers to an uplink channel bandwidth or a downlink channel bandwidth. In the embodiment of the present application, the current transmission parameter of the terminal device refers to one of the current uplink data transmission rate, the downlink data transmission rate, the uplink channel bandwidth and the downlink channel bandwidth of the terminal device. For example, acquiring the current transmission parameter of the terminal device may refer to acquiring the current uplink data transmission rate of the terminal device.
S302, determining whether the terminal equipment has network use requirements according to the transmission parameters.
It should be understood that the network usage requirement refers to a requirement that the terminal device currently uses a network, and the network may refer to a wireless network or a mobile network, which is not particularly limited by the present application. The current transmission parameters of the terminal device can reflect the state of the network currently used by the terminal device. For example, in the case that the terminal device is in the screen locking state or the power-off state, the uplink data transmission rate of the terminal device may be 0, where it may be determined that the terminal device does not have a network usage requirement; in the case where the user plays a game using the terminal device and the game application is displayed full screen, the terminal device detects that the current uplink data transmission rate may be 5 megabytes (B) per second, at which point it may be determined that the terminal device has network use requirements.
S303, under the condition that the terminal equipment has network use requirements, determining current jamming information of the network of the terminal equipment, wherein the current jamming information is used for representing the current jamming condition of the network.
It should be understood that the current stuck information refers to information capable of indicating whether the current network of the terminal device is stuck. Illustratively, the click-on information may be a click-on probability, such as 60%, etc.; the jamming information may also be words describing a jamming situation, such as "jamming", "not jamming", "relatively jamming", etc. Under the condition that the terminal equipment has network use requirements, the network quality is described to influence the experience of the current service application of the terminal equipment, and the blocking condition of the current network needs to be determined. The terminal device is a mobile phone, the user watches live broadcast through the mobile phone, the mobile phone determines that the network use requirement exists currently, the current network quality of the mobile phone influences the experience of the user watching live broadcast, and therefore the mobile phone can determine the blocking information of the current network.
As an alternative embodiment, it is determined that the network of the terminal device is not stuck in case the terminal device does not have network usage requirements.
It should be understood that, in the case that the terminal device does not have a network usage requirement, it is explained that the current network quality of the terminal device will not affect the fluency of the current service application of the terminal device, or that the current network quality of the terminal device has very little effect on the fluency of the current service application of the terminal device. In this case, the terminal device may determine that the network is not stuck, i.e. the current network is sufficient to support the normal operation of the current service application of the terminal device. The terminal device is a mobile phone, the user edits the characters through the notes application program in the mobile phone, the mobile phone determines that no network is required currently, and the current network is determined not to be blocked, namely, the user can edit the characters through the notes application program smoothly.
S304, determining whether the network of the terminal equipment is blocked or not according to the current blocking information.
It should be understood that determining whether the network of the terminal device is stuck may be determining whether the current network of the terminal device is stuck or not stuck; the present application is not limited in this regard, and the current network of the terminal device may be determined to be non-Chang Kadu, stuck, normal or not, i.e. the degree for indicating whether the network of the terminal device is stuck may be divided into two or more levels.
As an optional embodiment, according to whether the network of the terminal device is blocked, the service policy of the terminal device is adjusted, where the service policy is a service policy provided by the terminal device to the current service application of the terminal device.
It should be understood that the current service application of the terminal device may refer to an application program in the terminal device currently used by the user, and may refer to a specific service in the application program, for example, the service application may be a video application program or a voice call service. The service policy may be a policy that the terminal device directly adjusts according to the network quality. The terminal device is a mobile phone, and the user can watch the video through the mobile phone, so that the definition of the video watched by the user can be reduced under the condition that the mobile phone determines that the current network is blocked, and the smoothness of video playing is ensured. The service policy may also be a policy that is adjusted according to an input operation of the user after sending the popup message to the user. The terminal device is a mobile phone, the user watches the video through the mobile phone, the mobile phone displays a popup message when the mobile phone determines that the current network is blocked, the popup message can be information used for indicating whether the current network is blocked or not to switch the network, and the mobile phone switches the network to other networks with better network quality when the user determines to switch the network.
The network quality detection method of the application firstly determines whether the terminal equipment has network use requirements through the current data transmission rate or channel bandwidth of the terminal equipment, and then determines whether the current network is blocked through at least one of the upper limit of the data transmission rate, the upper limit of the available channel bandwidth capacity and the transmission time delay under the condition that the terminal equipment has the network use requirements, so that the network quality has a larger influence on whether the terminal equipment can provide smooth service experience for users under the condition that the terminal equipment has the network use requirements, and at the moment, the application further detects whether the current network is blocked, thereby being beneficial to saving resources. And determining whether the current network is blocked or not through at least one of the upper limit of the data transmission rate, the upper limit of the available channel bandwidth capacity and the transmission delay, so that the accuracy of determining whether the current network is blocked or not can be improved no matter whether the current network capacity of the terminal equipment has a margin or not, the accuracy of network quality detection can be improved, and the user experience is improved.
As an alternative embodiment, S302 described above may be implemented as follows: determining whether the transmission parameter is greater than or equal to a first preset threshold; if the transmission parameter is greater than or equal to a first preset threshold value, determining that the terminal equipment has network use requirements.
It should be appreciated that the first preset threshold is any preset value greater than or equal to 0. The dimension corresponding to the first preset threshold value is the same as the dimension of the transmission parameter. For example, in the case that the transmission parameter is the current uplink data transmission rate of the terminal device, the dimension of the first preset threshold is the dimension of the data transmission rate, for example, the current uplink data transmission rate of the terminal device is 5MB/s, and the first preset threshold may be 3MB/s. In the case that the transmission parameter is the current channel bandwidth of the terminal device, the dimension of the first preset threshold is the dimension of the channel bandwidth, for example, the current uplink channel bandwidth of the terminal device is 5MB, and the first preset threshold may be 4MB. The first preset threshold is determined according to the type of the transmission parameter, namely, if the transmission parameter is the data transmission rate, the first preset threshold is a value corresponding to the data transmission rate; if the transmission parameter is the channel bandwidth, the first preset threshold is a value corresponding to the channel bandwidth. And under the condition that the current transmission parameter of the terminal equipment is larger than or equal to a first preset threshold value, the current service application of the terminal equipment needs to use network support, and the terminal equipment is determined to have network use requirements.
Optionally, if the transmission parameter is smaller than the first preset threshold, it is determined that the network of the terminal device is not stuck.
It can be understood that when the transmission parameter is smaller than the first preset threshold, it is indicated that the current data transmission rate or the channel bandwidth of the terminal device is smaller, that is, whether the network quality is jammed has a smaller or no influence on the normal operation of the current service application of the terminal device, so that it can be determined that the network of the terminal device is not jammed.
In one possible embodiment, the first preset threshold is determined based on at least one of: user operation detected by the terminal equipment, a current display interface of the terminal equipment, a use state of a current application program of the terminal equipment, or a data transmission rate probability density curve; the using state is a full-screen using state or a non-full-screen using state, and the data transmission rate probability density curve is used for representing the corresponding relation between the probability density and the data transmission rate.
It should be understood that the user operation refers to an input operation of the user to the terminal device, for example, may be an operation of sliding or clicking on a display screen of the terminal device by the user, or may be a key operation. The current display interface of the terminal device refers to an interface currently displayed by a display screen of the terminal device, and may be, for example, a video full-screen playing interface, a chat interface, a call interface, and the like. The current application program use state can refer to whether the application program is in a full-screen use state or a non-full-screen use state in a display screen of the terminal device, the full-screen use state can refer to a full-screen display state, the non-full-screen use state can refer to a non-full-screen display state, for example, the terminal device is a mobile phone, when a user views a video through the video application program by using the mobile phone, the video can be played in a full-screen mode, and at the moment, the video application program is in the full-screen use state; the video may also be played in a small window, where the video application is in a non-full screen use state. The data transmission rate probability density curve may be a curve in a two-dimensional coordinate system for describing a relationship between probability density and data transmission rate. Wherein the probability density indicates the probability of occurrence of the data transmission rate. For example, for any point a on the probability density curve of the data transmission rate, the data transmission rate corresponding to the point a may be 3MB/s, the probability density corresponding to the point a may be 10%, which means that the probability of the data transmission rate of the terminal device being 3MB/s is 10%.
In one possible embodiment, the first preset threshold is 0 in any one of the following cases: the user operation detected by the terminal equipment is refresh operation of a user on a current display interface, and the current display interface is a first preset interface; or the use state of the current application program is a full-screen use state, and the current application program is a preset type application program; or the current display interface of the terminal equipment is a second preset interface.
It should be understood that the refreshing operation may be an operation of refreshing the current display interface of the terminal device for the user, for example, an operation of sliding the current display interface or clicking a button, etc. The first preset interface may refer to an interface requiring a network during refreshing, for example, may refer to a video selection interface for displaying a video application program, an article purchase interface for displaying a shopping application program, a chat interface for displaying a social application program, and the like. When the user refreshes the first preset interface, it is indicated that the terminal device currently has network use requirements, in order to avoid the situation that the terminal device determines that the terminal device does not have the network use requirements due to the fact that the current transmission parameters of the terminal device are too small, the first preset threshold value can be set to 0, so that the current transmission parameters of the terminal device are necessarily larger than or equal to the first preset threshold value, whether the current network is blocked or not can be further detected, and the accuracy of network quality detection is improved.
In a specific example, the terminal device is a mobile phone, the user purchases the paper towel through a first shopping application program in the mobile phone, the first preset interface is an interface for displaying a plurality of paper towel shopping windows after searching the paper towel in the first shopping application program, the user slides a display screen of the mobile phone on the first preset interface, namely, the user refreshes the first display interface, and at the moment, the user refreshes or purchases the paper towel displayed in the first preset interface all needs a network. However, in the process of refreshing the first display interface, the transmission parameter of the mobile phone is not continuously higher, and a situation that the transmission parameter is smaller or 0 at a certain moment may occur, in this case, if the first preset threshold value is larger, the mobile phone determines that the mobile phone does not have network use requirements, so that the judgment result of the mobile phone is inaccurate. Therefore, in this case, the first preset threshold may be set to 0, so that the current transmission parameter of the mobile phone is necessarily greater than or equal to the first preset threshold, so that it can be continuously determined whether the current network is stuck.
The preset type application may refer to an application requiring a network when used in full screen, and may be, for example, a game type application, a video type application, or the like. When the use state of the preset type application program is the full-screen use state, the terminal equipment is indicated to have network use requirements, and the first preset threshold value is set to be 0, so that no matter the current transmission parameter of the terminal equipment is large or small, the terminal equipment can be determined to have the network use requirements, the condition that the terminal equipment is determined to have no network use requirements due to the fact that the current transmission parameter of the terminal equipment is small can be avoided, and the accuracy rate of network quality detection is improved.
It should be understood that the second preset interface may be the same or different from the first preset interface, and when the terminal device displays the second preset interface, it indicates that the current service application of the terminal device needs the network, for example, the second preset interface may be a music playing interface, a video chat interface, a voice chat interface, a text chat interface, or the like. In a specific example, when the second preset interface is a voice chat interface, it is indicated that the user performs a voice call through the social application program of the terminal device, and the terminal device has a network usage requirement. By setting the first preset threshold to 0, it can be determined that the terminal device has network use requirements, so that the situation that the terminal device does not have network use requirements due to the fact that the current transmission parameters of the terminal device are smaller can be avoided, and accuracy of network quality detection can be improved.
In one possible implementation, the first preset threshold is determined according to a data transmission rate corresponding to a point in the probability density curve of the data transmission rate, where the probability density is less than or equal to the second preset threshold.
It should be appreciated that the second preset threshold is any value greater than 0, for example, may be 10%, 5%, etc. The first preset threshold may be a data transmission rate corresponding to any point with a probability density less than or equal to the second preset threshold in the data transmission rate probability density curve, or may be an average value of data transmission rates corresponding to a plurality of points with a probability density less than or equal to the second preset threshold. Optionally, under the condition that the current service application of the terminal device runs smoothly, the first preset threshold is determined according to the data transmission rate corresponding to the point, in the probability density curve of the data transmission rate, of which the probability density is smaller than or equal to the second preset threshold. In an exemplary embodiment, when a user views a video by using a video application program in a terminal device, the video is smoothly played, in the current probability density curve of the data transmission rate, the data transmission rate corresponding to the point with higher probability density is the data transmission rate of the terminal device when the video is smoothly played, and the data transmission rate corresponding to the point with lower probability density is the data transmission rate corresponding to the terminal device when the terminal device does not need a network. Therefore, the first preset threshold may be determined according to the data transmission rate corresponding to the point where the probability density is less than or equal to the second preset threshold in the current data transmission rate probability density curve.
As an alternative embodiment, S303 may be implemented as follows: determining current blocking information according to current network quality parameters of the terminal equipment, wherein the network quality parameters comprise at least one of an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, an uplink available bandwidth capacity upper limit and a transmission time delay; the uplink data transmission rate upper limit is determined based on the current uplink data transmission rate of the terminal equipment, the downlink data transmission rate upper limit is determined based on the current downlink data transmission rate of the terminal equipment, the uplink available bandwidth capacity upper limit is determined based on the current uplink bandwidth of the terminal equipment, the downlink available bandwidth capacity upper limit is determined based on the current downlink bandwidth of the terminal equipment, and the transmission delay is determined based on the current uplink packet transmission interval and the uplink Round Trip Time (RTT) of the terminal equipment.
It should be understood that the upper limit of the uplink data transmission rate refers to the maximum value that the uplink data transmission rate of the terminal device can reach, irrespective of the current uplink data transmission rate. The upper limit of the uplink data transmission rate is greater than or equal to the current uplink data transmission rate, and the upper limit of the uplink data transmission rate can be determined to be equal to the current uplink data transmission rate under the condition that the current network capacity has no margin. The upper limit of the downlink data transmission rate refers to the maximum value that the downlink data transmission rate can reach in downlink transmission, and is irrelevant to the current downlink data transmission rate. The upper limit of the downlink data transmission rate is greater than or equal to the current downlink data transmission rate, and the upper limit of the downlink data transmission rate can be determined to be equal to the current downlink data transmission rate under the condition that the current network capacity has no margin. The upper limit of the uplink available bandwidth capacity refers to the maximum value which can be reached by the uplink bandwidth of the terminal equipment, and is irrelevant to the current uplink bandwidth. The upper limit of the uplink available bandwidth capacity is larger than or equal to the current uplink bandwidth, and the upper limit of the uplink available bandwidth capacity can be determined to be equal to the current uplink bandwidth under the condition that the current network capacity has no allowance. The upper limit of the downlink available bandwidth capacity refers to the maximum value which can be reached by the downlink bandwidth of the terminal equipment, and is irrelevant to the current downlink bandwidth. The upper limit of the downlink available bandwidth capacity is larger than or equal to the current downlink bandwidth, and the upper limit of the downlink available bandwidth capacity can be determined to be equal to the current downlink bandwidth under the condition that the current network capacity has no allowance. The transmission delay, which may also be referred to as a transmission delay, refers to the total time required for the terminal device to transmit information to the access network device. The uplink packet sending interval refers to a time interval when the terminal equipment sends two adjacent data packets to the access network equipment.
In the case where the network quality parameter includes one of an upper limit of an uplink data transmission rate, an upper limit of a downlink available bandwidth capacity, an upper limit of an uplink available bandwidth capacity, and a transmission delay, the value of the network quality parameter is equal to the value of the one of the upper limit of the uplink data transmission rate, the upper limit of the downlink available bandwidth capacity, the upper limit of the uplink available bandwidth capacity, and the transmission delay.
In the case where the network quality parameter includes a plurality of uplink data transmission rate upper limit, downlink available bandwidth capacity upper limit, uplink available bandwidth capacity upper limit, and transmission time delay, the value of the network quality parameter may be determined according to the plurality of values of the uplink data transmission rate upper limit, the downlink available bandwidth capacity upper limit, the uplink available bandwidth capacity upper limit, and the transmission time delay. Alternatively, the value of the network quality parameter may be equal to the sum of products of any value of the plurality of values in the uplink data transmission rate upper limit, the downlink available bandwidth capacity upper limit, the uplink available bandwidth capacity upper limit, and the weight corresponding to the any value. For example, assume that the network quality parameter includes an upper uplink data transmission rate limit and an upper downlink data transmission rate limit, the weight corresponding to the upper uplink data transmission rate limit is 0.4, the weight corresponding to the upper downlink data transmission rate limit is 0.6, and the network quality parameter=the upper uplink data transmission rate limit is 0.4+the upper downlink data transmission rate limit is 0.6. Alternatively, the weights of the above arbitrary values corresponding to different applications in the terminal device may be different. For example, for a video application in a terminal device, the network quality parameter includes an uplink data transmission rate upper limit and a downlink data transmission rate upper limit, the weight corresponding to the uplink data transmission rate upper limit is 0.4, the weight corresponding to the downlink data transmission rate upper limit is 0.6, and the network quality parameter=the uplink data transmission rate upper limit is 0.4+the downlink data transmission rate upper limit is 0.6; for a music application program in the terminal device, the network quality parameter includes an uplink data transmission rate upper limit and a downlink data transmission rate upper limit, the weight corresponding to the uplink data transmission rate upper limit is 0.5, the weight corresponding to the downlink data transmission rate upper limit is 0.5, and the network quality parameter=the uplink data transmission rate upper limit is 0.5+the downlink data transmission rate upper limit is 0.5.
As an alternative embodiment, the method 300 further comprises: fitting network quality parameters of a plurality of historical moments of the terminal equipment and the katon information of the historical moments, and determining a fitting relation between the network quality parameters and the katon information of the terminal equipment; the above S303 may be implemented as follows: and determining current clamping information according to the current network quality parameters and the fitting relation of the terminal equipment.
It should be understood that the plurality of historical moments refers to at least two historical moments. The network quality parameters of the plurality of historical moments refer to one network quality parameter corresponding to each of the plurality of historical moments, and the network quality parameters corresponding to any two of the plurality of historical moments can be the same or different. Illustratively, the plurality of historical moments include a first historical moment and a second historical moment, the network quality parameter corresponding to the first historical moment is m, and m is any value greater than or equal to 0; the network quality parameter corresponding to the second historical moment is n, n is any value greater than or equal to 0, and m and n can be the same or different. The jamming information of the plurality of historical moments refers to that each historical moment of the plurality of historical moments corresponds to one jamming information, and the number of the jamming information is the same as the number of the network quality parameters. For example, assuming that the plurality of historical moments includes a first historical moment, a second historical moment and a third historical moment, the terminal device has a first network quality parameter and first katon information at the first historical moment; the terminal equipment has a second network quality parameter and second clamping information at a second historical moment; and the terminal equipment has a third network quality parameter and third cartoon information at a third historical moment.
In one possible implementation, the click-through information for a plurality of historical time instants may be determined based on user feedback. The terminal device displays a pop-up message for indicating the user to input the current service click-on degree to the user at the first historical moment, the user inputs the click-on degree of the current service according to the pop-up message, the click-on degree can be any value between 0% and 100%, and the terminal device stores the click-on degree of the terminal device at the first historical moment and the network quality parameter of the terminal device at the first historical moment according to the feedback of the user. Optionally, the degree of jamming may also refer to terms used to describe the degree of jamming of the current service of the terminal device, such as "non-Chang Kadu", "jamming", "relatively jamming", "not jamming", "very fluent", etc., where different terms may correspond to different probabilities of jamming.
In one possible implementation, the click-through information is a click-through probability, and the click-through information at the plurality of historical moments is a plurality of values uniformly distributed in a range of 0% to 100%. Illustratively, the plurality of historical moments include a first historical moment, a second historical moment, a third historical moment, a fourth historical moment, and a fifth historical moment, the first historical moment having a click probability of any of 0% to 20%; the probability of stuck at the second historical moment is any value from 20% to 40%; the probability of stuck at the third historical moment is any value from 40% to 60%; the probability of stuck at the fourth historical moment is any value from 60% to 80%; the probability of stuck at the fifth history is any value from 80% to 100%. The katon information of the plurality of history times uniformly distributed in the range of 0% to 100% may be determined by the terminal device according to the katon information of all history times of the terminal device. For example, the blocking information of all the history moments of the terminal device may include blocking information corresponding to 200 history moments, and in the case that the terminal device needs to determine the blocking information corresponding to 10 history moments, the terminal device may determine the blocking information corresponding to one history moment from the 200 blocking information every 10%, so that the obtained blocking information of 10 history moments is uniformly distributed in a range of 0% to 100%.
The fit relationship between the network quality parameter and the katon information may refer to a formula for describing the relationship between the network quality parameter and the katon information. Each historical moment in the plurality of historical moments can be used as a sampling point, each sampling point corresponds to one katon information and one network quality parameter, and the terminal equipment can obtain a formula for representing the linear relation between the katon information and the network quality parameter by performing linear fitting on the katon information and the network quality parameter corresponding to the plurality of sampling points. In the case that the terminal device needs to determine the current jamming information, the current network quality parameter may be input into the formula, and then the current jamming information of the terminal device may be determined.
Optionally, the jamming information is jamming probability, and if the current jamming information of the terminal equipment determined according to the fitting relation is less than or equal to 0%, it can be determined that the network is not jammed; and determining network jamming under the condition that the current jamming information of the terminal equipment determined according to the fitting relation is greater than or equal to 100%.
In one possible implementation, the upper limit of the uplink available bandwidth capacity may be determined by the method 400. Fig. 4 is a flowchart illustrating a method 400 for determining an upper limit of uplink available bandwidth capacity according to an embodiment of the present application. The method 400 may be performed by a terminal device, the hardware structure of which is shown in fig. 1, and the software structure of which is shown in fig. 2. As shown in fig. 4, the method 400 includes:
S401, acquiring the current uplink bandwidth of a packet data convergence protocol (packet data convergence protocol, PDCP) layer of the terminal equipment.
S402, determining whether the buffer time (buffer time) of the PDCP layer is less than or equal to a preset buffer time.
In the case where the buffering time is less than or equal to the preset buffering time, S403 is performed;
and under the condition that the buffer time is longer than the preset buffer time, determining the upper limit of the uplink available bandwidth capacity as the uplink bandwidth.
It should be appreciated that the preset buffer time is any value greater than or equal to 0, such as 1min, etc. Under the condition that the buffer time is smaller than or equal to the preset buffer time, the current network quality is indicated to be capable of supporting the current data transmission, and the current network capacity has a margin. Under the condition that the buffer time is longer than the preset buffer time, the current network quality is not capable of supporting the current data transmission, namely the current network capacity has no allowance, and at the moment, the upper limit of the uplink available bandwidth capacity is the current uplink bandwidth of the terminal equipment.
S403, determining the data transmission rate of each power unit.
It should be understood that the data transmission rate per power unit refers to the amount of data that the terminal device is capable of supporting for each unit of current transmit power.
S404, determining the uplink available bandwidth capacity allowance according to the data transmission rate of each power unit.
It should be understood that the uplink available bandwidth capacity margin is an amount by which the current uplink bandwidth of the terminal device can be increased, i.e. the difference between the upper limit of the uplink available bandwidth capacity and the current uplink bandwidth.
S405, determining an upper limit of the uplink available bandwidth capacity according to the uplink available bandwidth capacity allowance and the current uplink bandwidth of the PDCP layer.
It should be appreciated that the upper limit of the uplink available bandwidth capacity may be a sum of the uplink available bandwidth capacity margin and the current uplink bandwidth of the PDCP layer.
As can be appreciated by those skilled in the art, the method 400 can also determine an upper limit of the uplink data transmission rate, and when determining the uplink data transmission rate, S401 is to obtain the current uplink data transmission rate of the terminal device; s404, determining an uplink data transmission rate allowance according to the data transmission rate of each power unit; s405, determining an upper limit of the uplink data transmission rate according to the uplink data transmission rate and the uplink data transmission rate allowance; and under the condition that the buffer time is longer than the preset buffer time, determining the upper limit of the uplink data transmission rate as the uplink data transmission rate.
It should be understood that the size of the sequence numbers in the method 400 does not mean the order of execution, and the execution order of each method should be determined by its functions and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application. For example, the step S401 may be performed before the step S405, that is, the step S401 may be performed before the steps S402 to S404, or may be performed after the steps S402 to S404, and the order of the steps S401 and S402 to S404 is not limited in the present application.
In another possible implementation, the upper limit of the downlink available bandwidth capacity may be determined by the method 500. Fig. 5 is a flowchart of a method 500 for determining an upper limit of a downlink available bandwidth capacity according to an embodiment of the present application. The method 500 may be performed by a terminal device, the hardware structure of which is shown in fig. 1, and the software structure of which is shown in fig. 2. As shown in fig. 5, the method 500 includes:
s501, acquiring the current downlink bandwidth of the PDCP layer of the terminal equipment.
S502, determining whether the current frequency band utilization is less than 100%.
In the case where the current frequency band utilization is less than 100%, S503 is performed;
and under the condition that the current frequency band utilization rate is equal to 100%, determining the upper limit of the downlink available bandwidth capacity as the downlink bandwidth.
It should be appreciated that when the current frequency band utilization is less than 100%, there is still a margin in the current network capacity; when the current frequency band utilization rate is equal to 100%, the current network capacity has no margin, and the upper limit of the downlink available bandwidth capacity is the current downlink bandwidth of the terminal equipment.
S503, acquiring the signal-to-interference-plus-noise ratio (signal to interference plus noise ratio, SINR), multiple-in multiple-out (MIMO) order of the terminal equipment and the frequency band of the current wireless network.
S504, determining the peak rate according to the SINR, the MIMO order and the frequency band of the current wireless network.
S505, determining the downlink available bandwidth capacity allowance according to the peak rate and the frequency band utilization.
S506, determining the upper limit of the downlink available bandwidth capacity according to the downlink available bandwidth capacity allowance and the current downlink bandwidth of the PDCP layer.
It should be appreciated that the upper limit of the downlink available bandwidth capacity may be a sum of the downlink available bandwidth capacity margin and the current downlink bandwidth of the PDCP layer.
As can be appreciated by those skilled in the art, the method 500 can also determine the upper limit of the downlink data transmission rate, and S501 is the current downlink data transmission rate of the PDCP layer of the terminal device when determining the uplink data transmission rate; s505, determining a downlink data transmission rate allowance according to the peak rate and the frequency band utilization rate; s506, determining an upper limit of the downlink data transmission rate according to the downlink data transmission rate and the downlink data transmission rate allowance; and under the condition that the current frequency band utilization rate is equal to 100%, determining that the upper limit of the downlink data transmission rate is the downlink data transmission rate.
It should be understood that the size of the sequence numbers in the method 500 does not mean the order of execution, and the order of execution of the methods should be determined by the functions and the internal logic, and should not be construed as limiting the implementation of the embodiments of the present application. For example, S501 may be executed before S506, that is, S501 may be executed before S502-S505, or may be executed after S502-S505, and the order of S501 and S502-S505 is not limited in the present application.
As an alternative embodiment, S304 may be implemented as follows: determining whether the current clamping information is larger than or equal to a third preset threshold value; and if the current jamming information is larger than or equal to a third preset threshold value, determining network jamming of the terminal equipment.
It should be appreciated that the third preset threshold is the same as the dimension of the current click-through information. In one possible implementation, the current click-through information may be a current click-through probability, and correspondingly, the third preset threshold is any value between 0% and 100%.
Alternatively, the current click-through information may be a click-through score, where the click-through score is a product of the click-through probability and a fourth preset threshold. The fourth preset threshold is any value greater than 0, such as 1000, 800, etc. Correspondingly, the third preset threshold is a value determined according to the value range of the katon fraction. For example, the fourth preset threshold is 1000, the current jamming information=the current jamming probability is 1000, and the third preset threshold may be 800, where the current jamming information is greater than or equal to 800, and the current network jamming of the terminal device is determined.
Optionally, in the case that the current katon information is a katon score, when the network quality parameter includes an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, a third preset threshold corresponding to a plurality of times in the transmission delay, and the network quality parameter includes an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, a third preset threshold corresponding to one time in the transmission delay may be different. Illustratively, when the network quality parameter includes an upper uplink data transmission rate limit, the third preset threshold may be 800; the third preset threshold may be 500 when the network quality parameter includes an upper limit of an uplink data transmission rate, an upper limit of a downlink available bandwidth capacity, and a transmission delay.
In one possible implementation manner, if the current jamming information is smaller than a third preset threshold value, it is determined that the network of the terminal device is not jammed.
The network quality detection method is described in detail below with reference to fig. 6.
Fig. 6 is a flowchart of a network quality detection method 600 according to an embodiment of the present application. As shown in fig. 6, the method 600 includes:
S601, acquiring current transmission parameters of terminal equipment, wherein the transmission parameters comprise data transmission rate or channel bandwidth.
S602, determining whether the transmission parameter is greater than or equal to a first preset threshold;
if the transmission parameter is greater than or equal to the first preset threshold, it is determined that the terminal device has a network usage requirement, and S603 is executed.
If the transmission parameter is smaller than a first preset threshold value, determining that the network of the terminal equipment is not blocked.
And S603, fitting the network quality parameters of the terminal equipment at a plurality of historical moments and the katon information of the terminal equipment at a plurality of historical moments, and determining the fitting relation between the network quality parameters and the katon information of the terminal equipment.
S604, determining current cartoon information according to the current network quality parameters and fitting relation of the terminal equipment.
S605, determining whether the current cartoon information is larger than or equal to a third preset threshold value;
if the current blocking information is greater than or equal to the third preset threshold, executing S606;
if the current jamming information is smaller than a third preset threshold value, determining that the network of the terminal equipment is not jammed.
S606, determining network blocking of the terminal equipment.
It should be understood that the sequence numbers of the above methods do not mean the order of execution, and the order of execution of the methods should be determined by their functions and internal logic.
The network quality detection method according to the embodiment of the present application is described in detail above with reference to fig. 3 to 6, and the network quality detection apparatus according to the embodiment of the present application is described in detail below with reference to fig. 7 and 8.
Fig. 7 is a schematic structural diagram of a network quality detection apparatus 700 according to an embodiment of the present application. As shown in fig. 7, the apparatus 700 includes: an acquisition module 701 and a processing module 702.
The apparatus 700 is configured to implement steps corresponding to the terminal device in the above method embodiment.
An obtaining module 701, configured to obtain current transmission parameters of the apparatus 700, where the transmission parameters include a data transmission rate or a channel bandwidth;
a processing module 702, configured to determine whether the device 700 has a network usage requirement according to the transmission parameter; in the case that the device 700 has a network usage requirement, determining current jam information of the network of the device 700, where the current jam information is used to represent a current jam condition of the network; based on the current jam information, it is determined whether the network of the apparatus 700 is jammed.
Optionally, the processing module 702 is specifically configured to: determining whether the transmission parameter is greater than or equal to a first preset threshold; if the transmission parameter is greater than or equal to the first preset threshold, it is determined that the apparatus 700 has network usage requirements.
Optionally, the first preset threshold is determined based on at least one of: user operation detected by the device 700, a current display interface of the device 700, a current application usage status of the device 700, or a data transmission rate probability density curve; the using state is a full-screen using state or a non-full-screen using state, and the data transmission rate probability density curve is used for representing the corresponding relation between the probability density and the data transmission rate.
Alternatively, the first preset threshold is 0 in any one of the following cases: the user operation detected by the device 700 is a refresh operation of the user on the current display interface, and the current display interface is a first preset interface; or the use state of the current application program is a full-screen use state, and the current application program is a preset type application program; alternatively, the current display interface of the apparatus 700 is a second preset interface.
Optionally, the first preset threshold is determined according to a data transmission rate corresponding to a point in the probability density curve of the data transmission rate, where the probability density is smaller than or equal to the second preset threshold.
Optionally, the processing module 702 is specifically configured to: determining current blocking information according to current network quality parameters of the device 700, wherein the network quality parameters comprise at least one of an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, an uplink available bandwidth capacity upper limit and a transmission time delay; the uplink data transmission rate upper limit is determined based on the current uplink data transmission rate of the device 700, the downlink data transmission rate upper limit is determined based on the current downlink data transmission rate of the device 700, the uplink available bandwidth capacity upper limit is determined based on the current uplink bandwidth of the device 700, the downlink available bandwidth capacity upper limit is determined based on the current downlink bandwidth of the device 700, and the transmission delay is determined based on the current uplink packet transmission interval and the uplink round trip time RTT of the device 700.
Optionally, the processing module 702 is further configured to: fitting the network quality parameters of the device 700 at a plurality of historical moments and the katon information at a plurality of historical moments, and determining a fitting relation between the network quality parameters of the device 700 and the katon information; the processing module 702 is specifically configured to: the current katon information is determined based on the current network quality parameters and the fitting relationship of the apparatus 700.
Optionally, the processing module 702 is specifically configured to: determining whether the current clamping information is larger than or equal to a third preset threshold value; if the current jamming information is greater than or equal to the third preset threshold, determining that the network of the device 700 is jammed.
Optionally, the processing module 702 is further configured to: if the current jamming information is smaller than the third preset threshold, it is determined that the network of the apparatus 700 is not jammed.
It should be appreciated that the apparatus 700 herein is embodied in the form of functional modules. The term module herein may refer to an application specific integrated circuit (application specific integrated circuit, ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor, etc.) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an alternative example, it will be understood by those skilled in the art that the apparatus 700 may be specifically a terminal device in the foregoing embodiment, and the apparatus 700 may be used to perform each flow and/or step corresponding to the terminal device in the foregoing method embodiment, which is not described herein for avoiding repetition.
The apparatus 700 has a function of implementing the corresponding steps executed by the terminal device in the method; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In an embodiment of the present application, the apparatus 700 in fig. 7 may also be a chip, for example: SOC. Correspondingly, the processing module 702 may be a transceiver circuit of the chip, which is not limited herein.
Fig. 8 is a schematic structural diagram of a network quality detection apparatus 800 according to an embodiment of the present application. The apparatus 800 includes a processor 801, a transceiver 802, and a memory 803. Wherein the processor 801, the transceiver 802 and the memory 803 are in communication with each other through an internal connection path, the memory 803 is used for storing instructions, and the processor 801 is used for executing the instructions stored in the memory 803 to control the transceiver 802 to transmit signals and/or receive signals.
It should be understood that the apparatus 800 may be specifically configured as a terminal device in the foregoing embodiment, and may be configured to perform each step and/or flow corresponding to the terminal device in the foregoing method embodiment. The memory 803 may optionally include read only memory and random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store information of the device type. The processor 801 may be configured to execute instructions stored in a memory and when the processor 801 executes instructions stored in a memory, the processor 801 is configured to perform the steps and/or flows of the method embodiments described above. The transceiver 802 may include a transmitter that may be used to implement various steps and/or processes for performing transmit actions corresponding to the transceiver described above, and a receiver that may be used to implement various steps and/or processes for performing receive actions corresponding to the transceiver described above.
It should be appreciated that in embodiments of the present application, the processor may be a central processing unit (central processing unit, CPU), the processor may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor executes instructions in the memory to perform the steps of the method described above in conjunction with its hardware. To avoid repetition, a detailed description is not provided herein.
The present application also provides a computer readable storage medium for storing a computer program for implementing the method shown in the above-described method embodiments.
The present application also provides a computer program product comprising a computer program (which may also be referred to as code, or instructions) which, when run on a computer, performs the method as shown in the method embodiments described above.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific implementation of the present application, but the scope of the embodiments of the present application is not limited thereto, and any person skilled in the art may easily think about changes or substitutions within the technical scope of the embodiments of the present application, and all changes and substitutions are included in the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A method for detecting network quality, comprising:
acquiring current transmission parameters of terminal equipment, wherein the transmission parameters comprise data transmission rate or channel bandwidth;
determining whether the terminal equipment has network use requirements according to the transmission parameters;
determining current jamming information of a network of the terminal equipment under the condition that the terminal equipment has network use requirements, wherein the current jamming information is used for representing the current jamming condition of the network;
determining whether the network of the terminal equipment is stuck according to the current stuck information;
the determining whether the terminal device has a network usage requirement according to the transmission parameter includes:
determining whether the transmission parameter is greater than or equal to a first preset threshold;
if the transmission parameter is greater than or equal to the first preset threshold, determining that the terminal equipment has network use requirements;
the first preset threshold is determined based on at least one of:
the user operation detected by the terminal equipment, the current display interface of the terminal equipment, the use state of the current application program of the terminal equipment or a data transmission rate probability density curve;
The data transmission rate probability density curve is used for representing the corresponding relation between probability density and data transmission rate.
2. The method according to claim 1, wherein the first preset threshold value is 0 in any one of the following cases:
the user operation detected by the terminal equipment is a refreshing operation of a user on the current display interface, and the current display interface is a first preset interface; or,
the use state of the current application program is a full-screen use state, and the current application program is a preset type application program; or,
the current display interface of the terminal equipment is a second preset interface.
3. The method of claim 1, wherein the first predetermined threshold is determined based on a data transmission rate corresponding to a point in the data transmission rate probability density curve having a probability density less than or equal to a second predetermined threshold.
4. A method according to claim 3, wherein said determining current katon information of the network of the terminal device comprises:
determining the current cartoon information according to the current network quality parameter of the terminal equipment, wherein the network quality parameter comprises at least one of an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, an uplink available bandwidth capacity upper limit and a transmission time delay;
The uplink data transmission rate upper limit is determined based on the current uplink data transmission rate of the terminal device, the downlink data transmission rate upper limit is determined based on the current downlink data transmission rate of the terminal device, the uplink available bandwidth capacity upper limit is determined based on the current uplink bandwidth of the terminal device, the downlink available bandwidth capacity upper limit is determined based on the current downlink bandwidth of the terminal device, and the transmission delay is determined based on the current uplink packet transmission interval and uplink round trip time RTT of the terminal device.
5. The method according to claim 4, wherein the method further comprises:
fitting network quality parameters of a plurality of historical moments of the terminal equipment and the katon information of the historical moments to determine a fitting relation between the network quality parameters of the terminal equipment and the katon information;
the determining the current katon information according to the current network quality parameter of the terminal device includes:
and determining the current clamping information according to the current network quality parameters of the terminal equipment and the fitting relation.
6. The method according to any one of claims 1 to 5, wherein said determining whether the network of the terminal device is stuck according to the current stuck information comprises:
determining whether the current stuck information is greater than or equal to a third preset threshold;
and if the current jamming information is larger than or equal to the third preset threshold value, determining network jamming of the terminal equipment.
7. The method of claim 6, wherein the method further comprises:
and if the current jamming information is smaller than the third preset threshold value, determining that the network of the terminal equipment is not jammed.
8. A network quality detection apparatus, comprising:
the acquisition module is used for acquiring the current transmission parameters of the device, wherein the transmission parameters comprise data transmission rate or channel bandwidth;
the processing module is used for determining whether the device has network use requirements according to the transmission parameters; determining current jamming information of a network of the device under the condition that the device has network use requirements, wherein the current jamming information is used for representing the current jamming condition of the network; determining whether a network of the device is stuck according to the current stuck information;
The processing module is specifically configured to:
determining whether the transmission parameter is greater than or equal to a first preset threshold;
if the transmission parameter is greater than or equal to the first preset threshold, determining that the device has network use requirements;
the first preset threshold is determined based on at least one of:
user operation detected by the device, a current display interface of the device, a current application use state of the device, or a data transmission rate probability density curve;
the data transmission rate probability density curve is used for representing the corresponding relation between probability density and data transmission rate.
9. The apparatus of claim 8, wherein the first preset threshold is 0 in any of the following cases:
the user operation detected by the device is a refreshing operation of a user on the current display interface, and the current display interface is a first preset interface; or,
the use state of the current application program is a full-screen use state, and the current application program is a preset type application program; or,
The current display interface of the device is a second preset interface.
10. The apparatus of claim 8, wherein the first predetermined threshold is determined based on a data transmission rate corresponding to a point in the data transmission rate probability density curve having a probability density less than or equal to a second predetermined threshold.
11. The apparatus of claim 10, wherein the processing module is specifically configured to:
determining the current blocking information according to the current network quality parameters of the device, wherein the network quality parameters comprise at least one of an uplink data transmission rate upper limit, a downlink available bandwidth capacity upper limit, an uplink available bandwidth capacity upper limit and a transmission time delay;
the uplink data transmission rate upper limit is determined based on the current uplink data transmission rate of the device, the downlink data transmission rate upper limit is determined based on the current downlink data transmission rate of the device, the uplink available bandwidth capacity upper limit is determined based on the current uplink bandwidth of the device, the downlink available bandwidth capacity upper limit is determined based on the current downlink bandwidth of the device, and the transmission delay is determined based on the current uplink packet transmission interval and uplink round trip time RTT of the device.
12. The apparatus of claim 11, wherein the processing module is further configured to:
fitting network quality parameters of a plurality of historical moments of the device and the katon information of the historical moments to determine a fitting relation between the network quality parameters of the device and the katon information;
the processing module is specifically configured to:
and determining the current cartoon information according to the current network quality parameter of the device and the fitting relation.
13. The apparatus according to any one of claims 8 to 12, wherein the processing module is specifically configured to:
determining whether the current stuck information is greater than or equal to a third preset threshold;
and if the current jamming information is larger than or equal to the third preset threshold value, determining that the network of the device is jammed.
14. The apparatus of claim 13, wherein the processing module is further configured to:
and if the current jamming information is smaller than the third preset threshold value, determining that the network of the device is not jammed.
15. A network quality detection apparatus, comprising: a processor coupled to a memory for storing a computer program which, when invoked by the processor, causes the apparatus to perform the method of any one of claims 1 to 7.
16. A computer readable storage medium storing a computer program comprising instructions for implementing the method of any one of claims 1 to 7.
CN202310189700.9A 2023-02-21 2023-02-21 Network quality detection method and device Active CN116232959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310189700.9A CN116232959B (en) 2023-02-21 2023-02-21 Network quality detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310189700.9A CN116232959B (en) 2023-02-21 2023-02-21 Network quality detection method and device

Publications (2)

Publication Number Publication Date
CN116232959A CN116232959A (en) 2023-06-06
CN116232959B true CN116232959B (en) 2023-11-21

Family

ID=86590722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310189700.9A Active CN116232959B (en) 2023-02-21 2023-02-21 Network quality detection method and device

Country Status (1)

Country Link
CN (1) CN116232959B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009006831A1 (en) * 2007-07-05 2009-01-15 Huawei Technologies Co., Ltd. Method and equipment for restricting the transition of a data packet
CN109921941A (en) * 2019-03-18 2019-06-21 腾讯科技(深圳)有限公司 Network servicequality evaluates and optimizes method, apparatus, medium and electronic equipment
CN113965493A (en) * 2021-10-19 2022-01-21 重庆传音通讯技术有限公司 Information prompting method, intelligent terminal and storage medium
CN114449599A (en) * 2021-07-30 2022-05-06 荣耀终端有限公司 Network link switching method based on electronic equipment position and electronic equipment
CN115474229A (en) * 2022-08-30 2022-12-13 维沃移动通信有限公司 Quality determination method and device for wireless network, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009006831A1 (en) * 2007-07-05 2009-01-15 Huawei Technologies Co., Ltd. Method and equipment for restricting the transition of a data packet
CN109921941A (en) * 2019-03-18 2019-06-21 腾讯科技(深圳)有限公司 Network servicequality evaluates and optimizes method, apparatus, medium and electronic equipment
CN114449599A (en) * 2021-07-30 2022-05-06 荣耀终端有限公司 Network link switching method based on electronic equipment position and electronic equipment
CN113965493A (en) * 2021-10-19 2022-01-21 重庆传音通讯技术有限公司 Information prompting method, intelligent terminal and storage medium
CN115474229A (en) * 2022-08-30 2022-12-13 维沃移动通信有限公司 Quality determination method and device for wireless network, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
认知异构无线网络中可信频谱切换机制;马彬;郭云霄;谢显中;;重庆邮电大学学报(自然科学版)(03);全文 *

Also Published As

Publication number Publication date
CN116232959A (en) 2023-06-06

Similar Documents

Publication Publication Date Title
EP4131911A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN111095723B (en) Wireless charging method and electronic equipment
CN114449599B (en) Network link switching method based on electronic equipment position and electronic equipment
WO2020024108A1 (en) Application icon display method and terminal
CN115798390B (en) Screen display method and terminal equipment
CN116156417A (en) Equipment positioning method and related equipment thereof
CN113973189A (en) Display content switching method, device, terminal and storage medium
CN115914461B (en) Position relation identification method and electronic equipment
CN114201738B (en) Unlocking method and electronic equipment
CN116048358B (en) Method and related device for controlling suspension ball
WO2022078116A1 (en) Brush effect picture generation method, image editing method and device, and storage medium
CN116232959B (en) Network quality detection method and device
CN117009005A (en) Display method, automobile and electronic equipment
CN116320880B (en) Audio processing method and device
CN116389884B (en) Thumbnail display method and terminal equipment
CN116709023B (en) Video processing method and device
CN116095223B (en) Notification display method and terminal device
CN115513571B (en) Control method of battery temperature and terminal equipment
CN116345147B (en) Antenna tuning method and terminal equipment
CN116204059B (en) Frame rate adjustment method and device for eye movement tracking
CN115619628B (en) Image processing method and terminal equipment
CN116321265B (en) Network quality evaluation method, electronic device and storage medium
CN116048831B (en) Target signal processing method and electronic equipment
CN116405594B (en) Voice communication method and device
CN115880198B (en) Image processing method and device

Legal Events

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