CN108600866A - A kind of efficient automatic distinguishing method of network audio-video playability - Google Patents

A kind of efficient automatic distinguishing method of network audio-video playability Download PDF

Info

Publication number
CN108600866A
CN108600866A CN201810482554.8A CN201810482554A CN108600866A CN 108600866 A CN108600866 A CN 108600866A CN 201810482554 A CN201810482554 A CN 201810482554A CN 108600866 A CN108600866 A CN 108600866A
Authority
CN
China
Prior art keywords
audio
video
playing
url
resource
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
CN201810482554.8A
Other languages
Chinese (zh)
Other versions
CN108600866B (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201810482554.8A priority Critical patent/CN108600866B/en
Publication of CN108600866A publication Critical patent/CN108600866A/en
Application granted granted Critical
Publication of CN108600866B publication Critical patent/CN108600866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed herein is a kind of efficient automatic distinguishing methods of network audio-video playability, including audio and video playing parameter setting, audio and video playing to differentiate task distribution, audio and video link identification, audio and video playing processing, audio and video playing discriminant information storage;The audio and video playing parameter setting is the relevant parameter of artificial setting audio and video playing;The audio and video playing differentiates that task distribution is the machine that task is distributed to multiple execution tasks in bulk;The audio and video link identification is to judge the broadcasting type of contained audio and video link in audio and video webpage;The audio and video playing processing is that audio and video are differentiated whether audio and video play success according to play parameter;The audio and video playing information storage is will be in the details deposit database during audio and video playing.The present invention be directed to differentiate whether audio and video can play and make a whole set of method of discrimination, it can quickly identify whether audio and video can play, solve the problems, such as whether artificial cognition audio and video are playable and take time and effort.

Description

A kind of efficient automatic distinguishing method of network audio-video playability
Technical field
The present invention relates to network audio-video field more particularly to a kind of efficient automatic discrimination sides of network audio-video playability Method.
Background technology
In recent years with the development of computer and mobile Internet, carrier data flow rate lower, audio and video at New lover in social networks.All kinds of short-sighted frequency APP, video APP and video display class website largely occur on the market so that audio and video There is explosive growth in this kind of media information.In this field of audio and video, occur being suitable under various patterns Video format and the relevant technologies for improving audio and video service quality.However, whether can play skill about automatic discrimination audio and video Art is seldom.The sharp increase of audio/video information so that the management of audio and video becomes heavier, and concrete reason is as follows:In a network, Some audio and video do not allow to play since its content is unhealthy;Some audio and video may be because service provider's self reason or sound The reason of video error, causes audio and video that can not play.Do not allow play video can play, and allow play video without Method plays, this can inherently influence the operation of major video website, cause the loss of user, how to ensure the matter of audio and video service Amount is also gradually known as the center of gravity that they pay close attention to.However, manually finding whether audio and video can play, there are problems that taking time and effort, such as Whether audio and video can play in what efficient differentiation network, become urgent problem to be solved.
Audio and video URL in network is broadly divided into two classes, and one kind is resource-type audio and video, such audio and video can directly under It carries, can also directly play;Another kind of is non-resource-type audio and video, such audio and video can not directly download, and need webpage clicking Broadcast button plays out.Audio and video URL is differentiating whether its broadcasting reaches the threshold value of setting due to the difference of its resource type When also have certain difference.The characteristic that resource-type audio and video can be directly downloaded and be played because of it, we can directly acquire Such audio and video playing duration or playback progress information;Rather than resource-type audio and video are generally embedded in webpage, we can adopt Differentiate that can such audio and video normal play with the method for modelling customer behavior.
In audio and video playing, due to the promotion of the prior art, many video websites use to audio and video audio and video URL The method for carrying out sliced transmission and broadcasting, therefore, only by differentiating that former seconds broadcast informations of audio and video cannot be used directly for sentencing Not entire audio and video could play, it would be desirable to whether determine some audio and video by certain playing duration or playing progress rate It could play.However, setting too much if playing threshold value, the differentiation period of audio and video also can be elongated, takes considerable time and provides Source.Therefore, the present invention proposes a kind of efficient automatic distinguishing method of network audio-video playability.
Invention content
It is an object of the invention to overcome existing technical deficiency, propose that a kind of network audio-video playability is efficiently automatic Method of discrimination, can solve the problems, such as artificial cognition audio and video whether can play take time and effort and audio and video differentiate the period it is longer, Time-consuming problem.
A kind of efficient automatic distinguishing method of network audio-video playability, specifically, including the following steps:
S1. audio and video playing parameter setting:Audio and video playing parameter includes audio and video URL information, plays threshold value and audio and video only One identifier and detection identifier;Audio and video URL information is the URL of audio and video to be checked;It is that user differentiates that sound regards to play threshold value Whether frequency plays successful threshold value, usually playing duration and playing progress rate;Audio and video unique identifier is to be used in database Identify the unique mark of the audio and video;Detection identifier is used to obtain the status information that audio and video differentiate task, and there are three types of containing State, respectively:(1)State to be detected, is denoted as 0;(2)State in detection, is denoted as 1;(3)State is completed, is denoted as 2;Sound regards Frequency play parameter can manually be added by user, also can in batches be imported from file;Audio and video unique identifier is generated by database, It detects identifier by the program in each stage during differentiating to be arranged, detects identifier in this step and be set as 0;
S2. audio and video playing task is distributed:The audio and video mission bit stream for not playing out differentiation is read, each task execution is obtained The resource service condition of machine carries out issuing for task according to resource quota, and the detection identifier of corresponding audio and video is arranged It is 1;Read the audio and video mission bit stream that detection identifier is 0;
S3. audio and video link identification:By judging the HTTP conditional codes of audio and video URL the accessibility of audio and video URL, if not It may have access to, then store relevant information, exit differentiation;If may have access to, obtains webpage information and parse, then according to recognition rule Judge that audio and video URL is resource-type audio and video or non-resource type audio and video, finally by discriminant information, according to audio and video URL Unique identifier storage in the database;The playing process of audio and video is exactly the downloading process and audio and video of audio and video in fact Decoding process;For including the webpage for the audio and video link that can be directly downloaded in audio and video URL, referred to as resource-type sound regards Frequency URL;It is to be linked according to the audio and video that video website agreement plays for audio and video URL(It can not directly download)Webpage, claim For non-resource type audio and video URL;
S4. audio and video playing differentiates:Audio and video playing differentiates that there are two types of situations:The processing of resource-type audio and video playing and non-resource type Audio and video playing processing;The processing of resource-type audio and video playing includes that audio and video are downloaded, audio, video data frame is analyzed;Non-resource type sound Video playing processing includes being based on JS-Chrome plug-in units to play, simulate and click processing and audio and video playing monitoring;
S5. audio and video playing information storage:By the unique identifier of audio and video URL information, the detection of audio and video URL is set 2 are identified as, and submits to database, completes update.
Further, the step S1 includes following sub-step:
S11. audio and video URL information to be discriminated is added;
S12. setting differentiates that the whether successful parameter played of audio and video includes playing duration or playing progress rate;
S13. setting differentiates that the detecting state code of audio and video is 0;
S14. the audio and video are differentiated in task deposit database, and unique identifier is generated by database;
Wherein S11 and S12 can manually be added by user, also can in batches be imported from file.
Further, the step S2 includes following sub-step:
S21. the system resources consumption details of each task execution machine are obtained;
S22. audio and video playing task to be detected is periodically obtained from database;
S23. the system resources consumption situation according to each task execution machine sends task to appointed task machine, and is recorded in In database.
Further, the step S3 includes following sub-step:
S31. task execution machine sends HTTP request to audio and video URL, obtains the conditional code information of its HTTP, differentiates audio and video The accessibility of URL stores relevant information and exits differentiation if inaccessible;S32 is entered step if it may have access to;
S32. the audio and video link for including in audio and video URL is analyzed, if the webpage is single comprising that can directly download Audio and video link or the link of the audio and video of multiple fragments is then that resource-type audio and video URL is regarded if not including for non-resource type sound Frequency URL;
S33. by the resource type discriminant information of audio and video URL, according to its unique identifier, storage is in the database.
Further, located respectively according to whether audio and video URL belongs to resource-type audio and video URL in the step S4 Reason, including following two situations:
(1)If audio and video URL is identified as the URL of resource-type audio and video, it is divided according to the broadcasting type of audio and video Class is respectively processed:
For the audio and video that could be played after the completion of needing to buffer, down operation is executed to it, and right after the download is complete Audio, video data packet is decoded processing and obtains the broadcasting total duration of audio and video, is denoted as TC;Picture total amount, is denoted as PC;Per second Picture display number, is denoted as PCS;Calculate separately playing duration and playing progress rate, playing duration is denoted as PT, calculation be PT= PC/PCS;Playing progress rate is denoted as PS, and calculation is PS=PT/TC;Then by the playing duration being calculated or playing progress rate with Preset threshold value is compared, if the correspondence numerical value being calculated is more than or equal to the threshold value, plays success, otherwise loses It loses;
For the audio and video link indexed based on fragment, we after obtaining first packet segment, to audio, video data packet into Row decoding process is with the broadcasting total duration TC for obtaining audio and video, picture display number PCS per second;For each audio, video data I is wrapped, is required for obtaining its picture number, be denoted as(PCi);We calculate separately the playing duration and playing progress rate of audio and video, broadcast Put duration PT=(PC1+PC2+…+PCi+…+PCn)/ PCS, playing progress rate PS=PT/TC;Then the playing duration that will be calculated Or playing progress rate is compared with preset threshold value, if the correspondence numerical value being calculated is more than or equal to the threshold value, plays Success, otherwise failure;If after obtaining and having analyzed i-th of audio and video fragment, playing duration or playing progress rate can reach Successful discrimination threshold is played, then terminates in advance broadcasting and judges, subsequent packet segment is then not required at download and decoding Reason.
(2)It is non-resource type audio and video URL, since sound regards if audio and video URL is not recognized as resource-type URL The frequent change of the door chain and audio and video resolution rules of frequency playback website, playback process program can not directly acquire entire sound The data packet or packet segment of video;Therefore, it using modelling customer behavior method, is inserted using embedded broadcasting in a browser Part loads such audio and video URL, and converts the discrimination threshold of the audio and video to the corresponding position of time fences in player plug-in;It is first First start audio and video playing listening components, then by the click process of simulation mouse, audio and video is made to jump to designated position, etc. Wait for that buffering is completed in the load that audio and video are completed in specified playing duration or playing progress rate, if the audio and video playing listening components energy Enough listen to the audio and video can normal play, and playing duration be more than or equal to time fences corresponding position, then play success, instead Then be play failure;
Further, the step S5 docking radio reception video playing differentiates the audio and video URL broadcast informations of component, and is regarded according to sound The unique identification of frequency URL, the detection identifier that audio and video URL is arranged is 2, and submits to database, completes update, is differentiated Terminate.
The beneficial effects of the invention are as follows:For the playable discrimination of magnanimity audio and video, provide a kind of effective, correct Discrimination technology, which solves the playable discrimination of resource-type audio and video URL and non-resource type audio and video URL, gram It has taken artificial audio and video and whether can play and taken time and effort problem, audio and video completion is made to redirect and broadcast by way of simulating and clicking Put, solve audio and video automatically play in the stand-by period it is longer, lead to the problem for judging that the period is elongated.
Description of the drawings
Fig. 1 is the flow chart of the present invention;
Fig. 2 is that the audio and video of the present invention link identifying processing flow chart;
Fig. 3 is that the audio and video playing of the present invention differentiates process chart.
Specific implementation mode
The play handling method of the present invention, but protection scope of the present invention not office are described in further detail below in conjunction with the accompanying drawings It is limited to as described below.
A kind of efficient automatic distinguishing method of network audio-video playability, as shown in Figure 1, including the following steps:
S1. audio and video playing parameter setting:Audio and video playing parameter includes audio and video URL information, plays threshold value and audio and video only One identifier and detection identifier;Audio and video URL information is the URL of audio and video to be checked;It is that user differentiates that sound regards to play threshold value Whether frequency plays successful threshold value, usually playing duration and playing progress rate;Audio and video unique identifier is to be used in database Identify the unique mark of the audio and video;Detection identifier is used to obtain the status information that audio and video differentiate task, and there are three types of containing State, respectively:(1)State to be detected, is denoted as 0;(2)State in detection, is denoted as 1;(3)State is completed, is denoted as 2;Sound regards Frequency play parameter can manually be added by user, also can in batches be imported from file;Audio and video unique identifier is generated by database, It detects identifier by the program in each stage during differentiating to be arranged, detects identifier in this step and be set as 0;
S2. audio and video playing task is distributed:The audio and video mission bit stream for not playing out differentiation is read, each task execution is obtained The resource service condition of machine carries out issuing for task according to resource quota, and the detection identifier of corresponding audio and video is arranged It is 1;Read the audio and video mission bit stream that detection identifier is 0;
S3. audio and video link identification:By judging the HTTP conditional codes of audio and video URL the accessibility of audio and video URL, if not It may have access to, then store relevant information, exit differentiation;If may have access to, obtains webpage information and parse, then according to recognition rule Judge that audio and video URL is resource-type audio and video or non-resource type audio and video, finally by discriminant information, according to audio and video URL Unique identifier storage in the database;The playing process of audio and video is exactly the downloading process and audio and video of audio and video in fact Decoding process;For including the webpage for the audio and video link that can be directly downloaded in audio and video URL, referred to as resource-type sound regards Frequency URL;It is to be linked according to the audio and video that video website agreement plays for audio and video URL(It can not directly download)Webpage, claim For non-resource type audio and video URL;
S4. audio and video playing differentiates:Audio and video playing differentiates that there are two types of situations:The processing of resource-type audio and video playing and non-resource type Audio and video playing processing;The processing of resource-type audio and video playing includes that audio and video are downloaded, audio, video data frame is analyzed;Non-resource type sound Video playing processing includes being based on JS-Chrome plug-in units to play, simulate and click processing and audio and video playing monitoring;
S5. audio and video playing information storage:By the unique identifier of audio and video URL information, the detection of audio and video URL is set 2 are identified as, and submits to database, completes update.
Further, the step S1 includes following sub-step:
S11. audio and video URL information to be discriminated is added;
S12. setting differentiates that the whether successful parameter played of audio and video includes playing duration or playing progress rate;
S13. setting differentiates that the detecting state code of audio and video is 0;
S14. the audio and video are differentiated in task deposit database, and unique identifier is generated by database;
Wherein S11 and S12 can manually be added by user, also can in batches be imported from file.
Further, the step S2 includes following sub-step:
S21. the system resources consumption details of each task execution machine are obtained;
S22. audio and video playing task to be detected is periodically obtained from database;
S23. the system resources consumption situation according to each task execution machine sends task to appointed task machine, and is recorded in In database.
Further, the step S3 includes following sub-step:
S31. task execution machine sends HTTP request to audio and video URL, obtains the conditional code information of its HTTP, differentiates audio and video The accessibility of URL stores relevant information and exits differentiation if inaccessible;S32 is entered step if it may have access to;
S32. the audio and video link for including in audio and video URL is analyzed, if the webpage is single comprising that can directly download Audio and video link or the link of the audio and video of multiple fragments is then that resource-type audio and video URL is regarded if not including for non-resource type sound Frequency URL;
S33. by the resource type discriminant information of audio and video URL, according to its unique identifier, storage is in the database.
Further, located respectively according to whether audio and video URL belongs to resource-type audio and video URL in the step S4 Reason, including following two situations:
(1)If audio and video URL is identified as the URL of resource-type audio and video, it is divided according to the broadcasting type of audio and video Class is respectively processed:
For the audio and video that could be played after the completion of needing to buffer, down operation is executed to it, and right after the download is complete Audio, video data packet is decoded processing and obtains the broadcasting total duration of audio and video, is denoted as TC;Picture total amount, is denoted as PC;Per second Picture display number, is denoted as PCS;Calculate separately playing duration and playing progress rate, playing duration is denoted as PT, calculation be PT= PC/PCS;Playing progress rate is denoted as PS, and calculation is PS=PT/TC;Then by the playing duration being calculated or playing progress rate with Preset threshold value is compared, if the correspondence numerical value being calculated is more than or equal to the threshold value, plays success, otherwise loses It loses;
For the audio and video link indexed based on fragment, we after obtaining first packet segment, to audio, video data packet into Row decoding process is with the broadcasting total duration TC for obtaining audio and video, picture display number PCS per second;For each audio, video data I is wrapped, is required for obtaining its picture number, be denoted as(PCi);We calculate separately the playing duration and playing progress rate of audio and video, broadcast Put duration PT=(PC1+PC2+…+PCi+…+PCn)/ PCS, playing progress rate PS=PT/TC;Then the playing duration that will be calculated Or playing progress rate is compared with preset threshold value, if the correspondence numerical value being calculated is more than or equal to the threshold value, plays Success, otherwise failure;If after obtaining and having analyzed i-th of audio and video fragment, playing duration or playing progress rate can reach Successful discrimination threshold is played, then terminates in advance broadcasting and judges, subsequent packet segment is then not required at download and decoding Reason.
(2)It is non-resource type audio and video URL, since sound regards if audio and video URL is not recognized as resource-type URL The frequent change of the door chain and audio and video resolution rules of frequency playback website, playback process program can not directly acquire entire sound The data packet or packet segment of video;Therefore, it using modelling customer behavior method, is inserted using embedded broadcasting in a browser Part loads such audio and video URL, and converts the discrimination threshold of the audio and video to the corresponding position of time fences in player plug-in;It is first First start audio and video playing listening components, then by the click process of simulation mouse, audio and video is made to jump to designated position, etc. Wait for that buffering is completed in the load that audio and video are completed in specified playing duration or playing progress rate, if the audio and video playing listening components energy Enough listen to the audio and video can normal play, and playing duration be more than or equal to time fences corresponding position, then play success, instead Then be play failure.
Further, the audio and video URL broadcast informations of the step S5 docking radio reception video playing differentiation component, and according to The unique identification of audio and video URL, the detection identifier that audio and video URL is arranged is 2, and submits to database, completes update, Differentiation terminates.

Claims (6)

1. a kind of efficient automatic distinguishing method of network audio-video playability, which is characterized in that include the following steps:
S1. audio and video playing parameter setting:Audio and video playing parameter includes audio and video URL information, plays threshold value and audio and video only One identifier and detection identifier;Audio and video URL information is the URL of audio and video to be checked;It is that user differentiates that sound regards to play threshold value Whether frequency plays successful threshold value, usually playing duration and playing progress rate;Audio and video unique identifier is to be used in database Identify the unique mark of the audio and video;Detection identifier is used to obtain the status information that audio and video differentiate task, and there are three types of containing State, respectively:(1)State to be detected, is denoted as 0;(2)State in detection, is denoted as 1;(3)State is completed, is denoted as 2;Sound regards Frequency play parameter can manually be added by user, also can in batches be imported from file;Audio and video unique identifier is generated by database, It detects identifier by the program in each stage during differentiating to be arranged, detects identifier in this step and be set as 0;
S2. audio and video playing task is distributed:The audio and video mission bit stream for not playing out differentiation is read, each task execution is obtained The resource service condition of machine carries out issuing for task according to resource quota, and the detection identifier of corresponding audio and video is arranged It is 1;Read the audio and video mission bit stream that detection identifier is 0;
S3. audio and video link identification:By judging the HTTP conditional codes of audio and video URL the accessibility of audio and video URL, if not It may have access to, then store relevant information, exit differentiation;If may have access to, obtains webpage information and parse, then according to recognition rule Judge that audio and video URL is resource-type audio and video or non-resource type audio and video, finally by discriminant information, according to audio and video URL Unique identifier storage in the database;The playing process of audio and video is exactly the downloading process and audio and video of audio and video in fact Decoding process;For including the webpage for the audio and video link that can be directly downloaded in audio and video URL, referred to as resource-type sound regards Frequency URL;It is to be linked according to the audio and video that video website agreement plays for audio and video URL(It can not directly download)Webpage, claim For non-resource type audio and video URL;
S4. audio and video playing differentiates:Audio and video playing differentiates that there are two types of situations:The processing of resource-type audio and video playing and non-resource type Audio and video playing processing;The processing of resource-type audio and video playing includes that audio and video are downloaded, audio, video data frame is analyzed;Non-resource type sound Video playing processing includes being based on JS-Chrome plug-in units to play, simulate and click processing and audio and video playing monitoring;
S5. audio and video playing information storage:By the unique identifier of audio and video URL information, the detection of audio and video URL is set 2 are identified as, and submits to database, completes update.
2. a kind of efficient automatic distinguishing method of network audio-video playability according to claim 1, which is characterized in that institute It includes following sub-step to state step S1:
S11. audio and video URL information to be discriminated is added;
S12. setting differentiates that the whether successful parameter played of audio and video includes playing duration or playing progress rate;
S13. setting differentiates that the detecting state code of audio and video is 0;
S14. the audio and video are differentiated in task deposit database, and unique identifier is generated by database;
Wherein S11 and S12 can manually be added by user, also can in batches be imported from file.
3. a kind of efficient automatic distinguishing method of network audio-video playability according to claim 1, which is characterized in that institute It includes following sub-step to state step S2:
S21. the system resources consumption details of each task execution machine are obtained;
S22. audio and video playing task to be detected is periodically obtained from database;
S23. the system resources consumption situation according to each task execution machine sends task to appointed task machine, and is recorded in In database.
4. a kind of efficient automatic distinguishing method of network audio-video playability according to claim 1, which is characterized in that institute It includes following sub-step to state step S3:
S31. task execution machine sends HTTP request to audio and video URL, obtains the conditional code information of its HTTP, differentiates audio and video The accessibility of URL stores relevant information and exits differentiation if inaccessible;S32 is entered step if it may have access to;
S32. the audio and video link for including in audio and video URL is analyzed, if the webpage is single comprising that can directly download Audio and video link or the link of the audio and video of multiple fragments is then that resource-type audio and video URL is regarded if not including for non-resource type sound Frequency URL;
S33. by the resource type discriminant information of audio and video URL, according to its unique identifier, storage is in the database.
5. a kind of efficient automatic distinguishing method of network audio-video playability according to claim 1, which is characterized in that institute It states in step S4 and is respectively processed according to whether audio and video URL belongs to resource-type audio and video URL, including following two situations:
(1)If audio and video URL is identified as the URL of resource-type audio and video, it is divided according to the broadcasting type of audio and video Class is respectively processed:
For the audio and video that could be played after the completion of needing to buffer, down operation is executed to it, and right after the download is complete Audio, video data packet is decoded processing and obtains the broadcasting total duration of audio and video, is denoted as TC;Picture total amount, is denoted as PC;Per second Picture display number, is denoted as PCS;Calculate separately playing duration and playing progress rate, playing duration is denoted as PT, calculation be PT= PC/PCS;Playing progress rate is denoted as PS, and calculation is PS=PT/TC;Then by the playing duration being calculated or playing progress rate with Preset threshold value is compared, if the correspondence numerical value being calculated is more than or equal to the threshold value, plays success, otherwise loses It loses;
For the audio and video link indexed based on fragment, we after obtaining first packet segment, to audio, video data packet into Row decoding process is with the broadcasting total duration TC for obtaining audio and video, picture display number PCS per second;For each audio, video data I is wrapped, is required for obtaining its picture number, be denoted as(PCi);We calculate separately the playing duration and playing progress rate of audio and video, broadcast Put duration PT=(PC1+PC2+…+PCi+…+PCn)/ PCS, playing progress rate PS=PT/TC;Then the playing duration that will be calculated Or playing progress rate is compared with preset threshold value, if the correspondence numerical value being calculated is more than or equal to the threshold value, plays Success, otherwise failure;If after obtaining and having analyzed i-th of audio and video fragment, playing duration or playing progress rate can reach Successful discrimination threshold is played, then terminates in advance broadcasting and judges, subsequent packet segment is then not required at download and decoding Reason;
(2)It is non-resource type audio and video URL, since audio and video are broadcast if audio and video URL is not recognized as resource-type URL The frequent change of the door chain and audio and video resolution rules of website is put, playback process program can not directly acquire entire audio and video Data packet or packet segment;Therefore, using modelling customer behavior method, added using embedded player plug-in in a browser Such audio and video URL is carried, and converts the discrimination threshold of the audio and video to the corresponding position of time fences in player plug-in;It opens first Dynamic audio and video playing listening components make audio and video jump to designated position, stand by tone then by simulating the click process of mouse Buffering is completed in the load that video is completed in specified playing duration or playing progress rate, if the audio and video playing listening components can supervise Hear the audio and video can normal play, and playing duration is more than or equal to the corresponding position of time fences, then plays success, it is on the contrary then Fail to play.
6. a kind of efficient automatic distinguishing method of network audio-video playability according to claim 1, which is characterized in that institute The audio and video URL broadcast informations that step S5 docking radio reception video playings differentiate component are stated, and according to the uniqueness mark of audio and video URL Know, the detection identifier that audio and video URL is arranged is 2, and submits to database, completes update, and differentiation terminates.
CN201810482554.8A 2018-05-18 2018-05-18 Efficient and automatic judgment method for network audio and video playability Active CN108600866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810482554.8A CN108600866B (en) 2018-05-18 2018-05-18 Efficient and automatic judgment method for network audio and video playability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810482554.8A CN108600866B (en) 2018-05-18 2018-05-18 Efficient and automatic judgment method for network audio and video playability

Publications (2)

Publication Number Publication Date
CN108600866A true CN108600866A (en) 2018-09-28
CN108600866B CN108600866B (en) 2020-11-24

Family

ID=63631783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810482554.8A Active CN108600866B (en) 2018-05-18 2018-05-18 Efficient and automatic judgment method for network audio and video playability

Country Status (1)

Country Link
CN (1) CN108600866B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288715A1 (en) * 2004-06-14 2007-12-13 Rok Productions Limited Media Player
KR100812021B1 (en) * 2006-10-19 2008-03-10 주식회사 현대오토넷 Audio/video system whit media status display function and method thereof
US20080320100A1 (en) * 2007-06-22 2008-12-25 Batson James D Determining playability of media files with minimal downloading
WO2014183674A1 (en) * 2013-12-06 2014-11-20 中兴通讯股份有限公司 Media play method and device, and set top box
CN104268252A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN104980793A (en) * 2015-03-20 2015-10-14 腾讯科技(深圳)有限公司 Method and terminal for detecting video
CN105516734A (en) * 2015-12-10 2016-04-20 腾讯科技(深圳)有限公司 Method and apparatus for detecting video playing possibility
CN105975526A (en) * 2016-04-29 2016-09-28 国家计算机网络与信息安全管理中心 URL link validity verification method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288715A1 (en) * 2004-06-14 2007-12-13 Rok Productions Limited Media Player
KR100812021B1 (en) * 2006-10-19 2008-03-10 주식회사 현대오토넷 Audio/video system whit media status display function and method thereof
US20080320100A1 (en) * 2007-06-22 2008-12-25 Batson James D Determining playability of media files with minimal downloading
WO2014183674A1 (en) * 2013-12-06 2014-11-20 中兴通讯股份有限公司 Media play method and device, and set top box
CN104268252A (en) * 2014-09-30 2015-01-07 北京奇虎科技有限公司 Playing method and device of video elements in web page
CN104980793A (en) * 2015-03-20 2015-10-14 腾讯科技(深圳)有限公司 Method and terminal for detecting video
CN105516734A (en) * 2015-12-10 2016-04-20 腾讯科技(深圳)有限公司 Method and apparatus for detecting video playing possibility
CN105975526A (en) * 2016-04-29 2016-09-28 国家计算机网络与信息安全管理中心 URL link validity verification method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KRYSTAL_SL: "request请求的url类型", 《HTTPS://BLOG.CSDN.NET/KRYSTAL_SL/ARTICLE/DETAILS/52857168?UTM_SOURCE=BLOGXGWZ8》 *

Also Published As

Publication number Publication date
CN108600866B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US10929879B2 (en) Method and apparatus for identification of fraudulent click activity
US20150341457A1 (en) Method and system for pushing information to end users adaptively
US8099459B2 (en) Content feedback for authors of web syndications
US20150006618A9 (en) System and method for providing matched multimedia video content
CN108595492B (en) Content pushing method and device, storage medium and electronic device
CN104486649B (en) Video content ranking method and device
CN105808700A (en) Game information recommendation method, and server
WO2003079588A2 (en) Systems and methods for media audience measurement
CN104168303A (en) Method and device for displaying network studio
CN103686237A (en) Method and system for recommending video resource
CN105916030A (en) Method, device and system for recording breakpoint information of video on demand
CN106168958A (en) A kind of recommendation method of audio-frequency information and server
CN114357287A (en) Intelligent auditing method and device for internet information
CN105163179B (en) A kind of violation channel monitoring method and device
JP2002191039A (en) State management method for terminal and its system
CN107341232A (en) A kind of game data processing method and system
CN108600866A (en) A kind of efficient automatic distinguishing method of network audio-video playability
CN105897854A (en) Mobile terminal alarm clock response method, device and system
CN106998467B (en) Media playback quality test method and device
US20230269432A1 (en) System, method and computer-readable medium for recommending streaming data
CN113572841B (en) Information pushing method and device
CN115243066A (en) Information pushing method and device, electronic equipment and computer readable medium
CN114385936A (en) Method, device, equipment and storage medium for updating media content collection list
CN113873278A (en) Playing content auditing method and device and electronic equipment
CN113791887A (en) Audio task priority management method, device and system

Legal Events

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