CN103501468B - Method and device for detecting whether network video playing address is effective - Google Patents
Method and device for detecting whether network video playing address is effective Download PDFInfo
- Publication number
- CN103501468B CN103501468B CN201310489042.1A CN201310489042A CN103501468B CN 103501468 B CN103501468 B CN 103501468B CN 201310489042 A CN201310489042 A CN 201310489042A CN 103501468 B CN103501468 B CN 103501468B
- Authority
- CN
- China
- Prior art keywords
- internet video
- address
- state
- broadcast address
- video
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a method and a device for detecting whether a network video playing address is effective. The method for detecting whether the network video playing address is effective comprises the following steps that a network video identification is obtained; the network video playing address which corresponds to the network video identification is obtained from a network video address database in accordance with the network video identification, wherein the network video address database comprises the network video identification and the network video playing address which corresponds to the network video identification; playing parameters of the network video playing address are obtained in accordance with the network video playing address; a network video state of the network video playing address is determined in accordance with the playing parameters, wherein the network video state comprises an effective state and an invalid state; the network video state of the network video playing address is stored in the network video address database. By adopting the method and the device which are provided by the embodiment, whether the network video playing address is in the invalid state or in the effective state can be distinguished, thereby further improving user experience.
Description
Technical field
The present invention relates to the communications field, in particular, it is to be related to detect Internet video broadcast address whether effectively side
Method and device.
Background technology
With the development of the Internet, registering one's residence in broadband, speed is more and more faster, and consumer can pass through broadband network in terminal
Viewing Online Video, and many invalid network videos are existed on network.
When user inputs keyword search Internet video on network, may search for that multiple associated videos, Yong Hudian occur
Hit a certain Internet video, if this Internet video is effectively, user can watch, if this Internet video is invalid, can show
The prompting of " video is out of date ".Lead to Consumer's Experience bad.
Inventor finds during realizing the invention, and Consumer's Experience is bad to be because network of the prior art
The Internet video broadcast address being stored with invalid in video address data base and effective Internet video broadcast address, and cannot
It is effective or invalid for distinguishing Internet video broadcast address.
Content of the invention
In view of this, the invention provides whether effectively a kind of detect Internet video broadcast address method and device, with
Overcome in prior art due to the Internet video broadcast address that is stored with invalid in Internet video address database and effectively
Internet video broadcast address, and to cannot be distinguished by Internet video broadcast address be effective or invalid, leads to Consumer's Experience not
Good problem.
For achieving the above object, the following technical scheme of present invention offer:
A kind of detection Internet video broadcast address whether effectively method, comprising:
Obtain internet video mark;
Obtained corresponding with described internet video mark from Internet video address database according to described internet video mark
Internet video broadcast address, described Internet video address database include internet video mark and with described Internet video
Identify corresponding Internet video broadcast address;
According to described Internet video broadcast address, obtain the playable parameter of described Internet video broadcast address;
The Internet video state of Internet video broadcast address, described Internet video according to described playable parameter determination
State includes effective status and disarmed state;
Store the Internet video state of described Internet video broadcast address to described Internet video address database.
Wherein, the effective status of described Internet video broadcast address according to described playable parameter determination includes:
When described playable parameter is the first preset value, determine the Internet video state of described Internet video broadcast address
For effective status;
When described playable parameter is the second preset value, determine the Internet video state of described Internet video broadcast address
For disarmed state.
Wherein, in the described Internet video state by described Internet video broadcast address, store to described Internet video ground
After in the data base of location, also include:
The Internet video broadcast address being in disarmed state in described Internet video address database is deleted.
Wherein, in the described Internet video state by described Internet video broadcast address, store to described Internet video ground
After in the data base of location, also include:
Network when Preset Time arrives, to each Internet video broadcast address in described Internet video address database
Video state is updated.
Wherein, described Internet video broadcast address according to described playable parameter determination Internet video state it
Afterwards, before in by the Internet video state of described Internet video broadcast address, storing to described Internet video address database,
Methods described also includes:
The Internet video broadcast address being in disarmed state in described Internet video address database is deleted;
The described accordingly Internet video state by described Internet video broadcast address, stores to described Internet video address
Particularly as follows: storing the Internet video broadcast address corresponding Internet video state being in effective status to described net in data base
In network video address data base.
A kind of detection Internet video broadcast address whether effectively device, comprising:
First acquisition module, for obtaining internet video mark;
Second acquisition module, for according to described internet video mark obtain from Internet video address database with described
Internet video mark corresponding Internet video broadcast address, described Internet video address database include internet video mark with
And Internet video broadcast address corresponding with described internet video mark;
3rd acquisition module, for according to described Internet video broadcast address, obtaining described Internet video broadcast address
Playable parameter;
Determining module, for the Internet video shape of Internet video broadcast address according to described playable parameter determination
State, described Internet video state includes effective status and disarmed state;
Memory module, for storing the Internet video state of described Internet video broadcast address to described Internet video
In address database.
Wherein, described determining module includes:
First determining unit, for when described playable parameter is the first preset value, determining that described Internet video is play
The Internet video state of address is effective status;
Second determining unit, for when described playable parameter is the second preset value, determining that described Internet video is play
The Internet video state of address is disarmed state.
Wherein, also include:
First removing module, in described memory module by the Internet video state of described Internet video broadcast address,
After storing to described Internet video address database, the net of disarmed state will be in described Internet video address database
Network video playback address is deleted.
Wherein, also include:
Update module, for when Preset Time arrives, to each Internet video in described Internet video address database
The Internet video state of broadcast address is updated.
Wherein, also include:
Second removing module, for the network video in Internet video broadcast address according to described playable parameter determination
After frequency state, the Internet video broadcast address being in disarmed state in described Internet video address database is deleted;
Accordingly, memory module, specifically for being in the corresponding network video of Internet video broadcast address of effective status
Frequency state stores to described Internet video address database.
Understand via above-mentioned technical scheme, compared with prior art, embodiments provide a kind of detection network
Whether effectively video playback address method, the method passes through the internet video mark obtaining from Internet video address database
Obtain Internet video broadcast address corresponding with this internet video mark, then according to the Internet video broadcast address obtaining, obtain
Obtaining playable parameter corresponding with this Internet video broadcast address, being obtained with Internet video broadcasting ground by can play parameter
Location is in effective status or disarmed state, and the Internet video state of Internet video broadcast address stores to above-mentioned network
In video address data base.Each Internet video broadcast address in Internet video address database thus can be distinguished
Internet video state, you can be in effective status to distinguish Internet video broadcast address and be in disarmed state, thus entering
One step improves Consumer's Experience.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing providing obtains other accompanying drawings.
Fig. 1 is that effectively a kind of detection Internet video broadcast address provided in an embodiment of the present invention whether illustrate by method flow
Figure;
Fig. 2 detects in the whether effective method of Internet video broadcast address according to institute for one kind provided in an embodiment of the present invention
State a kind of method flow schematic diagram of implementation of the effective status of Internet video broadcast address described in playable parameter determination;
Fig. 3 is a kind of schematic flow sheet of network video data acquisition methods provided in an embodiment of the present invention;
Fig. 4 shows described for control display unit in a kind of network video data acquisition methods provided in an embodiment of the present invention
A kind of method flow schematic diagram of the implementation of first network video state;
Fig. 5 shows described for control display unit in a kind of network video data acquisition methods provided in an embodiment of the present invention
The method flow schematic diagram of another implementation of first network video state;
Fig. 6 is that a kind of structure of the whether effective device of detection Internet video broadcast address provided in an embodiment of the present invention is shown
It is intended to;
Fig. 7 is to determine mould in a kind of whether effective device of detection Internet video broadcast address provided in an embodiment of the present invention
A kind of structural representation of the implementation of block;
Fig. 8 is a kind of structural representation of network video data acquisition device provided in an embodiment of the present invention;
Fig. 9 is a kind of realization side of control module in a kind of network video data acquisition device provided in an embodiment of the present invention
The structural representation of formula;
Figure 10 is another reality of control module in a kind of network video data acquisition device provided in an embodiment of the present invention
The structural representation of existing mode.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Refer to accompanying drawing 1, be a kind of detection Internet video broadcast address whether effectively side provided in an embodiment of the present invention
Method schematic flow sheet, effectively whether method includes this detection Internet video broadcast address:
Step s101: obtain internet video mark.
Above-mentioned internet video mark can be for video name it is also possible to the corresponding mark of video name.
The embodiment of the present invention proposes but is not limited to following several mode obtaining internet video mark:
The embodiment of the present invention can write one using the multi-process programming under linux, the working method using principal and subordinate's process
Program, can include the mastery routine multiple progresses of work corresponding with this host process, mastery routine is from Internet video address in this program
Obtain one or more internet video marks in data base, then each internet video mark is distributed to each progress of work.
Mastery routine random or orientation from Internet video address date obtains internet video mark to be detected, can be once
Obtain one or more internet video marks to be detected, when once obtaining multiple internet video mark to be detected, permissible
Internet video mark is averagely allocated to each progress of work, because mastery routine can control the task amount of each progress of work
(i.e. mastery routine can control the internet video mark number to be detected distributing to each progress of work), certainly, mastery routine
Inequality can distribute to each progress of work.
Effectively whether, now operator can for detection the second Internet video broadcast address that the embodiment of the present invention can orient
To input the key word of second Internet video corresponding with the second Internet video broadcast address, mastery routine can be according to operator
The key word of input obtains the second internet video mark of the second Internet video from video network address database, and by second
Internet video mark distributes to the progress of work.Such as operator wish to detect the effective of " Journey to the West " Internet video broadcast address
Property, then operator can input " Journey to the West " key word, and host process can be according to " Journey to the West " key word from video network ground
Obtain internet video mark corresponding with " Journey to the West " in the data base of location, and this internet video mark is distributed to the progress of work.
Above-mentioned second Internet video broadcast address is the general designation of the Internet video broadcast address to oriented detection, be in order to other nets
Network video playback address makes a distinction, and the second Internet video broadcast address may refer to one or more Internet videos and plays ground
Location.
Above-mentioned mastery routine obtains internet video mark to be detected from Internet video address database at random and refers to main journey
Sequence can obtain arbitrary network video playback address from Internet video address database.
Whether the embodiment of the present invention can be effectively square to detection Internet video broadcast address in the angle of the progress of work
Method is described.
Step s102: obtained from Internet video address database and above-mentioned Internet video according to above-mentioned internet video mark
Identify corresponding Internet video broadcast address.
Internet video address database includes internet video mark and Internet video corresponding with internet video mark
Broadcast address.
The internet video mark that the progress of work can obtain host process distribution from Internet video address database is corresponding
Internet video broadcast address.
The method obtaining Internet video broadcast address corresponding with above-mentioned internet video mark in the embodiment of the present invention is permissible
Have multiple, the embodiment of the present invention provides but is not limited to following method: can be using the gst-discoverer in gstreamer storehouse
Playbin2 plug-in unit in functional module creates a data transmission channel, can by this data transmission channel obtain with above-mentioned
Internet video mark corresponding Internet video broadcast address.
Gstreamer is for building the multimedia framework (framework) of Stream Media Application under gnome desktop environment,
Its target is intended to simplify the exploitation of audio/video application program, have been able at present to be used to process as mp3, ogg, mpeg1,
The multi-medium data of the multiple formats such as mpeg2, avi, quicktime.
Step s103: according to above-mentioned Internet video broadcast address, obtain the playable ginseng of above-mentioned Internet video broadcast address
Number.
The method obtaining the playable parameter of above-mentioned Internet video broadcast address in the embodiment of the present invention has multiple, the present invention
Embodiment provides but is not limited to following method: can install gstreamer storehouse, the above-mentioned progress of work can be broadcast with Internet video
Put address as parameter, call the interface function of gst-discoverer functional module, the return value of this interface function is
State playable parameter.Above-mentioned return value can be Boolean type variable.
Step s104: according to the Internet video state of above-mentioned this Internet video broadcast address of playable parameter determination.
Above-mentioned Internet video state includes effective status and disarmed state.
If can play the return value that parameter is above-mentioned interface function, can set when return value is as true, showing
Internet video broadcast address is in effective status, when return value is for false, shows that Internet video broadcast address is in invalid shape
State.
Step s105: the Internet video state of above-mentioned Internet video broadcast address stores to Internet video address date
In storehouse.
Embodiments provide a kind of detection Internet video broadcast address whether effectively method, the method is passed through to obtain
The internet video mark obtaining obtains Internet video corresponding with this internet video mark from Internet video address database and plays
Address, then according to the Internet video broadcast address obtaining, obtains playable parameter corresponding with this Internet video broadcast address,
Internet video broadcast address is obtained with by playable parameter and is in effective status or disarmed state, by Internet video
The Internet video state of broadcast address, stores to above-mentioned Internet video address database.Network video thus can be distinguished
The Internet video state of each Internet video broadcast address in frequency address database, thus improve Consumer's Experience further.
Refer to Fig. 2, be a kind of detection Internet video broadcast address whether effectively method provided in an embodiment of the present invention
A kind of method stream of the implementation of effective status of middle Internet video broadcast address according to described playable parameter determination
Journey schematic diagram, the method includes:
Step s201: when above-mentioned playable parameter is the first preset value, determine the net of above-mentioned Internet video broadcast address
Network video state is effective status.
Step s202: when above-mentioned playable parameter is the second preset value, determine the net of above-mentioned Internet video broadcast address
Network video state is disarmed state.
If being provided with gstreamer storehouse, the above-mentioned progress of work can be adjusted using Internet video broadcast address as parameter
With the interface function of gst-discoverer functional module, the return value as above-mentioned playable parameter of this interface function.Above-mentioned
Return value can be Boolean type variable.Can set when return value is as true, show that Internet video broadcast address is in effectively
State, when return value is for false, shows that Internet video broadcast address is in disarmed state.
Due to be in the Internet video broadcast address of disarmed state it is impossible to enough play corresponding Internet video it is possible to
The Internet video broadcast address being in disarmed state in Internet video address database is deleted, inspection provided in an embodiment of the present invention
Whether effectively survey grid network video playback address method, in the Internet video state by Internet video broadcast address, store to net
After in network video address data base, also include: the Internet video being in disarmed state in Internet video address database is broadcast
Put address to delete.
Or, after the Internet video state of Internet video broadcast address according to described playable parameter determination,
Before in by the Internet video state of described Internet video broadcast address, storing to described Internet video address database, this
Effectively whether method can also include the detection Internet video broadcast address that inventive embodiments provide: by Internet video number of addresses
Delete according to the Internet video broadcast address being in disarmed state in storehouse, the now above-mentioned Internet video by Internet video broadcast address
State, stores to Internet video address database particularly as follows: will be corresponding for the Internet video broadcast address being in effective status
Effective status stores to Internet video address database.Now due to the all-network video in Internet video address database
Broadcast address is in effective status it is possible to store to Internet video without by corresponding for Internet video broadcast address state
In address database.Corresponding for Internet video broadcast address state can certainly be stored to Internet video address database
In, the embodiment of the present invention is not especially limited to this.
It is understood that the Internet video state of Internet video broadcast address may elapse according to the time, and become
Change, be now accomplished by each Internet video broadcast address corresponding Internet video state in Internet video address database is carried out
Update, the embodiment of the present invention additionally provides in a kind of whether effective method of detection Internet video broadcast address to Internet video ground
In the data base of location, each Internet video broadcast address corresponding Internet video state is updated method, and the method includes: pre-
If the time arrives, the Internet video state of each Internet video broadcast address in Internet video address database is carried out more
Newly.
The mistake that the Internet video state of each Internet video broadcast address in Internet video address database is updated
Journey can as described in above-mentioned steps s101 are to step s105 step.
Refer to Fig. 3, be a kind of schematic flow sheet of network video data acquisition methods provided in an embodiment of the present invention, on
State network video data to be stored in Internet video address database, Internet video address database includes net network video frequency marking
Know Internet video broadcast address corresponding with internet video mark video information corresponding with internet video mark and with net
Network video labeling corresponding Internet video state, above-mentioned Internet video state includes effective status and disarmed state, above-mentioned video
Information includes one or more of video profile, video duration, video name, video resolution, and this network video data obtains
Method is taken to include:
Step s301: according to the Internet video key word of user input, obtain corresponding with Internet video key word first
Internet video mark.
Above-mentioned first network video labeling is to the system with the corresponding video labeling of Internet video key word of user input
Claim, and be not specific to a certain video labeling.
Step s302: obtained from Internet video address database and first network video according to first network video labeling
Identify corresponding first network video state.
Step s303: control display unit display first network video state and corresponding with first network video labeling
First video information.
In a kind of network video data acquisition methods provided in an embodiment of the present invention, the method corresponding Internet video address
Data base includes: internet video mark Internet video broadcast address corresponding with internet video mark and internet video mark
Corresponding video information and Internet video state corresponding with internet video mark, when user input Internet video key word
When, it is possible to obtain first network video labeling corresponding with Internet video key word, and obtain from Internet video address database
Obtain first network video state corresponding with first network video labeling, and control display unit display first network video state
And first video information corresponding with first network video labeling, user can draw according to first network video state and close
Whether effectively the corresponding Internet video of keyword, clicks on this Internet video without by artificial, to determine whether effectively, thus carrying
High Consumer's Experience.
Refer to Fig. 4, be control display unit in a kind of network video data acquisition methods provided in an embodiment of the present invention
Show a kind of method flow schematic diagram of implementation of described first network video state, the method includes:
Step s401: judge the Internet video state of the first network video state of acquisition.
Step s402: when first network video state is effective status, control display unit shows the first video information.
Step s403: when first network video state is disarmed state, control display unit does not show the first video letter
Breath.
Step s402 and step s403 do not have sequencing, before step s403 may be located at step s402.
Refer to Fig. 5, be control display unit in a kind of network video data acquisition methods provided in an embodiment of the present invention
Show the method flow schematic diagram of another implementation of described first network video state, the method includes:
Step s501: judge the state of the first network video state of acquisition.
Step s502: when first network video state is effective status, control display unit shows the first video information
And effective status corresponding with the first video information.
Step s503: when first network video state is disarmed state, control display unit shows the first video information
And disarmed state corresponding with the first video information.
Step s502 and step s503 do not have sequencing, before step s503 may be located at step s502.
When being stored with network video data corresponding Internet video address database in network video data acquisition methods
It is in the video labeling of the corresponding Internet video of Internet video broadcast address, Internet video broadcast address and the video of effective status
Information, is not stored with and is in the video labeling of the corresponding Internet video of Internet video broadcast address, the Internet video of disarmed state
Broadcast address and video information, then the Internet video shape of the Internet video broadcast address that can not be stored with network address database
State, the Internet video broadcast address due to storage in Internet video address database is in effective status, so when according to use
When family obtains Internet video broadcast address from network address database, the corresponding net of the network information that shows on a user interface
Network video playback address is in effective status.User will not click the link of " Internet video is out of date ".
Describe method in detail in the invention described above disclosed embodiment, can take various forms for the method for the present invention
Device realize, therefore the invention also discloses multiple device, specific embodiment is given below and is described in detail.
Refer to Fig. 6, be a kind of detection Internet video broadcast address whether effectively device provided in an embodiment of the present invention
Structural representation, whether effectively device includes this detection Internet video broadcast address: the first acquisition module 601, second obtains
Obtain module the 602, the 3rd and obtain module 603, determining module 604 and memory module 605, wherein:
First acquisition module 601, for obtaining internet video mark.
Above-mentioned internet video mark can be for video name it is also possible to the corresponding mark of video name.
The embodiment of the present invention proposes but is not limited to following several mode obtaining internet video mark:
The embodiment of the present invention can write one using the multi-process programming under linux, the working method using principal and subordinate's process
Program, can include the mastery routine multiple progresses of work corresponding with this host process, mastery routine is from Internet video address in this program
Obtain one or more internet video marks in data base, then each internet video mark is distributed to each progress of work.
Mastery routine random or orientation from Internet video address date obtains internet video mark to be detected, can be once
Obtain one or more internet video marks to be detected, when once obtaining multiple internet video mark to be detected, permissible
Internet video mark is averagely allocated to each progress of work, because mastery routine can control the task amount of each progress of work
(i.e. mastery routine can control the internet video mark number to be detected distributing to each progress of work), certainly, mastery routine
Inequality can distribute to each progress of work.
Effectively whether, now operator can for detection the second Internet video broadcast address that the embodiment of the present invention can orient
To input the key word of second Internet video corresponding with the second Internet video broadcast address, mastery routine can be according to operator
The key word of input obtains the second internet video mark of the second Internet video from video network address database, and by second
Internet video mark distributes to the progress of work.Such as operator wish to detect the effective of " Journey to the West " Internet video broadcast address
Property, then operator can input " Journey to the West " key word, and host process can be according to " Journey to the West " key word from video network ground
Obtain internet video mark corresponding with " Journey to the West " in the data base of location, and this internet video mark is distributed to the progress of work.
Above-mentioned second Internet video broadcast address is the general designation of the Internet video broadcast address to oriented detection, be in order to other nets
Network video playback address makes a distinction, and the second Internet video broadcast address may refer to one or more Internet videos and plays ground
Location.
Above-mentioned mastery routine obtains internet video mark to be detected from Internet video address database at random and refers to main journey
Sequence can obtain arbitrary network video playback address from Internet video address database.
Whether the embodiment of the present invention can be effectively square to detection Internet video broadcast address in the angle of the progress of work
Method is described.
Second acquisition module 602, for obtaining and network from Internet video address database according to internet video mark
Video labeling corresponding Internet video broadcast address.
Internet video address database includes internet video mark and Internet video corresponding with internet video mark
Broadcast address.
The internet video mark that the progress of work can obtain host process distribution from Internet video address database is corresponding
Internet video broadcast address.
The method obtaining Internet video broadcast address corresponding with above-mentioned internet video mark in the embodiment of the present invention is permissible
Have multiple, the embodiment of the present invention provides but is not limited to following method: can be using the gst-discoverer in gstreamer storehouse
Playbin2 plug-in unit in functional module creates a data transmission channel, can by this data transmission channel obtain with above-mentioned
Internet video mark corresponding Internet video broadcast address.
Gstreamer is for building the multimedia framework (framework) of Stream Media Application under gnome desktop environment,
Its target is intended to simplify the exploitation of audio/video application program, have been able at present to be used to process as mp3, ogg, mpeg1,
The multi-medium data of the multiple formats such as mpeg2, avi, quicktime.
3rd acquisition module 603, for according to Internet video broadcast address, obtaining can play of Internet video broadcast address
Parameter.
The method obtaining the playable parameter of above-mentioned Internet video broadcast address in the embodiment of the present invention has multiple, the present invention
Embodiment provides but is not limited to following method: can install gstreamer storehouse, the above-mentioned progress of work can be broadcast with Internet video
Put address as parameter, call the interface function of gst-discoverer functional module, the return value of this interface function is
State playable parameter.Above-mentioned return value can be Boolean type variable.
Determining module 604, for the Internet video state according to above-mentioned playable parameter determination Internet video broadcast address.
Above-mentioned Internet video state includes effective status and disarmed state.
If can play the return value that parameter is above-mentioned interface function, can set when return value is as true, showing
Internet video broadcast address is in effective status, when return value is for false, shows that Internet video broadcast address is in invalid shape
State.
Memory module 605, for storing the Internet video state of Internet video broadcast address to Internet video number of addresses
According in storehouse.
Whether effectively inventive embodiments provide a kind of detection Internet video broadcast address device, and in this device, second obtains
Obtain module 602 to obtain from Internet video address database by the internet video mark that the first acquisition module 601 obtains and be somebody's turn to do
Internet video mark corresponding Internet video broadcast address, then the 3rd obtains module 603 according to the Internet video broadcasting obtaining
Address, obtains playable parameter corresponding with this Internet video broadcast address, and determining module 604 is just permissible by can play parameter
Obtain Internet video broadcast address and be in effective status or disarmed state, memory module 605 is by Internet video broadcast address
Internet video state, store to above-mentioned Internet video address database.Internet video number of addresses thus can be distinguished
According to the Internet video state of each Internet video broadcast address in storehouse, thus improving Consumer's Experience further.
Refer to Fig. 7, be a kind of detection Internet video broadcast address whether effectively device provided in an embodiment of the present invention
A kind of structural representation of implementation of middle determining module, this determining module may include that the first determining unit 701 and
Two determining units 702, wherein:
First determining unit, for when above-mentioned playable parameter is the first preset value, determining that this Internet video plays ground
The Internet video state of location is effective status.
Second determining unit, for when above-mentioned playable parameter is the second preset value, determining that this Internet video plays ground
The Internet video state of location is disarmed state.
If being provided with gstreamer storehouse, the above-mentioned progress of work can be adjusted using Internet video broadcast address as parameter
With the interface function of gst-discoverer functional module, the return value as above-mentioned playable parameter of this interface function.Above-mentioned
Return value can be Boolean type variable.Can set when return value is as true, show that Internet video broadcast address is in effectively
State, when return value is for false, shows that Internet video broadcast address is in disarmed state.
Due to be in the Internet video broadcast address of disarmed state it is impossible to enough play corresponding Internet video it is possible to
The Internet video broadcast address being in disarmed state in Internet video address database is deleted, inspection provided in an embodiment of the present invention
Survey grid network video playback address whether effectively device, can also include: the first removing module, for will be above-mentioned in memory module
The Internet video state of Internet video broadcast address, after storing to Internet video address database, by above-mentioned Internet video
The Internet video broadcast address being in disarmed state in address database is deleted.
Or, effectively whether device can also include detection Internet video broadcast address provided in an embodiment of the present invention:
Second removing module, for the Internet video state according to the above-mentioned Internet video broadcast address of above-mentioned playable parameter determination it
Afterwards, this is stated the Internet video broadcast address deletion being in disarmed state in Internet video address database;Accordingly, store mould
Block, specifically for storing the corresponding state of Internet video broadcast address being in effective status to Internet video address database
In.Now because the all-network video playback address in Internet video address database is in effective status it is possible to
Store to Internet video address database without by corresponding for Internet video broadcast address state.Can certainly be by network video
The corresponding state of frequency broadcast address stores to Internet video address database, and the embodiment of the present invention is not especially limited to this.
It is understood that the Internet video state of Internet video broadcast address may elapse according to the time, and become
Change, be now accomplished by each Internet video broadcast address corresponding Internet video state in Internet video address database is carried out
Update, a kind of detection in the whether effective device of Internet video broadcast address provided in an embodiment of the present invention can also include updating
Module, for the net when Preset Time arrives, to each Internet video broadcast address in described Internet video address database
Network video state is updated.
The mistake that the Internet video state of each Internet video broadcast address in Internet video address database is updated
Journey can execute the first acquisition module 601, second and obtain module the 602, the 3rd acquisition module 603, determining module 604 and storage
Module 605.
Refer to Fig. 8, be a kind of structural representation of network video data acquisition device provided in an embodiment of the present invention, net
Network video data is stored in Internet video address database, and Internet video address database includes internet video mark and net
Network video labeling corresponding Internet video broadcast address video information corresponding with internet video mark and with network video frequency marking
Know corresponding Internet video state, Internet video state includes effective status and disarmed state, video information include video profile,
One or more of video duration, video name, video resolution, network video data acquisition device includes: the first acquisition
Module 801, second obtains module 802 and control module 803, wherein:
First acquisition module 801, for the Internet video key word according to user input, obtains and Internet video key word
Corresponding first network video labeling.
Second acquisition module 802, for according to first network video labeling obtain from Internet video address database with
First network video labeling corresponding first network video state.
Control module 803, for control display unit show first network video state and with first network video mark
Know corresponding first video information.
In a kind of network video data acquisition device provided in an embodiment of the present invention, this device corresponding Internet video address
Data base includes: internet video mark Internet video broadcast address corresponding with internet video mark and internet video mark
Corresponding video information and Internet video state corresponding with internet video mark, when user input Internet video key word
When, the first acquisition module 801 can obtain first network video labeling corresponding with above-mentioned Internet video key word, the second acquisition
Module 802 obtains first network video state corresponding with first network video labeling from Internet video address database, and
First network video state and corresponding with first network video labeling the are shown by control module 803 control display unit
One video information, whether effectively user can draw Internet video corresponding with key word according to first network video state, and
Clicking on this Internet video without going through artificial, determining whether effectively, thus improve Consumer's Experience.
Refer to Fig. 9, be one of control module in a kind of network video data acquisition device provided in an embodiment of the present invention
Plant the structural representation of implementation, this control module includes: the first judging unit 901, the first control unit 902 and second
Control unit 903, wherein:
First judging unit 901, for judging the Internet video state of the first network video state obtaining.
First control unit 902, for when first network video state is effective status, control display unit shows the
One video information.
Second control unit 903, for when first network video state is disarmed state, control display unit does not show
First video information.
Refer to Figure 10, be that in a kind of network video data acquisition device provided in an embodiment of the present invention control module is again
A kind of structural representation of implementation, this control module includes: the second judging unit 1001, the 3rd control unit 1002 and
4th control unit 1003, wherein:
Second judging unit 1001, for judging the Internet video state of the first network video state obtaining.
3rd control unit 1002, for when first network video state is effective status, control display unit shows
First video information and effective status corresponding with the first video information.
4th control unit 1003, for when first network video state is disarmed state, control display unit shows
First video information and disarmed state corresponding with the first video information.
Arbitrary network video data acquisition device of above-mentioned network video data acquisition device embodiment description all can be answered
For Set Top Box.This Set Top Box can apply in IPTV.
It should be noted that each embodiment in this specification is all described by the way of going forward one by one, each embodiment weight
Point explanation is all difference with other embodiment, between each embodiment identical similar partly mutually referring to.
For device or system class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related
Part illustrates referring to the part of embodiment of the method.
Also, it should be noted herein, such as first and second or the like relational terms are used merely to one
Entity or operation are made a distinction with another entity or operation, and not necessarily require or imply between these entities or operation
There is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to contain
Comprising of lid nonexcludability, wants so that including a series of process of key elements, method, article or equipment and not only including those
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element that limited by sentence "including a ..." it is not excluded that
Also there is other identical element including in the process of described key element, method, article or equipment.
The step of the method in conjunction with the embodiments described herein description or algorithm can directly be held with hardware, processor
The software module of row, or the combination of the two is implementing.Software module can be placed in random access memory (ram), internal memory, read-only deposit
Reservoir (rom), electrically programmable rom, electrically erasable rom, depositor, hard disk, moveable magnetic disc, cd-rom or technology
In known any other form of storage medium in field.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple modifications to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and be to fit to and principles disclosed herein and features of novelty phase one
The scope the widest causing.
Claims (10)
1. the whether effective method of one kind detection Internet video broadcast address is it is characterised in that include:
Mastery routine random or orientation from Internet video address database obtains internet video mark to be detected, once obtains one
Individual or multiple internet video marks to be detected, each internet video mark is distributed to each progress of work;
The described progress of work obtains and described Internet video according to described internet video mark from Internet video address database
Identify corresponding Internet video broadcast address, described Internet video address database include internet video mark and with described
Internet video mark corresponding Internet video broadcast address;
The described progress of work, according to described Internet video broadcast address, obtains the playable ginseng of described Internet video broadcast address
Number;
The Internet video state of described progress of work Internet video broadcast address according to described playable parameter determination, described
Internet video state includes effective status and disarmed state;
The described progress of work stores the Internet video state of described Internet video broadcast address to described Internet video number of addresses
According in storehouse.
2. according to claim 1 method it is characterised in that described Internet video according to described playable parameter determination
The Internet video state of broadcast address includes:
When described playable parameter is the first preset value, determine that the Internet video state of described Internet video broadcast address is to have
Effect state;
When described playable parameter is the second preset value, determine that the Internet video state of described Internet video broadcast address is no
Effect state.
3. method according to claim 1 or claim 2 is it is characterised in that in the described network by described Internet video broadcast address
Video state, after storing to described Internet video address database, also includes:
The Internet video broadcast address being in disarmed state in described Internet video address database is deleted.
4. method according to claim 1 or claim 2 is it is characterised in that in the described network by described Internet video broadcast address
Video state, after storing to described Internet video address database, also includes:
Internet video when Preset Time arrives, to each Internet video broadcast address in described Internet video address database
State is updated.
5. method according to claim 1 or claim 2 is it is characterised in that in described net according to described playable parameter determination
After the Internet video state of network video playback address, by the Internet video state of described Internet video broadcast address, store
Before to described Internet video address database, methods described also includes:
The Internet video broadcast address being in disarmed state in described Internet video address database is deleted;
The described accordingly Internet video state by described Internet video broadcast address, stores to described Internet video address date
Particularly as follows: storing the Internet video broadcast address corresponding Internet video state being in effective status to described network video in storehouse
In frequency address database.
6. the whether effective device of one kind detection Internet video broadcast address is it is characterised in that include:
First acquisition module, for mastery routine, from Internet video address database, random or orientation obtains network video to be detected
Frequency marking is known, and once obtains one or more internet video marks to be detected, each internet video mark is distributed to each work
Make process;
Second acquisition module, obtains according to described internet video mark for the described progress of work from Internet video address database
Obtain Internet video broadcast address corresponding with described internet video mark, described Internet video address database includes network video
Frequency marking is known and Internet video broadcast address corresponding with described internet video mark;
3rd acquisition module, for the described progress of work according to described Internet video broadcast address, obtains described Internet video and broadcasts
Put the playable parameter of address;
Determining module, for the network of described progress of work Internet video broadcast address according to described playable parameter determination
Video state, described Internet video state includes effective status and disarmed state;
Memory module, for the described progress of work by the Internet video state of described Internet video broadcast address, stores to described
In Internet video address database.
7. according to claim 6 device it is characterised in that described determining module includes:
First determining unit, for when described playable parameter is the first preset value, determining described Internet video broadcast address
Internet video state be effective status;
Second determining unit, for when described playable parameter is the second preset value, determining described Internet video broadcast address
Internet video state be disarmed state.
8. according to claim 6 or 7 described devices it is characterised in that also including:
First removing module, stores the Internet video state of described Internet video broadcast address in described memory module
After to described Internet video address database, the network video of disarmed state will be in described Internet video address database
Frequency broadcast address is deleted.
9. according to claim 6 or 7 described devices it is characterised in that also including:
Update module, for when Preset Time arrives, playing to each Internet video in described Internet video address database
The Internet video state of address is updated.
10. according to claim 6 or 7 described devices it is characterised in that also including:
Second removing module, for the Internet video shape in Internet video broadcast address according to described playable parameter determination
After state, the Internet video broadcast address being in disarmed state in described Internet video address database is deleted;
Accordingly, memory module, specifically for being in the Internet video broadcast address corresponding Internet video shape of effective status
State stores to described Internet video address database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310489042.1A CN103501468B (en) | 2013-10-17 | 2013-10-17 | Method and device for detecting whether network video playing address is effective |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310489042.1A CN103501468B (en) | 2013-10-17 | 2013-10-17 | Method and device for detecting whether network video playing address is effective |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103501468A CN103501468A (en) | 2014-01-08 |
CN103501468B true CN103501468B (en) | 2017-01-25 |
Family
ID=49866629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310489042.1A Active CN103501468B (en) | 2013-10-17 | 2013-10-17 | Method and device for detecting whether network video playing address is effective |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103501468B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811796B (en) * | 2014-01-24 | 2018-11-16 | 北京猎豹移动科技有限公司 | Network video continuous transmission method and device |
CN105812842B (en) * | 2014-12-30 | 2019-09-17 | Tcl集团股份有限公司 | A kind of method and system detecting network video address |
CN104796768A (en) * | 2015-04-17 | 2015-07-22 | 苏州健雄职业技术学院 | OMAP (open multimedia application platform) hardware decoding acceleration based embedded high-definition media player and operation method thereof |
CN105516734B (en) * | 2015-12-10 | 2019-11-15 | 腾讯科技(深圳)有限公司 | A kind of detection method and device of video playability |
CN109348284A (en) * | 2018-11-28 | 2019-02-15 | 深圳市创维软件有限公司 | A kind of channel playback method, device, equipment and medium |
CN111064952A (en) * | 2019-11-27 | 2020-04-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Automatic testing method, device and system |
CN113271458B (en) * | 2021-05-19 | 2022-12-02 | 北京睿芯高通量科技有限公司 | Method for detecting video source effectiveness in transcoding system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2387453A (en) * | 2002-01-08 | 2003-10-15 | Univ Staffordshire | Cache arrangement indicates when object is available from cache |
CN101506766A (en) * | 2005-05-10 | 2009-08-12 | 微软公司 | Database corruption recovery systems and methods |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7536439B1 (en) * | 2003-12-02 | 2009-05-19 | Digital Impact, Inc. | Methods and apparatus for categorizing failure messages that result from email messages |
-
2013
- 2013-10-17 CN CN201310489042.1A patent/CN103501468B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2387453A (en) * | 2002-01-08 | 2003-10-15 | Univ Staffordshire | Cache arrangement indicates when object is available from cache |
CN101506766A (en) * | 2005-05-10 | 2009-08-12 | 微软公司 | Database corruption recovery systems and methods |
Also Published As
Publication number | Publication date |
---|---|
CN103501468A (en) | 2014-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103501468B (en) | Method and device for detecting whether network video playing address is effective | |
Stein et al. | Bad assumptions or bad luck: Why earthquake hazard maps need objective testing | |
Avila et al. | SUSSING MERGER TREES: the influence of the halo finder | |
CN111050205B (en) | Video clip acquisition method, device, equipment and storage medium | |
Rasmussen | Distribution of soil organic and inorganic carbon pools by biome and soil taxa in Arizona | |
CN101727473B (en) | Method and system for monitoring and tracking video on internet | |
CN104731950A (en) | Video recommendation method and device | |
US20170243614A1 (en) | Techniques for processing and viewing video events using event metadata | |
CN106303715A (en) | barrage storage processing method and device | |
CN108763016A (en) | A kind of method and device of acquisition user behavior data | |
CN103713814B (en) | Information processing method and electronic equipment | |
CN108376164A (en) | A kind of methods of exhibiting and device of potentiality main broadcaster | |
CN107291710A (en) | A kind of method and device updated the data for distributed data base system | |
CN107527008A (en) | Face recognition system and control method and control device thereof | |
CN104992482A (en) | Athletic competition data processing system and method thereof | |
CN105471935A (en) | Information prompting method and information prompting device | |
CN107529093A (en) | A kind of detection method and system of video file playback volume | |
CN103699694A (en) | Data processing method and device | |
Benito et al. | Forecasting plant range collapse in a mediterranean hotspot: When dispersal uncertainties matter | |
Harbert et al. | Climate niche modeling in the perennial Glycine (Leguminosae) allopolyploid complex | |
CN105872719A (en) | Video playback information processing method and device | |
CN103150348B (en) | A kind of GIS database increment updating method and its system | |
CN105654344A (en) | Method and device for controlling advertisement playing frequency | |
CN115457408A (en) | Land monitoring method and device, electronic equipment and medium | |
CN105874460A (en) | Method and apparatus for identifying single-nucleotide variations and other variations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 519000 Guangdong city of Zhuhai province Hongqi Town Jinwan District Zhuhai Yongda Road No. 66 No. 2 building Applicant after: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD. Address before: 519000 Guangdong city in Zhuhai Province town of Red Bay Area Yongda Road No. 66 No. 2 building Applicant before: Zhuhai Gotech Electronic Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: ZHUHAI GOTECH ELECTRONIC TECHNOLOGY CO., LTD. TO: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |