CN113541832A - Terminal, network transmission quality detection method and storage medium - Google Patents

Terminal, network transmission quality detection method and storage medium Download PDF

Info

Publication number
CN113541832A
CN113541832A CN202110701849.1A CN202110701849A CN113541832A CN 113541832 A CN113541832 A CN 113541832A CN 202110701849 A CN202110701849 A CN 202110701849A CN 113541832 A CN113541832 A CN 113541832A
Authority
CN
China
Prior art keywords
area network
audio
local area
network
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110701849.1A
Other languages
Chinese (zh)
Other versions
CN113541832B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202110701849.1A priority Critical patent/CN113541832B/en
Publication of CN113541832A publication Critical patent/CN113541832A/en
Application granted granted Critical
Publication of CN113541832B publication Critical patent/CN113541832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a terminal, a network transmission quality detection method and a storage medium, relates to the technical field of communication, and aims to determine a network transmission problem. The wireless data transmission system comprises a processor and a wireless data transmission module; the wireless data transmission module receives first audio and video data transmitted by a data source terminal through a local area network within a set time period; the processor determines a local area network transmission quality detection result according to the receiving quality information of the first audio and video data received by the wireless data transmission module; if the detection result of the transmission quality of the local area network meets the blockage condition, determining that the local area network has a network blockage problem; and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal. According to the method and the device, after the fact that the detection result of the transmission quality of the local area network does not meet the blockage condition is determined, the network transmission quality of the wide area network is detected, whether the network blockage problem exists in the wide area network is determined, and therefore the network transmission problem can be accurately determined.

Description

