CN105554569B - A kind of method, apparatus and system monitoring Key Quality Indicator - Google Patents

A kind of method, apparatus and system monitoring Key Quality Indicator Download PDF

Info

Publication number
CN105554569B
CN105554569B CN201510924887.8A CN201510924887A CN105554569B CN 105554569 B CN105554569 B CN 105554569B CN 201510924887 A CN201510924887 A CN 201510924887A CN 105554569 B CN105554569 B CN 105554569B
Authority
CN
China
Prior art keywords
kqi
code
monitoring
video
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510924887.8A
Other languages
Chinese (zh)
Other versions
CN105554569A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510924887.8A priority Critical patent/CN105554569B/en
Publication of CN105554569A publication Critical patent/CN105554569A/en
Application granted granted Critical
Publication of CN105554569B publication Critical patent/CN105554569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of method, apparatus and system for monitoring Key Quality Indicator, is related to Internet technical field, can be realized the united analysis of the whole network KQI, and can unify to obtain KQI without expending larger development cost.This method comprises: gateway receives the access video playing page request that user terminal is sent;Gateway sends access video playing page request to service provider SP server;Gateway receives the response message that page code is played including original video that SP server is sent;Gateway plays in original video and is implanted into KQI monitoring code or KQI monitoring guiding code in page code;Gateway sends the video playing page code comprising code implant to user terminal, so that user terminal monitors guiding Code obtaining KQI monitoring code according to KQI, using at least one Video Events in KQI monitoring code monitoring video display process, and at least one KQI is obtained according at least one Video Events.

Description

A kind of method, apparatus and system monitoring Key Quality Indicator
Technical field
The present invention relates to Internet technical field more particularly to a kind of method, apparatus for monitoring Key Quality Indicator and it is System.
Background technique
Key Quality Indicator (KQI, Key Quality Indicators) is close to the users for what different business proposed The QoS parameter of impression is customer-centric, embodies the key index of service layer.Correctly, comprehensively, true KQI Video quality assessment accurately can be carried out to the video traffic that user receives.
More and more service provider (SP, Service Provider) integrated videos in network (Web) page are broadcast Device is put, directly provides more convenient and fast video playing by browser/server (B/S, Browser/Server) mode for user Service.
In the prior art, for the video that above-mentioned webpage plays, service provider is usually in advance in Web page The scripted code (such as JavaScript) for monitoring KQI is write in code, obtains KQI using the scripted code, and to KQI monitoring server reports KQI.
But the video of different Web pages needs respective service provider to write the code for monitoring KQI in its Web page, Cause development cost higher, and the code that each service provider writes can not be also compatible with, leads to not realize the system to KQI One analysis.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and system for monitoring Key Quality Indicator, can be realized to complete The united analysis of KQI is netted, and can unify to obtain KQI without expending larger development cost.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of method for monitoring Key Quality Indicator, comprising:
Gateway receives the access video playing page request that user terminal is sent;
The gateway sends the access video playing page request to service provider SP server;
The gateway receives the response message that the SP server is sent, and the response message includes original video broadcast page Face code;
The gateway plays in the original video and is implanted into Key Quality Indicator KQI monitoring code or KQI in page code Monitoring guiding code;
The gateway sends the video playing page code comprising code implant to the user terminal, the KQI monitoring Code is guided for user terminal KQI monitoring code according to KQI monitoring guiding Code obtaining, the KQI prison It surveys code and utilizes at least one video thing in KQI monitoring code monitoring video display process for the user terminal Part, and at least one KQI is obtained according at least one described Video Events.
The original video that gateway transmits in network pipeline in the embodiment of the present invention plays implantation KQI monitoring in page code Code or KQI monitoring guiding code, therefore, the original video of any service provider SP server transmission plays page code all It is implanted into can be convenient, avoids the need for the mistake that different service providers write the code of monitoring KQI in respective Web page Journey, to effectively reduce development cost.Meanwhile the original video sent for different SP servers plays page code, net Guan Jun implants identical KQI monitoring code or KQI monitoring guiding code, realizes the united analysis of the whole network KQI.
Further, the gateway plays implantation Key Quality Indicator KQI monitoring in page code in the original video Before code or KQI monitoring guiding code, the method also includes:
The gateway receives the KQI monitoring code that KQI monitoring server is sent or KQI monitoring guiding code.
KQI monitoring server is according to existing video protocols unified planning KQI monitoring code, in this way, whether which SP The original video that server is sent plays page code, the KQI monitoring code of network element device implantation or or KQI monitoring guiding code It is all the same, it is able to achieve the united analysis to KQI.
Optionally, the KQI monitoring guiding code is the source address information of KQI monitoring code,
The gateway sends the video playing page code comprising code implant to the user terminal, comprising:
The gateway sends the video playing page code of the source address information comprising the KQI monitoring code to the use Family terminal so that the user terminal obtains the KQI monitoring code according to the source address information, and utilizes the KQI Monitoring code monitor video display process at least one Video Events, and according at least one described Video Events obtain to A few KQI.
KQI monitoring guiding code in the present embodiment can be the source address information of KQI monitoring code, and gateway is in original view Frequency plays the source address information that KQI monitoring code can be only implanted into the page, therefore implantation efficiency is very high, and the performance of gateway disappears Very little is consumed, to can effectively reduce the burden of gateway.
Second aspect, the embodiment of the present invention provide a kind of gateway, comprising:
Receiving unit, for receiving the access video playing page request of user terminal transmission;
Transmission unit is mentioned for sending the access video playing page request to the service that the receiving unit receives For quotient's SP server;
The receiving unit, is also used to receive the response message that the SP server is sent, and the response message includes original Beginning video playing page code;
It is implanted into unit, is implanted into key in page code for playing in the original video that the receiving unit receives Quality index KQI monitoring code or KQI monitoring guiding code;
The transmission unit, for sending the video playing page code for being implanted into unit code implant to the user Terminal, the KQI monitoring guiding code, which is monitored for the user terminal according to the KQI, guides the prison of KQI described in Code obtaining Code is surveyed, the KQI monitoring code is for the user terminal using in KQI monitoring code monitoring video display process At least one Video Events, and at least one KQI is obtained according at least one described Video Events.
The technical effect of network element provided in an embodiment of the present invention may refer to the monitoring that network element executes in above-described embodiment and close The technical effect of network element described in the method for key quality index, details are not described herein again.
Further, the receiving unit is also used to play page code in the original video in the implantation unit Before middle implantation Key Quality Indicator KQI monitoring code or KQI monitoring guiding code, the institute that KQI monitoring server is sent is received State KQI monitoring code or KQI monitoring guiding code.
Preferably, the KQI monitoring guiding code is the source address information of KQI monitoring code.
Correspondingly, the transmission unit, specifically for sending the video of the source address information comprising the KQI monitoring code Page code is played to the user terminal, is supervised so that the user terminal obtains the KQI according to the source address information Survey code, and using the KQI monitoring code monitoring video display process at least one Video Events, and according to it is described extremely Few Video Events obtain at least one KQI.
The third aspect, the embodiment of the present invention provide a kind of network system for monitoring Key Quality Indicator, including such as above-mentioned Gateway and KQI monitoring server described in meaning one, wherein pass through net between the gateway and the KQI monitoring server Network is connected;
The KQI server, for sending the source address information of KQI monitoring code to the gateway, so that the net It closes and is implanted into the source address information in the original video broadcasting page code that it gets, and send and plant to the user terminal Enter the video playing page code of the source address information.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention.
Fig. 1 is network architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 is the method flow schematic diagram of monitoring Key Quality Indicator provided in an embodiment of the present invention;
Fig. 3 is implantation KQI provided in an embodiment of the present invention monitoring guiding code flow schematic diagram;
Fig. 4 is the structural schematic diagram one of gateway provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram two of gateway provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is clearly retouched It states.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.
Description and claims of this specification and term " first ", " second ", " third " and " in above-mentioned attached drawing Four " etc. be for distinguishing different objects, rather than for limiting particular order.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
In being described below, for illustration and not for limitation, propose such as specific system structure, interface, technology it The detail of class understands the present invention to cut thoroughly.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, omit to well-known device, circuit and The detailed description of method, in case unnecessary details interferes description of the invention.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
User terminal can be wireless terminal and be also possible to catv terminal.Wireless terminal can be directed to user and provide language The equipment of sound and/or data connectivity has the handheld device of wireless connecting function or is connected to radio modem Other processing equipments.Wireless terminal can through wireless access network (for example, RAN, Radio Access Network) with one or Multiple cores net is communicated.Wireless terminal can be mobile terminal, such as mobile phone (or be " honeycomb " phone) and have The computer of mobile terminal, for example, it may be portable, pocket, hand-held, built-in computer or vehicle-mounted mobile dress It sets, they exchange language and/or data with wireless access network.For example, personal communication service (PCS, Personal Communication Service) phone, wireless phone, Session initiation Protocol (SIP) phone, wireless local loop (WLL, Wireless Local Loop) it stands, the equipment such as personal digital assistant (PDA, Personal Digital Assistant).Nothing Line terminal is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), moves Dynamic station (Mobile Station), mobile station (Mobile), distant station (Remote Station), access point (Access Point), remote terminal (Remote Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User Agent), user equipment (User Device) or user equipment (User Equipment)。
The embodiment of the present invention provides a kind of method for monitoring Key Quality Indicator KQI, is that gateway is in network by the way of The original video transmitted in pipeline, which plays, is implanted into KQI monitoring code or KQI monitoring guiding code in page code, so that user is whole The Code obtaining KQI according to implantation is held, and the KQI that will acquire is sent to KQI monitoring server.Due to being using gateway in original KQI monitoring code or KQI monitoring guiding code, therefore, any SP server transmission are implanted into beginning video playing page code Original video plays page code and can easily be implanted into, and avoids the need for different service providers in respective Web page Written in code monitors the process of the code of KQI, to effectively reduce development cost.Simultaneously as gateway is different original KQI monitoring code or KQI the monitoring guiding code being implanted into video playing page code are identical, it is thereby achieved that the whole network KQI United analysis.
Fig. 1 is the network architecture schematic diagram of monitoring Key Quality Indicator provided in an embodiment of the present invention.Referring to Fig. 1, The network system mainly includes SP server 11, user terminal 12, gateway 13 and KQI monitoring server 14.
Optionally, the KQI monitoring server in the embodiment of the present invention can be the equipment individually set up, or The processor individually set up in a gateway can also be integration realization on some processor in a gateway.Here institute The processor stated can be central processing unit (Central Processing Unit, CPU) or specific integrated electricity Road (Application Specific Integrated Circuit, ASIC), or be arranged to implement implementation of the present invention One or more integrated circuits of example.
It should be noted that if the KQI monitoring server in the embodiment of the present invention is configured in a gateway, then the present invention is real Applying step performed by KQI monitoring server in example is that gateway executes, and the interactive step of KQI monitoring server and gateway is The corresponding module of intra-gateway executes.
User terminal 12 is used to send video playing page request to SP server 11, wherein the video playing page is asked Ask the request generated after the browser 15 built in triggering user terminal 12 for user.
SP server 11 is mainly perhaps to service in user terminal 12 provides, and original video broadcasting page code is sent to Gateway 13.
KQI monitoring server 14 be mainly used for statistically analyze KQI, mainly include KQI module guiding code manager 141, KQI block code manager 142, KQI monitoring data receiver 143 and KQI monitor report form generator 144.
Wherein, KQI module guiding code manager 141 is implanted into for providing KQI monitoring guiding code for gateway 13;KQI Block code manager 142 is for managing KQI logical code;KQI monitoring data receiver 143 is for receiving the transmission of browser 15 KQI;The KQI that KQI monitoring report form generator 144 is used to receive KQI monitoring data receiver 143 is for statistical analysis, And generate report.
Gateway 13 has been provided in advance before user terminal 12 sends video playing page request to SP server 11 KQI monitoring code or KQI monitoring guiding code, KQI monitoring code or KQI monitoring guiding code are that gateway management person matches in advance Set or gateway 13 and KQI monitoring server 14 between interact after be pre-configured with.Gateway 13 is for receiving user terminal 12 Browser 15 send video playing page request, forward the request to SP server 11;When receiving SP server 11 After the original video of return plays page code, page code is played to original video and is parsed, be implanted into KQI monitoring code or KQI monitoring guiding code, and the video playing page code of code implant is sent to the user terminal 12.
After the video playing page code for receiving gateway return, built-in browser 15 is parsed and is shown user terminal 12 Show the video playing page.Meanwhile browser 15 parses KQI monitoring code or KQI monitoring guiding code.Specifically, browser 15 Guiding Code obtaining KQI monitoring code is monitored according to KQI.Browser 15 mainly includes that page video playing component 151 and KQI are supervised Survey module 152.
Wherein, KQI monitoring modular 152 is mainly KQI block code manager of the browser 15 from KQI monitoring server 14 On the code obtained in 142, including event monitoring unit 1521, event collection unit 1522, KQI computing unit 1523 and KQI Declaration form member 1524.
Event monitoring unit 1521 is used to monitor each Video Events in video display process;Event collection unit 1522 The each event listened to for caching event monitoring unit 1521, and each event information is sent to KQI computing unit 1523;KQI computing unit 1523 generates KQI, and report by KQI for calculating each event information received KQI is sent to KQI monitoring server 14 by unit 1524.
Embodiment one
The embodiment of the present invention provides a kind of method for monitoring Key Quality Indicator, as shown in Fig. 2, this method comprises:
S200, KQI monitoring server send KQI monitoring code or KQI monitoring guiding code to gateway.
As shown in Figure 1, in the embodiment of the present invention, one as the network transmission pipeline between user terminal and SP of gateway Point, which can be radio network controller (RNC, Radio Network Controller), Serving GPRS Support Node (SGSN, Serving GPRS Support Node), gateway GPRS node (GGSN, Gateway GPRS Support Node), the equipment such as domain name system (DNS, Domain Name System) or independent synthesized gateway.
Gateway obtains KQI monitoring code or KQI monitoring guiding code in KQI monitoring server in advance, in order to obtain It is when getting the original video broadcasting page code of SP server return, KQI monitoring code or KQI monitoring guiding code implantation is former Beginning video playing page code.
Specifically, the method that gateway obtains KQI monitoring guiding code can connecing between KQI monitoring server and gateway Cause for gossip shows the synchronization of KQI monitoring guiding code, or gateway management person obtains the KQI monitoring in KQI monitoring server and leads Draw code, and the KQI is monitored into guiding code and is pre-configured in gateway.
It is understood that even configuration KQI monitoring guides code to gateway management person in a gateway in advance, in logic It also corresponds to KQI monitoring server and sends KQI monitoring guiding code to gateway.
Optionally, KQI monitoring server periodically can send KQI monitoring guiding generation to gateway in the embodiment of the present invention Code, to guarantee the unification of KQI monitoring guiding code and KQI monitoring guiding code in KQI monitoring server in gateway.
Illustratively, KQI monitoring server send include KQI monitoring guiding code hypertext transfer protocol (HTTP, Hypertext Transfer Protocol) HOST request to gateway, gateway upon receiving the request, saves KQI monitoring Code is guided, and returning response message is to KQI monitoring server.
Specifically, the method and the gateway acquisition KQI monitoring guiding method of code of gateway acquisition KQI monitoring code are identical, It is no longer described in detail herein.
Further, KQI monitoring server can also send implantation condition to gateway, so that gateway is according to the plant Enter condition and plays implantation KQI monitoring code or KQI monitoring guiding code in page code in its original video got.
S201, user terminal send access video playing page request to gateway.
It should be noted that the video in the embodiment of the present invention refers to the video that webpage plays.
User terminal in the embodiment of the present invention is built-in with the client software that can parse Web page, and the client is soft Part may include common browser or other are integrated with the application program of built-in browser.
It should be noted that client software can be the application program built in terminal itself in the embodiment of the present invention, It can be the application program that the third party service provider that user voluntarily installs provides, the embodiment of the present invention is not construed as limiting.
Application program refers in order to complete a certain or a few particular task and by developing operation on operating system Computer program.The application that the system that the application program of realization informing function in the embodiment of the present invention is carried by terminal is compatible with Program.Illustratively, if the operating system that has of first terminal is Android (Android) operating system, in the first terminal The format for the application program set is APK (Application Package File, application program APMB package).
APK is a kind of installation file format of application program in Android operation system, and an Android operation system can The code of compatible application program is run in the equipment with Android operation system, it is necessary to is first compiled, is then packaged Can be just run as one by the file that Android operation system can identify, and it is this can by Android operation system identify simultaneously The file format of operation is APK.It include the code file (.dex file) being compiled, file resource in one APK file (Resources), file reading (Assets), certificate (Certificates) and inventory file (Manifest file) etc..
Specifically, user using user terminal by webpage viewing video when, user accesses the video playing page Operation, terminal send access video playing page request to gateway according to the operation of the access video playing page.
S202, gateway forwards access video playing page request to service provider SP server.
SP server, transmission network and user terminal in internet constitute " cloud-pipe-end " of user's complete business experience Internet system.When user carries out video web page broadcasting by the browser built in user terminal, browser is according to user's Access video playing page request can be sent to the gateway in transmission network (internet pipeline) by operation, and gateway is again by the access Video playing page request is forwarded in cloud network specific SP server, what corresponding SP server can request user The original video playback code of the video playing page is back to user terminal by gateway, so that the browser of user terminal is to original Beginning video playing page code is parsed, and the content of the corresponding video playing page is shown to user.
In the step, the access video playing page request that user terminal is sent is forwarded to SP by the gateway in transmission network Server.
Wherein, access video playing page request includes uniform resource locator corresponding with the video playing page (URL, Uniform/Universal Resource Locator).
URL is also referred to as web page address, is the address of the resource of standard on internet, for being fully described by internet A kind of identification method of the address of webpage and other resources.Each webpage on Internet has a unique title Mark, normally referred to as the address URL, this address can be local disk, a certain computer being also possible on local area network, It is more the website on Internet.Briefly, URL is exactly the address Web, is commonly called as " network address ".
S203, SP server send original video according to access video playing page request and play page code to gateway.
S204, gateway are played in original video is implanted into KQI monitoring code or KQI monitoring guiding code in page code.
In the embodiment of the present invention, the video playing page that SP server returns is known as original video and plays the page.
Specifically, gateway be after it will access video playing page request and be forwarded to SP server, SP server can will be corresponding Original video play page code return to gateway.Gateway plays in page code in the original video received and is implanted into KQI Monitoring code or KQI monitoring guiding code, in order to which user terminal is according at least one KQI of the Code obtaining of implantation.
Preferably, the KQI monitoring guiding code in the embodiment of the present invention is the source address information of KQI monitoring code.
Preferably, gateway plays the source that KQI monitoring code is only implanted into the page in original video in the embodiment of the present invention Address information, since the source address information occupied space of KQI monitoring code is smaller, implantation efficiency is very high, the performance of gateway Very little is consumed, to can effectively reduce the burden of gateway.
It is understood that in the scene of source address information that KQI monitors that guiding code is KQI monitoring code, due to Gateway only be responsible for implantation KQI monitoring code source address information, and the source address information of the KQI monitoring code in the gateway be from It is obtained at KQI monitoring server, therefore the KQI monitoring server by connecting with gateway completes the pipe to KQI monitoring code Reason, in order to mitigate the burden of gateway.
In practical applications, since network transmission pipeline is generally built by operator is unified, therefore unified management, is located at When gateway in network transmission pipeline carries out KQI monitoring code or KQI monitoring guiding code implantation, it can unite in network pipeline side One carries out the implantation of KQI monitoring code or KQI monitoring guiding code, has evaded the business between magnanimity internet SP server Interface differential technique significantly reduces the KQI monitoring code under wide coverage condition or the difficulty of KQI monitoring guiding code implantation.
Further, gateway is the equipment of network insertion and protocol conversion, needs to handle a large amount of HTTP request message, this Body is also required to do code conversion and message package processing, in this process, gateway can advantageously carry out very much KQI monitoring code or The implantation of KQI monitoring guiding code, the performance cost and transformation to whole network are minimum, therefore realize the present invention with can be convenient Technical solution.
In addition, also being kept away in the embodiment of the present invention using the process that gateway is implanted into KQI monitoring code or KQI monitoring guiding code Exempt from the process respectively with the business of the various browsers of user terminal and the user terminal of B/S framework communication and technological debugging, Therefore no matter from the point of view of cloud or user terminal, wide covering implantation KQI monitoring code or KQI monitoring guiding code are all realized Difficulty, and reduce development cost.
S205, gateway send the video playing page code comprising code implant to user terminal.
Illustratively, as shown in figure 3, KQI monitoring guiding code is the source address information of KQI monitoring code, gateway will be wrapped The access video playing page request 1 of the domain/xxx/xxx.html of http://containing GET is forwarded to SP server, wherein GET indicates that the request message is HTTP GET request.SP server is returned according to the access video playing page request Original video plays the response message 3 of page code, and the message header of the response message 3 is 200OK content-type= Text/html, wherein 200 belong to HTTP status code, and for indicating that server successfully returns to webpage, OK is for illustrating success The character of webpage is returned, includes parent page video player code in the message body of the response message 3, the generation in message body Code is as follows:
Gateway is after the response message 3 for receiving the return of SP server, by itself preconfigured KQI monitoring guiding code <script type='text/javascript'src='http://kqi-monitor.js'></script>implantation response In message 3, and KQI monitoring guiding code and page video player code are located at identical data field, generate response message 5, And response message 5 is sent to the user terminal.Wherein, the message header of response message 5 is identical as the message header of response message 3, rings Answer the code in the message body of message 5 as follows:
Specifically, if gateway plays implantation KQI monitoring guiding code in page code, KQI monitoring guiding in original video Code be KQI monitoring code source address information, then user terminal get gateway transmission video playing page code after, KQI monitoring code is obtained according to the source address information of the KQI monitoring code, in order to which user terminal is supervised using KQI monitoring code It surveys Video Events and obtains KQI.
If gateway plays in original video and is implanted into KQI monitoring code in page code, user terminal is getting gateway After the video playing page code of transmission, KQI monitoring code can be directly executed, obtains KQI to monitor Video Events.
Specifically, the embodiment of the present invention exists if gateway is played in original video is implanted into KQI monitoring code in page code After executing S205, user terminal parses video playing page code and playable video frame is presented, and executes S208.If gateway Implantation KQI monitoring guiding code, i.e. gateway in page code is played in original video to play in page code and plant in original video Enter the source address information of KQI monitoring code, then for the embodiment of the present invention after executing S205, user terminal parses the video playing page Playable video frame is presented in code, and executes S206 and S207.Since S206 and S207 is optional step, in Fig. 2 It is represented by dashed line.
S206, user terminal transmission include that code request to the KQI monitoring of the source address information of KQI monitoring code services Device.
User terminal can believe the source address of KQI monitoring code after the source address information for getting KQI monitoring code Breath is placed at the target URL of HTTP-GET request, is sent HTTP-GET and is requested to KQI monitoring server.
S207, KQI monitoring server obtain according to code request and send KQI monitoring code to user terminal.
Specifically, KQI monitoring server receive user terminal transmission code request after, according to KQI monitoring code Source address information obtain KQI monitoring code, and send include KQI monitoring code message to user terminal.
Illustratively, user terminal transmission includes < script type=' text/javascript ' src=' Http:// kqi-monitor.js '></script>code request to KQI monitoring server, KQI monitoring server was according to should Code request obtains KQI monitoring code, and transmission includes the message of KQI monitoring code.Code in the message body of the message It is as follows:
S208, user terminal run KQI monitoring code, and start monitoring of the KQI monitoring code to video in the page.
S209, user terminal, by executing KQI monitoring code, identify at least one video thing in video display process Part, and record the information of each Video Events.
User terminal parses KQI monitoring code after getting KQI monitoring code, and starts KQI monitoring code to the page Middle video is monitored.
Specifically, using KQI monitoring code according to Video Events interface, monitoring video thing during video playing Part.
Wherein, the Video Events in the embodiment of the present invention include video initial buffer time delay, video starting plays successfully, regard At least one of frequency pause number and video hiccups time delay.
Video initial buffer time delay characterizes the time used in video initial buffer;Video starting, which plays, is used successfully to characterization view Video successfully plays when frequency starting plays;Video hiccups number characterizes the pause number that video is played in preset time period;Video The overall delay to pause at least once in video display process in pause time delay characterization preset time period.
The definition of specific Video Events can refer to hypertext markup language (HTML, HyperText Markup Language it) standardizes, can also be standardized with reference to Flash, other page video display arts, the embodiment of the present invention can also be referred to This is not especially limited.
Specifically, user terminal is each using KQI monitoring code monitoring video playing in the page during video playing Video Events, and record the information of each Video Events, wherein the information of Video Events include at the time of Video Events occur and The classification of Video Events.
S210, user terminal generate at least one according to the information of Video Events each at least one Video Events KQI。
At least one KQI is sent to KQI monitoring server by S211, user terminal.
Wherein, user terminal can be after getting the information of at least one Video Events in the embodiment of the present invention, timing The information for getting at least one Video Events is analyzed, to generate at least one KQI, and the KQI of generation is sent to KQI monitoring server.
Illustratively, the Video Events information of user terminal record are as follows: video initial buffer time delay is 30 seconds, is broadcast in video It pauses within 20 seconds 1 time, pause 10 seconds for 1 point during putting, pause within 10 seconds once, pause 15 seconds for 30 points in video display process.User Terminal counts above-mentioned Video Events information, and calculating pause number in video display process is 2 times, and video initial buffer time delay is 30 Second, video hiccups time delay is 25 seconds in video display process.
S212, KQI monitoring server are for statistical analysis at least one KQI, and generate report.
In the embodiment of the present invention, gateway will transmit original in KQI monitoring code or KQI monitoring guiding code implantation pipeline In video playing page code, therefore the original video broadcasting page of any SP server transmission can easily be implanted into KQI Monitoring code or KQI monitoring guiding code, avoid KQI monitoring code or KQI monitoring guiding code implantation when need respectively with Different SP servers carry out the process of business communication and technological debugging, to effectively reduce cost.Meanwhile gateway is for difference Original video plays the KQI monitoring code that page code is implanted into or KQI monitoring guiding code is identical, therefore can be realized to KQI United analysis.
Embodiment two
The embodiment of the present invention provides a kind of gateway 1, and the gateway 1 is used to execute step performed by the gateway in above method Suddenly.The gateway 1 may include module corresponding to corresponding steps.As shown in figure 4, the gateway 1 includes:
Receiving unit 130, for receiving the access video playing page request of user terminal transmission.
Transmission unit 131, for sending the access video playing page request that the receiving unit 130 receives extremely Service provider SP server.
The receiving unit 130, is also used to receive the response message that the SP server is sent, and the response message includes Original video plays page code.
It is implanted into unit 132, is planted for being played in page code in the original video that the receiving unit 130 receives Enter Key Quality Indicator KQI monitoring code or KQI monitoring guiding code.
The transmission unit 131, for sending the video playing page code for being implanted into 132 code implant of unit to institute User terminal is stated, the KQI monitoring guiding code, which is monitored for the user terminal according to the KQI, to be guided described in Code obtaining KQI monitoring code, the KQI monitoring code monitor video playing mistake using the KQI monitoring code for the user terminal At least one Video Events in journey, and at least one KQI is obtained according at least one described Video Events.
Further, the receiving unit 130 is also used in the implantation unit 132 in the original video broadcast page It is implanted into the code of face before Key Quality Indicator KQI monitoring guiding code, receives the KQI prison that KQI monitoring server is sent Survey code or KQI monitoring guiding code.
Preferably, the KQI monitoring guiding code is the source address information of KQI monitoring code.
Further, the transmission unit 131, specifically for sending the source address information comprising the KQI monitoring code Video playing page code to the user terminal so that described in the user terminal obtains according to the source address information KQI monitoring code, and using at least one Video Events in KQI monitoring code monitoring video display process, and according to At least one described Video Events obtain at least one KQI.
Specifically, the Video Events include video initial buffer time delay, video starting play successfully, video hiccups number At least one of with video hiccups time delay;When wherein, used in the video initial buffer time delay characterization video initial buffer Between;The video starting plays video when being used successfully to characterization video starting broadcasting and successfully plays;The video hiccups frequency table Levy the pause number that video is played in preset time period;The video hiccups time delay characterizes video playing in the preset time period The overall delay to pause at least once in the process.
It is appreciated that the gateway 1 of the present embodiment can correspond to it is above-mentioned such as the embodiment described one of any in Fig. 2-Fig. 3 Monitor the gateway in the method for Key Quality Indicator, and the division and/or function of the modules in the gateway 1 of the present embodiment Etc. being for realizing the method flow as shown in one of any in Fig. 2-Fig. 3, for sake of simplicity, details are not described herein.
Another embodiment of the present invention provides a kind of gateways, as shown in figure 5, the gateway include interface circuit 20, processor 21, Memory 22 and system bus 23.
Wherein, pass through the system bus 23 between the interface circuit 20, the processor 21 and the memory 22 Connection, and complete communication each other.
When gateway operation, the gateway executes the monitoring of the embodiment described one of any in Fig. 2-Fig. 3 such as and closes The method of key quality index.The method of specific monitoring Key Quality Indicator can be found in above-mentioned such as institute one of any in Fig. 2-Fig. 3 The associated description in embodiment shown, details are not described herein again.
Specifically, the processor 21 can be CPU, it can also be other general processors, other programmable logic devices Part or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also To be any conventional processor etc..
Specifically, the memory 22 may include volatile memory, such as random access memory (RAM, Random-access Memory);The memory 22 also may include nonvolatile memory, such as read-only memory (ROM, Read-only Memory), flash memory, hard disk (HDD, Hard Disk Drive) or solid state hard disk (SSD, Solid-State Drive);The memory 22 can also include the combination of the memory of mentioned kind.
The system bus 23 may include data/address bus, power bus, control bus and signal condition bus etc..This reality It applies for clear explanation in example, various buses is all illustrated as system bus 23 in Fig. 5.
The embodiment of the present invention provides a kind of gateway, and gateway is asked in the access video playing page for receiving user terminal transmission After asking, access video playing page request is sent to service provider SP server, then, gateway receives the transmission of SP server Include original video play page code response message, and original video play page code in be implanted into Key Quality Index KQI monitoring code or KQI monitoring guiding code, finally, gateway sends the video playing page code comprising code implant To user terminal, wherein KQI monitoring guiding code monitors guiding Code obtaining KQI according to KQI for user terminal and monitors generation Code, KQI monitoring code utilize at least one video thing in KQI monitoring code monitoring video display process for user terminal Part, and at least one KQI is obtained according at least one Video Events.
In the embodiment of the present invention, gateway will transmit original in KQI monitoring code or KQI monitoring guiding code implantation pipeline In video playing page code, therefore the original video broadcasting page of any SP server transmission can easily be implanted into KQI Monitoring code or KQI monitoring guiding code, avoid KQI monitoring code or KQI monitoring guiding code implantation when need respectively with Different SP servers carry out the process of business communication and technological debugging, to effectively reduce cost.Meanwhile gateway is for difference Original video plays the KQI monitoring code that page code is implanted into or KQI monitoring guiding code is identical, therefore can be realized to KQI United analysis.
Embodiment three
The embodiment of the present invention provide it is a kind of monitor Key Quality Indicator network system, the network system include gateway and KQI monitoring server, wherein be connected between gateway and KQI monitoring server by network.
In the network system of monitoring Key Quality Indicator provided in an embodiment of the present invention, gateway is by executing such as Fig. 2-figure Corresponding steps in 3 in the method flow of the monitoring Key Quality Indicator of one of any the embodiment described are completed the present invention and are implemented The method of the monitoring Key Quality Indicator of example.
Specifically, the KQI server, for sending the source address information of KQI monitoring code to the gateway, so that The source address information is implanted into the original video that it gets and played in page code by the gateway, and to the user terminal Send the video playing page code for being implanted into the source address information.
It should be noted that it is provided in an embodiment of the present invention monitoring Key Quality Indicator network system in gateway with KQI monitoring server can be same entity, can be different entity.If the KQI monitoring server in the embodiment of the present invention Be configured in a gateway, then in the embodiment of the present invention step performed by KQI monitoring server be gateway execute, gateway with The interactive step of KQI monitoring server is that the corresponding module of intra-gateway executes.
In the embodiment of the present invention, gateway will transmit original in KQI monitoring code or KQI monitoring guiding code implantation pipeline In video playing page code, therefore the original video broadcasting page of any SP server transmission can easily be implanted into KQI Monitoring code or KQI monitoring guiding code, avoid KQI monitoring code or KQI monitoring guiding code implantation when need respectively with Different SP servers carry out the process of business communication and technological debugging, to effectively reduce cost.Meanwhile gateway is for difference Original video plays the KQI monitoring code that page code is implanted into or KQI monitoring guiding code is identical, therefore can be realized to KQI United analysis.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, module or unit Division, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (9)

1. a kind of method for monitoring Key Quality Indicator characterized by comprising
Gateway receives the access video playing page request that user terminal is sent;
The gateway sends the access video playing page request to service provider SP server;
The gateway receives the response message that the SP server is sent, and the response message includes that original video plays page generation Code;
The gateway plays in the original video and is implanted into Key Quality Indicator KQI monitoring code or KQI monitoring in page code Guide code;
The gateway sends the video playing page code comprising code implant to the user terminal, the KQI monitoring guiding Code monitors according to the KQI for the user terminal and guides KQI monitoring code described in Code obtaining, and the KQI monitors generation Code monitors at least one Video Events in video display process using the KQI monitoring code for the user terminal, and At least one KQI is obtained according at least one described Video Events.
2. the method according to claim 1, wherein the gateway plays in page code in the original video It is implanted into before Key Quality Indicator KQI monitoring code or KQI monitoring guiding code, the method also includes:
The gateway receives the KQI monitoring code that KQI monitoring server is sent or KQI monitoring guiding code.
3. method according to claim 1 or 2, which is characterized in that the KQI monitoring guiding code is KQI monitoring code Source address information,
The gateway sends the video playing page code comprising code implant to the user terminal, comprising:
The video playing page code that the gateway sends the source address information comprising the KQI monitoring code is whole to the user End, so that the user terminal obtains the KQI monitoring code according to the source address information, and is monitored using the KQI Code monitors at least one Video Events in video display process, and obtains at least one according at least one described Video Events A KQI.
4. according to the method described in claim 3, it is characterized in that, the Video Events include video initial buffer time delay, view Frequency starting play successfully, at least one of video hiccups number and video hiccups time delay;Wherein, when the video initial buffer Prolong the time used in characterization video initial buffer;Video starting play be used successfully to when characterization video starting plays video at Function plays;The pause number of video is played in the video hiccups number characterization preset time period;The video hiccups time delay table Levy the overall delay to pause at least once in video display process in the preset time period.
5. a kind of gateway characterized by comprising
Receiving unit, for receiving the access video playing page request of user terminal transmission;
Transmission unit, for sending the access video playing page request that the receiving unit receives to service provider SP server;
The receiving unit is also used to receive the response message that the SP server is sent, and the response message includes original view Frequency plays page code;
It is implanted into unit, is implanted into Key Quality for playing in page code in the original video that the receiving unit receives Index KQI monitoring code or KQI monitoring guiding code;
The transmission unit, the video playing page code for sending the implantation unit code implant are whole to the user End, the KQI monitoring guiding code is for user terminal KQI monitoring according to KQI monitoring guiding Code obtaining Code, the KQI monitoring code are monitored in video display process extremely for the user terminal using the KQI monitoring code Few Video Events, and at least one KQI is obtained according at least one described Video Events.
6. gateway according to claim 5, which is characterized in that
The receiving unit is also used to be implanted into Key Quality in original video broadcasting page code in the implantation unit Before index KQI monitoring guiding code, the KQI monitoring code or KQI monitoring for receiving the transmission of KQI monitoring server are led Draw code.
7. gateway according to claim 5 or 6, which is characterized in that the KQI monitoring guiding code is KQI monitoring code Source address information,
The transmission unit, specifically for sending the video playing page generation of the source address information comprising the KQI monitoring code Code is to the user terminal, so that the user terminal obtains the KQI monitoring code, and benefit according to the source address information At least one Video Events in video display process are monitored with the KQI monitoring code, and according at least one described video Event obtains at least one KQI.
8. gateway according to claim 7, which is characterized in that the Video Events include video initial buffer time delay, view Frequency starting play successfully, at least one of video hiccups number and video hiccups time delay;Wherein, when the video initial buffer Prolong the time used in characterization video initial buffer;Video starting play be used successfully to when characterization video starting plays video at Function plays;The pause number of video is played in the video hiccups number characterization preset time period;The video hiccups time delay table Levy the overall delay to pause at least once in video display process in the preset time period.
9. a kind of network system for monitoring Key Quality Indicator, which is characterized in that including any one of such as claim 5-8 institute The gateway and KQI monitoring server stated, wherein be connected between the gateway and the KQI monitoring server by network;
The KQI server, for sending the source address information of KQI monitoring code to the gateway, so that the gateway will The source address information is implanted into the original video that it gets and plays in page code, and sends implantation institute to the user terminal State the video playing page code of source address information.
CN201510924887.8A 2015-12-14 2015-12-14 A kind of method, apparatus and system monitoring Key Quality Indicator Active CN105554569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510924887.8A CN105554569B (en) 2015-12-14 2015-12-14 A kind of method, apparatus and system monitoring Key Quality Indicator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510924887.8A CN105554569B (en) 2015-12-14 2015-12-14 A kind of method, apparatus and system monitoring Key Quality Indicator

