CN108521607A - The processing method of advertisement, device, storage medium and intelligent terminal in video - Google Patents
The processing method of advertisement, device, storage medium and intelligent terminal in video Download PDFInfo
- Publication number
- CN108521607A CN108521607A CN201810301906.5A CN201810301906A CN108521607A CN 108521607 A CN108521607 A CN 108521607A CN 201810301906 A CN201810301906 A CN 201810301906A CN 108521607 A CN108521607 A CN 108521607A
- Authority
- CN
- China
- Prior art keywords
- video
- advertisement
- video applications
- user
- applications
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4431—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB characterized by the use of Application Program Interface [API] libraries
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47214—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Library & Information Science (AREA)
- Marketing (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the present application discloses processing method, device, storage medium and the intelligent terminal of advertisement in a kind of video.This method includes:When Video Applications are run, the video content that the Video Applications play is monitored;When the video content is advertisement, the detection switching input by user that the Video Applications are switched to running background indicates;If detecting the switching instruction, control the Video Applications and switch to running background, and the service routine for executing killing operation is notified to skip the corresponding target process of the Video Applications;Prompt the playing progress rate of user advertising, and when detecting return instruction, the Video Applications are switched into front stage operation, it realizes and plays advertisement on backstage, so that user uses other functions of intelligent terminal in this time, time availability is improved, avoids the problem that time waste caused by the simple waiting advertisement of user plays occurs.
Description
Technical field
The invention relates to the processing method of advertisement in content filtering technology more particularly to a kind of video, device, deposit
Storage media and intelligent terminal.
Background technology
Video ads are the advertisement being inserted into video positive, are generally inserted into the start or end of video positive.Video is wide
It is most common mode used by current video website advertisement promotion to accuse, to ensure that advertisement playing effect, video ads are general
It is set as not can skip non-member, user has to wait for that video positive could be watched after video ads finish.
Currently, some video ads are up to one minute, the longer stand-by period reduces the efficiency that user watches video, waste
Time of user.
Invention content
The embodiment of the present application provides processing method, device, storage medium and the intelligent terminal of advertisement in a kind of video, can be with
It avoids being inserted into harmful effect caused by advertisement in video.
In a first aspect, the embodiment of the present application provides a kind of processing method of advertisement in video, including:
When Video Applications are run, the video content that the Video Applications play is monitored;
When the video content is advertisement, detection is input by user to switch to cutting for running background by the Video Applications
Change instruction;
If detecting the switching instruction, control the Video Applications and switch to running background, and notifies to execute killing
The service routine of operation skips the corresponding target process of the Video Applications;
The playing progress rate of user advertising is prompted, and when detecting return instruction, the Video Applications are switched into foreground
Operation.
Second aspect, the embodiment of the present application also provides a kind of processing unit of advertisement in video, which includes:
Contents supervision's module, the video content played for when Video Applications are run, monitoring the Video Applications;
Detection module is indicated, for when the video content is advertisement, detection to be input by user by the Video Applications
Switch to the switching instruction of running background;
If first handover module controls the Video Applications and switches to backstage fortune for detecting the switching instruction
Row, and the service routine for executing killing operation is notified to skip the corresponding target process of the Video Applications;
Second handover module, the playing progress rate for prompting user advertising, and when detecting return instruction, regarded by described in
Frequency application switching is to front stage operation.
The third aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes the processing method of advertisement in the video as described in above-mentioned first aspect when the computer program is executed by processor.
Fourth aspect processor and is stored in the embodiment of the present application also provides a kind of intelligent terminal, including memory
On reservoir and the computer program that can be run in processor, the processor realizes such as above-mentioned the when executing the computer program
The processing method of advertisement in video described in one side.
The application provides a kind of processing method of advertisement in video, by when Video Applications are run, monitoring the video
The video content of application plays;When the video content is advertisement, after whether detection user inputs and switches to the Video Applications
The switching instruction of platform operation;If detecting switching instruction, control the Video Applications and switch to running background, and notifies to execute and look into
The service routine for killing operation skips the corresponding target process of the Video Applications;The playing progress rate of user advertising is prompted, and is being detected
To return indicate when, control the Video Applications and switch to front stage operation, realize and play advertisement on backstage, so that user is at this section
Between use intelligent terminal other functions, improve time availability, avoid occur user it is simple waiting advertisement broadcasting cause
Time waste the problem of.
Description of the drawings
Fig. 1 is the flow chart of the processing method of advertisement in a kind of video provided by the embodiments of the present application;
Fig. 2 is the flow chart of the processing method of advertisement in another video provided by the embodiments of the present application;
Fig. 3 is a kind of display schematic diagram of advertisement countdown window provided by the embodiments of the present application;
Fig. 4 is the display schematic diagram of another advertisement countdown window provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of the processing unit of advertisement in a kind of video provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of intelligent terminal provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of smart mobile phone provided by the embodiments of the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just
It is illustrated only in description, attached drawing and the relevant part of the application rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation
The processing can be terminated when completion, it is also possible to the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
Currently, user can often be inserted into before video starts when watching video by intelligent terminals such as smart mobile phones
Advertisement, some advertisements are even up to more than 70 seconds, and video positive can only could be watched until advertisement plays for non-member user,
The advertisement cannot be skipped.In addition, if the Video Applications of playing advertisement are switched to running background, corresponding video by user
Process can be also frozen, and after the Video Applications are switched to foreground, the ad content before which then switches continues
It plays.That is, when video ads play, user cannot use intelligent terminal while not influencing video ads and playing
Other functions, influence user use intelligent terminal efficiency.
In view of the above technical problems, the application provides a kind of processing scheme of advertisement in video, can be to avoid in video
It is inserted into harmful effect caused by advertisement.
Fig. 1 is the flow chart of the processing method of advertisement in a kind of video provided by the embodiments of the present application, and the present embodiment can fit
The case where situations such as beginning for avoiding video that user watched or midway is inserted into advertising impact user's service efficiency, the party
Method can be executed by the processing unit of advertisement in video, wherein the device can generally be collected by software and or hardware realization
At in the intelligent terminals such as smart mobile phone, tablet computer or intelligent glasses.As shown in Figure 1, this method includes:
Step 110, when Video Applications are run, monitor the video content that the Video Applications play.
Illustratively, the application identities for obtaining the application program of front stage operation judge that this applies journey according to the application identities
Whether sequence is Video Applications.Wherein, the application program of front stage operation may be considered shows in the touch display screen of intelligent terminal
The application shown.Application identities include but not limited to apply packet name and process title.
If the application program of front stage operation is Video Applications, the video content corresponding program generation of the Video Applications is parsed
Whether code, it includes the corresponding keyword of advertisement to detect in said program code, to determine to be played or work as according to testing result
The type of the video content of preceding broadcasting.For example, intercepting the request that the Video Applications are sent out to processor, parsing request determination should
The JSON program codes of Video Applications video content to be played, inquire the JSON program codes determine if comprising " ad " or
The character of the similar expression advertisement such as person " advertisement ".
For example, the request that the Video Applications of interception front stage operation are sent out to processor is as follows:
“Data”:{
“preview”:+object{…},
“controller”:+object{…},
“ad”:+object{…},
“video”:+object{…},
“network”:+object{…},
“stream”:+Array[5],
“uploader”:+object{…},
“user”:+object{…}
}
Include in above-mentioned JSON program codes " ad ", it may be determined that get the keyword for indicating advertisement.In turn, it inquires
The next stage program code of " ad " method, obtains the request address of video ads.The request address and intelligent terminal are passed through into net
The address for the video content that network is obtained by server is matched, if successful match, it is determined that the Video Applications are to be played to be regarded
Video content perhaps being played on is video ads in frequency.
Step 120, when the video content is advertisement, detection it is input by user by the Video Applications switches to backstage
The switching of operation indicates.
It should be noted that the switching instruction that the Video Applications of front stage operation are switched to running background can be by home key
Home is pressed and triggers, can also be by user-defined gesture trigger.For example, it may be whole in detection user's hand-held intelligent
Triggering switching instruction when end draws a circle, draws gestures such as " S " in the air.For another example, it can also be and user detected by proximity sensor
Palm make repeatedly close and far from action (for example, palm is made from the near to the distant repeatedly in the vertical direction of touch display screen, then by
Remote and close action;Alternatively, palm makes the horizontal action streaked repeatedly in the Vertical Square of touch display screen) when triggering switching refer to
Show.For another example, front camera is opened, user's hand motion is detected, with triggering switching instruction etc..
It is understood that for detection by key pressing to trigger the case where switching indicates, button is not limited to Home key,
It can also be other buttons set by user or key combination.
Illustratively, when the video content of front stage operation is advertisement, detection programmable button (such as Home key) whether by
It presses.If so, determining that user inputs switching instruction, wherein switching instruction is used to indicate processor and switches to Video Applications
Running background.
If step 130 detects the switching instruction, controls the Video Applications and switch to running background, and notify
The service routine for executing killing operation skips the corresponding target process of the Video Applications.
It should be noted that by playing video ads or being that the Video Applications of playing video advertisement are switched to backstage
Operation can facilitate user to check the other application program of intelligent terminal in the gap for playing advertisement, or use intelligent terminal
Other functions.
If detecting, the switching indicates, which is switched to backstage, when the Video Applications switch to backstage,
SurfaceDestore methods are called, and when calling surfaceDestore methods using SurfaceView, are not discharged
Mediaplayer resources, to realize that the Video Applications play on backstage, meanwhile, forbid Video Applications to play sound.
Alternatively, if detecting, the switching indicates, which is switched to backstage, can be in front stage operation
Under the figure layer of application program, show the Video Applications video content (blocked by the figure layer of the application program of front stage operation, it is right
User is invisible, but visible to system), which is played in touch display screen with simulation, to realize that the video is answered
It is played used in backstage.Can be that Video Applications distribution is virtual burnt it should be noted that Video Applications are switched to running background
Point.For example, system sends the message etc. for having obtained focus to the Video Applications, and before true focus is still distributed to by system
The application program of platform operation.Meanwhile Video Applications being forbidden to play sound.
The application program for executing the service routine detection running background of killing operation, according to the Video Applications of running background
Application identities inquire Resident Process white list, judge whether the Video Applications belong to Resident Process white list.If so, not to this
The corresponding target process of Video Applications is detected and killing.Otherwise, when low memory or application program switch to backstage
When length is more than given threshold, background application is closed.
Alternatively, if detecting, the switching indicates, which is switched to backstage, and be the Video Applications point
Highest priority in tripartite's application with running background.Due to execute killing operation service routine according to priority by down to
High sequence executes killing operation to the application program of running background, and therefore, the higher third party application of priority corresponds to
Process be less susceptible to by killing, it is thus possible to avoid switching to the Video Applications of running background by killing.
It is played it is understood that control Video Applications switch to backstage, and notifies to execute the service routine of killing operation
There are many kinds of the modes for skipping the corresponding target process of the Video Applications, however it is not limited to the above-mentioned several ways enumerated.
Step 140, the playing progress rate for prompting user advertising, and when detecting return instruction, the Video Applications are cut
Shift to front stage operation.
It should be noted that would generally show that advertisement remaining time (is usually displayed on page on the broadcast interface of video ads
The upper right corner in face).For Video Applications when backstage plays, system obtains advertisement remaining time, and display should in the interface of foreground
Advertisement remaining time is prompted to user using the playing progress rate as advertisement.Illustratively, the form that suspended window may be used is shown
Advertisement remaining time, for example, display content is " advertisement countdown:60 seconds ", and the display location of the suspended window can basis
The drag operation of user and change.The broadcasting situation of the video broadcasting for the Video Applications that the advertisement remaining time plays according to backstage
And real-time change.
It should be noted that it can be click event of the user to the icon of the Video Applications on desktop to return to instruction.Intelligence
Energy terminal sends click event to processor, with notifier processes device user when the icon for detecting the Video Applications is clicked
Have input return instruction.
Illustratively, after Video Applications switch to running background, user opens wechat and checks circle of friends, aobvious touching
A suspension windows are shown in display screen, and advertisement remaining time is shown in the suspension windows.It is understood that friend can also be changed
The size of friend's circle page, to form a white space in the display area of the first figure layer.It draws and the white space size
Corresponding second figure layer of advertisement countdown window matched, the first figure layer where the synthesis circle of friends page and advertisement countdown window
Corresponding second figure layer obtains a synthesis figure layer, which is refreshed to touch display screen and is shown etc..Monitor advertisement
Remaining time, when advertisement remaining time is 0 second, pop-up prompting frame prompt:" video ads have played, and go to see electricity
Depending on!”
It should be noted that being watched in order to not influence user, when advertisement remaining time is 0, video positive is drawn in pause
Data frame, with wait for user input return instruction.It is understood that video can also continued to execute according to actual conditions just
The drafting of the data frame of piece operates.For example, if video ads be video positive start before advertisement, and video positive before have
There is head song, then continues to draw the corresponding data frame of head song, until playing feature film content.If video positive it
It is preceding not have head song, then the data frame of video positive is still drawn, instruction is returned to wait for user to input.
When advertisement remaining time is in preset time section, the icon of monitor video application, to detect user to the figure
Target clicking operation.Wherein, preset time section can be system default close to 0 numerical value, for example, preset time section is
Advertisement remaining time is in 5 seconds.Certainly, preset time section can also be voluntarily arranged according to actual needs by user.It is detecting
It when to clicking operation for the icon of the Video Applications, determines that user has input opening operation, sends to return to processor and refer to
Show, is indicated the Video Applications switching to front stage operation according to the return, and Video Applications is allowed to play sound, using loud speaker
Deng.When Video Applications are switched to front stage operation, since the adjacent next frame image of advertisement starts to play video positive.It is optional
, if video positive has head song, head song can be skipped, is played by the first frame of feature film content.
It should be noted that Video Applications are not limited to the above-mentioned side enumerated by the triggering mode for switching to foreground from the background
Formula can also use default gesture, or click the form realization of programmable button.
The technical solution of the present embodiment, by when Video Applications are run, monitoring in the video that the Video Applications play
Hold;When the video content is advertisement, whether detection user inputs the switching instruction that the Video Applications are switched to running background;
If detecting switching instruction, control the Video Applications and switch to running background, and notifies to execute the service routine of killing operation
Skip the corresponding target process of the Video Applications;The playing progress rate of user advertising is prompted, and when detecting return instruction, control
The Video Applications switch to front stage operation, realize and play advertisement on backstage, so that user uses intelligent terminal in this time
Other functions, improve time availability, avoid the problem that time waste caused by the simple waiting advertisement of user plays occurs.
Fig. 2 is the flow chart of the processing method of advertisement in another video provided by the embodiments of the present application.As shown in Fig. 2,
This method includes:
Step 201, when Video Applications are run, monitor the video content that the Video Applications play.
Illustratively, foreground is detected by the packet name (e.g., com.android.video) of the application program of front stage operation
The application program of operation is Video Applications, determines that user is used smart mobile phone and plays video.It is played in detection Video Applications
The state of button (such as Play keys), judges whether user selects a certain video to start to play.
The corresponding program code of video content of step 202, the parsing Video Applications, detecting in said program code is
No includes the corresponding keyword of advertisement, determines the type of currently playing video content according to testing result.
If detecting, Play keys are clicked, and are detected the corresponding program code of selected video content, are judged the program
The keyword for whether including " ad " or " advertisement " etc. similar expression advertisement in code, judges to broadcast at this time with this
Whether the video content put is advertisement.
Illustratively, if it is similar comprising " ad " or " advertisement " etc. in the corresponding program code of video content
Expression advertisement keyword, it is determined that currently playing video content be advertisement.
Step 203, determine currently playing video content be advertisement when, prompt the user to choose whether to answer the video
With switching to running background.
Judge currently playing video content for advertisement when, pop-up dialog box shows " whether press Home key, let us
For you advertisement is played on backstage ", it prompts the user to choose whether the Video Applications switching to running background.
Step 204 judges whether to detect that the switching input by user that the Video Applications are switched to running background refers to
Show, if so, 205 are thened follow the steps, it is no to then follow the steps 209.
The executive condition of monitoring programme code, detect in the program code whether have Home key operation (system passes through journey
Home key operations in sequence code, assert that Home key is pressed), if so, judgement user's input switches the Video Applications
Switching to running background indicates.
Step 205, the control Video Applications switch to running background, and the service routine for executing killing operation is notified to jump
Cross the corresponding target process of the Video Applications.
When detecting that Home key is pressed, the main interface of intelligent terminal is shown, the effect for minimizing Video Applications is presented
Fruit, and Resident Process white list is added in the packet name of the Video Applications.Meanwhile by the figure of the corresponding video ads of the Video Applications
It is placed under the figure layer where main interface, to the figure layer where making the figure layer of main interface shelter from the video ads.In order to
Avoid video ads sound be played out, forbid this switch to the Video Applications of running background play sound (or call
Loud speaker).
It should be noted that after video switches to backstage, user clicks the other application icon in main interface, Ke Yiqi
Dynamic corresponding application, realizes when backstage plays advertisement, uses other functions of intelligent terminal.
System determines the corresponding target process of the Video Applications, since the Video Applications belong to Resident Process white list, because
This, execute killing operation service routine execute killing operation when can skip the target process, it will not be detected and
Killing, to realize that video ads backstage plays.
Step 206, the playing progress rate for prompting user advertising.
The advertisement played data for obtaining the Video Applications draws advertisement countdown window according to the advertisement played data.
Fig. 3 is a kind of display schematic diagram of advertisement countdown window provided by the embodiments of the present application.As shown in figure 3, being shown in suspended window 310
Advertisement countdown, and the suspended window 310 from the circle of friends page 320 in different figure layers, suspended window 310 blocks a part of circle of friends page
The content in face 320.It is understood that suspended window 410 can also be located at same figure layer with the circle of friends page 420, such as Fig. 4 institutes
Show.Fig. 4 is the display schematic diagram of another advertisement countdown window provided by the embodiments of the present application.
Step 207, when the advertisement remaining time is zero, show broadcast button in the advertisement countdown window.
When the advertisement remaining time shown in suspended window is zero, occurring a broadcast button in suspended window, (broadcasting is pressed
Button is similar to the function of Play keys), the broadcast button and it is switched to video content in the Video Applications of running background before
Playing function is associated with, in order to after user clicks the broadcast button, before the Video Applications of system control running background switch to
Platform is run.
Step 208, when detecting that user presses the broadcast button, confirmly detect return instruction, returned according to described
It refers to show and the Video Applications is switched into front stage operation, and control the Video Applications by the next frame adjacent with the advertisement
Image starts to play.
When detecting that user presses the broadcast button, return instruction is confirmly detected, return instruction, which is used to indicate, is
System will switch to front stage operation with the Video Applications of the associated running background of the broadcast button.If the advertisement is head advertisement,
The corresponding frame data of first frame image for obtaining video positive, draw the frame data and obtain frame image, by a drawn frame image
Refresh to touch display screen and play out, which is the adjacent next frame figure of last frame image in ad data
Picture.If the advertisement is the advertisement (i.e. advertisement and video are interspersed plays) in video playing, obtain in caching with this section of advertisement number
According to the adjacent next frame image of last frame image, drawn, by a drawn frame image refreshing to touch display screen into
Row display.
Step 209, in foreground playing video advertisement.
If switching instruction is not detected, according to normal flow in foreground playing video advertisement.
The technical solution of the present embodiment, by suspended window advertisement countdown to zero when show broadcast button, and this is broadcast
Button and the associated mode of playing function for being switched to video content in the Video Applications of running background before are put, is being detected
When the broadcast button is pressed, can Video Applications directly be switched into foreground, and and then advertisement playing video frequency positive, avoided
The sequence of operations such as execution returns to main interface, whether the icon of detection Video Applications is pressed, improve the execution of intelligent terminal
Efficiency.
Fig. 5 is the structural schematic diagram of the processing unit of advertisement in a kind of video provided by the embodiments of the present application.The device can
By software and or hardware realization, can be integrated in the intelligent terminals such as smart mobile phone, tablet computer or intelligent glasses, use
In the processing method for executing advertisement in video provided by the embodiments of the present application.As shown in figure 5, the device includes:
Contents supervision's module 510, the video content played for when Video Applications are run, monitoring the Video Applications;
Indicate detection module 520, for when the video content is advertisement, detection is input by user to answer the video
It is indicated with the switching for switching to running background;
If first handover module 530 controls the Video Applications and switches to backstage for detecting the switching instruction
Operation, and the service routine for executing killing operation is notified to skip the corresponding target process of the Video Applications;
Second handover module 540, the playing progress rate for prompting user advertising, and when detecting return instruction, by institute
It states Video Applications and switches to front stage operation.
The technical solution of the present embodiment provides a kind of processing unit of advertisement in video, realizes that play video on backstage wide
Accuse, so as to user this time use intelligent terminal other functions, improve time availability, avoid occur user it is simple
Waiting advertisement play caused by the time waste the problem of.
Optionally, contents supervision's module 510 is specifically used for:
The corresponding program code of video content of the Video Applications is parsed, whether detect in said program code includes wide
Corresponding keyword is accused, determines the type of currently playing video content according to testing result.
Further, further include:
Nformation alert module, for determine currently playing video content be advertisement when, prompt the user to choose whether by
The Video Applications switch to running background.
Optionally, instruction detection module 520 is specifically used for:
Whether detection programmable button is pressed, wherein programmable button includes home key Home;
If so, determining that the Video Applications are switched to the switching instruction of running background by user's input.
Further, the first handover module 530 is specifically used for:
If detecting the switching instruction, controls the Video Applications and switch to running background, and show and lead on foreground
Interface;
The corresponding target process of the Video Applications is added in Resident Process white list, wherein the Resident Process
Process in white list will not be performed the service routine detection and killing of killing operation.
Optionally, the second handover module 540 is specifically used for:
If detecting the switching instruction, the advertisement played data of the Video Applications is obtained, is played according to the advertisement
Data draw advertisement countdown window, wherein the advertisement remaining time of the display Video Applications in the advertisement countdown window;
When the advertisement remaining time belonging to preset time section, display reminding information, wherein the prompt message is used
The Video Applications are opened in prompt user;
When detecting the opening operation for the Video Applications, return instruction is confirmly detected, according to the return
The Video Applications are switched to front stage operation by instruction, and control the Video Applications by the next frame figure adjacent with the advertisement
As starting to play.
Optionally, the second handover module 540 is specifically used for:
If detecting the switching instruction, the advertisement played data of the Video Applications is obtained, is played according to the advertisement
Data draw advertisement countdown window, wherein the advertisement remaining time of the display Video Applications in the advertisement countdown window;
When the advertisement remaining time is zero, broadcast button is shown in the advertisement countdown window;
When detecting that user presses the broadcast button, return instruction is confirmly detected, being indicated according to the return will
The Video Applications switch to front stage operation, and control the Video Applications by the next frame image adjacent with the advertisement
It plays.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable
Processing method of the instruction when being executed by computer processor for executing advertisement in video, this method include:
When Video Applications are run, the video content that the Video Applications play is monitored;
When the video content is advertisement, detection is input by user to switch to cutting for running background by the Video Applications
Change instruction;
If detecting the switching instruction, control the Video Applications and switch to running background, and notifies to execute killing
The service routine of operation skips the corresponding target process of the Video Applications;
The playing progress rate of user advertising is prompted, and when detecting return instruction, the Video Applications are switched into foreground
Operation.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the program instruction that can be executed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer
The processing operation of advertisement in the video that executable instruction is not limited to the described above can also be performed the application any embodiment and be carried
Relevant operation in the video of confession in the processing method of advertisement.
The embodiment of the present application provides a kind of intelligent terminal, has operating system (such as Android system in the intelligent terminal
System), the processing unit of advertisement in video provided by the embodiments of the present application can be integrated in the intelligent terminal.Wherein, intelligent terminal can
Think smart mobile phone, PAD (tablet computer) and intelligent glasses etc..Fig. 6 is a kind of intelligent terminal provided by the embodiments of the present application
Structural schematic diagram.As shown in fig. 6, the intelligent terminal includes memory 610 and processor 620.The memory 610, for depositing
Store up computer program, video content, Resident Process white list and advertisement residue reproduction time etc.;The processor 620 is read simultaneously
Execute the computer program stored in the memory 610.The processor 620 realized when executing the computer program with
Lower step:When Video Applications are run, the video content that the Video Applications play is monitored;It is advertisement in the video content
When, the detection switching input by user that the Video Applications are switched to running background indicates;If detecting the switching instruction,
It then controls the Video Applications and switches to running background, and the service routine for executing killing operation is notified to skip the Video Applications
Corresponding target process;The playing progress rate of user advertising is prompted, and when detecting return instruction, the Video Applications are switched
To front stage operation.
The memory and processor enumerated in above-mentioned example are the part component of intelligent terminal, and the intelligent terminal is also
May include other components.By taking smart mobile phone as an example, illustrate the possible structure of above-mentioned intelligent terminal.Fig. 7 is that the application is implemented
A kind of structure diagram for smart mobile phone that example provides.As shown in fig. 7, the smart mobile phone may include:Memory 701, centre
Manage device (Central Processing Unit, CPU) 702 (also known as processor, hereinafter referred to as CPU), Peripheral Interface 703, RF
(Radio Frequency, radio frequency) circuit 705, voicefrequency circuit 706, loud speaker 711, touch display screen 712, power management core
Piece 708, input/output (I/O) subsystem 709, other input/control devicess 710 and outside port 704, these components are logical
One or more communication bus or signal wire 707 are crossed to communicate.
It should be understood that diagram smart mobile phone 700 is only an example of intelligent terminal, and smart mobile phone 700
Can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Detailed retouch is carried out with regard to the smart mobile phone provided in this embodiment for being integrated with the processing unit of advertisement in video below
It states.
Memory 701, the memory 701 can be by access such as CPU702, Peripheral Interfaces 703, and the memory 701 can
Can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.Computer program is stored in memory 701, video can also be stored
Content, Resident Process white list, broadcast button and Video Applications playing function incidence relation and advertisement residue reproduction time
Deng.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703
Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripheral in equipment, such as touches display
Screen 712 and other input/control devicess 710, are connected to Peripheral Interface 703.I/O subsystems 709 may include display controller
7091 and one or more input controllers 7092 for controlling other input/control devicess 710.Wherein, one or more
Input controller 7092 receives electric signal from other input/control devicess 710 or is sent to other input/control devicess 710
Electric signal, other input/control devicess 710 may include physical button (pressing button, rocker buttons etc.), dial, sliding
Switch, clicks idler wheel at control stick.It is worth noting that input controller 7092 can with it is following any one connect:It is keyboard, red
The indicating equipment of external port, USB interface and such as mouse.
Touch display screen 712, the touch display screen 712 are that input interface between user terminal and user and output connect
Mouthful, visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 7091 in I/O subsystems 709 receives electric signal from touch display screen 712 or is shown to touching
Screen 712 sends electric signal.Touch display screen 712 detects the contact in touch display screen, and display controller 7091 will detect
Contact is converted to and is shown in the interaction of the user interface object in touch display screen 712, that is, realizes human-computer interaction, be shown in tactile
Touch the icon that the user interface object on display screen 712 can be running game, the icon etc. for being networked to corresponding network.It is worth saying
Bright, equipment can also include light mouse, and light mouse is not show the touch sensitive surface visually exported, or shown by touching
Shield the extension of the touch sensitive surface formed.
RF circuits 705 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 705 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706 is mainly used for receiving audio data from Peripheral Interface 703, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 711.
Loud speaker 711, the voice signal for receiving mobile phone from wireless network by RF circuits 705, is reduced to sound
And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered
And power management.
Intelligent terminal provided by the embodiments of the present application can need waiting advertisement to avoid non-member user when watching video
Finishing the case where could watching video positive occurs, and realizes and plays advertisement on backstage, so that user uses intelligence in this time
Other functions of terminal, improve time availability, avoid that time waste caused by the simple waiting advertisement of user plays occurs
The problem of.
The processing unit of advertisement, storage medium and intelligent terminal can perform the application in the video provided in above-described embodiment
The processing method of advertisement in the video that any embodiment is provided has and executes the corresponding function module of this method and beneficial to effect
Fruit.The not technical detail of detailed description in the above-described embodiments, reference can be made to wide in the video that the application any embodiment is provided
The processing method of announcement.
Note that above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out to the application by above example
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (10)
1. the processing method of advertisement in a kind of video, which is characterized in that including:
When Video Applications are run, the video content that the Video Applications play is monitored;
When the video content is advertisement, detects the switching input by user that the Video Applications are switched to running background and refer to
Show;
If detecting the switching instruction, control the Video Applications and switch to running background, and notifies to execute killing operation
Service routine skip the corresponding target process of the Video Applications;
The playing progress rate of user advertising is prompted, and when detecting return instruction, the Video Applications are switched into front stage operation.
2. according to the method described in claim 1, it is characterized in that, monitor the video content that the Video Applications play, including:
The corresponding program code of video content of the Video Applications is parsed, whether detect in said program code includes advertisement pair
The keyword answered determines the type of currently playing video content according to testing result.
3. according to the method described in claim 2, it is characterized in that, further including:
When it is advertisement to determine currently playing video content, prompt the user to choose whether the Video Applications switching to backstage
Operation.
4. according to the method described in claim 1, it is characterized in that, detection it is input by user the Video Applications are switched to after
The switching instruction of platform operation, including:
Whether detection programmable button is pressed, wherein programmable button includes home key Home;
If so, determining that the Video Applications are switched to the switching instruction of running background by user's input.
5. if according to the method described in claim 4, it is characterized in that, detect switching instruction, control the video
Application switching to running background, and notify execute killing operation service routine skip the corresponding target of the Video Applications into
Journey, including:
If detecting the switching instruction, controls the Video Applications and switch to running background, and main interface is shown on foreground;
The corresponding target process of the Video Applications is added in Resident Process white list, wherein the white name of Resident Process
Process in list will not be performed the service routine detection and killing of killing operation.
6. the method according to any one of claims 1 to 5, it is characterized in that, prompting the playing progress rate of user advertising, and
When detecting return instruction, the Video Applications are switched into front stage operation, including:
If detecting the switching instruction, the advertisement played data of the Video Applications is obtained, according to the advertisement played data
Draw advertisement countdown window, wherein the advertisement remaining time of the display Video Applications in the advertisement countdown window;
When the advertisement remaining time belonging to preset time section, display reminding information, wherein the prompt message is for carrying
Show that user opens the Video Applications;
When detecting the opening operation for the Video Applications, return instruction is confirmly detected, is indicated according to the return
The Video Applications are switched into front stage operation, and controls the Video Applications and is opened by the next frame image adjacent with the advertisement
Begin to play.
7. the method according to any one of claims 1 to 5, it is characterized in that, prompting the playing progress rate of user advertising, and
When detecting return instruction, the Video Applications are switched into front stage operation, including:
If detecting the switching instruction, the advertisement played data of the Video Applications is obtained, according to the advertisement played data
Draw advertisement countdown window, wherein the advertisement remaining time of the display Video Applications in the advertisement countdown window;
When the advertisement remaining time is zero, broadcast button is shown in the advertisement countdown window;
When detecting that user presses the broadcast button, return instruction is confirmly detected, it will be described according to return instruction
Video Applications switch to front stage operation, and control the Video Applications and broadcast by the next frame image adjacent with the advertisement
It puts.
8. the processing unit of advertisement in a kind of video, which is characterized in that including:
Contents supervision's module, the video content played for when Video Applications are run, monitoring the Video Applications;
Indicate detection module, for when the video content is advertisement, detection is input by user to switch the Video Applications
Switching to running background indicates;
If first handover module controls the Video Applications and switches to running background for detecting the switching instruction, and
The service routine that notice executes killing operation skips the corresponding target process of the Video Applications;
Second handover module, the playing progress rate for prompting user advertising, and when detecting return instruction, the video is answered
With switching to front stage operation.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The processing method of advertisement in the video as described in any one of claim 1 to 7 is realized when processor executes.
10. a kind of intelligent terminal, including memory, processor and storage are on a memory and can be in the computer of processor operation
Program, which is characterized in that the processor is realized when executing the computer program as described in any one of claim 1 to 7
Video in advertisement processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810301906.5A CN108521607B (en) | 2018-04-04 | 2018-04-04 | Method and device for processing advertisements in video, storage medium and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810301906.5A CN108521607B (en) | 2018-04-04 | 2018-04-04 | Method and device for processing advertisements in video, storage medium and intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108521607A true CN108521607A (en) | 2018-09-11 |
CN108521607B CN108521607B (en) | 2021-03-12 |
Family
ID=63432134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810301906.5A Active CN108521607B (en) | 2018-04-04 | 2018-04-04 | Method and device for processing advertisements in video, storage medium and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108521607B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489215A (en) * | 2019-06-29 | 2019-11-22 | 华为技术有限公司 | The treating method and apparatus of scene is waited in a kind of application program |
CN110533472A (en) * | 2019-08-30 | 2019-12-03 | 北京牧家科技有限公司 | A kind of advertisement play system and method for multi-screen |
CN111083560A (en) * | 2019-12-17 | 2020-04-28 | 联想(北京)有限公司 | Playing method and playing device |
CN111857919A (en) * | 2020-07-16 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Video processing method, device, terminal equipment and medium |
CN111966273A (en) * | 2020-08-18 | 2020-11-20 | 珠海格力电器股份有限公司 | Information display processing method and device |
CN112445276A (en) * | 2019-08-30 | 2021-03-05 | 华为技术有限公司 | Folding screen display application method and electronic equipment |
CN112860145A (en) * | 2019-07-30 | 2021-05-28 | 华为技术有限公司 | Application control method and electronic equipment |
CN113542782A (en) * | 2021-07-06 | 2021-10-22 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and device for guiding live broadcast interaction, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100023960A1 (en) * | 2008-07-22 | 2010-01-28 | General Instrument Corporation | Detection of Video Program Viewing Behavior for Correlation with Advertisement Presentation |
CN105007527A (en) * | 2015-08-05 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Data live-broadcast method and data live-broadcast device |
US20160358231A1 (en) * | 2015-06-04 | 2016-12-08 | James Finlaw | Interactive video player |
-
2018
- 2018-04-04 CN CN201810301906.5A patent/CN108521607B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100023960A1 (en) * | 2008-07-22 | 2010-01-28 | General Instrument Corporation | Detection of Video Program Viewing Behavior for Correlation with Advertisement Presentation |
US20160358231A1 (en) * | 2015-06-04 | 2016-12-08 | James Finlaw | Interactive video player |
CN105007527A (en) * | 2015-08-05 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Data live-broadcast method and data live-broadcast device |
Non-Patent Citations (1)
Title |
---|
卢玉婷: "《基于Android平台广告检测算法研究及软件的开发》", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489215A (en) * | 2019-06-29 | 2019-11-22 | 华为技术有限公司 | The treating method and apparatus of scene is waited in a kind of application program |
US11921977B2 (en) | 2019-06-29 | 2024-03-05 | Huawei Technologies Co., Ltd. | Processing method for waiting scenario in application and apparatus |
CN112860145A (en) * | 2019-07-30 | 2021-05-28 | 华为技术有限公司 | Application control method and electronic equipment |
CN112860145B (en) * | 2019-07-30 | 2022-08-26 | 华为技术有限公司 | Application control method and electronic equipment |
CN110533472A (en) * | 2019-08-30 | 2019-12-03 | 北京牧家科技有限公司 | A kind of advertisement play system and method for multi-screen |
CN112445276A (en) * | 2019-08-30 | 2021-03-05 | 华为技术有限公司 | Folding screen display application method and electronic equipment |
CN111083560A (en) * | 2019-12-17 | 2020-04-28 | 联想(北京)有限公司 | Playing method and playing device |
CN111857919A (en) * | 2020-07-16 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Video processing method, device, terminal equipment and medium |
CN111966273A (en) * | 2020-08-18 | 2020-11-20 | 珠海格力电器股份有限公司 | Information display processing method and device |
CN113542782A (en) * | 2021-07-06 | 2021-10-22 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and device for guiding live broadcast interaction, electronic equipment and storage medium |
CN113542782B (en) * | 2021-07-06 | 2023-11-03 | 腾讯音乐娱乐科技(深圳)有限公司 | Method and device for guiding live interaction, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108521607B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108521607A (en) | The processing method of advertisement, device, storage medium and intelligent terminal in video | |
CN106941625B (en) | A kind of control method for playing back of mobile terminal, device and mobile terminal | |
CN108363593A (en) | Application program preloads method, apparatus, storage medium and terminal | |
US20190188007A1 (en) | Method for Preloading Application, Storage Medium, and Terminal Device | |
CN108762843A (en) | Preloading method, apparatus, storage medium and the intelligent terminal of application program | |
CN108647052A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN107783803B (en) | System optimization method and device of intelligent terminal, storage medium and intelligent terminal | |
CN108804157A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108595224A (en) | Application prompts method, apparatus, storage medium and terminal | |
CN108710513A (en) | Application program launching method, device, storage medium and terminal | |
CN106686557B (en) | Broadcast processing method, device and terminal device | |
CN108762831A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN107797841B (en) | Window control method and device, terminal equipment and storage medium | |
CN107659850B (en) | Media information processing method and device | |
CN107943650A (en) | Control method, device, storage medium and the terminal of application program | |
CN107422916B (en) | Touch operation response method and device, storage medium and terminal | |
CN109840418A (en) | Jump control method, device, storage medium and the terminal of application program | |
CN107862203A (en) | Control method, device, storage medium and the terminal of application program | |
CN108776599A (en) | Management method, device, storage medium and the intelligent terminal of preloaded applications | |
CN107402712B (en) | Touch operation response method and device, storage medium and terminal | |
CN108762836A (en) | Management method, device, storage medium and the intelligent terminal of preloaded applications | |
CN108647056A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108804156A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108710512A (en) | Preloading method, apparatus, storage medium and the intelligent terminal of application program | |
CN112711366A (en) | Image generation method and device and electronic equipment |
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 |