Terminal, network transmission quality detection method and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a terminal, a network transmission quality detection method, and a storage medium.
Background
In recent years, with the rise of 5G, artificial intelligence and big data, mobile phone terminal data and wifi internet function play a significant role. With the evolution of the functions of the mobile network and the wireless local area network, behind the increasing internet speed, the chip integration level, the protocol and the software complexity of the terminal and the operator base station are higher and higher, and the radio frequency circuit and the antenna design are more and more complex. Not only does this challenge the terminal internet performance and stability, but the positioning of the internet performance and stability issues becomes more important.
In the mobile phone terminal market, the problem that most customers complain about is the network card pause problem, particularly the audio and video card pause and the game card pause are taken as main reasons, but the card pause is caused by various reasons, such as mobile phone hardware radio frequency, mobile phone software, gateway routing, operator network, application background server and the like, and the card pause problem also brings a lot of troubles to market sales personnel.
Therefore, a method for detecting the cause of network congestion is needed to evaluate the network quality and index.
Disclosure of Invention
The application provides a terminal, a network transmission quality detection method and a storage medium, which can determine the problem of network transmission quality.
In a first aspect, an embodiment of the present application provides a terminal, including a processor and a wireless data transmission module:
the wireless data transmission module is used for receiving first audio and video data transmitted by a data source terminal through a local area network within a set time period;
the processor is used for determining a local area network transmission quality detection result according to the receiving quality information of the first audio and video data received by the wireless data transmission module; if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem; and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
According to the embodiment of the application, the transmission quality detection result of the local area network is determined according to the receiving quality information received by the wireless data transmission module; if the network blocking condition is met, determining that the network blocking problem exists in the local area network; if the network jamming problem is not satisfied, the network transmission quality of the wide area network of the target terminal is detected, so that after the fact that the network jamming problem is not caused by the local area network is determined, the wide area network is detected, whether the network jamming problem exists in the wide area network is judged, whether the network jamming problem exists can be determined, whether the network jamming problem exists is caused by the local area network or the wide area network can be determined, and the source of the network transmission problem can be accurately determined and identified.
In an optional implementation, the processor is further configured to:
before first audio and video data transmitted by a data source terminal through a local area network is received through the wireless data transmission module, connection is established with a router through the wireless data transmission module;
running a test application, and sending a connection request to a data source terminal connected with the router through the wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by the data source terminal, establishing connection between the terminal and the data source terminal; the terminal, the router and the data source terminal form the local area network.
According to the embodiment of the application, the local area network is established based on the router, the terminal and the data source terminal, so that a detection network is provided for subsequently detecting the network transmission quality of the local area network, and further the detection of the terminal and the router is realized.
In an optional implementation, the processor is further configured to:
after the first audio and video data transmitted by the data source terminal through the local area network is received through the wireless data transmission module, the received first audio and video data is played through the test application.
In an optional embodiment, the detection result of the transmission quality of the local area network is a blocking degree of the local area network; the processor is specifically configured to:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the first audio and video data;
taking the total duration of the time interval as the pause duration of the first audio and video data in the set time period;
and determining the blocking degree of the local area network according to the pause time length and the time length of the set time period.
According to the embodiment of the application, the pause time of the first audio and video data in the set time period is determined according to the time interval of the first audio and video data received by the wireless data transmission module obtained by monitoring, and the blocking degree of the local area network is determined according to the pause time and the time of the set time period, so that the accuracy of the determined blocking degree of the local area network is improved.
An optional implementation manner is that the wireless data transmission module is specifically configured to:
receiving second audio and video data sent by a remote server in the set time period, and playing the second audio and video data through a video application installed in the terminal; the video application is a video application corresponding to the remote server;
the processor is specifically configured to:
determining a wide area network transmission quality detection result according to the receiving quality information of the second audio and video data received by the wireless data transmission module; and if the detection result of the transmission quality of the wide area network meets the blockage condition, determining that the wide area network has a network blockage problem.
According to the embodiment of the application, the second audio and video data sent by the remote server are received, and the receiving quality information of the second audio and video data received by the wireless data transmission module is determined; and determining a transmission quality detection result of the wide area network according to the receiving quality information, determining whether the transmission quality detection result of the wide area network meets a stuck condition, and determining that the wide area network has a network stuck problem after determining that the stuck condition is met, thereby realizing the judgment of whether the network stuck problem is caused by the wide area network.
In an optional embodiment, the detection result of the transmission quality of the wide area network is a congestion degree of the wide area network; the processor is specifically configured to:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the second audio and video data;
taking the total duration of the time interval as the pause duration of the second audio and video data in the set time period;
and determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
According to the embodiment of the application, the pause time of the second audio and video data in the set time period is determined according to the time interval of the wireless data transmission module receiving the second audio and video data obtained by monitoring, and the blocking degree of the wide area network is determined according to the pause time and the time of the set time period, so that the accuracy of the determined blocking degree of the wide area network is improved.
In a second aspect, an embodiment of the present application provides a method for detecting network transmission quality, including:
in a set time period, receiving first audio and video data transmitted by a data source terminal through a local area network through a wireless data transmission module of a target terminal;
determining a local area network transmission quality detection result according to the receiving quality information of the first audio and video data received by the wireless data transmission module;
if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem;
and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
An optional implementation manner is that, before receiving, by a wireless data transmission module of a target terminal, first audio and video data transmitted by a data source terminal through a local area network, the method further includes:
establishing connection with a router through a wireless data transmission module of the target terminal;
sending a connection request to a data source terminal connected with the router through the wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by the data source terminal, establishing connection between the target terminal and the data source terminal; the target terminal, the router and the data source terminal form the local area network.
An optional implementation manner is that, after the first audio and video data transmitted by the data source terminal through the local area network is received by the wireless data transmission module of the target terminal, the method further includes:
and playing the received first audio and video data through the test application.
In an optional embodiment, the detection result of the transmission quality of the local area network is a blocking degree of the local area network; the determining the detection result of the transmission quality of the local area network according to the receiving quality information of the first audio and video data received by the wireless data transmission module comprises the following steps:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the first audio and video data;
taking the total duration of the time interval as the pause duration of the first audio and video data in the set time period;
and determining the blocking degree of the local area network according to the pause time length and the time length of the set time period.
An optional implementation manner is that the detecting the network transmission quality of the wide area network to which the target terminal is connected includes:
in the set time period, second audio and video data sent by a remote server are received through the wireless data transmission module, and the second audio and video data are played through a video application installed in the target terminal; the video application is a video application corresponding to the remote server;
determining a wide area network transmission quality detection result according to the receiving quality information of the second audio and video data received by the wireless data transmission module;
and if the detection result of the transmission quality of the wide area network meets the blockage condition, determining that the wide area network has a network blockage problem.
In an optional embodiment, the detection result of the transmission quality of the wide area network is a congestion degree of the wide area network; the determining of the detection result of the transmission quality of the wide area network according to the receiving quality information of the second audio and video data received by the wireless data transmission module comprises the following steps:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the second audio and video data;
taking the total duration of the time interval as the pause duration of the second audio and video data in the set time period;
and determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
In a third aspect, an embodiment of the present application further provides a network transmission quality detection apparatus, including:
the receiving unit is used for receiving first audio and video data transmitted by the data source terminal through the local area network through a wireless data transmission module of the target terminal within a set time period;
the determining unit is used for determining a local area network transmission quality detection result according to the receiving quality information of the first audio and video data received by the wireless data transmission module; if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem; and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
An optional implementation manner is that, before the wireless data transmission module of the target terminal receives the first audio and video data transmitted by the data source terminal through the local area network, the receiving unit is further configured to:
establishing connection with a router through a wireless data transmission module of the target terminal;
sending a connection request to a data source terminal connected with the router through the wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by the data source terminal, establishing connection between the target terminal and the data source terminal; the target terminal, the router and the data source terminal form the local area network.
An optional implementation manner is that, after the first audio and video data transmitted by the data source terminal through the local area network is received by the wireless data transmission module of the target terminal, the receiving unit is further configured to:
and playing the received first audio and video data through the test application.
In an optional embodiment, the detection result of the transmission quality of the local area network is a blocking degree of the local area network; the determining unit is specifically configured to:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the first audio and video data;
taking the total duration of the time interval as the pause duration of the first audio and video data in the set time period;
and determining the blocking degree of the local area network according to the pause time length and the time length of the set time period.
An optional implementation manner is that the receiving unit is specifically configured to:
in the set time period, second audio and video data sent by a remote server are received through the wireless data transmission module, and the second audio and video data are played through a video application installed in the target terminal; the video application is a video application corresponding to the remote server;
the determining unit is specifically configured to:
determining a wide area network transmission quality detection result according to the receiving quality information of the second audio and video data received by the wireless data transmission module;
and if the detection result of the transmission quality of the wide area network meets the blockage condition, determining that the wide area network has a network blockage problem.
In an optional embodiment, the detection result of the transmission quality of the wide area network is a congestion degree of the wide area network; the determining unit is specifically configured to:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the second audio and video data;
taking the total duration of the time interval as the pause duration of the second audio and video data in the set time period;
and determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
In a fourth aspect, the present application further provides a computer storage medium, in which computer program instructions are stored, and when the instructions are run on a computer, the instructions cause the computer to execute the network transmission quality detection method as described in the first aspect.
For technical effects brought by any one implementation manner in the second aspect to the fourth aspect, reference may be made to technical effects brought by a corresponding implementation manner in the first aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a block diagram illustrating an exemplary hardware configuration of a target terminal according to an embodiment of the present disclosure;
fig. 2 is a schematic view of an application scenario of a network transmission quality detection method according to an embodiment of the present application;
fig. 3 is a schematic view of an application scenario of another network transmission quality detection method according to an embodiment of the present application;
fig. 4 is a schematic view of an application scenario of another network transmission quality detection method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a network transmission quality detection method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a display interface of a test application according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a display interface of another test application provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a playback interface of a test application according to an embodiment of the present disclosure;
fig. 9 is a schematic view of a complete flow chart of a network transmission quality detection method according to an embodiment of the present application;
fig. 10 is a block diagram of a terminal according to an embodiment of the present disclosure;
fig. 11 is a block diagram of a network transmission quality detection apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Some of the words that appear in the text are explained below:
(1) local Area Network (LAN): the network system connects computer devices distributed in different physical positions within a range of several kilometers, and can communicate with each other and share resources under the support of network software.
(2) Wide Area Network (WAN): also known as extranet and public network. Is a remote network for connecting computers in local area networks or metropolitan area networks of different regions for communication. Typically spanning a large physical range, ranging from tens of kilometers to thousands of kilometers, and which can connect multiple regions, cities and countries, or span several continents and provide long-range communications, forming an international long-range network.
(3) A terminal: the terminal is a device capable of installing various applications and displaying objects provided in the installed applications, and the terminal may be mobile or fixed. For example, a mobile phone, a tablet computer, various wearable devices, a vehicle-mounted device, a Personal Digital Assistant (PDA), a point of sale (POS), or other terminals capable of implementing the above functions.
(4) The application program comprises the following steps: which may be referred to simply as an application, is a computer program that is capable of performing one or more specific functions. It may have a visual display interface that enables interaction with a user, such as settings, electronic maps, etc.; alternatively, the display may not have a visual display interface and may not interact with the user. Illustratively, the applications can be divided into third-party applications and system applications, wherein the third-party applications can be understood as applications installed by a user, such as an instant messaging application, an electronic map application, and the like; system applications may be understood as applications that are preset by the operating system, such as settings, dials, information, etc.
The word "exemplary" is used hereinafter to mean "serving as an example, embodiment, or illustration. Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The terms "first" and "second" are used herein for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Fig. 1 shows a schematic configuration of a target terminal 100.
The following describes an embodiment specifically by taking the target terminal 100 as an example. It should be understood that the target terminal 100 shown in fig. 1 is only one example, and the target terminal 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a target terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the target terminal 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the target terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the target terminal 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information, generate signal input related to user settings and function control of the target terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the target terminal 100, and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the target terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the target terminal 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the target terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The target terminal 100 may further include at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The target terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, optical sensor, motion sensor, and the like.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and target terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The target terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the target terminal 100 may help a user to receive and send e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
The processor 180 is a control center of the object terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the object terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the target terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The target terminal 100 also includes a power supply 190 (such as a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The target terminal 100 may also be configured with power buttons for powering the terminal on and off, and locking the screen.
At present, in the mobile phone terminal market, the problem that most customer complaints are network card pause is mainly the network card pause, particularly the audio and video card pause and the game card pause, but the card pause relates to various reasons, and mobile phone hardware radio frequency, mobile phone software, gateway routing, operator network, application background server and the like can cause card pause, which also brings a lot of troubles to market sales personnel. Therefore, a method for detecting the cause of network congestion is needed to evaluate the network quality and index.
Based on the above problem, as shown in fig. 2, an application scenario diagram for network transmission quality detection provided in the embodiment of the present application includes a target terminal 100, a router 200, and a data source terminal 300;
the target terminal 100 establishes connection with the router 200 through a wireless data transmission module, and the data source terminal 300 establishes connection with the router 200; the target terminal 100 establishes a connection between the target terminal 100 and the data source terminal 300 by sending a connection request to the data source terminal 300 and receiving a response message returned by the data source terminal. The target terminal 100, the router 200, and the data source terminal 300 form a local area network.
The target terminal 100 and the data source terminal 300 may be a mobile phone, a Personal Digital Assistant (PDA), a computer, a notebook, a tablet computer, or the like. The target terminal 100 has a test application and a video application installed thereon.
In some embodiments, before the target terminal 100 leaves the factory, quality detection, including network transmission quality detection, needs to be performed on the target terminal 100.
In specific implementation, the target terminal 100 responds to the operation of local area network transmission quality detection triggered by the user, and sends an audio/video data acquisition request to the data source terminal 300 through the local area network; after receiving the audio/video data acquisition request, the data source terminal 300 returns the first audio/video data to the target terminal 100 through the local area network. The target terminal 100 receives the first audio and video data through the wireless data transmission module within a set time period, and determines the receiving quality information of the first audio and video data received by the wireless data transmission module; the target terminal 100 determines the detection result of the transmission quality of the local area network according to the determined reception quality information.
In some embodiments, if the detection result of the transmission quality of the local area network meets the set stuck condition, the target terminal 100 determines that the local area network has a network stuck problem. In addition, before the target terminal 100 leaves the factory, the target terminal 100 is overhauled after the network blockage problem of the local area network formed by the target terminal 100 is detected.
In other embodiments, if the detection result of the transmission quality of the local area network does not satisfy the stuck condition, the target terminal 100 detects the network transmission quality of the wide area network to which the target terminal 100 is connected.
As shown in fig. 3, an application scenario diagram of network transmission quality detection provided in the embodiment of the present application includes a target terminal 100, a router 200, a gateway 400, and a remote server 500; the target terminal 100, the router 200, the gateway 400, and the remote server 500 form a wide area network.
In a specific implementation, the target terminal 100 sends an audio/video data acquisition request to the remote server 500 through the wide area network in response to an operation of opening a video application triggered by a user. After receiving the audio/video data acquisition request, the remote server 500 transmits second audio/video data to the target terminal 100 through the wide area network. The target terminal 100 receives the second audio and video data through the wireless data transmission module, and determines the reception quality information of the second audio and video data received by the wireless data transmission module. The target terminal 100 determines a wide area network transmission quality detection result according to the received reception quality information.
In other embodiments, as shown in fig. 4, an application scenario diagram for network transmission quality detection is provided in the embodiments of the present application, which includes a target terminal 100, a router 200, a data source terminal 300, a gateway 400, and a remote server 500; the target terminal 100, the router 200, and the data source terminal 300 form a local area network. The target terminal 100, the router 200, the gateway 400, and the remote server 500 constitute a wide area network.
After the user feeds back that the target terminal 100 has the network blockage problem to the manufacturer, the manufacturer detects the target terminal 100 at the home of the user to determine whether the network blockage problem is a problem existing in a local area network or a problem existing in a wide area network.
In specific implementation, a manufacturer installs a test application on the target terminal 100, and establishes a TCP connection with the data source terminal through a router to construct a local area network. Then, carrying out network transmission quality detection on the local area network to determine whether the local area network has a network jamming problem; and, after determining that the local area network does not have the network congestion problem, performing network transmission quality detection on the wide area network connected to the target terminal 100 to determine whether the wide area network has the network congestion problem. The manufacturer can detect the target terminal 100 of the user by the network transmission quality detection method to determine the source of the network blockage problem, thereby providing a correct solution.
As shown in fig. 5, an embodiment of the present application provides a method for detecting network transmission quality, which is applied to a target terminal, and includes the following steps:
step S501, in a set time period, first audio and video data transmitted by a data source terminal through a local area network are received through a wireless data transmission module of a target terminal.
In some embodiments, in a set time period, the target terminal responds to a video playing operation triggered by a user, sends a data acquisition request to the data source terminal, and receives first audio and video data transmitted by the data source terminal through a local area network through a wireless data transmission module of the target terminal.
It should be noted that the wireless data transmission module includes, but is not limited to, a wireless module, and an audio interface; the wireless module is used for receiving first audio and video data transmitted by a data source terminal through a local area network; the audio interface is used for receiving audio data in the first audio and video data.
Step S502, according to the receiving quality information of the first audio/video data received by the wireless data transmission module, determining the transmission quality detection result of the local area network.
In some embodiments, the target terminal determines, according to the obtained reception quality information of the first audio and video data received by the audio interface in the wireless data transmission module, a reception condition of the audio interface in the wireless data transmission module when receiving the first audio and video data, and further determines a local area network transmission quality detection result.
Step S503, if the detection result of the transmission quality of the local area network meets the predetermined stuck condition, determining that the local area network has a network stuck problem.
In some embodiments, after determining that the detection result of the transmission quality of the local area network meets the stuck condition, the target terminal determines that the local area network has a network stuck problem, and displays prompt information of the local area network having the network stuck problem in a display interface.
Step S504, if the detection result of the transmission quality of the local area network does not meet the stuck condition, the network transmission quality of the wide area network connected with the target terminal is detected.
In some embodiments, after determining that the detection result of the transmission quality of the local area network does not satisfy the stuck condition, the target terminal determines that the local area network does not have a network stuck problem, that is, the stuck problem of the target terminal playing the audio and video data is not caused by the local area network.
In order to determine the network blockage problem, the embodiment of the application needs to detect the network transmission quality of the wide area network connected with the target terminal and determine whether the wide area network has the network blockage problem.
According to the embodiment of the application, the transmission quality detection result of the local area network is determined according to the receiving quality information received by the wireless data transmission module; if the network blocking condition is met, determining that the network blocking problem exists in the local area network; if the network jamming problem is not satisfied, the network transmission quality of the wide area network of the target terminal is detected, so that after the fact that the network jamming problem is not caused by the local area network is determined, the wide area network is detected, whether the network jamming problem exists in the wide area network is judged, whether the network jamming problem exists can be determined, whether the network jamming problem exists is caused by the local area network or the wide area network can be determined, and the source of the network transmission problem can be accurately determined and identified.
In some embodiments, in the embodiment of the present application, when performing network transmission quality detection of a local area network on a target terminal, the local area network needs to be constructed based on the target terminal.
In implementation, the target terminal responds to the wireless connection operation triggered by the user, sends a connection request to the router through the wireless module in the wireless data transmission module, and establishes connection with the router after receiving a response message returned by the router.
In some embodiments, the data source terminal sends a connection request to the router through the wireless module in response to a wireless connection operation triggered by a user, and establishes a connection with the router after receiving a response message returned by the router.
In specific implementation, after the data source terminal is connected with the router, the audio/video simulation service is started, the audio/video server is simulated, and the connection between the audio/video simulation service and the target terminal is waited to be established.
It should be noted that the IP and port of the audio/video analog service are fixed. Audio video analog services include, but are not limited to: video (MP4) testing, audio (MP3) testing, and live testing; wherein, the surfaceView is used to play the picture, and the mediaPlayer is used to play the audio. The video test and the live broadcast test are simulated by combining the SurfaceView + mediaPlayer, and the audio test only needs to be simulated by using the mediaPlayer.
In some embodiments, the target terminal sends a connection request to a data source terminal connected to the router through the wireless data transmission module according to the connection operation received by the test application, and establishes a connection between the target terminal and the data source terminal after receiving a response message returned by the data source terminal.
In specific implementation, the target terminal responds to the operation of the test application triggered by a user, opens the test application and displays a display interface of the test application; a user can input the IP and port of the audio and video simulation service of the data source terminal in a display interface of the test application and trigger a connection key so as to establish connection between the target terminal and the data source terminal; and the target terminal responds to the connection operation of connecting the data source terminal triggered by the user and sends a connection request to the data source terminal through the router.
In some embodiments, the target terminal establishes a connection between the target terminal and the data source terminal after receiving the response message returned by the data source terminal.
In a specific implementation, after receiving a response message returned by the data source terminal forwarded by the router, the target terminal establishes a Transmission Control Protocol (TCP) connection between the target terminal and the data source terminal. The target terminal and the data source terminal can transmit audio and video data in the local area network through the TCP channel, and the detection of the transmission quality of the local area network by the target terminal is realized.
It should be noted that the TCP channel is established on the transmission line of the destination terminal-router-data source terminal. When audio and video data are transmitted between the target terminal and the data source terminal through the TCP channel, the router is needed.
In some embodiments, the target terminal is connected to the router, the data source terminal is connected to the router, and a TCP channel exists between the target terminal and the data source terminal, that is, the target terminal, the data source terminal, and the router in this embodiment form a local area network.
For example, as shown in fig. 6, a user in the embodiment of the present application may input an IP and a port of an audio/video analog service of a data source terminal in a display interface of a test application, and then, by clicking a connection key, send a connection request to the data source terminal, so that the data source terminal returns a response message after receiving the connection request; and after receiving the response message, the target terminal establishes TCP connection with the data source terminal.
After the local area network is constructed, the transmission quality detection of the local area network is started through the test application, the audio bottom layer monitoring is started, the audio interface is monitored, and the receiving quality information of the first audio and video data received by the wireless data transmission module is obtained.
In a specific implementation, after the audio bottom layer monitoring is started by the test application, the audio interface in the wireless data transmission module can be monitored by acquiring the receiving quality information of the media player.
It should be noted that the mediaplayer, the onlnfolistener, is configured to obtain a time interval generated when the audio interface receives the audio and video data when the audio and video data is played, and obtain the reception quality information according to the obtained time interval.
In some embodiments, the method and the device start network transmission quality detection of the local area network by triggering a video playing key in the test application, so that the target terminal responds to the triggered video playing operation and sends video acquisition information to the data source terminal.
For example, as shown in fig. 7, in the embodiment of the present application, a video playing key is triggered in a display interface of a test application, so that a target terminal responds to a triggered video playing operation and sends video acquisition information to a data source terminal.
The data source terminal sends first audio and video data to the target terminal after receiving the video acquisition information sent by the target terminal.
In some embodiments, the target terminal receives first audio and video data transmitted by the data source terminal through the local area network through the wireless data transmission module, and plays the received first audio and video data through the test application.
In specific implementation, the target terminal plays video data in the received first audio and video data through the test application, and sends audio data in the first audio and video data to an audio interface in the wireless data transmission module through the test application, so that the audio interface plays according to the received audio data.
For example, as shown in fig. 8, after receiving first audio and video data, a target terminal in the embodiment of the present application switches a display interface to a video playing interface, and plays the received first audio and video data.
In some embodiments, in a set time period, the first audio and video data is continuously played through the test application, and the receiving quality information of the first audio and video data received by the audio interface of the wireless data transmission module in the set time period is obtained.
In specific implementation, the embodiment of the application monitors the audio interface of the wireless data transmission module through the test application and obtains the receiving quality information. The method and the device for receiving the audio and video data count the time length of the time interval in the receiving quality information, and take the total time length of the time interval as the pause time length of the first audio and video data in the set time period.
For example, the duration of the set time period is 30 minutes, the durations of the time intervals included in the reception quality information are 40ms, 50ms and 70ms, respectively, and the total duration 160ms of the time intervals is used as the pause duration of the first audio/video data within the set time.
According to the method and the device, after the pause time of the first audio and video data in the set time period is determined, the blocking degree of the local area network is determined according to the determined pause time and the set time period.
In a specific implementation, the blocking degree of the local area network may be determined in the following manner in the embodiments of the present application.
In some embodiments, the network morton value of the local area network is determined according to the determined morton time, and the ratio of the network morton value to the time of the set time period is used as the blocking degree of the local area network.
In a specific implementation, the network morton value of the local area network is determined according to the corresponding relation between the morton duration and the network morton value.
In some embodiments, based on the human ear-perceivable stuck time of 40ms and the severe stuck time of 200ms, the correspondence between the stuck duration and the network stuck score in the embodiments of the present application may be:
the 1 st 40ms with the total time length of the pause not more than 200ms is calculated as 1 minute, and the 2 nd 40ms is calculated as 2 minutes;
over 200ms, each 200ms is 10 points, 40ms more than 200ms plus 5 points, and so on.
For example, if the katon duration is 90ms, the 2 nd 40ms which is less than 200ms is included, and the score of the network katon score is 1+2 to 3 points (the 1 st 40ms score is 1 point, and the 2 nd 40ms score is 2 points); if the katton time length is 250ms, the network katton score is 10+ 5-15 points (the score calculated by 200ms is 10 points, and the score added by 50ms and 5 points is added).
In some embodiments, after determining the network latency value of the local area network, the embodiment of the present application uses a ratio of the network latency value to a time length of a set time period as a blocking degree of the local area network.
Note that the unit of the time length of the set time period is minutes (min).
In some embodiments, the determined blocking degree of the local area network is a detection result of the transmission quality of the local area network.
In specific implementation, different ranges corresponding to the determined blocking degree in the embodiment of the present application represent different blocking degrees, for example:
the blocking degree is 0, which represents that the network has no blockage, and the audio and video data transmission quality is very good;
the blocking degree is less than or equal to 3, which represents that the network has slight calorie;
the blocking degree is less than 10, which represents that the network has serious blockage, and the playing fluency of the audio and video data is influenced;
the blocking degree is greater than 10, which represents that the network is severely blocked, the audio and video data is not smoothly played, and the user experience is very poor.
After the detection result of the transmission quality of the local area network is determined, whether the detection result of the transmission quality of the local area network meets the set blockage condition is determined.
Note that the stuck condition may be: the blockage degree is smaller than a first set threshold value; alternatively, the degree of obstruction is a second set threshold. When the blocking degree is a first set threshold value, the playing fluency of the audio and video data is hardly influenced; when the blocking degree is the second set threshold value, the transmission quality of the audio and video data is very good.
For example, the stuck condition may be: the degree of clogging is less than 1, or the degree of clogging is 0.
In some embodiments, after determining that the detection result of the transmission quality of the local area network meets the stuck condition, the embodiment of the present application determines that the local area network has a network stuck problem.
In specific implementation, after the fact that the network blockage problem exists in the local area network is determined, the prompt information of the network blockage problem existing in the local area network is displayed in the test application display interface, so that a user can perform subsequent processing on a target terminal or a router with the blockage problem.
In some embodiments, if the user wants to further determine the device with the network congestion problem, the user may establish a local area network between the target terminal and the data source by replacing the router without the network congestion problem, perform network transmission quality detection on the local area network, and determine whether the local area network transmission quality detection result meets the congestion condition. If the network blocking condition is met, determining that the network blocking problem exists in the target terminal; if not, determining that the router has a network blockage problem.
In other embodiments, in the embodiments of the present application, after determining that the detection result of the transmission quality of the local area network does not satisfy the stuck condition, the network transmission quality of the wide area network connected to the target terminal is detected.
In specific implementation, after determining that the detection result of the transmission quality of the local area network does not meet the stuck condition, the embodiment of the application determines that the network transmission quality between the target terminal and the router is good and the stuck problem does not exist, and displays the prompt message that the detection result of the transmission quality of the local area network does not meet the stuck condition in a display interface of the test application; and detecting the network transmission quality of the wide area network connected with the target terminal to determine whether the wide area network has a network jamming problem.
In some embodiments, in a set time period, the second audio and video data sent by the remote server is received through the wireless data transmission module, and the second audio and video data is played through a video application installed in the target terminal.
Note that the video application is a video application corresponding to a remote server.
In specific implementation, after determining that the detection result of the transmission quality of the local area network does not meet the stuck condition, the embodiment of the application clicks the video application in the target terminal and enters a display interface of the video application; and the target terminal responds to the video playing operation triggered by the user and sends a video acquisition request to a remote server corresponding to the video application, so that the remote server sends second audio and video data to the target terminal after receiving the video acquisition request. And after receiving the second audio and video data, the target terminal continuously plays the audio and video through the video application within a set time period.
In some embodiments, the video application plays the video data in the second audio and video data, and the video application sends the audio data in the second audio and video data to the wireless data transmission module, so that the audio interface in the wireless data transmission module plays the received audio data.
According to the embodiment of the application, the wide area network transmission quality detection result is determined according to the receiving quality information of the second audio and video data received by the wireless data transmission module.
It should be noted that the result of the wan transmission quality detection is the congestion level of the wan.
In a specific implementation, the blocking degree of the wide area network is determined in the following manner.
In some embodiments, the test application monitors an audio interface in the wireless data transmission module, obtains, from a media player, reception quality information of second audio and video data received by the audio interface in the wireless data transmission module within a set time period, determines a total duration of the time interval according to the time interval of the second audio and video data received by the audio interface in the reception quality information, and takes the total duration of the time interval as a pause duration of the second audio and video data within the set time period.
After the jamming duration is determined, the blocking degree of the wide area network is determined according to the determined jamming duration and the duration of the set time period.
In some embodiments, the network stuck score of the wide area network is determined according to the determined stuck time duration, and a ratio of the network stuck score to the time duration of the set time period is used as the blocking degree of the wide area network.
In a specific implementation, the network morton value of the wide area network is determined according to the corresponding relation between the morton duration and the network morton value.
In some embodiments, after determining the network latency value of the wide area network, the embodiment of the present application uses a ratio of the network latency value to a time length of a set time period as a blocking degree of the wide area network.
Note that the unit of the time length of the set time period is minutes (min).
In some embodiments, the method determines whether the wan transmission quality detection result meets a predetermined stuck condition according to the determined wan congestion degree.
In some embodiments, if the wan transmission quality detection result meets the set stuck condition, it is determined that the wan has a network stuck problem, and the user is informed that the network stuck problem is a network transmission quality problem caused by poor wan transmission quality and caused by a non-target terminal and a router, and is reminded to change the network in time.
In other embodiments, if the wan transmission quality detection result meets the set stuck condition, it is determined that the wan does not have the network stuck problem; and the local area network does not have the problem of network blockage, and informs the user that the network transmission quality is good without any problem.
As shown in fig. 9, an embodiment of the present application provides a method for detecting network transmission quality, which is applied to a target terminal, and includes the following steps:
step S901, establishing a connection with a router through a wireless data transmission module.
And step S902, responding to the operation that the user triggers the test application, opening the test application, and monitoring the wireless data transmission module through the test application.
In specific implementation, after the test application is started, the audio bottom layer monitoring is started, and an audio interface in the wireless data transmission module is monitored.
Step S903, according to the connection operation received by the test application, a connection request is sent to a data source terminal connected with the router through the wireless data transmission module.
Step S904, after receiving the response message returned by the data source terminal, establishes a connection between the target terminal and the data source terminal.
It should be noted that the destination terminal, the router, and the data source terminal form a local area network.
Step S905, in a set time period, first audio and video data transmitted by a data source terminal through a local area network are received through a wireless data transmission module.
In specific implementation, in a set time period, the target terminal responds to video playing operation triggered by a user, sends a data acquisition request to the data source terminal, and receives first audio and video data returned by the data source terminal through the wireless data transmission module.
And step S906, playing the received first audio and video data through the test application.
In specific implementation, the embodiment of the application sends the received first audio and video data to the test application through the wireless data transmission module, so that the test application processes the first audio and video data to obtain video data and audio data after receiving the first audio and video data; and playing the video data through the test application, and sending the audio data to the audio interface of the wireless data transmission module through the test application so that the audio interface plays the received audio data.
Step S907, obtaining the receiving quality information of the first audio and video data received by the wireless data transmission module.
It should be noted that the reception quality information includes a time interval of receiving the first audio/video data by the wireless data transmission module.
In a specific implementation, the receiving quality information of the first audio/video data received by the audio interface in the monitoring wireless data transmission module is obtained from the media player.
Step S908 is to use the total duration of the time interval when the wireless data transmission module receives the first audio/video data as the pause duration of the first audio/video data in the set time period.
In specific implementation, in the embodiment of the application, the total duration of the time interval in which the audio interface in the wireless data transmission module receives the audio data in the first audio and video data is used as the pause duration of the first audio and video data in a set time period.
Step S909, determining the blocking degree of the local area network according to the pause time and the time of the set time period.
It should be noted that the blocking degree of the lan is a result of detecting the transmission quality of the lan.
Step S910, determining whether the detection result of the transmission quality of the local area network meets the set stuck condition; if yes, go to step S911; if not, step S912 is executed.
Step S911, determining that the local area network has a network blockage problem.
Step S912, in a set time period, receiving second audio/video data sent by the remote server through the wireless data transmission module, and playing the second audio/video data through a video application installed in the target terminal.
Note that the video application is a video application corresponding to a remote server.
In specific implementation, the embodiment of the application sends the received second audio and video data to the video application through the wireless data transmission module, so that the video application processes the second audio and video data after receiving the second audio and video data to obtain the video data and the audio data; and playing the video data through the video application, and sending the audio data to the audio interface of the wireless data transmission module through the video application so that the audio interface plays the received audio data.
Step S913, obtaining the receiving quality information of the second audio/video data received by the wireless data transmission module.
It should be noted that the reception quality information includes a time interval of receiving the second audio/video data by the wireless data transmission module.
In a specific implementation, the embodiment of the present application obtains, from a media player, reception quality information of the second audio/video data received by an audio interface in the monitoring wireless data transmission module.
Step S914, the total duration of the time interval when the wireless data transmission module receives the second audio/video data is used as the pause duration of the second audio/video data in the set time period.
In specific implementation, in the embodiment of the application, the total duration of the time interval in which the audio interface in the wireless data transmission module receives the audio data in the second audio and video data is used as the pause duration of the second audio and video data in a set time period.
And step S915, determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
It should be noted that the blocking degree of the wan is a result of detecting the transmission quality of the wan.
Step S916, determining whether the wan transmission quality detection result satisfies a predetermined stuck condition; if yes, go to step S917; if not, step S918 is executed.
Step S917, determining that the wide area network has a network blockage problem.
Step S918, determining that the wan and the lan do not have the network congestion problem.
Based on the same inventive concept, the embodiment of the present application further provides a terminal, such as the target terminal 100 in fig. 2, fig. 3, and fig. 4. Because the principle of the device for solving the problem is similar to the network transmission quality detection method in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated details are not described again.
As shown in fig. 10, an embodiment of the present application provides a terminal, including a wireless data transmission module 1001 and a processor 1002;
the wireless data transmission module 1001 is used for receiving first audio and video data transmitted by a data source terminal through a local area network within a set time period;
the processor 1002 is configured to determine a local area network transmission quality detection result according to the reception quality information of the first audio/video data received by the wireless data transmission module; if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem; and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
It should be noted that the wireless data transmission module 1001 includes a wireless module and an audio interface.
In an optional implementation, the processor 1002 is further configured to:
before first audio and video data transmitted by a data source terminal through a local area network is received through a wireless data transmission module, connection is established with a router through the wireless data transmission module;
running a test application, and sending a connection request to a data source terminal connected with the router through a wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by a data source terminal, establishing connection between the terminal and the data source terminal; the terminal, the router and the data source terminal form the local area network.
In an optional implementation, the processor 1002 is further configured to:
after first audio and video data transmitted by a data source terminal through a local area network are received through a wireless data transmission module, the received first audio and video data are played through a test application.
In an optional embodiment, the detection result of the transmission quality of the local area network is the blocking degree of the local area network; the processor 1002 is specifically configured to:
acquiring receiving quality information; the receiving quality information comprises a time interval for receiving the first audio and video data by the wireless data transmission module;
taking the total duration of the time interval as the pause duration of the first audio and video data in a set time period;
and determining the blocking degree of the local area network according to the pause time length and the time length of the set time period.
An optional implementation manner is that the wireless data transmission module 1001 is specifically configured to:
receiving second audio and video data sent by a remote server within a set time period, and playing the second audio and video data through a video application installed in the terminal; the video application is a video application corresponding to the remote server;
the processor 1002 is specifically configured to:
determining a wide area network transmission quality detection result according to the receiving quality information of the second audio and video data received by the wireless data transmission module; and if the detection result of the transmission quality of the wide area network meets the blockage condition, determining that the wide area network has the network blockage problem.
In an optional embodiment, the detection result of the transmission quality of the local area network is the blocking degree of the local area network; the processor 1002 is specifically configured to:
acquiring receiving quality information; the receiving quality information comprises a time interval for receiving second audio and video data by the wireless data transmission module;
taking the total duration of the time interval as the pause duration of the second audio and video data in a set time period;
and determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
Based on the same inventive concept, the embodiment of the present application further provides a network transmission quality detection apparatus, and as the principle of the apparatus for solving the problem is similar to the network transmission quality detection method in the embodiment of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 11, an embodiment of the present application provides a network transmission quality detection apparatus, including:
the receiving unit 1101 is configured to receive, within a set time period, first audio and video data transmitted by a data source terminal through a local area network through a wireless data transmission module of a target terminal;
the determining unit 1102 is configured to determine a local area network transmission quality detection result according to the reception quality information of the first audio/video data received by the wireless data transmission module; if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem; and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
An optional implementation manner is that, before receiving, by a wireless data transmission module of a target terminal, first audio and video data transmitted by a data source terminal through a local area network, the receiving unit 1102 is further configured to:
establishing connection with a router through a wireless data transmission module of a target terminal;
sending a connection request to a data source terminal connected with the router through a wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by the data source terminal, establishing connection between the target terminal and the data source terminal; the target terminal, the router and the data source terminal form a local area network.
An optional implementation manner is that, after receiving the first audio/video data transmitted by the data source terminal through the local area network through the audio/video data receiving port of the target terminal, the receiving unit 1101 is further configured to:
and playing the received first audio and video data through the test application.
In an optional embodiment, the detection result of the transmission quality of the local area network is the blocking degree of the local area network; the determining unit 1102 is specifically configured to:
acquiring receiving quality information; the receiving quality information comprises a time interval for receiving the first audio and video data by the wireless data transmission module;
taking the total duration of the time interval as the pause duration of the first audio and video data in a set time period;
and determining the blocking degree of the local area network according to the pause time length and the time length of the set time period.
In an optional implementation manner, the receiving unit 1101 is specifically configured to:
in a set time period, receiving second audio and video data sent by a remote server through a wireless data transmission module, and playing the second audio and video data through a video application installed in a target terminal; the video application is a video application corresponding to the remote server;
the determining unit 1102 is specifically configured to:
determining a wide area network transmission quality detection result according to the receiving quality information of the second audio and video data received by the wireless data transmission module;
and if the detection result of the transmission quality of the wide area network meets the blockage condition, determining that the wide area network has the network blockage problem.
In an optional embodiment, the detection result of the transmission quality of the wan is a congestion degree of the wan; the determining unit 1102 is specifically configured to:
acquiring receiving quality information; the receiving quality information comprises a time interval for receiving second audio and video data by the wireless data transmission module;
taking the total duration of the time interval as the pause duration of the second audio and video data in a set time period;
and determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
Embodiments of the present application also provide a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the steps of any of the methods described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A terminal comprising a processor and a wireless data transmission module;
the wireless data transmission module is used for receiving first audio and video data transmitted by a data source terminal through a local area network within a set time period;
the processor is used for determining a local area network transmission quality detection result according to the receiving quality information of the first audio and video data received by the wireless data transmission module; if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem; and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
2. The terminal of claim 1, wherein the processor is further configured to:
before first audio and video data transmitted by a data source terminal through a local area network is received through the wireless data transmission module, connection is established with a router through the wireless data transmission module;
running a test application, and sending a connection request to a data source terminal connected with the router through the wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by the data source terminal, establishing connection between the terminal and the data source terminal; the terminal, the router and the data source terminal form the local area network.
3. The terminal of claim 1, wherein the processor is further configured to:
after the first audio and video data transmitted by the data source terminal through the local area network is received through the wireless data transmission module, the received first audio and video data is played through the test application.
4. The terminal according to claim 1, wherein the detection result of the transmission quality of the local area network is a blocking degree of the local area network; the processor is specifically configured to:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the first audio and video data;
taking the total duration of the time interval as the pause duration of the first audio and video data in the set time period;
and determining the blocking degree of the local area network according to the pause time length and the time length of the set time period.
5. The terminal of claim 1, wherein the wireless data transmission module is specifically configured to:
receiving second audio and video data sent by a remote server in the set time period, and playing the second audio and video data through a video application installed in the terminal; the video application is a video application corresponding to the remote server;
the processor is specifically configured to:
determining a wide area network transmission quality detection result according to the receiving quality information of the second audio and video data received by the wireless data transmission module; and if the detection result of the transmission quality of the wide area network meets the blockage condition, determining that the wide area network has a network blockage problem.
6. The terminal of claim 5, wherein the wan transmission quality measurement is a congestion level of the wan; the processor is specifically configured to:
acquiring the receiving quality information; the receiving quality information comprises a time interval of the wireless data transmission module receiving the second audio and video data;
taking the total duration of the time interval as the pause duration of the second audio and video data in the set time period;
and determining the blocking degree of the wide area network according to the pause time length and the time length of the set time period.
7. A method for detecting network transmission quality is characterized by comprising the following steps:
in a set time period, receiving first audio and video data transmitted by a data source terminal through a local area network through a wireless data transmission module of a target terminal;
determining a local area network transmission quality detection result according to the receiving quality information of the first audio and video data received by the wireless data transmission module;
if the detection result of the transmission quality of the local area network meets the set blockage condition, determining that the local area network has a network blockage problem;
and if the detection result of the transmission quality of the local area network does not meet the blockage condition, detecting the network transmission quality of the wide area network connected with the target terminal.
8. The method according to claim 7, wherein before the receiving, by the wireless data transmission module of the target terminal, the first audio/video data transmitted by the data source terminal through the local area network, the method further comprises:
establishing connection with a router through a wireless data transmission module of the target terminal;
sending a connection request to a data source terminal connected with the router through the wireless data transmission module according to the connection operation received by the test application;
after receiving a response message returned by the data source terminal, establishing connection between the target terminal and the data source terminal; the target terminal, the router and the data source terminal form the local area network.
9. The method according to claim 7, wherein after receiving the first audio/video data transmitted by the data source terminal through the local area network through the wireless data transmission module of the target terminal, the method further comprises:
and playing the received first audio and video data through the test application.
10. A computer storage medium having computer program instructions stored therein which, when run on a computer, cause the computer to perform the method of claims 7-9.
CN202110701849.1A 2021-06-24 2021-06-24 Terminal, network transmission quality detection method and storage medium Active CN113541832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110701849.1A CN113541832B (en) 2021-06-24 2021-06-24 Terminal, network transmission quality detection method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110701849.1A CN113541832B (en) 2021-06-24 2021-06-24 Terminal, network transmission quality detection method and storage medium

Publications (2)

Publication Number Publication Date
CN113541832A true CN113541832A (en) 2021-10-22
CN113541832B CN113541832B (en) 2023-11-03

Family

ID=78125759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110701849.1A Active CN113541832B (en) 2021-06-24 2021-06-24 Terminal, network transmission quality detection method and storage medium

Country Status (1)

Country Link
CN (1) CN113541832B (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070249387A1 (en) * 2006-04-25 2007-10-25 Sbc Knowledge Ventures, L.P. Method and apparatus for exchanging content over distinct wireless access technologies
JP2010258969A (en) * 2009-04-28 2010-11-11 Secom Co Ltd Communication failure detection system
CN103178912A (en) * 2013-03-15 2013-06-26 北京小米科技有限责任公司 Method and terminal for prompting intensity of wireless signals
US20130316685A1 (en) * 2012-05-22 2013-11-28 Polaris Wireless, Inc. Wireless Terminal Surveillance System
CN104486690A (en) * 2014-12-25 2015-04-01 北京理工大学 Mobile video transmission optimization method based on TCP (transmission control protocol)
US20150228004A1 (en) * 2014-02-07 2015-08-13 Kristin Kaye Bednarek Smart Device Apps and Incentives For Encouraging The Creation and Sharing Electronic Lists To Imrpove Targeted Marketing While Preserving User Anonymity
CN105933179A (en) * 2016-04-11 2016-09-07 烽火通信科技股份有限公司 Multimedia terminal and Internet surfing abnormal message pushing method
CN105992058A (en) * 2015-06-05 2016-10-05 乐视致新电子科技(天津)有限公司 Prompting method, device and system for video playing
WO2017092343A1 (en) * 2015-12-04 2017-06-08 乐视控股(北京)有限公司 Video data detection method and device
CN108270738A (en) * 2016-12-30 2018-07-10 北京华为数字技术有限公司 A kind of method for processing video frequency and the network equipment
CN108702637A (en) * 2016-02-18 2018-10-23 高通股份有限公司 Technology for disposing the data stall in WLAN
CN109756352A (en) * 2017-11-02 2019-05-14 华为技术有限公司 The determination method, apparatus and storage medium of network quality
WO2019144818A1 (en) * 2018-01-24 2019-08-01 深圳市道通科技股份有限公司 Method for transmitting video frame, detector and user equipment
CN110169134A (en) * 2017-03-09 2019-08-23 华为技术有限公司 The detection method and device of wireless quality support video tastes
US20190280963A1 (en) * 2017-01-31 2019-09-12 The Mode Group High performance software-defined core network
CN110460732A (en) * 2019-09-24 2019-11-15 腾讯科技(深圳)有限公司 Network quality monitoring method, device and the communication server
CN110582028A (en) * 2018-06-07 2019-12-17 深圳市晟江科技有限公司 method, system and terminal for detecting and reminding wireless video signal
CN110781084A (en) * 2019-10-21 2020-02-11 腾讯科技(深圳)有限公司 Method and device for determining stuck identification parameter, storage medium and electronic device
US20200145836A1 (en) * 2018-11-07 2020-05-07 Commscope Technologies Llc Wireless local area network with reliable backhaul between access points
CN111355950A (en) * 2020-03-13 2020-06-30 随锐科技集团股份有限公司 Video transmission quality detection method and system in real-time video communication
CN112968935A (en) * 2021-01-29 2021-06-15 北京字跳网络技术有限公司 Data transmission method, device, terminal and storage medium
CN113014962A (en) * 2021-02-08 2021-06-22 西安万像电子科技有限公司 Jam reminding method and device

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070249387A1 (en) * 2006-04-25 2007-10-25 Sbc Knowledge Ventures, L.P. Method and apparatus for exchanging content over distinct wireless access technologies
JP2010258969A (en) * 2009-04-28 2010-11-11 Secom Co Ltd Communication failure detection system
US20130316685A1 (en) * 2012-05-22 2013-11-28 Polaris Wireless, Inc. Wireless Terminal Surveillance System
CN103178912A (en) * 2013-03-15 2013-06-26 北京小米科技有限责任公司 Method and terminal for prompting intensity of wireless signals
US20150228004A1 (en) * 2014-02-07 2015-08-13 Kristin Kaye Bednarek Smart Device Apps and Incentives For Encouraging The Creation and Sharing Electronic Lists To Imrpove Targeted Marketing While Preserving User Anonymity
CN104486690A (en) * 2014-12-25 2015-04-01 北京理工大学 Mobile video transmission optimization method based on TCP (transmission control protocol)
CN105992058A (en) * 2015-06-05 2016-10-05 乐视致新电子科技(天津)有限公司 Prompting method, device and system for video playing
WO2017092343A1 (en) * 2015-12-04 2017-06-08 乐视控股(北京)有限公司 Video data detection method and device
CN108702637A (en) * 2016-02-18 2018-10-23 高通股份有限公司 Technology for disposing the data stall in WLAN
CN105933179A (en) * 2016-04-11 2016-09-07 烽火通信科技股份有限公司 Multimedia terminal and Internet surfing abnormal message pushing method
CN108270738A (en) * 2016-12-30 2018-07-10 北京华为数字技术有限公司 A kind of method for processing video frequency and the network equipment
US20190280963A1 (en) * 2017-01-31 2019-09-12 The Mode Group High performance software-defined core network
CN110169134A (en) * 2017-03-09 2019-08-23 华为技术有限公司 The detection method and device of wireless quality support video tastes
CN109756352A (en) * 2017-11-02 2019-05-14 华为技术有限公司 The determination method, apparatus and storage medium of network quality
WO2019144818A1 (en) * 2018-01-24 2019-08-01 深圳市道通科技股份有限公司 Method for transmitting video frame, detector and user equipment
CN110582028A (en) * 2018-06-07 2019-12-17 深圳市晟江科技有限公司 method, system and terminal for detecting and reminding wireless video signal
US20200145836A1 (en) * 2018-11-07 2020-05-07 Commscope Technologies Llc Wireless local area network with reliable backhaul between access points
CN110460732A (en) * 2019-09-24 2019-11-15 腾讯科技(深圳)有限公司 Network quality monitoring method, device and the communication server
CN110781084A (en) * 2019-10-21 2020-02-11 腾讯科技(深圳)有限公司 Method and device for determining stuck identification parameter, storage medium and electronic device
CN111355950A (en) * 2020-03-13 2020-06-30 随锐科技集团股份有限公司 Video transmission quality detection method and system in real-time video communication
CN112968935A (en) * 2021-01-29 2021-06-15 北京字跳网络技术有限公司 Data transmission method, device, terminal and storage medium
CN113014962A (en) * 2021-02-08 2021-06-22 西安万像电子科技有限公司 Jam reminding method and device

Also Published As

Publication number Publication date
CN113541832B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
KR101829036B1 (en) Method and apparatus for controlling smart household appliance and terminal
CN106921560A (en) Voice communication method, apparatus and system
CN106162369A (en) A kind of realize in virtual scene interactive method, Apparatus and system
CN105554266B (en) Prompting message processing method, device and equipment
CN105406882A (en) Terminal equipment control method and device
US20220070874A1 (en) Methods and apparatuses for configuring sidelink resource
JP2017531977A (en) Message transmission method, apparatus, terminal, router, program, and recording medium
CN105372999A (en) Data processing method and device
CN104866140A (en) Screen calibration method and screen calibration apparatus
CN105159969A (en) Social network based user recommendation method and apparatus
CN107438811A (en) One kind breath screen shows method and device
US9794415B2 (en) Calling methods and devices
CN111836069A (en) Virtual gift presenting method, device, terminal, server and storage medium
CN105635795A (en) Collection method and apparatus of television user behavior information
CN106406175B (en) Door opening reminding method and device
CN104598537A (en) Target object information recommendation method and device
CN105323152A (en) Message processing method, device and equipment
CN106101600A (en) The method of attachment of video calling and device
CN106597502B (en) Height above sea level determines method and device
CN105554087A (en) Information setting method and device
CN111221602A (en) Interface display method and electronic equipment
CN107316207A (en) A kind of method and apparatus for obtaining bandwagon effect information
CN106358064A (en) Method and equipment for controlling television
CN105515940A (en) Information interaction method and device
CN105389152B (en) Project the method, apparatus and terminal device of picture

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant