CN106604129B - The method and apparatus for detecting video broadcasting condition - Google Patents
The method and apparatus for detecting video broadcasting condition Download PDFInfo
- 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
- playing
- native
- current
- playing state
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000001514 detection method Methods 0.000 claims abstract description 7
- 238000012544 monitoring process Methods 0.000 abstract description 5
- 230000003139 buffering effect Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
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
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for detecting a video playing state.
Background
With the development of internet technology, the variety of video software is more and more, and video software suitable for various systems is more and more.
Generally, devices (mobile phones or computers, etc.) of various systems have their own native players, and the native players have their own native playing states. The native playing states related to the native player of the iOS system include a playing state, a pause state, an addressing state and a stop state, and the related network data loading state includes a data exhaustion state, a playable state and a smooth playing state. However, the native play state in the iOS system has no relation to the network data loading state.
When a developer tests the playing quality of a third-party video player (which can be played only by adding a plug-in of a native player, that is, the playing state of the third-party video player is the same as the playing state of the iOS native player) applied in an iOS system, the playing state of the third-party video player needs to be detected, and then the playing quality of the third-party video player is obtained according to the playing state and other information. However, the playing states required by the developer are the playing states of the conventional video player, i.e., a loading state, a playing state, a pause state, an addressing state, a buffering state and a stop state, while the iOS native playing state and the network data loading state do not have a loading state and a buffering state, and the playing state in the native playing state is not completely consistent with the conventional playing state, for example, after the user drags the progress bar, the native playing state is the playing state, and the network data loading state is a data-out state, it can be known that the current video player is not in a state for normally playing the video, and therefore the current playing state is not in the conventional playing state. Therefore, how to convert the iOS native playing state and the network data loading state into the traditional playing state, thereby solving the problem that the playing state of the video player based on the iOS system is inconsistent with the playing state of the traditional player is a big problem today.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for detecting a video playing status, which can solve the problem that the playing status of a video player based on an iOS system is inconsistent with the playing status of a conventional player.
According to an aspect of the present invention, there is provided a method of detecting a video playing status, the method including:
detecting the current native playing state and the data loading state of the video player;
matching the native playing state and/or the data loading state with a preset playing condition;
and generating an actual playing state according to the matching result, wherein the actual playing state is a playing state related to the traditional video player.
According to another aspect of the present invention, there is provided an apparatus for detecting a video playing state, the apparatus comprising:
the detection unit is used for detecting the current native playing state and the data loading state of the video player;
the matching unit is used for matching the native playing state and/or the data loading state detected by the detection unit with a preset playing condition;
and the generating unit is used for generating an actual playing state according to the matching result of the matching unit, wherein the actual playing state is a playing state related to the traditional video player.
By means of the technical scheme, the method and the device for detecting the video playing state provided by the invention can detect the current native playing state and the data loading state of the video player in real time, match the obtained native playing state and/or the data loading state with the preset playing condition, and finally generate the actual playing state through the matching result. Compared with the prior art that the actually required playing state cannot be obtained, the method and the device for playing the video player generate the actually playing state (namely the traditional playing state) according to the matching result of the current native playing state and/or the data loading state and the preset playing condition, so that the problem that the playing state of the video player based on the iOS system is inconsistent with the playing state of the traditional player in the prior art is solved, and the actually required playing state can be obtained when the playing quality of a third-party video player in the iOS system is tested.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for detecting a video playing status according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating a device for detecting a video playing status according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating another apparatus for detecting a video playing status according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides a method for detecting a video playing status, as shown in fig. 1, the method includes:
101. and detecting the current native playing state and the data loading state of the video player.
The video player may be a third-party video player (or referred to as third-party video playing software) applied in the iOS system, and if the third-party video player is to be normally used in the iOS system, a code compatible with the iOS system native player needs to be added in the process of developing the third-party video player, so that in the playing process of the third-party video player, the related playing states include an iOS native playing state and an iOS data loading state. In practical application, a developer needs to test the playing quality of a developed third-party video player, so that a plug-in for detecting the video playing state can be added to the third-party video player, and when the video player is started, the plug-in for detecting the video playing state can also be started, and the native playing state and the data loading state of the video player can be monitored in real time.
It should be noted that, no matter the iOS native player or the third party video player applied to the iOS system, the native playing state and the data loading state are consistent, and the third party video player does not relate to other playing states, so the embodiment of the present invention may also monitor the playing state of the iOS native player, so as to achieve the purpose of obtaining the playing state of the conventional player through the playing state of the native player.
In addition, the method for monitoring the playing state of the video player is not limited to adding a monitoring plug-in to the video player, and may also be used for monitoring in other manners, which is not limited herein.
102. And matching the native playing state and/or the data loading state with a preset playing condition.
The preset playing condition is a condition for converting a current playing state (a native playing state and/or a data loading state) of the video player into a conventional playing state. After the current native play state and the data loading state are obtained, because parameters (the native play state and the data loading state) required in the preset play condition are different, the terminal may match the native play state and the data loading state with the preset play condition at the same time, or may match one of the native play state and the data loading state with the preset play condition.
103. And generating an actual playing state according to the matching result.
Wherein, the actual playing state is the playing state related to the conventional video player. After the native playing state and/or the data loading state are/is matched with the preset playing conditions, a matching operation result is obtained. If the matching result is successful, the terminal generates an actual playing state according to preset playing conditions, and records the current original playing state, the current data loading state and the current actual playing state; and if the matching result is unsuccessful, the terminal only records the current native playing state and the current data loading state.
The method for detecting the video playing state provided by the embodiment of the invention can detect the current native playing state and the data loading state of the video player in real time, match the obtained native playing state and/or the data loading state with the preset playing condition, and finally generate the actual playing state through the matching result. Compared with the prior art that the actually required playing state cannot be obtained, the method and the device for playing the video player generate the actually playing state (namely the traditional playing state) according to the matching result of the current native playing state and/or the data loading state and the preset playing condition, so that the problem that the playing state of the video player based on the iOS system is inconsistent with the playing state of the traditional player in the prior art is solved, and the actually required playing state can be obtained when the playing quality of a third-party video player in the iOS system is tested.
Further, since the actual play state (conventional play state) required by the developer is a buffer state (Buffering), a play state (Playing), a real load state (Loading), an address state (seek), a pause state (used), and a stop state (stop), it is necessary to convert the native play state and the data load state into the required actual play state. The following describes the generation process of different actual playing states in detail respectively:
the first actual playing state: buffer state
If the preset playing condition is that when the native playing state is the playing state and the data loading state is the data exhaustion state, the actual playing state is the buffering state, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the native playing state is the playing state and the data loading state is the data exhaustion state, the matching is successful, and a buffer state is generated.
Specifically, the buffer state is a data loading state caused by a failure of the video player itself or a bad network state during the video playing process. Therefore, when the native play state is the play-in state and the data loading state is the data-out state, the generated actual play state is the buffer state.
However, in practical applications, the developer monitors the play status of the video player in order to comment on the quality of the video player, so the buffer status due to some operations the user participates in manually may not be recorded as the actual buffer status. For example, when the user drags the progress bar on the video without pressing the pause key (i.e. normal play), the native play state changes from the addressing state to the playing state, and the data loading state causes the data exhaustion state. Therefore, only when the native playing state is the playing state and the data loading state is the data-out state, the buffer state is generated, and the buffer state caused by human operation is recorded, so that the accuracy of monitoring the quality of the video player is reduced. Therefore, the preset playing condition should be that when the current native playing state is the playing state, the current data loading state is the data exhaustion state, and the last native playing state is not the addressing state, the actual playing state is the buffer state; correspondingly, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the current native playing state is the playing state, the current data loading state is the data exhaustion state, and the last native playing state is not the addressing state, the matching is successful, and the buffer state is generated.
Second actual play state: in-play state
If the preset playing condition is that the original playing state is the playing state and the data loading state is the smooth playing state, and the actual playing state is the playing state, the specific implementation manner of generating the actual playing state according to the matching result is as follows: and if the original playing state is the playing state and the data loading state is the smooth playing state, the matching is successful and the playing state is generated.
Specifically, as the native playing state only includes a playing state, a pause state, an addressing state and a stop state, as long as the user does not trigger a pause command, does not drag a progress bar, and does not trigger an instruction for ending the running of the video player, the native playing state of the video player is the playing state. When the native playing state of the video player is the playing state, the data loading state may be the data exhaustion state. For example, when the user does not press the pause key (normal play), the video is dragged by the progress bar, the native play state is the addressing state during the process of dragging the progress bar, after the user stops the operation of dragging the progress bar and the server sends the current play address to the video player, the native play state is changed from the addressing state to the play state, and at this time, the data loading state is the data-out state because the data is not loaded yet. For this case, the actual playing status of the video player is not the playing status, but the actual playing status of the video player is the playing status only when the video player has loaded enough data (i.e. the data loading status changes from the data-out status to the smooth playing status). Therefore, when the native playing state is the playing state and the data loading state is the smooth playing state, the generated actual playing state is the playing state.
The third actual playing state: actual load state
If the preset playing condition is that when the original playing state is the playing state for the first time, the actual playing state is the actual loading state, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the original playing state is the playing state for the first time, the matching is successful, and the actual loading state is generated.
Specifically, the actual loading state is the first state after the conventional video player is started and is the state of loading data, and the first native playing state entered after the video player in the iOS system is started is the playing state, so when the native playing state is the playing state for the first time, the generated actual playing state is the actual loading state.
In practical application, when a user watches a local video, the video loading state of the video player has no data exhaustion state, and the user can load enough data as soon as opening the video, and at this time, the actual loading state can be generated when the native playing state is the playing state for the first time. When a user watches videos online and just starts the video player, the video loading state of the video player is a data exhaustion state, when certain data is loaded, the video player can enter a playable state, and when enough data is loaded, the video player can enter a smooth playing state. Therefore, for the case of playing the video online, the preset playing condition may be that when the native playing state is the playing state for the first time, and the data loading state is the data-out state, the actual playing state is the actual loading state. At this time, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the native playing state is the playing state for the first time and the data loading state is the data exhaustion state, the matching is successful, and the actual loading state is generated.
Fourth actual play state: addressing state
If the preset playing condition is that the actual playing state is the addressing state when the native playing state is the addressing state, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the native playing state is the addressing state, the matching is successful, and the addressing state is generated.
In particular, the addressing states in the native play state include a forward addressing state and a backward addressing state. If the native playing state is the forward addressing state, it indicates that the user is dragging the progress bar forward; if the native playing state is the backward addressing state, it indicates that the user is dragging the progress bar backward. The current actual playing state of the video player is determined as the addressing state, because whether the current native state is the forward addressing state or the backward addressing state indicates that the user is dragging the progress bar, and the dragging of the progress bar necessarily requires addressing. It can be seen that, when the native play state is the addressing state, the generated actual play state is the addressing state.
Fifth actual play state: suspended state
If the preset playing condition is that the actual playing state is the pause state when the native playing state is the pause state, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the native playing state is the pause state, the matching is successful, and the pause state is generated.
Specifically, when the native play state is the pause state, the user must click a pause button on the video player, so the actual play state of the video player must also be the pause state, and when the native play state is the pause state, the generated actual play state is also the pause state.
Sixth actual play state: stopped state
If the preset playing condition is that the actual playing state is the stopped state when the native playing state is the stopped state, the specific implementation manner of generating the actual playing state according to the matching result is as follows: if the native playing state is the stop state, the matching is successful, and the stop state is generated.
Specifically, when the native playing state is the stop state, the video player has already finished running, so the actual playing state of the video player is also a stop state, and when the native playing state is the stop state, the generated actual playing state is also the stop state.
Further, since the present invention is mainly applied to the iOS system, the specific implementation manner for detecting the current native playing state and the data loading state of the video player is as follows: and detecting the current native playing state and the data loading state of the video player in the iOS system.
Further, according to the above method embodiment, another embodiment of the present invention further provides an apparatus for detecting a video playing status, as shown in fig. 2, the apparatus includes: a detection unit 21, a matching unit 22 and a generation unit 23. Wherein,
the detection unit 21 is configured to detect a current native playing state and a data loading state of the video player;
a matching unit 22, configured to match the native playing state and/or the data loading state detected by the detecting unit 21 with a preset playing condition;
a generating unit 23, configured to generate an actual playing state according to the matching result of the matching unit 22, where the actual playing state is a playing state related to a conventional video player.
The device for detecting the video playing state provided by the embodiment of the invention can detect the current original playing state and the data loading state of the video player in real time, match the obtained original playing state and/or the obtained data loading state with the preset playing conditions, and finally generate the actual playing state through the matching result. Compared with the prior art that the actually required playing state cannot be obtained, the method and the device for playing the video player generate the actually playing state (namely the traditional playing state) according to the matching result of the current native playing state and/or the data loading state and the preset playing condition, so that the problem that the playing state of the video player based on the iOS system is inconsistent with the playing state of the traditional player in the prior art is solved, and the actually required playing state can be obtained when the playing quality of a third-party video player in the iOS system is tested.
Further, the preset playing condition obtained by the matching unit 22 is that when the native playing state is the playing state and the data loading state is the data exhaustion state, the actual playing state is the buffer state;
as shown in fig. 3, the generating unit 23 includes:
and a first generating module 231, configured to generate a buffer state when the native playing state is the playing state and the data loading state is the data exhaustion state, and the matching is successful.
Further, the preset playing condition obtained by the matching unit 22 is that when the current native playing state is the playing state, the current data loading state is the data exhaustion state, and the last native playing state is not the addressing state, the actual playing state is the buffering state;
the second generating module 232 is configured to generate a buffer state when the current native playing state is the playing state, the current data loading state is the data exhaustion state, and the last native playing state is not the addressing state, and the matching is successful.
Further, the preset playing condition obtained by the matching unit 22 is that when the native playing state is the playing state and the data loading state is the smooth playing state, the actual playing state is the playing state;
as shown in fig. 3, the generating unit 23 includes:
and a third generating module 233, configured to, when the native playing status is the playing status and the data loading status is the smooth playing status, successfully match the data loading status, and generate the playing status.
Further, the preset playing condition obtained by the matching unit 22 is that when the native playing state is the playing state for the first time, the actual playing state is the actual loading state;
as shown in fig. 3, the generating unit 23 includes:
the fourth generating module 234 is configured to, when the native playing status is the playing status for the first time, successfully match, and generate an actual loading status.
Further, the preset playing condition obtained by the matching unit 22 is that when the native playing state is the addressing state, the actual playing state is the addressing state;
as shown in fig. 3, the generating unit 23 includes:
and a fifth generating module 235, configured to generate the addressing status when the native playing status is the addressing status and matching is successful.
Further, the preset playing condition obtained by the matching unit 22 is that when the native playing state is the pause state, the actual playing state is the pause state;
as shown in fig. 3, the generating unit 23 includes:
and a sixth generating module 236, configured to generate the pause state when the native playing state is the pause state and the matching is successful.
Further, the preset playing condition obtained by the matching unit 22 is that when the native playing state is the stop state, the actual playing state is the stop state;
as shown in fig. 3, the generating unit 23 includes:
and a seventh generating module 237, configured to generate a stop state when the native playing state is the stop state and the matching is successful.
Further, the detecting unit 21 is configured to detect a current native playing state and a data loading state of the video player in the iOS system.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the method and apparatus for detecting video playback status according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Claims (6)
1. A method for detecting a video playing state, which is applied to a video player in an iOS system, the method comprising:
detecting the current native playing state and the data loading state of the video player;
matching the native playing state and/or the data loading state with a preset playing condition;
generating an actual playing state according to a matching result, wherein the actual playing state is a playing state related to a traditional video player, and if the current native playing state is a playing state, the current data loading state is a data exhaustion state, and the last native playing state is not an addressing state, the current native playing state and the current data loading state are successfully matched with the preset playing condition to generate a buffer state; if the current native playing state is a playing state and the current data loading state is a smooth playing state, matching the current native playing state and the current data loading state with the preset playing condition successfully to generate a playing state; if the current native playing state is the playing state for the first time, the current native playing state is successfully matched with the preset playing condition, and an actual loading state is generated; if the current native playing state is the addressing state, the current native playing state is successfully matched with the preset playing condition, and the addressing state is generated; if the current native playing state is the pause state, the current native playing state is successfully matched with the preset playing condition, and the pause state is generated; and if the current native playing state is the stop state, successfully matching the current native playing state with the preset playing condition, and generating the stop state.
2. The method according to claim 1, wherein the preset playing condition is that when the current native playing state is a playing state and the current data loading state is a data-out state, the actual playing state is a buffer state;
the generating of the actual playing state according to the matching result includes:
if the current native playing state is a playing state and the current data loading state is a data exhaustion state, matching the current native playing state and the current data loading state with the preset playing condition is successful, and a buffer state is generated.
3. The method according to any one of claims 1 to 2, wherein the detecting a current native play state and a data loading state of a video player comprises:
and detecting the current native playing state and the data loading state of the video player in the iOS system.
4. An apparatus for detecting a video playing status, applied to a video player in an iOS system, the apparatus comprising:
the detection unit is used for detecting the current native playing state and the data loading state of the video player;
the matching unit is used for matching the native playing state and/or the data loading state detected by the detection unit with a preset playing condition;
a generating unit, configured to generate an actual playing state according to a matching result of the matching unit, where the actual playing state is a playing state related to a conventional video player, and if a current native playing state is a playing state, a current data loading state is a data exhaustion state, and a last native playing state is not an addressing state, the current native playing state and the current data loading state are successfully matched with the preset playing condition, and a buffer state is generated; if the current native playing state is a playing state and the current data loading state is a smooth playing state, matching the current native playing state and the current data loading state with the preset playing condition successfully to generate a playing state; if the current native playing state is the playing state for the first time, the current native playing state is successfully matched with the preset playing condition, and an actual loading state is generated; if the current native playing state is the addressing state, the current native playing state is successfully matched with the preset playing condition, and the addressing state is generated; if the current native playing state is the pause state, the current native playing state is successfully matched with the preset playing condition, and the pause state is generated; and if the current native playing state is the stop state, successfully matching the current native playing state with the preset playing condition, and generating the stop state.
5. A storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus on the storage medium to perform the method for detecting a video playing status according to any one of claims 1 to 3.
6. An apparatus for detecting a video playing state, comprising a memory and a processor connected to each other, wherein the memory is used for storing a program, and the processor is used for executing the program, wherein the program executes the method for detecting the video playing state according to any one of claims 1 to 3.
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 Expired - Fee Related 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)
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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2994873A4 (en) * | 2013-05-10 | 2017-02-15 | Uberfan LLC | Event-related media management system |
-
2015
- 2015-10-20 CN CN201510685605.3A patent/CN106604129B/en not_active Expired - Fee Related
Patent Citations (7)
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 |
---|---|---|
US11436125B2 (en) | Game test automation device and method | |
CN108717393B (en) | Application program testing method and mobile terminal | |
US9747191B1 (en) | Tool to replicate actions across devices in real time for improved efficiency during manual application testing | |
CN107948640B (en) | Video playing test method and device, electronic equipment and storage medium | |
KR102243379B1 (en) | Method and apparatus for automating game test | |
US10802847B1 (en) | System and method for reproducing and resolving application errors | |
US9594617B2 (en) | Method and apparatus for positioning crash | |
US9348728B2 (en) | Trace capture of successfully completed transactions for trace debugging of failed transactions | |
CN106604129B (en) | The method and apparatus for detecting video broadcasting condition | |
CN113949933A (en) | Playing data analysis method, device, equipment and storage medium | |
CN110933508B (en) | Video playing method and device and electronic equipment | |
CN110286990B (en) | User interface display method, device, equipment and storage medium | |
KR101941105B1 (en) | A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal | |
CN106874782A (en) | The seamless application method and mobile terminal of a kind of mobile terminal | |
US9990274B2 (en) | Testing integrated business systems | |
US9373153B2 (en) | Diagnosing graphics display problems | |
US20120041840A1 (en) | Hot button for performance diagnostic and recommendation | |
KR101938202B1 (en) | A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal | |
CN106371992B (en) | Browser error detection method and error detector element | |
KR101793263B1 (en) | A method of collectively managing the occurrence of errors in the hardware included in the computer system and performing backup and recovery to inform the external terminal | |
CN110704262A (en) | Dynamic service logic debugging method, system, storage medium and intelligent device | |
US20240232030A9 (en) | Methods and systems for testing a system | |
CN108763087A (en) | A kind of script testing method, apparatus and system | |
CN104579844B (en) | Server test method and device | |
JP2010170459A (en) | Test system, test method, and test program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190820 |