Publications (2)

Publication Number Publication Date
CN105554569A CN105554569A (en) 2016-05-04
CN105554569B true CN105554569B (en) 2018-12-14

Family

ID=55833471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510924887.8A Active CN105554569B (en) 2015-12-14 2015-12-14 A kind of method, apparatus and system monitoring Key Quality Indicator

Country Status (1)

Country Link
CN (1) CN105554569B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769316A (en) * 2019-10-30 2020-02-07 北京博睿宏远数据科技股份有限公司 Method, device, equipment and storage medium for calculating first frame time

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254902B (en) * 2016-08-19 2019-05-31 恒安嘉新(北京)科技股份公司 A kind of method and system for perceiving and analyzing based on mobile Internet video user
CN108536575A (en) * 2017-03-02 2018-09-14 中国移动通信有限公司研究院 The test method and device of the user experience index of online audio and video playing
CN107483922A (en) * 2017-10-11 2017-12-15 飞思达技术(北京)有限公司 A kind of video performance monitoring method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118082A (en) * 2013-01-21 2013-05-22 华为技术有限公司 Method, device and system for embedding additional information
CN104168506A (en) * 2014-08-13 2014-11-26 广州市香港科大霍英东研究院 Method for obtaining user video experience quality by sniffing HTTP data packet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118082A (en) * 2013-01-21 2013-05-22 华为技术有限公司 Method, device and system for embedding additional information
CN104168506A (en) * 2014-08-13 2014-11-26 广州市香港科大霍英东研究院 Method for obtaining user video experience quality by sniffing HTTP data packet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《追求极致的应用性能管理-基调网络》;no1558;《百度文库》;20141030;正文第4、8、10-11 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769316A (en) * 2019-10-30 2020-02-07 北京博睿宏远数据科技股份有限公司 Method, device, equipment and storage medium for calculating first frame time
CN110769316B (en) * 2019-10-30 2022-03-15 北京博睿宏远数据科技股份有限公司 Method, device, equipment and storage medium for calculating first frame time

Also Published As

Publication number Publication date
CN105554569A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
US11682032B2 (en) Methods and apparatus to estimate population reach from different marginal ratings and/or unions of marginal ratings based on impression data
CN105554569B (en) A kind of method, apparatus and system monitoring Key Quality Indicator
CN104503780B (en) It is a kind of that method and apparatus that applying channel packet are provided
CN105264859A (en) Method and apparatus for generating insight into the customer experience of web based applications
US20160379246A1 (en) Methods and apparatus to estimate an unknown audience size from recorded demographic impressions
JP6232666B2 (en) Method, apparatus and system for monitoring the quality of OTT video
CN107071399B (en) A kind of method for evaluating quality and device of encrypted video stream
CN104410546A (en) Testing method and device of real-time processing system
MXPA05000958A (en) Media data usage measurement and reporting systems and methods.
CN105827480A (en) Method, device and system for monitoring advertisement display
US11115483B2 (en) Methods and apparatus for census and panel matching using session identifiers positioned in an HTTP header
CN109905474A (en) Data safety sharing method and device based on block chain
CN103974057A (en) Video quality user experience value evaluation method, device and system
CN110198333B (en) Data acquisition method and device, storage medium and electronic device
CN102187357A (en) Apparatus and method for measuring advertising metrics
EP3926922B1 (en) Over-the-top media service testing and qoe issues isolation
CN109194706B (en) Network resource dial testing method and terminal
CN105284118B (en) Content supply device, Content supply method, program storage medium, terminal installation and contents providing system
CN103250375B (en) The method of services quality monitoring device and Monitoring Service quality
Santos et al. Integrating IEEE 11073 and constrained application protocol for personal health devices
US11785107B2 (en) Measurement of internet media consumption
CN108345508A (en) Interface calls test method and device
CN114022278B (en) Analog transaction processing method and device
CN113965551A (en) Method, device and system for testing streaming media scene and storage medium
CN107659826B (en) A kind of information processing method and server

Legal Events

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