CN108462897A - A kind of method of data capture and device of network failure - Google Patents
A kind of method of data capture and device of network failure Download PDFInfo
- Publication number
- CN108462897A CN108462897A CN201810136228.1A CN201810136228A CN108462897A CN 108462897 A CN108462897 A CN 108462897A CN 201810136228 A CN201810136228 A CN 201810136228A CN 108462897 A CN108462897 A CN 108462897A
- Authority
- CN
- China
- Prior art keywords
- data
- network
- network failure
- network parameter
- components
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44209—Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
Abstract
An embodiment of the present invention provides a kind of method of data capture of network failure and devices, are applied to mobile terminal, and the mobile terminal is equipped with video playing client, and the mobile terminal further includes data acquisition components and data integrated assembly;The method includes:When the video playing client detects network failure, network failure notice is sent to the Data Integration component;The Data Integration component is notified based on the network failure, and network parameter is obtained from the data acquisition components;The Data Integration component integrates the network parameter, obtains network failure data;The network failure data are sent to server.In embodiments of the present invention, when video playing client terminal playing Online Video, data acquisition components can acquire network parameter in real time, when there is network failure, Data Integration component can obtain network failure data from data acquisition components, improve the actual effect and real-time of data acquisition.
Description
Technical field
The present invention relates to network transmission technology fields, more particularly to the method for data capture and one kind of a kind of network failure
The transacter of network failure.
Background technology
With the development of network technology, network quality is more and more important to the experience of user.And with mobile whole
The prevalence at end so that requirement of the user to network quality is also higher and higher.
Therefore, detection Network status is the indispensable step of Logistics networks quality, if can be in time from the movement of user
Terminal detects the variation about Network status, the optimization to the background service and APP of mobile terminal, the especially clothes of big flow
Business and application, are all prodigious supplements.
In the prior art, when detecting network failure, mobile terminal can be directed to different applications, background service acquisition not
Same network data, is then sent directly to server, the network data that server can be caused to receive in this way is more mixed and disorderly, nothing
Method is immediately handled network data, effective poor.
Invention content
In view of the above problems, the embodiment of the present invention proposes a kind of method of data capture of network failure and corresponding one kind
The transacter of network failure.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method of data capture of network failure, it is applied to
Mobile terminal, the mobile terminal are equipped with video playing client, and the mobile terminal further includes data acquisition components sum number
According to integrated assembly;The method includes:
When the video playing client detects network failure, it is logical to send network failure to the Data Integration component
Know;
The Data Integration component is notified based on the network failure, and network parameter is obtained from the data acquisition components;
The Data Integration component integrates the network parameter, obtains network failure data;
The network failure data are sent to server.
Preferably, the data acquisition components include PUMA components and HCDN components;
It is described from the data acquisition components obtain network parameter the step of include:
The network parameter of VRS, BOSS are obtained from the PUMA components;
The network parameter of BOSS, scheduling, Cache machines is obtained from the HCDN components.
Preferably, the step of Data Integration component integrates the network parameter, obtains network failure data
Including:
The Data Integration component carries out duplicate removal to the data repeated in the network parameter of acquisition;
Obtain the network identification information of user;
The network identification information and the network parameter after duplicate removal are packaged, network failure data are obtained.
Preferably, the step of video playing client detects network failure include:
When the video playing client terminal playing Online Video, the download buffer data of the Online Video are obtained
The size of size and the play buffer data of the Online Video;
Judge whether the size of the download buffer data of the Online Video is less than the buffering that the Online Video plays
The size of area's data;
If so, there is network failure in judgement.
Preferably, further include:
When the video playing client terminal playing Online Video, data acquisition components are monitored and are remembered to network parameter
Record;The network parameter include the access time of URL, DNS, dns resolution result, the Connection Time of HTTP, HTTP return code,
And the connection speed of HTTP.
Correspondingly, the embodiment of the invention discloses a kind of transacter of network failure, it is applied to mobile terminal, institute
It states mobile terminal and video playing client is installed, the mobile terminal further includes data acquisition components and data integrated assembly;
The device includes:
Sending module, for when the video playing client detects network failure, to the Data Integration component
Send network failure notice;
First acquisition module calls the Data Integration component from the data for being notified based on the network failure
Acquisition component obtains network parameter;
It integrates module and obtains network failure for calling the Data Integration component to integrate the network parameter
Data;
Sending module, for the network failure data to be sent to server.
Preferably, the data acquisition components include PUMA components and HCDN components;
The acquisition module includes:
First network parameter acquiring submodule, the network parameter for obtaining VRS, BOSS from the PUMA components;
Second network parameter acquisition submodule, the network for obtaining BOSS, scheduling, Cache machines from the HCDN components
Parameter.
Preferably, the integration module includes:
Duplicate removal submodule, for carrying out duplicate removal to the data repeated in the network parameter of acquisition;
Network identification information acquisition submodule, the network identification information for obtaining user;
Encapsulation submodule obtains network for the network identification information and the network parameter after duplicate removal to be packaged
Fault data.
Preferably, further include:
Second acquisition module, for when the video playing client terminal playing Online Video, obtaining the Online Video
Download buffer data size and the Online Video play buffer data size;
Judgment module described regards online for judging whether the size of the download buffer data of the Online Video is less than
The size for the buffer data that frequency plays;
Determining module, for judging network failure occur.
Preferably, further include:
Module is monitored, for when the video playing client terminal playing Online Video, calling data acquisition components to net
Network parameter is monitored and is recorded;The network parameter includes the connection of the access time of URL, DNS, dns resolution result, HTTP
Time, HTTP return code, and, the connection speed of HTTP.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, mobile terminal is equipped with video playing client, further includes data acquisition components sum number
According to integrated assembly;Wherein, when video playing client detects network failure, it is logical to send network failure to Data Integration component
Know, Data Integration component is notified based on network failure, first obtains network parameter from data acquisition components, then carry out to network parameter
It integrates, obtains network failure data, the network failure data are then sent to server.In this way, in video playing client
When end plays Online Video, data acquisition components can acquire network parameter in real time, when there is network failure, Data Integration group
Part can obtain network failure data from data acquisition components, improve the actual effect and real-time of data acquisition.
Description of the drawings
Fig. 1 is a kind of step flow chart of the method for data capture embodiment of network failure of the present invention;
Fig. 2 is a kind of structure diagram of the transacter embodiment of network failure of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
Referring to Fig.1, the step flow chart for showing a kind of method of data capture embodiment of network failure of the present invention, is answered
For mobile terminal, which is characterized in that the mobile terminal is equipped with video playing client, and the mobile terminal further includes number
According to acquisition component and data integrated assembly.
In embodiments of the present invention, the mobile terminal can have following features:
(1) on hardware systems, equipment has central processing unit, memory, input part and output block, that is,
It says, equipment is often the microcomputer devices for having communication function.Furthermore it is also possible to have multiple input modes, such as key
Disk, mouse, touch screen, transmitter and camera etc., and it can be adjusted input as needed.Meanwhile equipment often has
A variety of way of outputs, such as receiver, display screen, can also be adjusted as needed;
(2) on software architecture, equipment must have operating system, as Windows Mobile, Symbian, Palm,
Android, iOS etc..Meanwhile these operating systems are more and more open, of the operating system platform exploitation based on these openings
Property application program emerge one after another, such as address book, schedule, notepad, calculator and various types of games are dramatically full
The foot demand of personalized user;
(3) in communication capacity, equipment has flexible access way and high-bandwidth communication performance, and can be selected by
The business selected and residing environment, the communication mode selected by adjust automatically, to user-friendly.Equipment can support GSM,
WCDMA, CDMA2000, TDSCDMA, Wi-Fi and WiMAX etc. not only support voice industry to adapt to multiple types network
Business, more supports a variety of wireless data services;
(4) in function using upper, equipment more focuses on hommization, personalization and multifunction.With computer technology
Development, equipment enter the pattern of " human-centred " from the pattern of " facility center management ", are integrated with embedding assembly, control skill
Art, artificial intelligence technology and biometrics etc. have fully demonstrated people-oriented objective.Due to the hair of software technology
Exhibition, equipment can be adjusted according to demands of individuals to be arranged, more personalized.Meanwhile equipment itself is integrated with numerous software and hardwares,
Function is also stronger and stronger.
The video playing client can be used for playing the local video of mobile terminal, it can also be used to connect with video server
It connects, plays Online Video.The video playing client is such as can be " iqiyi.com ", " iqiyi.com PPS ".
The method can specifically include following steps:
Step 101, when the video playing client detects network failure, net is sent to the Data Integration component
Network failure notification;
In practical applications, video playing client when playing Online Video, on one side will by meeting one side foradownloaded video data
The video data downloaded plays out, and under normal circumstances, the speed of foradownloaded video data can be more than the speed played, in this way
It just can guarantee the flow of video playing, but if encountering network failure, the speed that just will appear foradownloaded video data is less than and broadcasts
The case where speed put, then the phenomenon that online broadcasting of video necessarily will appear interim card, influences user's viewing.Therefore, when regarding
When frequency client end of playing back plays video online, need to detect whether current network network failure occurs.
It should be noted that in this application, influence the factor that video normally plays online, for example, PING values it is excessively high, lose
Packet etc., belongs to network failure, because of user's own net bandwidth not enough and the case where cause video not play online normally
It is then not belonging to network failure, for example, user's own net bandwidth is 1Mbps, and the video of user's viewing needs the bandwidth of 5MBps
Ability normal play also can not normally watch the video online even when the network of user does not break down.
In a kind of preferred embodiment of the present invention, the step of video playing client detects network failure, includes:
When the video playing client terminal playing Online Video, the download buffer data of the Online Video are obtained
The size of size and the play buffer data of the Online Video;
Judge whether the size of the download buffer data of the Online Video is less than the play buffering of the Online Video
The size of area's data;
If so, there is network failure in judgement.
In the specific implementation, video playing client when playing Online Video, needs to download on one side, plays downloaded on one side
Data, for ensure video playing smoothness, the data of download can be first stored in download buffer, then Online Video is broadcast
Buffering area is put to obtain data from download buffer and play out.It is normal in network, data in download buffer
Size be greater than the sizes of data in play buffer, be less than play buffering if there is the size of data in download buffer
In area the case where the size of data, then it is abnormal to mean that downloading data occurs, that is, there is network failure.
After video playing client detects network failure, the notice of network failure can be sent to Data Integration component,
Data Integration component will obtain relevant network parameter after receiving network failure notice.Wherein, Data Integration component
Can be NETDoctor components.
Step 102, the Data Integration component is notified based on the network failure, and net is obtained from the data acquisition components
Network parameter;
Now in the art, after detecting network failure, network parameter is just directly sent to service by data acquisition components
Device.But in embodiments of the present invention, Data Integration component can obtain network parameter from data acquisition components.
In a kind of preferred embodiment of the present invention, when the video playing client terminal playing Online Video, data acquisition
Component is monitored and is recorded to network parameter;The network parameter include the access time of DNS, HTTP Connection Time,
The return code of HTTP, and, the connection speed of HTTP.
Specifically, have data acquisition components in mobile terminal, it is logical for monitoring in real time, record mobile terminal and server
Every network parameter when letter (namely mobile terminal obtains video data from server), may include mainly URL, DNS
Access time, dns resolution result, the Connection Time of HTTP, HTTP return code, and, the connection speed etc. of HTTP.
In a kind of preferred embodiment of the present invention, the data acquisition components include big broadcasting kernel PUMA components and HCDN
(Hybrid Content Delivery Network, miscellaneous content distribution network) component;
It is described from the data acquisition components obtain network parameter the step of include:
Request VRS (Virtual Reference Station, virtual reference station), member are obtained from the PUMA components
The network parameter of authentication service BOSS,
And/or
The network parameter of request member's authentication service BOSS, scheduling, Cache machines is obtained from the HCDN components.
Specifically, the data that PUMA can be collected include:1、common:Essential information;2、video:Video information;3、
user:User information;4、VRS:The information of the last time request vrs;5、BOSS:The information of the last time request boss.Wherein,
Common may include the information such as app_version, puma_version, puma_error_code, and video may include
The information such as file_type, aid, tvid, user may include the information such as vip_user, uid, and vrs may include vrs_start_
The information such as time, vrs_url, vrs_dns_server_ip, BOSS may include boss_start_time, boss_url,
The information such as boss_dns_server_ip.
PUMA collects the related data of request VRS/BOSS as unit of video.All data values are character below
String, when a certain data acquisition not then, have other default values unless stated otherwise, otherwise fill a vacancy without exception.PUMA will be collected into
Data pass to HCDN in the form of json goes here and there by special interface.
The data that HCDN can be collected include:1、common:Essential information;2、video:Video information;3、user:User
Information;4、BOSS:The information of the last time request boss;5、disp:The information of the last request scheduling;6、cache:Recently
The information of primary request cache machines;7、record:The information repeatedly asked recently.Wherein, common may include app_
The information such as version, hcdn_version, hcdn_error_code, video may include file_type, aid, tvid etc.
Information, user may include the information such as vip_user, uid, BOSS may include boss_start_time, boss_url,
The information such as boss_dns_server_ip, disp may include disp_start_time, disp_url, disp_dns_
The information such as server_ip, cache may include the information such as cache_start_time, cache_url, cache_ip, for
Record, if repeatedly request boss/ scheduling/cache machines, the information for needing record repeatedly to ask recently, at most record 10 times.
In addition, for vip resources, it is likely to have the information of request boss.Specific example is as follows:
a.boss-》Scheduling-》Cache machines-》Cache machines-》Cache machines-》Scheduling...
b.boss-》Scheduling-》Cache machines-》Scheduling-》Cache machines-》Cache machines...
C. scheduling-》Cache machines-》Cache machines-》Cache machines-》Scheduling...
D. scheduling-》Cache machines-》Scheduling-》Cache machines-》Cache machines...
The request number of times of count --- record, up to 10;
Index [1-10] --- the information of request boss, scheduling or cache machines, the data format respectively asked for example above-mentioned 4/
Shown in 5/6.
HCDN collects the related data of request BOSS/ scheduling/Cache machines as unit of being segmented.All data values below
Be character string, when a certain data acquisition not then, have other default values unless stated otherwise, otherwise fill a vacancy without exception.HCDN is whole
The data for being respectively derived from PUMA and HCDN are closed, then pass to data by Socket communications in the form of json goes here and there
NetDoctor。
Interim card is delivered and deposits delivery at a low speed, the data field that HCDN is delivered is the same.It is delivered for interim card for certain
Field, at a low speed deposit delivery when fill a vacancy;Similarly, it for depositing type field at a low speed, fills a vacancy when interim card is delivered.
In practical applications, it before Data Integration component obtains network parameter from data acquisition components, needs to adopt with data
Collect component and establish connection, by taking HCDN components as an example:
1) HCDN removes connection NETDoctor using each port numbers in agreement range successively;
2) NETDoctor sends verification message, type of message AUT, and data portion is " netdoc ";
3) HCDN replys verification confirmation message, and type of message is all AUT, and data portion is " hcdn ";
4) NETDoctor sends heartbeat message, type of message HB, and data portion is sky;
5) HCDN replys heartbeat acknowledgment messages, and type of message is all HB, and data portion is sky.
The process that PUMA components establish connection with NETDoctor components is similar with the above process, and details are not described herein again.
When Data Integration component obtains network parameter from HCDN, HCDN can will ask the phase of BOSS, scheduling, Cache machines
It closes data and is sent to Data Integration component, type of message DATA, data portion is then the collected network datas of HCDN.Its
In, Data Integration component is communicated with HCDN using http protocol.
When Data Integration component obtains network parameter from PUMA components, PUMA can will ask the related data of VRS, BOSS
It is sent to Data Integration component, type of message DATA, data portion is then the collected network datas of PUMA.Wherein, data
Integrated assembly is communicated with PUMA using http protocol.
It should be noted that the Data Integration component in the embodiment of the present invention can be NETDoctor components, data acquisition
Component can be PUMA components, and/or, HCDN components can also be other components, and the embodiment of the present invention is not restricted this.
Moreover, in embodiments of the present invention, PUMA components can be with HCDN components while gathered data, can also be only respectively
Vertical gathered data, the embodiment of the present invention are not also restricted this.
Step 103, the Data Integration component integrates the network parameter, obtains network failure data;
In a kind of preferred embodiment of the present invention, the Data Integration component integrates the network parameter, obtains
The step of network failure data includes:
The Data Integration component carries out duplicate removal to the data repeated in the network parameter of acquisition;
Obtain the network identification information of user;
The network identification information and the network parameter after duplicate removal are packaged, network failure data are obtained.
Specifically, Data Integration component can obtain network parameter from multiple data acquisition components simultaneously, it is certainly, multiple
Data acquisition components belong to the same mobile terminal, then first integrate multigroup network parameter, remove the network of repetition
Parameter, then the network identification information of user is obtained, such as:Whether User IP/region/operator uses VPN, whether uses generation
The network parameter of network identification information and duplicate removal, is then packaged together, obtains network by reason, local dns server address etc.
Fault data.
It should be noted that when if it is PUMA components or HCDN component independent acquisition data, so that it may not have to acquisition
The network parameter arrived carries out duplicate removal.
Step 104, the network failure data are sent to server.
After Data Integration component obtains network failure data by integration, so that it may to be uniformly sent to network failure data
Server.
In embodiments of the present invention, mobile terminal is equipped with video playing client, further includes data acquisition components sum number
According to integrated assembly;Wherein, when video playing client detects network failure, it is logical to send network failure to Data Integration component
Know, Data Integration component is notified based on network failure, first obtains network parameter from data acquisition components, then carry out to network parameter
It integrates, obtains network failure data, the network failure data are then sent to server.In this way, in video playing client
When end plays Online Video, data acquisition components can acquire network parameter in real time, when there is network failure, Data Integration group
Part can obtain network failure data from data acquisition components, improve the actual effect and real-time of data acquisition.
Meanwhile the communication between data acquisition components and Data Integration component so that mobile terminal can acquire data
Component is arranged into more application programs, improves the versatility of the method.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group
It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to
According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 2, a kind of structure diagram of the transacter embodiment of network failure of the present invention, application are shown
In mobile terminal, the mobile terminal is equipped with video playing client, the mobile terminal further include data acquisition components and
Data Integration component, can specifically include following module:
Sending module, for when the video playing client detects network failure, to the Data Integration component
Send network failure notice;
First acquisition module calls the Data Integration component from the data for being notified based on the network failure
Acquisition component obtains network parameter;
It integrates module and obtains network failure for calling the Data Integration component to integrate the network parameter
Data;
Sending module, for the network failure data to be sent to server.
In a kind of preferred embodiment of the present invention, the data acquisition components include PUMA components and HCDN components;
The acquisition module includes:
First network parameter acquiring submodule, the network parameter for obtaining VRS, BOSS from the PUMA components;
Second network parameter acquisition submodule, the network for obtaining BOSS, scheduling, Cache machines from the HCDN components
Parameter.
In a kind of preferred embodiment of the present invention, the integration module includes:
Duplicate removal submodule, for carrying out duplicate removal to the data repeated in the network parameter of acquisition;
Network identification information acquisition submodule, the network identification information for obtaining user;
Encapsulation submodule obtains network for the network identification information and the network parameter after duplicate removal to be packaged
Fault data.
In a kind of preferred embodiment of the present invention, further include:
Second acquisition module, for when the video playing client terminal playing Online Video, obtaining the Online Video
Download buffer data size and the Online Video play buffer data size;
Judgment module described regards online for judging whether the size of the download buffer data of the Online Video is less than
The size for the buffer data that frequency plays;
Determining module, for judging network failure occur.
In a kind of preferred embodiment of the present invention, further include:
Module is monitored, for when the video playing client terminal playing Online Video, calling data acquisition components to net
Network parameter is monitored and is recorded;The network parameter includes the connection of the access time of URL, DNS, dns resolution result, HTTP
Time, HTTP return code, and, the connection speed of HTTP.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or in one box of block diagram or multiple boxes specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device including the element.
Above to a kind of data receipts of the method for data capture and a kind of network failure of network failure provided by the present invention
Acquisition means are described in detail, and principle and implementation of the present invention are described for specific case used herein,
The explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for the one of this field
As technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute
It states, the content of the present specification should not be construed as limiting the invention.
Claims (10)
1. a kind of method of data capture of network failure is applied to mobile terminal, which is characterized in that the mobile terminal is equipped with
Video playing client, the mobile terminal further include data acquisition components and data integrated assembly;The method includes:
When the video playing client detects network failure, network failure notice is sent to the Data Integration component;
The Data Integration component is notified based on the network failure, and network parameter is obtained from the data acquisition components;
The Data Integration component integrates the network parameter, obtains network failure data;
The network failure data are sent to server.
2. according to the method described in claim 1, it is characterized in that, the data acquisition components include PUMA components and HCDN groups
Part;
It is described from the data acquisition components obtain network parameter the step of include:
The network parameter of VRS, BOSS are obtained from the PUMA components;
The network parameter of BOSS, scheduling, Cache machines is obtained from the HCDN components.
3. method according to claim 1 or 2, which is characterized in that the Data Integration component to the network parameter into
Row is integrated, and the step of obtaining network failure data includes:
The Data Integration component carries out duplicate removal to the data repeated in the network parameter of acquisition;
Obtain the network identification information of user;
The network identification information and the network parameter after duplicate removal are packaged, network failure data are obtained.
4. according to the method described in claim 1, it is characterized in that, the video playing client detects the step of network failure
Suddenly include:
When the video playing client terminal playing Online Video, the big of the download buffer data of the Online Video is obtained
The size of the play buffer data of the small and described Online Video;
Judge whether the size of the download buffer data of the Online Video is less than the number of buffer that the Online Video plays
According to size;
If so, there is network failure in judgement.
5. method according to claim 1 or 2, which is characterized in that further include:
When the video playing client terminal playing Online Video, data acquisition components are monitored and are recorded to network parameter;
The network parameter include the access time of URL, DNS, dns resolution result, the Connection Time of HTTP, HTTP return code, with
And the connection speed of HTTP.
6. a kind of transacter of network failure is applied to mobile terminal, which is characterized in that the mobile terminal is equipped with
Video playing client, the mobile terminal further include data acquisition components and data integrated assembly;The device includes:
Sending module, for when the video playing client detects network failure, being sent to the Data Integration component
Network failure notifies;
First acquisition module calls the Data Integration component to be acquired from the data for being notified based on the network failure
Component obtains network parameter;
It integrates module and obtains network failure data for calling the Data Integration component to integrate the network parameter;
Sending module, for the network failure data to be sent to server.
7. device according to claim 6, which is characterized in that the data acquisition components include PUMA components and HCDN groups
Part;
The acquisition module includes:
First network parameter acquiring submodule, the network parameter for obtaining VRS, BOSS from the PUMA components;
Second network parameter acquisition submodule, the network parameter for obtaining BOSS, scheduling, Cache machines from the HCDN components.
8. the device described according to claim 6 or 7, which is characterized in that the integration module includes:
Duplicate removal submodule, for carrying out duplicate removal to the data repeated in the network parameter of acquisition;
Network identification information acquisition submodule, the network identification information for obtaining user;
Encapsulation submodule obtains network failure for the network identification information and the network parameter after duplicate removal to be packaged
Data.
9. device according to claim 6, which is characterized in that further include:
Second acquisition module, for when the video playing client terminal playing Online Video, obtaining under the Online Video
Carry the size of the size of buffer data and the play buffer data of the Online Video;
Judgment module, for judging whether the size of the download buffer data of the Online Video is broadcast less than the Online Video
The size for the buffer data put;
Determining module, for judging network failure occur.
10. the device described according to claim 6 or 7, which is characterized in that further include:
Module is monitored, for when the video playing client terminal playing Online Video, data acquisition components being called to join network
Number is monitored and is recorded;The network parameter include the access time of URL, DNS, dns resolution result, HTTP connection when
Between, the return code of HTTP, and, the connection speed of HTTP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810136228.1A CN108462897B (en) | 2018-02-09 | 2018-02-09 | Data collection method and device for network faults |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810136228.1A CN108462897B (en) | 2018-02-09 | 2018-02-09 | Data collection method and device for network faults |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108462897A true CN108462897A (en) | 2018-08-28 |
CN108462897B CN108462897B (en) | 2020-08-18 |
Family
ID=63239949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810136228.1A Active CN108462897B (en) | 2018-02-09 | 2018-02-09 | Data collection method and device for network faults |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462897B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109041267A (en) * | 2018-09-30 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | A kind of network connectivity fai_lure processing method, device and electronic equipment |
CN109379211A (en) * | 2018-09-11 | 2019-02-22 | 网宿科技股份有限公司 | A kind of method for monitoring network and device, server and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070076766A1 (en) * | 2001-01-17 | 2007-04-05 | Broadcom Corporation | System And Method For A Guaranteed Delay Jitter Bound When Scheduling Bandwidth Grants For Voice Calls Via A Cable Network |
US20130019023A1 (en) * | 2011-07-13 | 2013-01-17 | Nir Hemed | Systems, methods, and apparatus for stream client emulators |
CN106254167A (en) * | 2016-10-09 | 2016-12-21 | 凌云天博光电科技股份有限公司 | A kind of method of network monitoring, device, equipment and system |
CN107241595A (en) * | 2017-07-14 | 2017-10-10 | 北京奇艺世纪科技有限公司 | A kind of video failure monitoring method, device, system and electronic equipment |
CN107332715A (en) * | 2017-08-14 | 2017-11-07 | 飞思达技术(北京)有限公司 | Active Performance test plus the network application system and its implementation of passive shunting control |
CN107426013A (en) * | 2017-05-27 | 2017-12-01 | 重庆交通开投科技发展有限公司 | Facility information monitoring method, apparatus and system |
-
2018
- 2018-02-09 CN CN201810136228.1A patent/CN108462897B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070076766A1 (en) * | 2001-01-17 | 2007-04-05 | Broadcom Corporation | System And Method For A Guaranteed Delay Jitter Bound When Scheduling Bandwidth Grants For Voice Calls Via A Cable Network |
US20130019023A1 (en) * | 2011-07-13 | 2013-01-17 | Nir Hemed | Systems, methods, and apparatus for stream client emulators |
CN106254167A (en) * | 2016-10-09 | 2016-12-21 | 凌云天博光电科技股份有限公司 | A kind of method of network monitoring, device, equipment and system |
CN107426013A (en) * | 2017-05-27 | 2017-12-01 | 重庆交通开投科技发展有限公司 | Facility information monitoring method, apparatus and system |
CN107241595A (en) * | 2017-07-14 | 2017-10-10 | 北京奇艺世纪科技有限公司 | A kind of video failure monitoring method, device, system and electronic equipment |
CN107332715A (en) * | 2017-08-14 | 2017-11-07 | 飞思达技术(北京)有限公司 | Active Performance test plus the network application system and its implementation of passive shunting control |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379211A (en) * | 2018-09-11 | 2019-02-22 | 网宿科技股份有限公司 | A kind of method for monitoring network and device, server and storage medium |
CN109041267A (en) * | 2018-09-30 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | A kind of network connectivity fai_lure processing method, device and electronic equipment |
CN109041267B (en) * | 2018-09-30 | 2021-04-23 | 武汉斗鱼网络科技有限公司 | Network connection fault processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108462897B (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230299993A1 (en) | Multi-services gateway device at user premises | |
US20200162345A1 (en) | Method, system and options for multi-operator service life cycle management | |
CN109152095A (en) | Wireless network connecting method for terminal | |
CN111163130B (en) | Network service system and data transmission method thereof | |
CN105005521A (en) | Test method and apparatus | |
CN109787827B (en) | CDN network monitoring method and device | |
CN107070752B (en) | Testing method and testing system for long connection capacity | |
CN109218370A (en) | Message method and device, electronic equipment | |
CN104967646B (en) | Document down loading method and device | |
WO2002082727A1 (en) | Method for collecting a network performance information, computer readable medium storing the same, and an analysis system and method for network performance | |
CN109889521A (en) | Memory, communication channel multiplexing implementation method, device and equipment | |
CN108462897A (en) | A kind of method of data capture and device of network failure | |
CN103581240B (en) | Download method, user equipment and the application server of application program | |
CN106209952B (en) | Service node distribution method and device, CDN management server and system | |
CN105721274B (en) | The fusion method and device of one kind of multiple instant messagings | |
CN104780591B (en) | Business interoperability implementation method, device, system and relevant device between terminal device | |
CN110913406B (en) | Access configuration method and device of RCS test server | |
CN105721231B (en) | A kind of quality of service perception detection method and device | |
CN109981795A (en) | Resource request dispatching method and device | |
EP2630750A1 (en) | Quality of service monitoring device and method of monitoring quality of service | |
CN109547289B (en) | Method, storage device and system for intelligently scheduling visitor flow | |
CN113949631A (en) | Client disaster tolerance processing method and system and electronic equipment | |
CN115996188A (en) | Service scheduling method, device, equipment and computer readable storage medium | |
CN106028076A (en) | Method for acquiring associated user video, server and terminal | |
CN110971923A (en) | Bullet screen connection method, storage medium, system and client |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |