[go: up one dir, main page]

CN108111897A - A kind of method and device for showing displaying information in video - Google Patents

A kind of method and device for showing displaying information in video Download PDF

Info

Publication number
CN108111897A
CN108111897A CN201711322475.2A CN201711322475A CN108111897A CN 108111897 A CN108111897 A CN 108111897A CN 201711322475 A CN201711322475 A CN 201711322475A CN 108111897 A CN108111897 A CN 108111897A
Authority
CN
China
Prior art keywords
image
video
displaying
display information
intended display
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.)
Pending
Application number
CN201711322475.2A
Other languages
Chinese (zh)
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201711322475.2A priority Critical patent/CN108111897A/en
Publication of CN108111897A publication Critical patent/CN108111897A/en
Pending legal-status Critical Current

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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • 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/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a kind of methods for showing displaying information in video, are related to Internet technical field, wherein, the described method includes:Obtain the video image of target video in the displaying image and target time section of intended display information to be played;The diversity factor of the displaying image of the intended display information and each video image got is determined respectively;If in each video image, the diversity factor there are the first video image meets default diversity factor condition, it is determined that the average color of the first video image, and color value adjustment is carried out to the displaying image of the intended display information according to the average color;During the target video is played, the displaying image of the intended display information behind the upper strata of first video image, display adjustment;It applies the present invention in video scene, by adjusting the displaying image of the displaying information shown by the video image upper strata of target video, good experience is brought to user.

Description

A kind of method and device for showing displaying information in video
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method and dress for showing displaying information in video It puts.
Background technology
At present, usually by the displaying information of technical staff's pre-production certain shown product during video is played, Wherein, the displaying information (such as advertisement) of certain product is shown during video is played, is a kind of common product introduction mode. For example, during video is played, the advertisement of certain product can be shown on the upper strata of video image.
It is to be ready in the displaying image of the displaying information shown by the video image upper strata of broadcasting in actual life Product, technical staff during video is played, can show information by ready-made product release to different videos Displaying image is shown on the upper strata of video image.However the scene in different video is all different, when target shows information Launch in intended display video, intended display information displaying image content often in the video image of target video Appearance is not particularly to agree with, for example the scene of the video image of target video is to snow, the video figure of entire target video As being all light color system, and the displaying image for being used for the intended display information launched is based on dark color, at this moment will be shown It is lofty to obtain some, causes user experience poor.
The content of the invention
The embodiment of the present invention is designed to provide a kind of method and device for showing displaying information in video, to realize To user good viewing is brought to experience.
In a first aspect, in order to achieve the above objectives, the embodiment of the invention discloses a kind of show in video to show information Method, the described method includes:
Obtain the video figure of target video in the displaying image and target time section of intended display information to be played Picture, the target time section are displaying period of the intended display information in the target video;
The diversity factor of the displaying image of the intended display information and each video image got is determined respectively;
If in each video image, the diversity factor there are the first video image meets default diversity factor condition, then It determines the average color of the first video image, and color value is carried out to the image of the intended display information according to the average color Adjustment;
It is described behind the upper strata of first video image, display adjustment during the target video is played The displaying image of intended display information.
Optionally, a kind of method for showing displaying information in video, further includes:
If in each video image, there are the second videos that corresponding diversity factor is unsatisfactory for default diversity factor condition Then during target video is played, the intended display got is shown on the second video image upper strata for image The displaying image of information.
It is optionally, described that colourity adjustment is carried out to the displaying image of the intended display information according to the average color, Including:
According to the adjustment region in the displaying image of pre-set intended display information, the average color is arranged to The color value of the default adjustment region obtains the exhibition of the intended display information after the corresponding adjustment of first video image Diagram picture.
It is optionally, described that colourity adjustment is carried out to the displaying image of the intended display information according to the average color, Including:
According to the average color and default floating layer image generation algorithm, the displaying figure of the intended display information is generated As corresponding floating layer image;
Displaying image and the floating layer image to the intended display information carry out synthesis processing, the institute after being adjusted State the displaying image of intended display information.
Optionally, the displaying image for obtaining intended display information to be played, including:
The request message of corresponding intended display information is sent to server;
The displaying image for the intended display information that server is sent is received, and determines the intended display information in institute State the displaying period in target video.
Second aspect in order to achieve the above object, displaying information is shown an embodiment of the present invention provides a kind of in video Device, described device includes:Acquisition module, the first determining module, the second determining module, the first display module, wherein,
Acquisition module, for obtaining target in the displaying image of intended display information to be played and target time section The video image of video, the target time section are displaying period of the intended display information in the target video;
First determining module, for each video figure for determining the displaying image of the intended display information respectively Yu getting The diversity factor of picture;
Second determining module, if in each video image, the diversity factor there are the first video image to meet in advance If diversity factor condition, it is determined that the average color of the first video image, and according to the average color to the intended display The image of information carries out color value adjustment;
First display module, for during the target video is played, on the upper strata of first video image, The displaying image of the intended display information after display adjustment.
Optionally, a kind of method for showing displaying information in video, further includes:
Second display module, if in each video image, there are corresponding diversity factoies to be unsatisfactory for default difference Second video image of different degree condition then during target video is played, shows on the second video image upper strata and obtains The displaying image for the intended display information got.
Optionally, second determining module, including:
Submodule is adjusted, for the adjustment region in the displaying image according to pre-set intended display information, by institute The color value that average color is arranged to the default adjustment region is stated, is obtained described after the corresponding adjustment of first video image The displaying image of intended display information.
Optionally, second determination sub-module, including:
Submodule is generated, for according to the average color and default floating layer image generation algorithm, generating the target Show the corresponding floating layer image of displaying image of information;
Submodule is synthesized, is carried out for the displaying image to the intended display information and the floating layer image at synthesis Reason, the displaying image of the intended display information after being adjusted.
Optionally, the displaying image for obtaining intended display information to be played, including:
The request message of corresponding intended display information is sent to server;
The displaying image for the intended display information that server is sent is received, and determines the intended display information in institute State the displaying period in target video.
The third aspect, in order to achieve the above object, the embodiment of the invention also discloses a kind of terminal, the terminal includes place Device, communication interface, memory and communication bus are managed, wherein, the processor, the communication interface, the memory passes through institute It states communication bus and completes mutual communication;
Memory, for storing computer program;
Processor during for performing the program stored on memory, realizes the display exhibition as described in above-mentioned first aspect Show the method and step of information.
Fourth aspect, in order to achieve the above object, the embodiment of the invention also discloses a kind of computer readable storage medium, The computer readable storage medium memory contains computer program, when the computer program is executed by processor, realizes such as The method and step of display displaying information described in above-mentioned first aspect.
As it can be seen that the embodiment of the present invention provides a kind of method and device for showing displaying information in video, obtain to be played Intended display information displaying image and in target video displaying the period in target video image, according to figure As similarity algorithm determines the diversity factor of the displaying image of intended display information and each video image got respectively;It is if each In video image, the diversity factor there are the first video image meets default diversity factor condition, it is determined that the first video image Average color, and color value adjustment is carried out to the image of intended display information according to average color;Playing the process of target video In, the displaying image of the intended display information behind the upper strata of the first video image, display adjustment.It, can be right based on this programme The displaying image of intended display information is adjusted, so that the color value of displaying image optimizes exhibition close to the color value of video image Show effect, so as to improve user experience.Certainly, implement any of the products of the present invention or more than method is not necessarily required to reach simultaneously All advantages.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, can be with root in the case where not paying the precedent for creating work Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of method flow diagram for showing displaying information in video provided in an embodiment of the present invention.
Fig. 2 is a kind of method flow diagram for showing displaying information in video provided in an embodiment of the present invention.
Fig. 3 is a kind of method flow diagram for showing displaying information in video provided in an embodiment of the present invention.
Fig. 4 is a kind of method flow diagram for showing displaying information in video provided in an embodiment of the present invention.
Fig. 5 is a kind of method flow diagram for showing displaying information in video provided in an embodiment of the present invention.
Fig. 6 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Fig. 7 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Fig. 8 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Fig. 9 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Figure 10 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Figure 11 is a kind of structure diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without making creative work it is acquired it is all its His embodiment, belongs to the scope of protection of the invention.
An embodiment of the present invention provides a kind of method for showing displaying information in video, this method can be applied to end End, the terminal can be the mobile terminals such as mobile phone or tablet computer or personal computer (Personal Computer, PC), the terminals such as television set.
As shown in Figure 1, a kind of method for showing displaying information in video that the embodiment of the present invention is provided, can include Following steps:
S100 obtains regarding for target video in the displaying image and target time section of intended display information to be played Frequency image, target time section are displaying period of the intended display information in target video.
Wherein, displaying information can be for showing the information of certain product, for example, displaying information can be advertisement, this is wide It can be any type of advertisement to accuse, such as banner, bumper advertisements, pause advertisement etc..
In force, when user needs to watch video, user, which can open, is used for the application journey for playing video in terminal Sequence, and selection needs the video (i.e. target video) played in the broadcast interface of the application program, terminal then can be to server The first request message is sent, the mark of target video is carried in first request message.Server receives the first request and disappears After breath, according to the mark of target video, to the video image of terminal transmission target video, terminal receives the video of target video After image, the video image of target video is stored in the storage region of terminal.Terminal can also obtain needs in target video Displaying of the image (showing image) and intended display information of the middle intended display information shown in target video Period (i.e. target time section), correspondingly, terminal also needs to send to ask the mark of displaying information to server.The mark Knowledge can be carried to be sent in above-mentioned first request message, alternatively, can also be sent by terminal by other message. After terminal obtains the displaying image of intended display information, the displaying image buffer storage of information will be shown into default processing module, Wherein, processing module can be for the process resource that is handled of image to showing information, such as the kit pair of advertisement The process resource answered.Wherein, the first request message and the second request message can be same message or different disappear Breath.
After terminal gets target time section, it can be extracted from the video image got in the target time section Video image, then by the video image storage into above-mentioned processing module, to carry out subsequent processing.For example, it is playing During target video, advertisement can be shown in the time range that reproduction time is 30s-60s, then when terminal can obtain corresponding broadcasting Between video image in 30s-60s, then by the video image storage got to processing module, which can be The corresponding process resource of Software Development Kit (Software Development Kit, SDK) of advertisement.
S110 determines the diversity factor of the displaying image and each video image got of intended display information respectively.
Wherein, the displaying image of intended display information is usually a frame still image;Diversity factor refers to show image with regarding The color value difference degree of frequency image.
It in force, can be according to default similarity after terminal gets the multi-frame video image in target time section Algorithm calculates the diversity factor of displaying image and each frame video image got respectively.Wherein, similarity algorithm has very much Kind, for example, the peak value signal to noise ratio of displaying image and video image can be calculated, diversity factor is obtained, alternatively, exhibition can be calculated respectively In diagram picture in the average value of the color value of each pixel, video image the color value of each pixel average value, however calculate both Difference, using the difference as displaying image and video image diversity factor;It alternatively, can also be according to displaying image in video figure Display area as in calculates the average value of the pixel in video image beyond display area, then calculate the average value and It shows the difference of the average value of the color value of each pixel in image, obtains diversity factor;Alternatively, it can also use of the prior art Other image difference degree algorithms, the present embodiment do not limit.
S120, if in each video image, the diversity factor there are the first video image meets default diversity factor condition, then It determines the average color of the first video image, and color value adjustment is carried out to the image of intended display information according to average color.
In force, diversity factor condition can be prestored in terminal, the diversity factor condition can by technical staff according to Empirical value is set.Terminal can judge the corresponding diversity factor of each video image respectively according to default diversity factor condition Whether meet default diversity factor condition, such as, it can be determined that the diversity factor whether in the range of default diversity factor, alternatively, Judge whether the diversity factor is more than default diversity factor threshold value.If it is, judge to meet default diversity factor condition.For upper It states by way of the mean value calculation diversity factor of color value, terminal can first be normalized the diversity factor calculated, Then judge whether to meet diversity factor condition again.
In each video image in target time section, meet default difference if there is the diversity factor of the first video image The average color of different degree condition, then each pixel that the first video image of terminal calculating is included, obtains the first video image Then according to the average color of the first video image, color value adjustment is carried out to the displaying image of intended display information for average color; Meet the video image of default diversity factor condition if there is no corresponding diversity factor, then terminal is without carrying out displaying image Color value adjusts.It should be noted that the number of the first video image can be one or multiple.
For example, the scope of diversity factor is 0~1, wherein, 0 represents that difference is minimum, and 1 represents very different, default diversity factor Condition setting is [0.5,1], if terminal calculates the corresponding diversity factor of the first video image as 0.8, due to 0.8 [0.5, 1] in, then terminal can obtain the rgb value of all pixels point in the first video image, calculate the first video respectively using average algorithm R average values, G average values and the B average values of image, according to R average values, G average values and B average values, determine the first video image Average color, color value tune is then carried out to the displaying image of intended display information according to the average color of the first video image It is whole.
S130, during target video is played, the intended display behind the upper strata of the first video image, display adjustment The displaying image of information.
In force, during target video is played, when play target time section in video image when, in meeting On the video image upper strata of target video, display target shows the displaying image of information, also, in the process for playing target video In, terminal shows the displaying image after the average color adjustment based on the first screen image on the upper strata of the first video image.
In the embodiment of the present invention, displaying image is adjusted according to the average color of the first video image, can cause target exhibition The color value and the color value of the first video image for showing the displaying image of information approach, and avoid displaying image in the first video image Bandwagon effect is loftier, so as to optimize bandwagon effect.
As shown in Fig. 2, the embodiment of the present invention provided it is a kind of show in video displaying information method, further include as Lower step S140:
S140, if in each video image, be unsatisfactory for default diversity factor condition there are corresponding diversity factor second regards Frequency image, then during target video is played, the display target got on the second video image upper strata shows information Show image.
In force, as described above, terminal can judge each video image pair respectively according to default diversity factor condition Whether the diversity factor answered meets default diversity factor condition, in each video image in target time section, if certain video figure As (i.e. the second video image) corresponding diversity factor is unsatisfactory for the diversity factor condition, then illustrate the color value for showing image and this second Relatively, without being adjusted, then terminal is during target video is played, when being played to second for the color value of video image During video image, the displaying figure of the displaying information obtained from displaying information server is directly displayed on the second video image upper strata Picture.
For example, default diversity factor condition is [0.5,1], and the corresponding diversity factor of the second video image is 0.3, due to 0.3 in [0.5,1], then terminal is adjusted displaying image without the average color according to the second video image.
In the embodiment of the present invention, for being unsatisfactory for the second video image of difference condition, terminal directly believes intended display The displaying image of breath is shown on the second video image upper strata, without being adjusted processing, it is possible to reduce the treating capacity of terminal.
It should be noted that terminal carries out the displaying image of intended display information according to average color the side of colourity adjustment Formula can be diversified, an embodiment of the present invention provides two kinds of feasible processing modes as an example, specific as follows:
As shown in figure 3, being the first colourity adjustment mode provided in an embodiment of the present invention, concrete processing procedure can be step Rapid S121 ':
According to the adjustment region in the displaying image of pre-set intended display information, average color is set by S121 ' To preset the color value of adjustment region, the displaying image of the intended display information after the corresponding adjustment of the first video image is obtained.
In force, terminal can adjust the displaying image of displaying information using adjustment instrument in processing module It is whole.Specifically, the partitioning tool that can be first passed through in adjustment instrument divides displaying image, the close displaying that will be marked off The part of image border, for example, partitioning tool can be partitioning technology (division, DIV), passes through DIV as adjustment region Displaying image is divided, obtains different size of region, wherein, adjustment region can be the corresponding area of the frame marked off Domain.Terminal can will show the color value of the adjustment region of image, be revised as the average color of the first video image, so as to obtain The displaying image of intended display information after the corresponding adjustment of one video image.In addition, terminal can also be by kit CSS (Cascading Style Sheets, cascading style sheets) instrument, be further processed for adjustment region (for example increase Add the average color in adjustment region), so as to obtain the frame that color is gradual change.
In the embodiment of the present invention, by adjusting the color of the frame of displaying image so that show the color value at the edge of image It is approached with the color value of the first video image, avoids bandwagon effect of the displaying image in the first video image loftier, so as to Optimize bandwagon effect.
As shown in figure 4, being second of colourity adjustment mode provided in an embodiment of the present invention, specific process can include step Rapid S121 "-S122 ":
S121 ", according to average color and default floating layer image generation algorithm, the displaying image of generation intended display information Corresponding floating layer image.
In force, terminal can generate floating layer image by default floating layer image generation algorithm, then floating layer image Color value be arranged to the average color of the first video image, so as to generate the corresponding floating layer figure of the displaying image of intended display information Picture.Wherein, arbitrary floating layer image generation algorithm of the prior art may be employed in floating layer image generation algorithm, and the present embodiment is not done It limits.For example, terminal can generate the image identical with showing picture size, the color value is then arranged to the first video image Average color, and the display effect of the image is arranged to translucent effect, so as to obtain floating layer image.
S122 " carries out synthesis processing, the target after being adjusted to the displaying image and floating layer image of intended display information Show the displaying image of information.
Specifically, terminal can be by default image composition algorithm, by the displaying image and floating layer of intended display information Image carries out synthesis processing, the displaying image of the intended display information after being adjusted.Wherein, composition algorithm can be a variety of more Sample, for example, colored correlation technique, mathematical operation, image change etc., the present embodiment does not limit.
In the embodiment of the present invention, by being superimposed floating layer image in the generation of displaying image so that show the edge of image Color value and the color value of the first video image approach, and avoid bandwagon effect of the displaying image in the first video image loftier, So as to optimize bandwagon effect.
As shown in figure 5, sent for terminal by other message to server for asking the mark situation of displaying information, The process can include step S101-S102:
S101 sends the request message of corresponding intended display information to server.
In force, terminal can send request message (can be described as the second request message) to server, and the second request disappears Breath can carry to ask the mark of displaying information.After server receives the second request message, send and show to terminal Starting reproduction time of the displaying image and intended display information of information (i.e. intended display information) in target video.
S102 receives the displaying image for the intended display information that server is sent, and determines intended display information in target The displaying period in video.
In force, terminal can receive displaying image and the target exhibition of the intended display information of server transmission Show starting reproduction time of the information in target video, then terminal can use the starting reproduction time, in addition default displaying Information playing duration obtains the broadcasting end time of the intended display information, and then obtains intended display information in target video In the displaying period, that is, originate reproduction time to broadcasting the end time between period).
In the embodiment of the present invention, the displaying image of intended display information to be played is obtained and in target video Show the target video image in the period, determined respectively according to image similarity algorithm the displaying image of intended display information with The diversity factor of each video image got;If in each video image, the diversity factor satisfaction there are the first video image is default Diversity factor condition, it is determined that the average color of the first video image, and according to average color to the image of intended display information Carry out color value adjustment;During target video is played, the intended display behind the upper strata of the first video image, display adjustment The displaying image of information.Based on this programme, the displaying image of intended display information can be adjusted, so that displaying image Color value optimizes bandwagon effect, so as to improve user experience close to the color value of video image.
Corresponding with embodiment of the method, the embodiment of the present invention additionally provides a kind of dress for showing displaying information in video It puts, which can be applied to electronic equipment.Fig. 6 is the structural representation that display provided in an embodiment of the present invention shows massaging device Figure, described device include:
Acquisition module 200, for obtaining mesh in the displaying image of intended display information to be played and target time section The video image of video is marked, the target time section is displaying time of the intended display information in the target video Section;
First determining module 210, the displaying image for determining the intended display information respectively are respectively regarded with what is got The diversity factor of frequency image;
Second determining module 220, if in each video image, there are the diversity factor satisfactions of the first video image Default diversity factor condition, it is determined that the average color of the first video image, and according to the average color to the target exhibition Show that the displaying image of information carries out color value adjustment;
First display module 230, for during the target video is played, in the upper of first video image Layer, the displaying image of the intended display information after display adjustment.
As shown in fig. 7, in another realization method provided in an embodiment of the present invention, described device further includes,:
Second display module 240, if in each video image, being unsatisfactory for there are corresponding diversity factor default Second video image of diversity factor condition then during target video is played, is shown on the second video image upper strata The displaying image of the intended display information got.
As shown in figure 8, in another realization method provided in an embodiment of the present invention, second determining module 220, including:
Submodule 221 is adjusted, it, will for the adjustment region in the displaying image according to pre-set intended display information The average color is arranged to the color value of the default adjustment region, obtains the institute after the corresponding adjustment of first video image State the displaying image of intended display information.
As shown in figure 9, in another realization method provided in an embodiment of the present invention, second determining module, including:
Submodule 222 is generated, for according to the average color and default floating layer image generation algorithm, generating the mesh The corresponding floating layer image of displaying image of mark displaying information;
Submodule 223 is synthesized, is synthesized for the displaying image to the intended display information and the floating layer image Processing, the displaying image of the intended display information after being adjusted.
As shown in Figure 10, in another realization method provided in an embodiment of the present invention, the acquisition module 200, including:
Sending submodule 201, for sending the request message of corresponding intended display information to server;
Receiving submodule 202 for receiving the displaying image of the intended display information of server transmission, and determines institute State displaying period of the intended display information in the target video.
In the embodiment of the present invention, the displaying image of intended display information to be played is obtained and in target video Show the target video image in the period, determined respectively according to image similarity algorithm the displaying image of intended display information with The diversity factor of each video image got;If in each video image, the diversity factor satisfaction there are the first video image is default Diversity factor condition, it is determined that the average color of the first video image, and according to average color to the image of intended display information Carry out color value adjustment;During target video is played, the intended display behind the upper strata of the first video image, display adjustment The displaying image of information.Based on this programme, the displaying image of intended display information can be adjusted, so that displaying image Color value optimizes bandwagon effect, so as to improve user experience close to the color value of video image.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 11, including 1100 communication interface 1110 of processor, deposits Reservoir 1120 and communication bus 1130, wherein, processor 1100, communication interface 1110, memory 1120 passes through communication bus 1130 complete mutual communication,
Memory 1120, for storing computer program;
Processor 1100 during for performing the program stored on memory 1120, is realized provided in an embodiment of the present invention The method of display displaying information.
It should be noted that other realization methods of method of above-mentioned display displaying information and preceding method embodiment part Identical, which is not described herein again.
The communication bus of above-mentioned terminal can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented in figure with a thick line, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory can include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (FieldProgrammable Gate Array, letter Claim FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer performs any institute in above-described embodiment The method for showing displaying information in video stated.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its any combination real It is existing.When implemented in software, can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and performing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In or from a computer readable storage medium to another computer readable storage medium transmit, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is the data storage devices such as server, the data center integrated comprising one or more usable mediums.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
In the embodiment of the present invention, the displaying image of intended display information to be played is obtained and in target video Show the target video image in the period, determined respectively according to image similarity algorithm the displaying image of intended display information with The diversity factor of each video image got;If in each video image, the diversity factor satisfaction there are the first video image is default Diversity factor condition, it is determined that the average color of the first video image, and according to average color to the image of intended display information Carry out color value adjustment;During target video is played, the intended display behind the upper strata of the first video image, display adjustment The displaying image of information.Based on this programme, the displaying image of intended display information can be adjusted, so that displaying image Color value optimizes bandwagon effect, so as to improve user experience close to the color value of video image.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.It is real especially for system For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modifications, equivalent replacements and improvements are made within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (12)

  1. A kind of 1. method for showing displaying information in video, which is characterized in that the described method includes:
    Obtain the video image of target video in the displaying image and target time section of intended display information to be played, institute Target time section is stated as displaying period of the intended display information in the target video;
    The diversity factor of the displaying image of the intended display information and each video image got is determined respectively;
    If in each video image, the diversity factor there are the first video image meets default diversity factor condition, it is determined that The average color of first video image, and color value is carried out to the displaying image of the intended display information according to the average color Adjustment;
    During the target video is played, the target behind the upper strata of first video image, display adjustment Show the displaying image of information.
  2. 2. according to the method described in claim 1, it is characterized in that, the method further includes:
    If in each video image, there are the second video figures that corresponding diversity factor is unsatisfactory for default diversity factor condition Then during the target video is played, the target exhibition got is shown on the second video image upper strata for picture Show the displaying image of information.
  3. 3. according to the method described in claim 1, it is characterized in that, described believe the intended display according to the average color The displaying image of breath carries out colourity adjustment, including:
    According to the adjustment region in the displaying image of pre-set intended display information, the average color is arranged to described The color value of default adjustment region, obtains the displaying figure of the intended display information after the corresponding adjustment of first video image Picture.
  4. 4. according to the method described in claim 1, it is characterized in that, described believe the intended display according to the average color The displaying image of breath carries out colourity adjustment, including:
    According to the average color and default floating layer image generation algorithm, the displaying image pair of the intended display information is generated The floating layer image answered;
    Displaying image and the floating layer image to the intended display information carry out synthesis processing, the mesh after being adjusted The displaying image of mark displaying information.
  5. 5. the according to the method described in claim 1, it is characterized in that, displaying figure for obtaining intended display information to be played Picture, including:
    The request message of corresponding intended display information is sent to server;
    The displaying image for the intended display information that server is sent is received, and determines the intended display information in the mesh Mark the displaying period in video.
  6. 6. a kind of device for showing displaying information in video, which is characterized in that described device includes:
    Acquisition module, for obtaining target video in the displaying image of intended display information to be played and target time section Video image, the target time section be displaying period of the intended display information in the target video;
    First determining module, for determining the displaying image of the intended display information and each video image for getting respectively Diversity factor;
    Second determining module, if in each video image, there are the first video image diversity factor meet it is default Diversity factor condition, it is determined that the average color of the first video image, and according to the average color to the intended display information Displaying image carry out color value adjustment;
    First display module, for during the target video is played, on the upper strata of first video image, showing The displaying image of the intended display information after adjustment.
  7. 7. device according to claim 6, which is characterized in that described device further includes:
    Second display module, if in each video image, there are corresponding diversity factoies to be unsatisfactory for default diversity factor Second video image of condition then during the target video is played, shows on the second video image upper strata and obtains The displaying image for the intended display information got.
  8. 8. device according to claim 6, which is characterized in that second determining module, including:
    Submodule is adjusted, it, will be described flat for the adjustment region in the displaying image according to pre-set intended display information Equal color value is arranged to the color value of the default adjustment region, obtains the target after the corresponding adjustment of first video image Show the displaying image of information.
  9. 9. device according to claim 6, which is characterized in that second determining module, including:
    Submodule is generated, for according to the average color and default floating layer image generation algorithm, generating the intended display The corresponding floating layer image of displaying image of information;
    Submodule is synthesized, synthesis processing is carried out for the displaying image to the intended display information and the floating layer image, obtains The displaying image of the intended display information after to adjustment.
  10. 10. device according to claim 6, which is characterized in that the acquisition module, including:
    Sending submodule, for sending the request message of corresponding intended display information to server;
    Receiving submodule for receiving the displaying image of the intended display information of server transmission, and determines the target Show displaying period of the information in the target video.
  11. 11. a kind of terminal, which is characterized in that the terminal includes processor, communication interface, memory and communication bus, wherein, The processor, the communication interface, the memory complete mutual communication by the communication bus;
    Memory, for storing computer program;
    Processor during for performing the program stored on the memory, realizes any method steps of claim 1-5 Suddenly.
  12. 12. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium memory contains computer Program realizes claim 1-5 any method and steps when the computer program is executed by processor.
CN201711322475.2A 2017-12-12 2017-12-12 A kind of method and device for showing displaying information in video Pending CN108111897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711322475.2A CN108111897A (en) 2017-12-12 2017-12-12 A kind of method and device for showing displaying information in video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711322475.2A CN108111897A (en) 2017-12-12 2017-12-12 A kind of method and device for showing displaying information in video

Publications (1)

Publication Number Publication Date
CN108111897A true CN108111897A (en) 2018-06-01

Family

ID=62216712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711322475.2A Pending CN108111897A (en) 2017-12-12 2017-12-12 A kind of method and device for showing displaying information in video

Country Status (1)

Country Link
CN (1) CN108111897A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947973A (en) * 2018-09-21 2019-06-28 北京字节跳动网络技术有限公司 Background configuration method, device, equipment and the readable medium of display area
CN111107383A (en) * 2019-12-03 2020-05-05 广州华多网络科技有限公司 Video processing method, device, equipment and storage medium
CN111125465A (en) * 2018-10-31 2020-05-08 北京字节跳动网络技术有限公司 Information display amount adjusting method and device, electronic equipment and readable medium
CN113542843A (en) * 2021-07-19 2021-10-22 北京奇艺世纪科技有限公司 Target bullet screen display method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727482A (en) * 2008-10-28 2010-06-09 索尼株式会社 Information processing device, information processing method and information processing program
CN102103641A (en) * 2011-03-08 2011-06-22 西安交通大学 Method for adding banner advertisement into user-browsed network image
CN102497595A (en) * 2011-12-06 2012-06-13 鄂文轩 Method and device for carrying out advertisement publishing in fixed terminal
US20120310750A1 (en) * 2011-06-01 2012-12-06 Intercast Networks, Inc. Interface and module for real-time advertising presentation
CN106507200A (en) * 2015-09-07 2017-03-15 腾讯科技(深圳)有限公司 Video-frequency playing content insertion method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727482A (en) * 2008-10-28 2010-06-09 索尼株式会社 Information processing device, information processing method and information processing program
CN102103641A (en) * 2011-03-08 2011-06-22 西安交通大学 Method for adding banner advertisement into user-browsed network image
US20120310750A1 (en) * 2011-06-01 2012-12-06 Intercast Networks, Inc. Interface and module for real-time advertising presentation
CN102497595A (en) * 2011-12-06 2012-06-13 鄂文轩 Method and device for carrying out advertisement publishing in fixed terminal
CN106507200A (en) * 2015-09-07 2017-03-15 腾讯科技(深圳)有限公司 Video-frequency playing content insertion method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947973A (en) * 2018-09-21 2019-06-28 北京字节跳动网络技术有限公司 Background configuration method, device, equipment and the readable medium of display area
CN109947973B (en) * 2018-09-21 2020-08-18 北京字节跳动网络技术有限公司 Background configuration method, device and equipment for display area and readable medium
CN111125465A (en) * 2018-10-31 2020-05-08 北京字节跳动网络技术有限公司 Information display amount adjusting method and device, electronic equipment and readable medium
CN111125465B (en) * 2018-10-31 2023-05-23 北京字节跳动网络技术有限公司 Information display quantity adjusting method and device, electronic equipment and readable medium
CN111107383A (en) * 2019-12-03 2020-05-05 广州华多网络科技有限公司 Video processing method, device, equipment and storage medium
CN111107383B (en) * 2019-12-03 2023-02-17 广州方硅信息技术有限公司 Video processing method, device, equipment and storage medium
CN113542843A (en) * 2021-07-19 2021-10-22 北京奇艺世纪科技有限公司 Target bullet screen display method and device, electronic equipment and storage medium
CN113542843B (en) * 2021-07-19 2022-09-30 北京奇艺世纪科技有限公司 Target bullet screen display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111899192B (en) Interaction method, interaction device, electronic equipment and computer-readable storage medium
WO2021047429A1 (en) Image rendering method and device, apparatus, and storage medium
CN111063008A (en) Image processing method, device, equipment and storage medium
US10419744B2 (en) Techniques for user profiles for viewing devices
CN108111897A (en) A kind of method and device for showing displaying information in video
CN112492331B (en) Live broadcast method, device, system and storage medium
CN103854200A (en) Promotion system and method of mobile internet content resources
US20170195646A1 (en) Virtual cinema and implementation method thereof
CN113778589A (en) Screen adaptation method, server, intelligent terminal, electronic device and storage medium
CN109286824A (en) A kind of method, apparatus, equipment and the medium of the control of live streaming user side
CN112308780A (en) Image processing method, device, equipment and storage medium
CN109656495A (en) The display methods and device of Mosaic screen, terminal
CN110070496A (en) Generation method, device and the hardware device of image special effect
CN113873272A (en) A method, device and storage medium for controlling background image of live video
US20200107084A1 (en) Method and device for playback optimization
CN108986117B (en) Video image segmentation method and device
CN111915496A (en) Image processing method, device and storage medium
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
CN110941413B (en) Display screen generation method and related device
CN114422816A (en) Live video processing method and device, electronic equipment and storage medium
CN107979773B (en) Electronic device and control method thereof
CN106254810A (en) A kind of video call method and device
CN111416971B (en) Control method, control system, electronic device and readable storage medium
CN104104935B (en) Image processing apparatus, image processing method and electronic installation
CN109999490B (en) Method and system for reducing networking cloud application delay

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180601

RJ01 Rejection of invention patent application after publication