CN103501468A - 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 PDF

Info

Publication number
CN103501468A
CN103501468A CN201310489042.1A CN201310489042A CN103501468A CN 103501468 A CN103501468 A CN 103501468A CN 201310489042 A CN201310489042 A CN 201310489042A CN 103501468 A CN103501468 A CN 103501468A
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.)
Granted
Application number
CN201310489042.1A
Other languages
Chinese (zh)
Other versions
CN103501468B (en
Inventor
李嘉帮
伍尚泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd filed Critical ZHUHAI GOTECH ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201310489042.1A priority Critical patent/CN103501468B/en
Publication of CN103501468A publication Critical patent/CN103501468A/en
Application granted granted Critical
Publication of CN103501468B publication Critical patent/CN103501468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Whether Sampling network video playback address effective method and device
Technical field
The present invention relates to the communications field, in particular, relate to Sampling network video playback address whether effective method and device.
Background technology
Along with the development of the Internet, the broadband speed of registering one's residence is more and more faster, and the consumer can watch Online Video by broadband network on terminal, and has many invalid Internet videos on network.
When the user inputs the keyword search Internet video on network, can search for and a plurality of associated videos occur, the user clicks a certain Internet video, if this Internet video effectively the user can watch, if this Internet video is invalid, can show the prompting of " video is out of date ".Cause the user to experience bad.
The inventor finds in realizing the process of the invention, it is because store invalid Internet video broadcast address and effective Internet video broadcast address in Internet video address database of the prior art that the user experiences bad, and can't diffServ network video playback address be effective or invalid.
Summary of the invention
In view of this, the invention provides a kind of Sampling network video playback address whether effective method and device, to overcome in prior art owing to storing invalid Internet video broadcast address and effective Internet video broadcast address in the Internet video address database, and can't diffServ network video playback address be effective or invalid, cause the user to experience bad problem.
For achieving the above object, the invention provides following technical scheme:
Whether a kind of Sampling network video playback address effective method, comprising:
Obtain the Internet video sign;
Obtain and identify corresponding Internet video broadcast address with described Internet video from the Internet video address database according to described Internet video sign, described Internet video address database comprises the Internet video sign and identifies corresponding Internet video broadcast address with described Internet video;
According to described Internet video broadcast address, but obtain the play parameter of described Internet video broadcast address;
But determine the Internet video state of described Internet video broadcast address according to described play parameter, described Internet video state comprises effective status and disarmed state;
By the Internet video state of described Internet video broadcast address, be stored in described Internet video address database.
Wherein, but describedly according to described play parameter, determine that the effective status of described Internet video broadcast address comprises:
, when but described play parameter is the first preset value, the Internet video state of determining described Internet video broadcast address is effective status;
, when but described play parameter is the second preset value, the Internet video state of determining described Internet video broadcast address is disarmed state.
Wherein, at the described state of the Internet video by described Internet video broadcast address, after being stored in described Internet video address database, also comprise:
Internet video broadcast address in disarmed state in described Internet video address database is deleted.
Wherein, at the described state of the Internet video by described Internet video broadcast address, after being stored in described Internet video address database, also comprise:
When Preset Time arrives, the Internet video state of each Internet video broadcast address in described Internet video address database is upgraded.
Wherein, but after the described Internet video state of determining described Internet video broadcast address according to described play parameter, at the Internet video state by described Internet video broadcast address, before being stored in described Internet video address database, described method also comprises:
Internet video broadcast address in disarmed state in described Internet video address database is deleted;
The corresponding described state of the Internet video by described Internet video broadcast address, be stored in described Internet video address database and be specially: Internet video state that will be corresponding in the Internet video broadcast address of effective status is stored in described Internet video address database.
Effectively whether a kind of Sampling network video playback address device, comprising:
First obtains module, for obtaining the Internet video sign;
Second obtains module, for according to described Internet video sign, from the Internet video address database, obtaining and identify corresponding Internet video broadcast address with described Internet video, described Internet video address database comprises the Internet video sign and identifies corresponding Internet video broadcast address with described Internet video;
The 3rd obtains module, for according to described Internet video broadcast address, but obtains the play parameter of described Internet video broadcast address;
Determination module, but for determine the Internet video state of described Internet video broadcast address according to described play parameter, described Internet video state comprises effective status and disarmed state;
Memory module, for the Internet video state by described Internet video broadcast address, be stored in described Internet video address database.
Wherein, described determination module comprises:
The first determining unit, but for when described play parameter is the first preset value, the Internet video state of determining described Internet video broadcast address is effective status;
The second determining unit, but for when described play parameter is the second preset value, the Internet video state of determining described Internet video broadcast address is disarmed state.
Wherein, also comprise:
The first removing module, for the Internet video state by described Internet video broadcast address in described memory module, after being stored in described Internet video address database, the Internet video broadcast address in disarmed state in described Internet video address database is deleted.
Wherein, also comprise:
Update module, for when Preset Time arrives, upgraded the Internet video state of each Internet video broadcast address in described Internet video address database.
Wherein, also comprise:
The second removing module, but for after according to described play parameter, determining the Internet video state of described Internet video broadcast address, the Internet video broadcast address in disarmed state in described Internet video address database is deleted;
Accordingly, memory module, be stored in described Internet video address database specifically for Internet video state that will be corresponding in the Internet video broadcast address of effective status.
Known via above-mentioned technical scheme, compared with prior art, the embodiment of the present invention provides whether effective method of a kind of Sampling network video playback address, the method obtains and identifies corresponding Internet video broadcast address with this Internet video from the Internet video address database by the Internet video sign obtained, then according to the Internet video broadcast address obtained, but obtain the play parameter corresponding with this Internet video broadcast address, but just can obtain the Internet video broadcast address in effective status or disarmed state by play parameter, Internet video state by the Internet video broadcast address, be stored in above-mentioned Internet video address database.So just can distinguish the Internet video state of each Internet video broadcast address in the Internet video address database, can distinguish the Internet video broadcast address in disarmed state or in effective status, experience thereby further improve the user.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to the accompanying drawing provided other accompanying drawing.
Whether a kind of Sampling network video playback address that Fig. 1 provides for the embodiment of the present invention effective method schematic flow sheet;
But whether a kind of Sampling network video playback address that Fig. 2 provides for the embodiment of the present invention determines a kind of method flow schematic diagram of implementation of the effective status of described Internet video broadcast address in effective method according to described play parameter;
The schematic flow sheet of a kind of Internet video data capture method that Fig. 3 provides for the embodiment of the present invention;
Control the method flow schematic diagram that display unit shows a kind of implementation of described first network video state in a kind of Internet video data capture method that Fig. 4 provides for the embodiment of the present invention;
Control the method flow schematic diagram that display unit shows another implementation of described first network video state in a kind of Internet video data capture method that Fig. 5 provides for the embodiment of the present invention;
The structural representation whether Fig. 6 effectively installs for a kind of Sampling network video playback address that the embodiment of the present invention provides;
Effectively whether a kind of Sampling network video playback address that Fig. 7 provides for the embodiment of the present invention structural representation of a kind of implementation of determination module in device;
The structural representation of a kind of Internet video data acquisition facility that Fig. 8 provides for the embodiment of the present invention;
The structural representation of a kind of implementation of control module in a kind of Internet video data acquisition facility that Fig. 9 provides for the embodiment of the present invention;
The structural representation of another implementation of control module in a kind of Internet video data acquisition facility that Figure 10 provides for the embodiment of the present invention.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Refer to accompanying drawing 1, whether a kind of Sampling network video playback address provided for the embodiment of the present invention effective method schematic flow sheet, and whether effective method comprises in this Sampling network video playback address:
Step S101: obtain the Internet video sign.
Above-mentioned Internet video sign can be video name, also can sign corresponding to video name.
The embodiment of the present invention proposes but is not limited to the mode that following several acquisition Internet video identifies:
The embodiment of the present invention can be utilized the multi-process programming under Linux, adopt the working method of principal and subordinate's process to write a program, can comprise a plurality of progresses of work that main program is corresponding with this host process in this program, main program obtains one or more Internet video signs from the Internet video address database, then each Internet video sign is distributed to each progress of work.
Main program Internet video random or that directed acquisition is to be detected from the Internet video address date identifies, can once obtain one or more Internet video to be detected signs, when once obtaining a plurality of Internet video to be detected sign, the Internet video sign can be averagely allocated to each progress of work, because main program can be controlled the task amount (being that main program can be controlled the Internet video to be detected sign number of distributing to each progress of work) of each progress of work, certainly, main program also can inequality be distributed to each progress of work.
The embodiment of the present invention can be directed detection second network video playback address whether effective, now operating personnel can input the keyword of the second network video corresponding with second network video playback address, main program can obtain the second network video labeling of second network video according to the keyword of operating personnel's input from the video network address database, and the second network video labeling is distributed to the progress of work.For example operating personnel wish to detect the validity of " Journey to the West " Internet video broadcast address, operating personnel can input " Journey to the West " keyword, host process can obtain according to " Journey to the West " keyword the Internet video sign corresponding with " Journey to the West " from the video network address database, and this Internet video sign is distributed to the progress of work.Above-mentioned second network video playback address is the general designation to the Internet video broadcast address of oriented detection, is to be distinguished for the Internet video broadcast address with other, and second network video playback address can refer to one or more Internet video broadcast address.
Above-mentioned main program random acquisition from Internet video address database Internet video sign to be detected refers to that main program can obtain arbitrary network video playback address from the Internet video address database.
The embodiment of the present invention can be that whether effective method is described to Sampling network video playback address for angle in the progress of work.
Step S102: according to above-mentioned Internet video sign, from the Internet video address database, obtain and identify corresponding Internet video broadcast address with above-mentioned Internet video.
The Internet video address database comprises the Internet video sign and identifies corresponding Internet video broadcast address with Internet video.
The Internet video that the progress of work can obtain the host process distribution from the Internet video address database identifies corresponding Internet video broadcast address.
In the embodiment of the present invention, acquisition can have multiple with the method that above-mentioned Internet video identifies corresponding Internet video broadcast address, the embodiment of the present invention provides but is not limited to following method: can utilize the playbin2 plug-in unit in the gst-discoverer functional module in the gstreamer storehouse to create a data transmission channel, can obtain and identify corresponding Internet video broadcast address with above-mentioned Internet video by this data transmission channel.
Gstreamer is the multimedia framework (framework) that is used for building Stream Media Application under the GNOME desktop environment, its target is to simplify the exploitation of audio/video application program, can be used to process the multi-medium data as multiple formats such as MP3, Ogg, MPEG1, MPEG2, AVI, Quicktime at present.
Step S103: according to above-mentioned Internet video broadcast address, but obtain the play parameter of above-mentioned Internet video broadcast address.
But the method that obtains the play parameter of above-mentioned Internet video broadcast address in the embodiment of the present invention has multiple, the embodiment of the present invention provides but is not limited to following method: the gstreamer storehouse can be installed, the above-mentioned progress of work can be usingd the Internet video broadcast address as parameter, call the interface function of gst-discoverer functional module, but the return value of this interface function is above-mentioned play parameter.Above-mentioned return value can be the Boolean type variable.
Step S104: but determine the Internet video state of this Internet video broadcast address according to above-mentioned play parameter.
Above-mentioned Internet video state comprises effective status and disarmed state.
If but the return value that play parameter is above-mentioned interface function can be set when return value is true, show that the Internet video broadcast address is in effective status, when return value is false, show that the Internet video broadcast address is in disarmed state.
Step S105: the Internet video state by above-mentioned Internet video broadcast address is stored in the Internet video address database.
The embodiment of the present invention provides whether effective method of a kind of Sampling network video playback address, the method obtains and identifies corresponding Internet video broadcast address with this Internet video from the Internet video address database by the Internet video sign obtained, then according to the Internet video broadcast address obtained, but obtain the play parameter corresponding with this Internet video broadcast address, but just can obtain the Internet video broadcast address in effective status or disarmed state by play parameter, Internet video state by the Internet video broadcast address, be stored in above-mentioned Internet video address database.So just can distinguish the Internet video state of each Internet video broadcast address in the Internet video address database, experience thereby further improve the user.
Refer to Fig. 2, but whether a kind of Sampling network video playback address provided for the embodiment of the present invention determines a kind of method flow schematic diagram of implementation of the effective status of described Internet video broadcast address in effective method according to described play parameter, the method comprises:
Step S201: but when above-mentioned play parameter is the first preset value, the Internet video state of determining above-mentioned Internet video broadcast address is effective status.
Step S202: but when above-mentioned play parameter is the second preset value, the Internet video state of determining above-mentioned Internet video broadcast address is disarmed state.
If the gstreamer storehouse is installed, the above-mentioned progress of work can be usingd the Internet video broadcast address as parameter, calls the interface function of gst-discoverer functional module, but the return value of this interface function is above-mentioned play parameter.Above-mentioned return value can be the Boolean type variable.Can set when return value is true, show that the Internet video broadcast address is in effective status, when return value is false, show that the Internet video broadcast address is in disarmed state.
Due to the Internet video broadcast address in disarmed state, can not play corresponding Internet video, so the Internet video broadcast address in disarmed state in the Internet video address database can be deleted, whether the Sampling network video playback address that the embodiment of the present invention provides effective method, at the Internet video state by the Internet video broadcast address, after being stored in the Internet video address database, also comprise: the Internet video broadcast address in disarmed state in the Internet video address database is deleted.
Perhaps, but after according to described play parameter, determining the Internet video state of described Internet video broadcast address, at the Internet video state by described Internet video broadcast address, before being stored in described Internet video address database, whether effective method can also comprise in the Sampling network video playback address that the embodiment of the present invention provides: the Internet video broadcast address in disarmed state in the Internet video address database is deleted, the above-mentioned state of the Internet video by the Internet video broadcast address now, be stored in the Internet video address database and be specially: effective status that will be corresponding in the Internet video broadcast address of effective status is stored in the Internet video address database.Now due to the all-network video playback address in the Internet video address database all in effective status, so state that can the Internet video broadcast address is corresponding is stored in the Internet video address database.State that can certainly the Internet video broadcast address is corresponding is stored in the Internet video address database, and the embodiment of the present invention is not done concrete restriction to this.
Be understandable that, the Internet video state of Internet video broadcast address may be according to passage of time, and change, Internet video state that now just need to be corresponding to each Internet video broadcast address in the Internet video address database is upgraded, the embodiment of the present invention also provides a kind of Sampling network video playback address, and to each Internet video broadcast address in the Internet video address database, corresponding Internet video state carries out update method in effective method, the method comprises: when Preset Time arrives, Internet video state to each Internet video broadcast address in the Internet video address database is upgraded.
The process that the Internet video state of each Internet video broadcast address in the Internet video address database is upgraded can be as above-mentioned step S101 to step as described in step S105.
Refer to Fig. 3, the schematic flow sheet of a kind of Internet video data capture method provided for the embodiment of the present invention, above-mentioned Internet video data are stored in the Internet video address database, the Internet video address database comprises net Internet video sign, identify corresponding Internet video broadcast address with Internet video, identify corresponding video information and identify corresponding Internet video state with Internet video with Internet video, above-mentioned Internet video state comprises effective status and disarmed state, above-mentioned video information comprises video profile, the video duration, video name, one or more in video resolution, this Internet video data capture method comprises:
Step S301: the Internet video keyword of User input obtains the first network video labeling corresponding with the Internet video keyword.
Above-mentioned first network video labeling is the general designation of the video labeling that the Internet video keyword to inputting with the user is corresponding, does not refer in particular to a certain video labeling.
Step S302: obtain the first network video state corresponding with the first network video labeling according to the first network video labeling from the Internet video address database.
Step S303: control display unit and show first network video state and first video information corresponding with the first network video labeling.
In a kind of Internet video data capture method that the embodiment of the present invention provides, Internet video address database corresponding to the method comprises: the Internet video sign, identify corresponding Internet video broadcast address with Internet video, identify corresponding video information and identify corresponding Internet video state with Internet video with Internet video, when the user inputs the Internet video keyword, can obtain the first network video labeling corresponding with the Internet video keyword, and obtain the first network video state corresponding with the first network video labeling from the Internet video address database, and the control display unit shows first network video state and first video information corresponding with the first network video labeling, the user can show that whether the Internet video corresponding with keyword be effective according to the first network video state, and needn't be by artificial this Internet video of clicking, determine whether effectively, thereby improved user's experience.
Refer to Fig. 4, the method flow schematic diagram that display unit shows a kind of implementation of described first network video state is provided in a kind of Internet video data capture method provided for the embodiment of the present invention, the method comprises:
Step S401: the Internet video state of the first network video state that judgement obtains.
Step S402: when the first network video state is effective status, controls display unit and show the first video information.
Step S403: when the first network video state is disarmed state, controls display unit and do not show the first video information.
Step S402 and step S403 do not have sequencing, before step S403 can be positioned at step S402.
Refer to Fig. 5, the method flow schematic diagram that display unit shows another implementation of described first network video state is provided in a kind of Internet video data capture method provided for the embodiment of the present invention, the method comprises:
Step S501: the state of the first network video state that judgement obtains.
Step S502: when the first network video state is effective status, controls display unit and show the first video information and the effective status corresponding with the first video information.
Step S503: when the first network video state is disarmed state, controls display unit and show the first video information and the disarmed state corresponding with the first video information.
Step S502 and step S503 do not have sequencing, before step S503 can be positioned at step S502.
Store the video labeling of the Internet video corresponding in the Internet video broadcast address of effective status in Internet video address database corresponding to Internet video data in the Internet video data capture method, Internet video broadcast address and video information, do not store the video labeling of the Internet video corresponding in the Internet video broadcast address of disarmed state, Internet video broadcast address and video information, in the database of the network address, can not store the Internet video state of Internet video broadcast address, due to the Internet video broadcast address of storing in the Internet video address database all in effective status, so when User obtains the Internet video broadcast address from the database of the network address, Internet video broadcast address corresponding to the network information shown on user interface is all in effective status.The user can not click the link of " Internet video is out of date ".
Describe method in detail in the disclosed embodiment of the invention described above, for method of the present invention, can adopt the device of various ways to realize, therefore the invention also discloses multiple device, below provide specific embodiment and be elaborated.
Refer to Fig. 6, effectively whether a kind of Sampling network video playback address provided for the embodiment of the present invention structural representation of device, whether effectively this Sampling network video playback address device comprises: first obtains module 601, second obtains module 602, the 3rd acquisition module 603, determination module 604 and memory module 605, wherein:
First obtains module 601, for obtaining the Internet video sign.
Above-mentioned Internet video sign can be video name, also can sign corresponding to video name.
The embodiment of the present invention proposes but is not limited to the mode that following several acquisition Internet video identifies:
The embodiment of the present invention can be utilized the multi-process programming under Linux, adopt the working method of principal and subordinate's process to write a program, can comprise a plurality of progresses of work that main program is corresponding with this host process in this program, main program obtains one or more Internet video signs from the Internet video address database, then each Internet video sign is distributed to each progress of work.
Main program Internet video random or that directed acquisition is to be detected from the Internet video address date identifies, can once obtain one or more Internet video to be detected signs, when once obtaining a plurality of Internet video to be detected sign, the Internet video sign can be averagely allocated to each progress of work, because main program can be controlled the task amount (being that main program can be controlled the Internet video to be detected sign number of distributing to each progress of work) of each progress of work, certainly, main program also can inequality be distributed to each progress of work.
The embodiment of the present invention can be directed detection second network video playback address whether effective, now operating personnel can input the keyword of the second network video corresponding with second network video playback address, main program can obtain the second network video labeling of second network video according to the keyword of operating personnel's input from the video network address database, and the second network video labeling is distributed to the progress of work.For example operating personnel wish to detect the validity of " Journey to the West " Internet video broadcast address, operating personnel can input " Journey to the West " keyword, host process can obtain according to " Journey to the West " keyword the Internet video sign corresponding with " Journey to the West " from the video network address database, and this Internet video sign is distributed to the progress of work.Above-mentioned second network video playback address is the general designation to the Internet video broadcast address of oriented detection, is to be distinguished for the Internet video broadcast address with other, and second network video playback address can refer to one or more Internet video broadcast address.
Above-mentioned main program random acquisition from Internet video address database Internet video sign to be detected refers to that main program can obtain arbitrary network video playback address from the Internet video address database.
The embodiment of the present invention can be that whether effective method is described to Sampling network video playback address for angle in the progress of work.
Second obtains module 602, for according to the Internet video sign, from the Internet video address database, obtaining and identify corresponding Internet video broadcast address with Internet video.
The Internet video address database comprises the Internet video sign and identifies corresponding Internet video broadcast address with Internet video.
The Internet video that the progress of work can obtain the host process distribution from the Internet video address database identifies corresponding Internet video broadcast address.
In the embodiment of the present invention, acquisition can have multiple with the method that above-mentioned Internet video identifies corresponding Internet video broadcast address, the embodiment of the present invention provides but is not limited to following method: can utilize the playbin2 plug-in unit in the gst-discoverer functional module in the gstreamer storehouse to create a data transmission channel, can obtain and identify corresponding Internet video broadcast address with above-mentioned Internet video by this data transmission channel.
Gstreamer is the multimedia framework (framework) that is used for building Stream Media Application under the GNOME desktop environment, its target is to simplify the exploitation of audio/video application program, can be used to process the multi-medium data as multiple formats such as MP3, Ogg, MPEG1, MPEG2, AVI, Quicktime at present.
The 3rd obtains module 603, for according to the Internet video broadcast address, but obtains the play parameter of Internet video broadcast address.
But the method that obtains the play parameter of above-mentioned Internet video broadcast address in the embodiment of the present invention has multiple, the embodiment of the present invention provides but is not limited to following method: the gstreamer storehouse can be installed, the above-mentioned progress of work can be usingd the Internet video broadcast address as parameter, call the interface function of gst-discoverer functional module, but the return value of this interface function is above-mentioned play parameter.Above-mentioned return value can be the Boolean type variable.
Determination module 604, but for determine the Internet video state of Internet video broadcast address according to above-mentioned play parameter.
Above-mentioned Internet video state comprises effective status and disarmed state.
If but the return value that play parameter is above-mentioned interface function can be set when return value is true, show that the Internet video broadcast address is in effective status, when return value is false, show that the Internet video broadcast address is in disarmed state.
Memory module 605, the Internet video state for by the Internet video broadcast address, be stored in the Internet video address database.
Whether effectively inventive embodiments provides a kind of Sampling network video playback address device, the Internet video sign that in this device, the second acquisition module 602 obtains by the first acquisition module 601 obtains and identifies corresponding Internet video broadcast address with this Internet video from the Internet video address database, then the 3rd obtain module 603 according to the Internet video broadcast address obtained, but obtain the play parameter corresponding with this Internet video broadcast address, but determination module 604 just can obtain the Internet video broadcast address in effective status or disarmed state by play parameter, memory module 605 is by the Internet video state of Internet video broadcast address, be stored in above-mentioned Internet video address database.So just can distinguish the Internet video state of each Internet video broadcast address in the Internet video address database, experience thereby further improve the user.
Refer to Fig. 7, effectively whether a kind of Sampling network video playback address provided for the embodiment of the present invention structural representation of a kind of implementation of determination module in device, this determination module can comprise: the first determining unit 701 and the second determining unit 702, wherein:
The first determining unit, but for when above-mentioned play parameter is the first preset value, the Internet video state of determining this Internet video broadcast address is effective status.
The second determining unit, but for when above-mentioned play parameter is the second preset value, the Internet video state of determining this Internet video broadcast address is disarmed state.
If the gstreamer storehouse is installed, the above-mentioned progress of work can be usingd the Internet video broadcast address as parameter, calls the interface function of gst-discoverer functional module, but the return value of this interface function is above-mentioned play parameter.Above-mentioned return value can be the Boolean type variable.Can set when return value is true, show that the Internet video broadcast address is in effective status, when return value is false, show that the Internet video broadcast address is in disarmed state.
Due to the Internet video broadcast address in disarmed state, can not play corresponding Internet video, so the Internet video broadcast address in disarmed state in the Internet video address database can be deleted, effectively whether the Sampling network video playback address that the embodiment of the present invention provides device, can also comprise: the first removing module, for the Internet video state by above-mentioned Internet video broadcast address in memory module, after being stored in the Internet video address database, Internet video broadcast address in disarmed state in above-mentioned Internet video address database is deleted.
Perhaps, whether effectively the Sampling network video playback address that the embodiment of the present invention provides device can also comprise: the second removing module, but, for after according to above-mentioned play parameter, determining the Internet video state of above-mentioned Internet video broadcast address, this is stated to the Internet video broadcast address in disarmed state in the Internet video address database and delete; Accordingly, memory module, be stored in the Internet video address database specifically for state that will be corresponding in the Internet video broadcast address of effective status.Now due to the all-network video playback address in the Internet video address database all in effective status, so state that can the Internet video broadcast address is corresponding is stored in the Internet video address database.State that can certainly the Internet video broadcast address is corresponding is stored in the Internet video address database, and the embodiment of the present invention is not done concrete restriction to this.
Be understandable that, the Internet video state of Internet video broadcast address may be according to passage of time, and change, Internet video state that now just need to be corresponding to each Internet video broadcast address in the Internet video address database is upgraded, whether a kind of Sampling network video playback address that the embodiment of the present invention provides effectively can also comprise update module in device, for when Preset Time arrives, the Internet video state of each Internet video broadcast address in described Internet video address database is upgraded.
The process that the Internet video state of each Internet video broadcast address in the Internet video address database is upgraded can be carried out the first acquisition module 601, second and obtain module 602, the 3rd and obtain module 603, determination module 604 and memory module 605.
Refer to Fig. 8, the structural representation of a kind of Internet video data acquisition facility provided for the embodiment of the present invention, the Internet video data are stored in the Internet video address database, the Internet video address database comprises the Internet video sign, identify corresponding Internet video broadcast address with Internet video, identify corresponding video information and identify corresponding Internet video state with Internet video with Internet video, the Internet video state comprises effective status and disarmed state, video information comprises video profile, the video duration, video name, one or more in video resolution, the Internet video data acquisition facility comprises: first obtains module 801, second obtains module 802 and control module 803, wherein:
First obtains module 801, and the Internet video keyword for the User input, obtain the first network video labeling corresponding with the Internet video keyword.
Second obtains module 802, for according to the first network video labeling, from the Internet video address database, obtaining the first network video state corresponding with the first network video labeling.
Control module 803, show first network video state and first video information corresponding with the first network video labeling for controlling display unit.
In a kind of Internet video data acquisition facility that the embodiment of the present invention provides, this installs corresponding Internet video address database and comprises: the Internet video sign, identify corresponding Internet video broadcast address with Internet video, identify corresponding video information and identify corresponding Internet video state with Internet video with Internet video, when the user inputs the Internet video keyword, first obtains module 801 can obtain the first network video labeling corresponding with above-mentioned Internet video keyword, second obtains module 802 obtains the first network video state corresponding with the first network video labeling from the Internet video address database, and control display unit demonstration first network video state and first video information corresponding with the first network video labeling by control module 803, the user can show that whether the Internet video corresponding with keyword be effective according to the first network video state, and needn't be by artificial this Internet video of clicking, determine whether effectively, thereby improved user's experience.
Refer to Fig. 9, the structural representation of a kind of implementation of control module in a kind of Internet video data acquisition facility provided for the embodiment of the present invention, this control module comprises: the first judging unit 901, the first control unit 902 and the second control unit 903, wherein:
The first judging unit 901, for the Internet video state of the first network video state that judges acquisition.
The first control unit 902, for when the first network video state is effective status, controls display unit and show the first video information.
The second control unit 903, for when the first network video state is disarmed state, controls display unit and do not show the first video information.
Refer to Figure 10, the structural representation of another implementation of control module in a kind of Internet video data acquisition facility provided for the embodiment of the present invention, this control module comprises: the second judging unit 1001, the 3rd control unit 1002 and the 4th control unit 1003, wherein:
The second judging unit 1001, for the Internet video state of the first network video state that judges acquisition.
The 3rd control unit 1002, for when the first network video state is effective status, controls display unit and show the first video information and the effective status corresponding with the first video information.
The 4th control unit 1003, for when the first network video state is disarmed state, controls display unit and show the first video information and the disarmed state corresponding with the first video information.
Arbitrary Internet video data acquisition facility that above-mentioned Internet video data acquisition facility embodiment describes all can be applied to Set Top Box.This Set Top Box can be applied in IPTV.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For device or system class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Also it should be noted that, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operating space, and not necessarily requires or imply between these entities or operation the relation of any this reality or sequentially of existing.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the equipment that comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.Multiple modification to these embodiment will be apparent for those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. Sampling network video playback address effective method whether, is characterized in that, comprising:
Obtain the Internet video sign;
Obtain and identify corresponding Internet video broadcast address with described Internet video from the Internet video address database according to described Internet video sign, described Internet video address database comprises the Internet video sign and identifies corresponding Internet video broadcast address with described Internet video;
According to described Internet video broadcast address, but obtain the play parameter of described Internet video broadcast address;
But determine the Internet video state of described Internet video broadcast address according to described play parameter, described Internet video state comprises effective status and disarmed state;
By the Internet video state of described Internet video broadcast address, be stored in described Internet video address database.
2. method according to claim 1, is characterized in that, but describedly according to described play parameter, determine that the effective status of described Internet video broadcast address comprises:
, when but described play parameter is the first preset value, the Internet video state of determining described Internet video broadcast address is effective status;
, when but described play parameter is the second preset value, the Internet video state of determining described Internet video broadcast address is disarmed state.
3. according to the described method of claim 1 or 2, it is characterized in that, at the described state of the Internet video by described Internet video broadcast address, after being stored in described Internet video address database, also comprise:
Internet video broadcast address in disarmed state in described Internet video address database is deleted.
4. according to the described method of claim 1 or 2, it is characterized in that, at the described state of the Internet video by described Internet video broadcast address, after being stored in described Internet video address database, also comprise:
When Preset Time arrives, the Internet video state of each Internet video broadcast address in described Internet video address database is upgraded.
5. according to the described method of claim 1 or 2, it is characterized in that, but after the described Internet video state of determining described Internet video broadcast address according to described play parameter, at the Internet video state by described Internet video broadcast address, before being stored in described Internet video address database, described method also comprises:
Internet video broadcast address in disarmed state in described Internet video address database is deleted;
The corresponding described state of the Internet video by described Internet video broadcast address, be stored in described Internet video address database and be specially: Internet video state that will be corresponding in the Internet video broadcast address of effective status is stored in described Internet video address database.
6. whether effectively install a Sampling network video playback address, it is characterized in that, comprising:
First obtains module, for obtaining the Internet video sign;
Second obtains module, for according to described Internet video sign, from the Internet video address database, obtaining and identify corresponding Internet video broadcast address with described Internet video, described Internet video address database comprises the Internet video sign and identifies corresponding Internet video broadcast address with described Internet video;
The 3rd obtains module, for according to described Internet video broadcast address, but obtains the play parameter of described Internet video broadcast address;
Determination module, but for determine the Internet video state of described Internet video broadcast address according to described play parameter, described Internet video state comprises effective status and disarmed state;
Memory module, for the Internet video state by described Internet video broadcast address, be stored in described Internet video address database.
7. install according to claim 6, it is characterized in that, described determination module comprises:
The first determining unit, but for when described play parameter is the first preset value, the Internet video state of determining described Internet video broadcast address is effective status;
The second determining unit, but for when described play parameter is the second preset value, the Internet video state of determining described Internet video broadcast address is disarmed state.
8. according to the described device of claim 6 or 7, it is characterized in that, also comprise:
The first removing module, for the Internet video state by described Internet video broadcast address in described memory module, after being stored in described Internet video address database, the Internet video broadcast address in disarmed state in described Internet video address database is deleted.
9. according to the described device of claim 6 or 7, it is characterized in that, also comprise:
Update module, for when Preset Time arrives, upgraded the Internet video state of each Internet video broadcast address in described Internet video address database.
10. according to the described device of claim 6 or 7, it is characterized in that, also comprise:
The second removing module, but for after according to described play parameter, determining the Internet video state of described Internet video broadcast address, the Internet video broadcast address in disarmed state in described Internet video address database is deleted;
Accordingly, memory module, be stored in described Internet video address database specifically for Internet video state that will be corresponding in the Internet video broadcast address of effective status.
CN201310489042.1A 2013-10-17 2013-10-17 Method and device for detecting whether network video playing address is effective Active CN103501468B (en)

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 true CN103501468A (en) 2014-01-08
CN103501468B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104811796A (en) * 2014-01-24 2015-07-29 贝壳网际(北京)安全技术有限公司 Network video continuous transmission method and network video continuous transmission device
CN105516734A (en) * 2015-12-10 2016-04-20 腾讯科技(深圳)有限公司 Method and apparatus for detecting video playing possibility
CN105812842A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for detecting network video addresses
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
CN113271458A (en) * 2021-05-19 2021-08-17 北京睿芯高通量科技有限公司 Method for detecting video source effectiveness in transcoding system

Citations (3)

* Cited by examiner, † Cited by third party
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
US20090216850A1 (en) * 2003-12-02 2009-08-27 Acxiom Corporation Methods and apparatus for categorizing failure messages that result from email messages

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
US20090216850A1 (en) * 2003-12-02 2009-08-27 Acxiom Corporation Methods and apparatus for categorizing failure messages that result from email messages
CN101506766A (en) * 2005-05-10 2009-08-12 微软公司 Database corruption recovery systems and methods

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811796A (en) * 2014-01-24 2015-07-29 贝壳网际(北京)安全技术有限公司 Network video continuous transmission method and network video continuous transmission device
WO2015109833A1 (en) * 2014-01-24 2015-07-30 贝壳网际(北京)安全技术有限公司 Network video retransmitting method and device
CN105812842B (en) * 2014-12-30 2019-09-17 Tcl集团股份有限公司 A kind of method and system detecting network video address
CN105812842A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and system for detecting network video addresses
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
WO2017097039A1 (en) * 2015-12-10 2017-06-15 腾讯科技(深圳)有限公司 Method and apparatus for detecting whether video can be played
US10477253B2 (en) 2015-12-10 2019-11-12 Tencent Technology (Shenzhen) Company Limited Method and apparatus for detecting video playability
CN105516734A (en) * 2015-12-10 2016-04-20 腾讯科技(深圳)有限公司 Method and apparatus for detecting video playing possibility
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
CN113271458A (en) * 2021-05-19 2021-08-17 北京睿芯高通量科技有限公司 Method for detecting video source effectiveness in transcoding system
CN113271458B (en) * 2021-05-19 2022-12-02 北京睿芯高通量科技有限公司 Method for detecting video source effectiveness in transcoding system

Also Published As

Publication number Publication date
CN103501468B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN103501468A (en) Method and device for detecting whether network video playing address is effective
CN107038044A (en) The discrete loading method of game resource and system based on Unity3D
CN105471935B (en) Information prompting method and device
CN105117062A (en) Screen luminance regulation method and mobile terminal
CN103970923A (en) Self-aligned multiple patterning layout design
CN106610993A (en) Display method and device for video preview
CN111401228B (en) Video target labeling method and device and electronic equipment
CN108024144B (en) Video playing method, terminal and computer readable storage medium
CN104683857A (en) Method and device for realizing visual presentation of data preloading
CN104020926A (en) Notification bar display method and terminal
CN104267980A (en) Software score display method, terminal, data server and system
CN106445309A (en) Display method and device of application download entry
CN110288549A (en) Video repairing method, device and electronic equipment
CN104796784A (en) Video playing method and device in application program
CN111160624A (en) User intention prediction method, user intention prediction device and terminal equipment
CN103713814A (en) Information processing method and electronic device
US20150289009A1 (en) Real-time audio monitoring of radio and tv stations
CN109462777B (en) Video heat updating method, device, terminal and storage medium
CN104461741B (en) Graphics device interface based computing device optimizing method and device
CN104506636B (en) A kind of method of data synchronization and device
CN111698548B (en) Video playing method and device
CN111177732B (en) System debugging mode control method and system and electronic equipment
CN104298548A (en) Information processing method and electronic device
CN111626990A (en) Target detection frame processing method and device and electronic equipment
CN108132819A (en) Scoring guiding pop-up method of ejecting, device and terminal device

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 of 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