CN106604129B - The method and apparatus for detecting video broadcasting condition - Google Patents

The method and apparatus for detecting video broadcasting condition Download PDF

Info

Publication number
CN106604129B
CN106604129B CN201510685605.3A CN201510685605A CN106604129B CN 106604129 B CN106604129 B CN 106604129B CN 201510685605 A CN201510685605 A CN 201510685605A CN 106604129 B CN106604129 B CN 106604129B
Authority
CN
China
Prior art keywords
state
primary broadcast
current
playing
data
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
CN201510685605.3A
Other languages
Chinese (zh)
Other versions
CN106604129A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510685605.3A priority Critical patent/CN106604129B/en
Publication of CN106604129A publication Critical patent/CN106604129A/en
Application granted granted Critical
Publication of CN106604129B publication Critical patent/CN106604129B/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/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Abstract

The invention discloses a kind of method and apparatus for detecting video broadcasting condition, are able to solve the broadcast state of the video player based on iOS system in the prior art and the inconsistent problem of the broadcast state of conventional player.The method comprise the steps that primary broadcast state and data stress state that detection video player is current;The primary broadcast state and/or the data stress state are matched with default playing condition;Actual play state is generated according to matching result, the actual play state is broadcast state involved in traditional video players.The present invention is suitable for monitoring iOS system in the scene of third party's video software broadcast state.

Description

The method and apparatus for detecting video broadcasting condition
Technical field
The present invention relates to Internet technical fields, more particularly to a kind of method and apparatus for detecting video broadcasting condition.
Background technique
With the development of internet technology, the type of video software is more and more, the video software suitable for various systems Also more and more.
Under normal circumstances, the equipment (mobile phone or computer etc.) of various systems has the primary player of oneself, and Primary player has the primary broadcast state of oneself.Wherein, primary broadcast state involved in the primary player of iOS system has State, halted state, addressed state and halted state in broadcasting, related network data stress state have data to use up shape State can play state, smooth playing state.But the primary broadcast state in iOS system and network data stress state are not There is any relationship.
As developer in order to which third party video player of the test application in iOS system (needs to add primary player Plug-in unit could play, i.e., the broadcast state of third party's video player is identical as the broadcast state of the primary player of iOS) broadcast It when putting quality, needs to detect the broadcast state of third party's video player, is then obtained according to broadcast state and other information Obtain the play quality of third party's video player.However, the broadcast state that developer needs is the broadcasting of traditional video players State, halted state, addressed state, buffer status and halted state in state, i.e. stress state, broadcasting, and the primary broadcasting of iOS Not stress state and buffer status, and shape in the broadcasting in primary broadcast state in state and network data stress state State is also not quite identical with state in traditional broadcasting, such as primary broadcast state is shape in playing after user drags progress bar State, network data stress state is that data use up state, it can thus be appreciated that current video player is not in normal play view The state of frequency, therefore current play status is not state in traditional broadcasting.Therefore, how by the primary broadcast state of iOS and Network data stress state is converted into traditional broadcast state, to solve the broadcasting shape of the video player based on iOS system The inconsistent problem of the broadcast state of state and conventional player is current a great problem.
Summary of the invention
In view of this, being able to solve the present invention provides a kind of method and apparatus for detecting video broadcasting condition based on iOS The broadcast state of the video player of system and the inconsistent problem of the broadcast state of conventional player.
According to the present invention on one side, a kind of method for detecting video broadcasting condition is provided, which comprises
Detect video player current primary broadcast state and data stress state;
The primary broadcast state and/or the data stress state are matched with default playing condition;
Actual play state is generated according to matching result, the actual play state is involved in traditional video players Broadcast state.
According to the present invention on the other hand, a kind of device for detecting video broadcasting condition is provided, described device includes:
Detection unit, for detecting video player current primary broadcast state and data stress state;
Matching unit, the primary broadcast state and/or the data for detecting the detection unit load shape State is matched with default playing condition;
Generation unit, for generating actual play state, the actual play according to the matching result of the matching unit State is broadcast state involved in traditional video players.
By above-mentioned technical proposal, the method and apparatus of detection video broadcasting condition provided by the invention can be examined in real time Survey video player current primary broadcast state and data stress state, and by the primary broadcast state and/or data of acquisition Stress state is matched with default playing condition, generates actual play state finally by matching result.With in the prior art Broadcast state actually required can not be obtained to compare, the present invention is according to current primary broadcast state and/or data stress state Actual play state (i.e. traditional broadcast state) is generated with the matching result of default playing condition, to solve in the prior art The broadcast state of video player based on iOS system and the inconsistent problem of the broadcast state of conventional player, and then surveying Broadcast state actually required can be obtained when the play quality of third party's video player in examination iOS system.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of method for detecting video broadcasting condition provided in an embodiment of the present invention;
Fig. 2 shows a kind of composition block diagrams for the device for detecting video broadcasting condition provided in an embodiment of the present invention;
Fig. 3 shows the composition block diagram of the device of another detection video broadcasting condition provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of methods for detecting video broadcasting condition, as shown in Figure 1, this method comprises:
101, detection video player current primary broadcast state and data stress state.
Wherein, video player can for applied in iOS system third party's video player (or claim third party view Frequency playout software), to enable third party's video player normal use in iOS system, then in exploitation third party's view During frequency player, need to be added the code of the primary player of compatible iOS system, therefore exist in third party's video player In playing process, related broadcast state has the primary broadcast state of iOS and iOS data stress state.In practical applications, it opens Hair quotient needs to test the play quality of third party's video player of exploitation, it is possible to be third party's video playing Device adds the plug-in unit of a detection video broadcasting condition, when video player starting, detects the plug-in unit of video broadcasting condition It will start, the primary broadcast state and data stress state of video player can be monitored in real time.
Third party's video it should be noted that due to the primary player of either iOS, or applied to iOS system is broadcast Device is put, primary broadcast state and data stress state are all consistent, and third party's video player is not related to other yet and broadcasts State is put, so the embodiment of the present invention can also be monitored the broadcast state of the primary player of iOS, to realize by primary The broadcast state of player obtains the purpose of the broadcast state of conventional player.
It is inserted in addition, the method being monitored to video player broadcast state is not limited to the addition monitoring in video player Part can also be monitored by other means, be not limited thereto.
102, primary broadcast state and/or data stress state are matched with default playing condition.
Wherein, presetting playing condition is that (primary broadcast state and/or data add by the current play status of video player Load state) be converted to the condition of traditional broadcast state.After obtaining current primary broadcast state and data stress state, due to The parameter (primary broadcast state, data stress state) needed in default playing condition is different, so terminal may will be primary Broadcast state and data stress state are matched with default playing condition simultaneously, it is also possible to by primary broadcast state or data One of stress state state is matched with default playing condition.
103, actual play state is generated according to matching result.
Wherein, actual play state is broadcast state involved in traditional video players.By primary broadcast state and/ Or after data stress state and default playing condition carry out matching operation, matching operation result can be obtained.If matching result be at Function, then terminal can generate actual play state according to playing condition is preset, and the current primary broadcast state of record, current data add Load state and current actual play state;If matching result be it is unsuccessful, terminal only will record current primary broadcasting shape State and current data stress state.
The method of detection video broadcasting condition provided in an embodiment of the present invention, can real-time detection video player it is current Primary broadcast state and data stress state, and by the primary broadcast state of acquisition and/or data stress state and preset broadcasting Condition is matched, and generates actual play state finally by matching result.It is actually required with that can not obtain in the prior art Broadcast state is compared, and the present invention is according to of current primary broadcast state and/or data stress state and default playing condition Actual play state (i.e. traditional broadcast state) is generated with result, to solve video in the prior art based on iOS system The broadcast state of player and the inconsistent problem of the broadcast state of conventional player, and then the third party in test iOS system Broadcast state actually required can be obtained when the play quality of video player.
Further, since the actual play state (traditional broadcast state) that developer needs has buffer status (Buffering), state (Playing), actual loaded state (Loading), addressed state (Seeking), pause in playing State (Paused) and halted state (Stoped), so needing to convert needs for primary broadcast state and data stress state Actual play state.It describes in detail separately below to the generating process of different actual play states:
The first actual play state: buffer status
If default playing condition is is state in broadcasting when primary broadcast state, and data stress state is used up for data When state, actual play state is buffer status, then the specific implementation of actual play state is generated according to matching result are as follows: If primary broadcast state is state in playing, and data stress state is that data use up state, then successful match, generates buffering State.
Specifically, buffer status is during video is playing, broken down due to video player itself or Network state is bad, caused by data stress state.Therefore working as primary broadcast state is state in playing, and data load When state is that data use up state, the actual play state of generation is just buffer status.
However, in practical applications, the broadcast state that developer monitors video player is to comment on the video playing The quality of device, so while some operations that user artificially participates in and caused by buffer status can not be registered as it is actual slow Rush state.For example, having carried out the behaviour of dragging progress bar to video when user is not in the case where pressing the pause button (i.e. normal play) Make, primary broadcast state becomes state in broadcasting from addressed state at this time, and data stress state will appear data and use up state. Therefore, buffering shape only is generated when primary broadcast state is state in broadcasting, and data stress state is that data use up state State will record buffer status caused by manual operation, and cause the accuracy of monitoring video player quality.Therefore, in advance If playing condition should be to be state in broadcasting when current primary broadcast state, and current data stress state is data State is used up, and when the primary broadcast state of last time is not addressed state, actual play state is buffer status;Correspondingly, The specific implementation of actual play state is generated according to matching result are as follows: if current primary broadcast state is shape in playing State, and current data stress state is that data use up state, and the primary broadcast state of last time is not addressed state, then Successful match generates buffer status.
Second of actual play state: state in broadcasting
If default playing condition is is state in broadcasting when primary broadcast state, and data stress state is smooth playing When state, actual play state is state in playing, then the specific implementation of actual play state is generated according to matching result Are as follows: if primary broadcast state is state in playing, and data stress state is smooth playing state, then successful match, generates State in broadcasting.
Specifically, due to state, halted state, addressed state and halted state, institute in primary broadcast state only broadcasting As long as not triggering pause command with user, and without dragging progress bar, and terminate the finger of video player operation without triggering It enables, the primary broadcast state of video player is state in playing.And when the primary broadcast state of video player is to play When middle state, data stress state may use up state for data.For example, when user is in the feelings of (normal play) that do not press the pause button Under condition, the operation of dragging progress bar is carried out to video, during dragging progress bar, primary broadcast state is addressing shape State, it is primary to broadcast after user stops the operation of dragging progress bar and server sends currently playing address to video player Putting state becomes state in broadcasting from addressed state, and at this time due to loading data not yet, so data stress state is number According to using up state.In this case, the actual play state of video player is not state in playing, and only works as video When player has loaded enough data (i.e. data stress state, which uses up state from data, becomes smooth playing state), video is broadcast The actual play state for putting device is only state in broadcasting.Therefore, when primary broadcast state be play in state, and data load When state is smooth playing state, the actual play state of generation is just state in playing.
The third actual play state: actual loaded state
If default playing condition is when primary broadcast state is for the first time state in broadcasting, actual play state is practical Stress state then generates the specific implementation of actual play state according to matching result are as follows: if primary broadcast state is for the first time For state in broadcasting, then successful match, generates actual loaded state.
It specifically, actual loaded state is first state after traditional video players starting, and is load data State, and first primary broadcast state that the video player in iOS system enters after being activated be play in state, because , when primary broadcast state is for the first time state in broadcasting, the actual play state of generation is actual loaded state for this.
In practical applications, when user watches local video, there is no data in the video stress state of video player State is used up, user one, which opens video, can load enough data, can be for the first time at this time broadcasting when primary broadcast state When middle state, actual loaded state is generated.When user watches video online and just starts video player, video player Video stress state be that data use up state, when load certain data, playable state can be entered, load enough data When, smooth playing state can be entered.Therefore for playing video such case online, default playing condition can be that primary ought broadcast Putting state for the first time is state in playing, and data stress state is data when using up state, and actual play state is practical Stress state.At this point, generating the specific implementation of actual play state according to matching result are as follows: if primary broadcast state first Secondary is state in playing, and data stress state is that data use up state, then successful match, generates actual loaded state.
4th kind of actual play state: addressed state
If default playing condition is when primary broadcast state is addressed state, actual play state is addressed state, then The specific implementation of actual play state is generated according to matching result are as follows: if primary broadcast state is addressed state, match Success generates addressed state.
Specifically, the addressed state in primary broadcast state includes addressed state and backward addressed state forward.If primary Broadcast state is addressed state forward, then illustrates that user drags forward progress bar;If primary broadcast state is to address backward State then illustrates that user drags progress bar backward.Since no matter current primordial condition is addressed state or backward forward Addressed state all shows that user is dragging progress bar, and drags progress bar and be necessarily required to address, so video player is worked as Preceding actual play state one is set to addressed state.It follows that generation is actually broadcast when primary broadcast state is addressed state Putting state is addressed state.
5th kind of actual play state: halted state
If default playing condition is when primary broadcast state is halted state, actual play state is halted state, then The specific implementation of actual play state is generated according to matching result are as follows: if primary broadcast state is halted state, match Success generates halted state.
Specifically, user centainly clicks temporary on video player due to when primary broadcast state is halted state Stop button, so the actual play state of video player also must be halted state, so when primary broadcast state is pause When state, the actual play state of generation is also halted state.
6th kind of actual play state: stop shape state
If default playing condition is when primary broadcast state is halted state, actual play state is halted state, then The specific implementation of actual play state is generated according to matching result are as follows: if primary broadcast state is halted state, match Success generates halted state.
Specifically, video player has terminated to run, so video is broadcast due to when primary broadcast state is halted state The actual play state for putting device is also centainly off state, so when primary broadcast state is halted state, the reality of generation Broadcast state is also halted state.
Further, due to present invention is mainly applied in iOS system, so current primary of detection video player is broadcast Put the specific implementation of state and data stress state are as follows: the current primary broadcasting shape of video player in detection iOS system State and data stress state.
Further, according to above method embodiment, another embodiment of the invention additionally provides detection video playing The device of state, as shown in Fig. 2, the device includes: detection unit 21, matching unit 22 and generation unit 23.Wherein,
Detection unit 21, for detecting video player current primary broadcast state and data stress state;
Matching unit 22, for will test the primary broadcast state and/or data stress state and preset that unit 21 detects Playing condition is matched;
Generation unit 23, for generating actual play state, actual play state according to the matching result of matching unit 22 For broadcast state involved in traditional video players.
The device of detection video broadcasting condition provided in an embodiment of the present invention, can real-time detection video player it is current Primary broadcast state and data stress state, and by the primary broadcast state of acquisition and/or data stress state and preset broadcasting Condition is matched, and generates actual play state finally by matching result.It is actually required with that can not obtain in the prior art Broadcast state is compared, and the present invention is according to of current primary broadcast state and/or data stress state and default playing condition Actual play state (i.e. traditional broadcast state) is generated with result, to solve video in the prior art based on iOS system The broadcast state of player and the inconsistent problem of the broadcast state of conventional player, and then the third party in test iOS system Broadcast state actually required can be obtained when the play quality of video player.
Further, matching unit 22 obtain default playing condition be when primary broadcast state be play in state, and And data stress state is data when using up state, actual play state is buffer status;
As shown in figure 3, generation unit 23, comprising:
First generation module 231, for being state in broadcasting when primary broadcast state, and data stress state is data When using up state, successful match generates buffer status.
Further, the default playing condition that matching unit 22 obtains is when current primary broadcast state is shape in broadcasting State, and current data stress state is that data use up state, and when the primary broadcast state of last time is not addressed state, Actual play state is buffer status;
Second generation module 232, for being state in broadcasting when current primary broadcast state, and current data add Load state is that data use up state, and when the primary broadcast state of last time is not addressed state, successful match generates buffering shape State.
Further, matching unit 22 obtain default playing condition be when primary broadcast state be play in state, and And data stress state be smooth playing state when, actual play state be play in state;
As shown in figure 3, generation unit 23, comprising:
Third generation module 233, for being state in broadcasting when primary broadcast state, and data stress state is smoothness When broadcast state, successful match generates state in playing.
Further, the default playing condition that matching unit 22 obtains is when primary broadcast state is shape in broadcasting for the first time When state, actual play state is actual loaded state;
As shown in figure 3, generation unit 23, comprising:
4th generation module 234, for when primary broadcast state is for the first time state in broadcasting, successful match to be generated Actual loaded state.
Further, the default playing condition that matching unit 22 obtains is when primary broadcast state is addressed state, in fact Border broadcast state is addressed state;
As shown in figure 3, generation unit 23, comprising:
5th generation module 235, for when primary broadcast state is addressed state, successful match to generate addressed state.
Further, the default playing condition that matching unit 22 obtains is when primary broadcast state is halted state, in fact Border broadcast state is halted state;
As shown in figure 3, generation unit 23, comprising:
6th generation module 236, for when primary broadcast state is halted state, successful match to generate halted state.
Further, the default playing condition that matching unit 22 obtains is when primary broadcast state is halted state, in fact Border broadcast state is halted state;
As shown in figure 3, generation unit 23, comprising:
7th generation module 237, for when primary broadcast state is halted state, successful match to generate halted state.
Further, detection unit 21, for detecting the primary broadcast state and number that video player is current in iOS system According to stress state.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment " first ", " second " etc. be and not represent the superiority and inferiority of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) are come the method for realizing detection video broadcasting condition according to an embodiment of the present invention With some or all functions of some or all components in device.The present invention is also implemented as executing institute here Some or all device or device programs of the method for description are (for example, computer program and computer program produce Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint What other forms provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (6)

1. a kind of method for detecting video broadcasting condition, which is characterized in that described applied to the video player in iOS system Method includes:
Detect video player current primary broadcast state and data stress state;
The primary broadcast state and/or the data stress state are matched with default playing condition;
Actual play state is generated according to matching result, the actual play state is to play involved in traditional video players State, wherein if current primary broadcast state is state in playing, and current data stress state is that data use up shape State, and the primary broadcast state of last time is not addressed state, the then current primary broadcast state and the current number Buffer status is generated with the default playing condition successful match according to stress state;If the current primary broadcast state is State in broadcasting, and the current data stress state is smooth playing state, the then current primary broadcast state State in playing is generated with the default playing condition successful match with the current data stress state;If described current Primary broadcast state be for the first time state in playing, then the current primary broadcast state and the default playing condition With success, actual loaded state is generated;It is described current primary to broadcast if the current primary broadcast state is addressed state State and the default playing condition successful match are put, addressed state is generated;If the current primary broadcast state is pause State, then the current primary broadcast state and the default playing condition successful match, generate halted state;If described work as Preceding primary broadcast state is halted state, then the current primary broadcast state is matched into the default playing condition Function generates halted state.
2. the method according to claim 1, wherein the default playing condition is current primary to broadcast when described State is put as state in playing, and the current data stress state is data when using up state, the actual play shape State is buffer status;
It is described that actual play state is generated according to matching result, comprising:
If the current primary broadcast state is state in playing, and the current data stress state is used up for data State, then current the primary broadcast state and the current data stress state, match with the default playing condition Success generates buffer status.
3. method according to any one of claim 1 to 2, which is characterized in that the detection video player is current Primary broadcast state and data stress state, comprising:
Detect the primary broadcast state and data stress state that video player is current in iOS system.
4. a kind of device for detecting video broadcasting condition, which is characterized in that described applied to the video player in iOS system Device includes:
Detection unit, for detecting video player current primary broadcast state and data stress state;
Matching unit, the primary broadcast state and/or the data stress state for detecting the detection unit with Default playing condition is matched;
Generation unit, for generating actual play state, the actual play state according to the matching result of the matching unit For broadcast state involved in traditional video players, wherein if current primary broadcast state is state in playing, and work as Preceding data stress state is that data use up state, and the primary broadcast state of last time is not addressed state, then described current Primary broadcast state and the current data stress state, and the default playing condition successful match generates buffering shape State;If the current primary broadcast state is state in playing, and the current data stress state is smooth playing State, then current the primary broadcast state and the current data stress state, match with the default playing condition Success generates state in playing;If the current primary broadcast state is state in playing, the current original for the first time Raw broadcast state and the default playing condition successful match generate actual loaded state;If the current primary broadcasting shape State is addressed state, then the current primary broadcast state and the default playing condition successful match, generate addressed state; If the current primary broadcast state is halted state, the current primary broadcast state and the default playing condition Successful match generates halted state;If the current primary broadcast state is halted state, the current primary broadcasting State and the default playing condition successful match generate halted state.
5. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When equipment where control storage medium hold claim 1 to the detection video broadcasting condition described in any one of claim 3 Method.
6. a kind of device for detecting video broadcasting condition, which is characterized in that described including memory interconnected and processor Memory is for storing program, and the processor is for running program, wherein described program holds claim 1 to power when running Benefit detects the method that video broadcasts broadcast state described in requiring any one of 3.
CN201510685605.3A 2015-10-20 2015-10-20 The method and apparatus for detecting video broadcasting condition Active CN106604129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510685605.3A CN106604129B (en) 2015-10-20 2015-10-20 The method and apparatus for detecting video broadcasting condition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510685605.3A CN106604129B (en) 2015-10-20 2015-10-20 The method and apparatus for detecting video broadcasting condition

Publications (2)

Publication Number Publication Date
CN106604129A CN106604129A (en) 2017-04-26
CN106604129B true CN106604129B (en) 2019-08-20

Family

ID=58555234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510685605.3A Active CN106604129B (en) 2015-10-20 2015-10-20 The method and apparatus for detecting video broadcasting condition

Country Status (1)

Country Link
CN (1) CN106604129B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618216B (en) * 2018-12-25 2021-07-30 北京微播视界科技有限公司 Method, device and equipment for displaying video loading state identification and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101849261A (en) * 2007-08-17 2010-09-29 菲尼克斯没药树脂科技专营有限公司 Method and system for content delivery
CN102904857A (en) * 2011-07-25 2013-01-30 风网科技(北京)有限公司 Client video playing system and method thereof
CN103699483A (en) * 2013-12-20 2014-04-02 合一网络技术(北京)有限公司 Method and device for testing compatibility of playing state of flash player and browser
CN104410877A (en) * 2014-11-28 2015-03-11 北京国双科技有限公司 Method and device for processing user behavior data of network television
CN104780455A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Digital file play control method and mobile terminal
US9100288B1 (en) * 2009-07-20 2015-08-04 Conviva Inc. Augmenting the functionality of a content player
CN104918119A (en) * 2014-03-11 2015-09-16 腾讯科技(深圳)有限公司 Video processing method based on iOS browser, and video processing apparatus based on iOS browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014183034A1 (en) * 2013-05-10 2014-11-13 Uberfan, Llc Event-related media management system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101849261A (en) * 2007-08-17 2010-09-29 菲尼克斯没药树脂科技专营有限公司 Method and system for content delivery
US9100288B1 (en) * 2009-07-20 2015-08-04 Conviva Inc. Augmenting the functionality of a content player
CN102904857A (en) * 2011-07-25 2013-01-30 风网科技(北京)有限公司 Client video playing system and method thereof
CN103699483A (en) * 2013-12-20 2014-04-02 合一网络技术(北京)有限公司 Method and device for testing compatibility of playing state of flash player and browser
CN104918119A (en) * 2014-03-11 2015-09-16 腾讯科技(深圳)有限公司 Video processing method based on iOS browser, and video processing apparatus based on iOS browser
CN104410877A (en) * 2014-11-28 2015-03-11 北京国双科技有限公司 Method and device for processing user behavior data of network television
CN104780455A (en) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 Digital file play control method and mobile terminal

Also Published As

Publication number Publication date
CN106604129A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN105933783B (en) A kind of playback method of barrage, device and terminal device
CN109951547B (en) Transaction request parallel processing method, device, equipment and medium
US11036507B2 (en) Processor testing using pairs of counter incrementing and branch instructions
CN105376148A (en) Chat message arrangement method and device
CN104469528B (en) A kind of method, apparatus and browser client for carrying out video data loading
CN105975844B (en) A kind of login method and device
CN108108268A (en) Reboot process method and apparatus are exited in a kind of video record application
CN111611767B (en) Verification method and device
CN106649114B (en) The method and apparatus that application crash is positioned
CN111198809A (en) Interface automation test method and device
CN109739704A (en) A kind of interface test method, server-side and computer readable storage medium
CN103425504A (en) Method and device for loading video files
CN105607944B (en) A kind of method and device of sharing application environment
CN108023905B (en) Internet of things application system and method
CN106604129B (en) The method and apparatus for detecting video broadcasting condition
CN109684177A (en) Information feedback method and device
CN104994429A (en) Video playing method and device
CN110286990B (en) User interface display method, device, equipment and storage medium
CN107291619A (en) EMS memory occupation analysis method and device
CN105096989B (en) A kind for the treatment of method and apparatus of background music
CN111399811A (en) Method, device and equipment for developing visual page and storage medium
CN110087120A (en) The same window switching method and calculating equipment of online list and local list
CN105278956B (en) A kind of Service Processing Module generation method and device
CN110008107A (en) Test method, device and the computer readable storage medium of application
CN105930339B (en) Improve the method and system of message transmission reliability

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant