WO2018018678A1 - Picture display processing method and device of smart tv - Google Patents

Picture display processing method and device of smart tv Download PDF

Info

Publication number
WO2018018678A1
WO2018018678A1 PCT/CN2016/095887 CN2016095887W WO2018018678A1 WO 2018018678 A1 WO2018018678 A1 WO 2018018678A1 CN 2016095887 W CN2016095887 W CN 2016095887W WO 2018018678 A1 WO2018018678 A1 WO 2018018678A1
Authority
WO
WIPO (PCT)
Prior art keywords
static
pixels
screen
television
pixel
Prior art date
Application number
PCT/CN2016/095887
Other languages
French (fr)
Chinese (zh)
Inventor
姚坤
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2018018678A1 publication Critical patent/WO2018018678A1/en

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
    • 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/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/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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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

Definitions

  • the present invention relates to the field of television technologies, and in particular, to a screen display processing method and apparatus for a smart television.
  • Smart TV is a new TV product with a fully open platform and an operating system. Users can install and uninstall various application software while continuing to appreciate and upgrade their functions while enjoying ordinary TV content. With the popularity of smart TV, more and more advertisers are advertising through the channels of smart TV. Advertisements are generally pushed to the smart application interface. Users need to wait for the advertisement to finish playing, not to watch advertisements and operate the TV at the same time, which has an impact on the users who are operating the TV.
  • the main object of the present invention is to provide a screen display processing method and apparatus for a smart TV, which aims to prevent the user from operating on the television while playing the advertisement.
  • the present invention provides a screen display processing method for a smart television, and the screen display processing method of the smart television includes the following steps:
  • the display layer corresponding to the currently intercepted TV picture is an advertisement interface display layer
  • the advertisement interface display layer is scaled and moved to the static area display.
  • the setting, as the static area, the area in the screen of the intercepted television picture that has not changed is:
  • the pixels that have not changed are set as static pixels, and the number of static pixels is obtained;
  • the display area corresponding to the static pixels is set as the static area.
  • determining that the display layer corresponding to the currently intercepted TV picture is the advertisement interface display layer comprises:
  • the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer.
  • the displaying, by the advertising interface display layer, a scaling process, and moving to the static zone display comprises:
  • the coordinates of the display layer of the advertisement interface are set to the coordinates of the static pixel.
  • the method before the intercepting the television screen every preset time interval, the method further includes:
  • the TV screen is captured every preset time interval.
  • the present invention further provides a screen display processing device for a smart television, wherein the screen display processing device of the smart television includes:
  • a screen capture module for intercepting a television screen every preset time interval
  • a static area detecting module configured to set, as a static area, an area in the captured television picture where the pixel of the picture does not change;
  • a real-time detection module configured to detect, in real time, whether a pixel of the static area changes
  • the advertisement detecting module is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the currently captured television picture changes in the pixel of the static area;
  • a zooming module configured to perform scaling processing on the advertisement interface display layer, and move to the static area display.
  • the static area detection module includes:
  • the first detecting unit is configured to compare the pixels on the corresponding coordinates of the television pictures that are respectively intercepted twice, and the pixels that have not changed are set as static pixels, and acquire the number of static pixels;
  • a first processing unit configured to set a display area corresponding to the static pixel as the static area when the number of the static pixels is greater than one tenth of a total pixel of the television picture.
  • the advertisement detection module includes:
  • a text recognition unit configured to perform a character recognition process on the television screen when the currently captured television picture changes in a pixel of the static area, and determine whether the recognized text contains a preset target character
  • the second processing unit is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the recognized text contains a preset target character.
  • the scaling module comprises:
  • a second detecting unit configured to acquire coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, and set the number of the static pixels in a horizontal direction to a first number and a The number of static pixels in the vertical direction is set to a second number;
  • a zooming advertising unit configured to reduce a number of pixels in a horizontal direction of the advertisement interface display layer to the first number, and reduce a number of pixels in a vertical direction to the second number;
  • the screen display processing device of the smart TV further includes:
  • a screen display processing method and apparatus for a smart television determines an area that has not changed in a screen based on comparing television pictures taken at different times, and sets the area as a static area.
  • the advertisement is played, the pixel at the location of the static zone changes to know that the display layer corresponding to the current television screen is the advertisement interface display layer.
  • the display layer of the advertisement interface is scaled and moved to the static area. Since the user does not operate on the static area, the advertisement playing in the static area does not affect the operation of the user on the television, thereby achieving parallel playback of the advertisement and the television operation.
  • FIG. 1 is a schematic flow chart of a first embodiment of a screen display processing method for a smart television according to the present invention
  • FIG. 2 is a schematic diagram showing a refinement flow of setting a static area in a second embodiment of a screen display processing method of a smart television according to the present invention
  • FIG. 3 is a schematic diagram showing a refinement process of determining whether a display layer corresponding to a currently captured television picture is an advertisement interface display layer in a third embodiment of the screen display processing method of the smart television according to the present invention
  • FIG. 4 is a schematic diagram of a refinement process for adjusting an advertisement interface display layer in a fourth embodiment of a screen display processing method of a smart television according to the present invention
  • FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a screen display processing method for a smart television according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a first embodiment of a screen display processing apparatus for a smart television according to the present invention
  • FIG. 7 is a schematic diagram of a refinement function module of a static area detecting module in a second embodiment of a screen display processing device of a smart television according to the present invention.
  • FIG. 8 is a schematic diagram of a refinement function module of an advertisement detection module in a third embodiment of a screen display processing device of a smart television according to the present invention.
  • FIG. 9 is a schematic diagram of a refinement function module of a zoom module in a fourth embodiment of a screen display processing device of a smart television according to the present invention.
  • FIG. 10 is a schematic diagram of functional modules of a fifth embodiment of a screen display processing apparatus for a smart television according to the present invention.
  • the invention provides a screen display processing method and device for a smart TV.
  • FIG. 1 is a first embodiment of a method for processing a screen display of a smart television according to the present invention, the method comprising the following steps:
  • step S100 the television screen is intercepted every preset time interval.
  • the preset time interval is in units of seconds, for example, the preset time interval is 9s, then the first s, 10s s intercepts the television picture, and stores the television picture in the first memory, which avoids the system screen capture from time to time. Therefore, the resources of the television system will not be seriously affected.
  • step S200 an area of the intercepted television picture in which the picture pixel has not changed is set as a static area.
  • the same positions of two adjacent television pictures in the first memory are compared one by one, thereby determining an area that has not changed within a preset time interval.
  • You can distinguish the area where the TV picture has not changed within the preset time interval by comparing the pixels at the same position on the TV screen, or by comparing the brightness and chrominance information of the same position on the TV screen.
  • the windows interface is used as the desktop.
  • the start icon in the lower left corner is an unchanging area in normal operation, and this area is set as a static area.
  • step S300 it is detected in real time whether the pixels of the static area change.
  • Step S400 When the currently captured television picture changes in the pixel of the static area, it is determined that the display layer corresponding to the currently intercepted TV picture is the advertisement interface display layer.
  • the static area is used as an identifier to determine whether an advertisement appears. If the currently captured television picture changes in the position of the static area, the currently intercepted television picture is not a television operation interface or an application interface, thereby The advertisement is judged to be attacked, and the television screen determined as the advertisement interface is stored in the second memory, and is distinguished from the television operation interface stored in the first memory or the television screen of the application interface.
  • step S500 the advertisement interface display layer is subjected to scaling processing and moved to the static area display.
  • create a layer move the advertisement interface display layer to the layer, and set the position of the advertisement interface display layer to the position of the static area, and set other areas in the layer to be transparent areas for displaying the game or The program of the video, such that the display layer of the advertisement interface is displayed in the static area and does not affect the user operating the television interface.
  • the screen display processing method of the smart TV determines the area that has not changed in the screen according to the television picture intercepted at different times, and sets the area as a static area.
  • the advertisement is played, the pixel at the location of the static zone changes to know that the display layer corresponding to the current television screen is the advertisement interface display layer.
  • the display layer of the advertisement interface is scaled and moved to the static area. Since the user does not operate on the static area, the advertisement playing in the static area does not affect the operation of the user on the television, thereby achieving parallel playback of the advertisement and the television operation.
  • a second embodiment of a screen display processing method for a smart television according to the first embodiment, the step of setting an area of a television picture that has not been changed in the captured television picture as a static area is performed.
  • step S210 the pixels on the corresponding coordinates of the two adjacent television pictures are compared one by one, and the pixels that have not changed are set as static pixels, and the number of static pixels is acquired.
  • the pixels of the adjacent two images in the first memory are compared with each other, and the difference of 0 indicates that the pixels of the coordinate do not change in the preset time interval and belong to the static pixel, and the static pixel is also counted.
  • the number is for subsequent comparison with the total pixels of the TV picture. If the number of static pixels in a region is large, the advertisement can be completely displayed in the area where the static pixels are located. If the number of static pixels in a region is small, That is to say, the distribution of static pixels on the screen is relatively scattered, and the area where such static pixels are located is not suitable for placing advertisements.
  • the picture in the first memory is obtained by intercepting a frame picture obtained by the television screen, and the frame picture is an image, and the image storage is stored in pixels, and the display is a scanning display mode with a resolution of 800 ⁇ 600.
  • each horizontal line contains 800 pixels, and there are 600 lines, that is, the number of scanning columns is 800, the number of rows is 600, and 800 ⁇ 600 is 480,000 pixels.
  • Step S220 When the number of the static pixels is greater than one tenth of the total pixels of the television screen, the display area corresponding to the static pixels is set as the static area.
  • the number of static pixels is 50,000
  • the number of static pixels is greater than one tenth of the total pixels of the television picture, indicating that the area where the still image is located is also
  • the static area is suitable for placing the advertising interface.
  • step S210 and step S220 The following is a specific design example of step S210 and step S220:
  • Video_Frame1_R_Pix(x1) 255//Video 1s first frame: red pixel gain: 255
  • Video_Frame1_G_Pix(x1) 255//Video 1s first frame: Green pixel gain: 255
  • Video_Frame1_B_Pix(x1) 128//Video 1s
  • Video_Frame10_R_Pix(x1) 255//Video 10s first frame: red pixel gain: 255
  • Video_Frame10_G_Pix(x1) 255//Video 10s First frame: Green pixel gain: 255
  • Video_Frame10_B_Pix(x1) 128//Video 10s First frame: Blue pixel gain: 128
  • the pixels that have not changed are set as static pixels, and when the number of the static pixels is greater than the total pixels of the television screen.
  • the static pixels form the static zone so that the static zone can be accurately determined.
  • a third embodiment of a screen display processing method for a smart television on the basis of the first embodiment or the second embodiment, the currently intercepted television picture is in the static area.
  • the step of determining that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer includes:
  • Step S410 When the currently captured television picture changes in the pixel of the static area, perform character recognition processing on the television picture, and determine whether the recognized text contains a preset target character.
  • the characters in the screen are recognized, and the recognized characters are compared with the preset target characters.
  • the preset target characters are some common advertisement identifiers, such as advertisements, trademark names, and the like.
  • step S420 when the recognized text contains the preset target character, it is determined that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer.
  • the television screen may be further determined to be an advertisement interface.
  • the advertisement interface may display the words “advertising” or “KFC”, if The text containing the words may determine that the current television picture is an advertising interface, thereby storing the advertising interface in the second memory for subsequent scaling of the advertising interface.
  • a fourth embodiment of a screen display processing method for a smart television on the basis of the third embodiment, the advertising interface display layer is scaled and moved to the static
  • the steps displayed in the area include:
  • Step S510 acquiring coordinates of the static pixel and the number of pixels of the static pixel in the horizontal direction and the vertical direction, setting the number of the static pixels in the horizontal direction to the first number and the static pixel to the vertical
  • the number of straight directions is set to the second number.
  • the coordinates of the static pixels are saved to later move the advertisement interface display layer to the area where the static pixels are located, and further, the first number of the static pixels in the horizontal direction and the second number in the vertical direction are saved for subsequent determination.
  • the ad interface displays the size of the layer zoom.
  • Step S520 reducing the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reducing the number of pixels in the vertical direction to the second number;
  • Step S530 setting coordinates of the advertisement interface display layer as coordinates of the static pixel.
  • the above has determined whether the current TV picture is an advertisement interface by identifying whether the target character exists in the screen, and if it is an advertisement interface, reducing the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, vertical The number of pixels in the direction is reduced to the second number, thereby determining the proportion of the advertisement interface display layer scaling, and then setting the coordinates of the advertisement interface display layer to the coordinates of the static pixel to display the advertisement interface display layer Move to the static zone.
  • step S510 and step S520 The following is a specific design example of step S510 and step S520:
  • Vide_Total_X_Dif(x) 380//The number of static pixels in the horizontal direction is 380
  • Vide_Total_Y_Dif(x) 380//The number of static pixels in the vertical direction is 380
  • the second memory finds the frame picture showing the specific character, and the frame picture is reduced to the same pixel Y horizontal direction to be reduced to: 380
  • the zoom size of the advertisement interface display layer is determined according to the number of static pixels in the horizontal direction and the vertical direction, so that the advertisement can be more accurately reduced to the static area.
  • a fifth embodiment of a method for processing a screen display of a smart television according to the present invention on the basis of the foregoing first embodiment, the method further includes:
  • step S600 the monitor button and/or the mouse event are in an idle state; when the monitor button and/or the mouse event are in an idle state, the television screen is intercepted every preset time interval.
  • the process proceeds to step S100, and if not, the process is not performed, and the user normally views the advertisement.
  • the mouse input and keyboard input can be monitored in real time. When the keyboard and mouse do nothing, the timer beats the timer. When the mouse or button is moved, the timer returns to zero, thereby monitoring the idle state of the input device. Before the time is set, the time event identifier and the time unit time are 1 second, and the time event identifier is compared. If the difference is 1, the button and/or mouse event is idle. If the difference is 0, the button is pressed. And/or mouse events are busy.
  • the monitored button and/or mouse event may be the up, down, left and right handles. If the user does not operate the button and/or mouse, the user does not want to view the advertisement, and then proceeds to step S100.
  • step S500 the advertisement is zoomed to the static area; if the user operates the button and/or the mouse, it means that the user wants to watch the advertisement, and then does not perform any processing, and does not proceed to step S100.
  • the user by monitoring the button and/or mouse event to determine whether the user wants to view the advertisement, the user is provided with two options of normal viewing advertisement and automatic zooming advertisement.
  • the present invention also provides a screen display processing device for a smart television.
  • a first embodiment of a screen display processing device for a smart television according to the present invention includes:
  • the screen capture module 100 is configured to intercept a television screen every preset time interval.
  • the preset time interval is in seconds, for example, the preset time interval is 9s, then the screen capture module 100 intercepts the television picture in the 1st and 10th, and stores the television picture in the first memory, thereby avoiding The system screen captures from time to time so that the resources of the television system are not seriously affected.
  • the static area detecting module 200 is configured to set an area of the intercepted television picture where the picture pixel has not changed as a static area.
  • the same positions of two adjacent television pictures in the first memory are compared one by one, thereby determining an area that has not changed within a preset time interval.
  • You can distinguish the area where the TV picture has not changed within the preset time interval by comparing the pixels at the same position on the TV screen, or by comparing the brightness and chrominance information of the same position on the TV screen.
  • the windows interface is used as the desktop.
  • the start icon in the lower left corner is an unchanging area in normal operation, and this area is set as a static area.
  • the real-time detection module 300 is configured to detect, in real time, whether a pixel of the static area changes
  • the advertisement detecting module 400 is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the currently captured television picture changes in the pixel of the static area.
  • the real-time detection module 300 determines whether an advertisement appears by using the static area as an identifier. If the pixel of the currently intercepted picture in the static area changes, it indicates that the currently intercepted TV picture is not a TV operation interface or The application interface, so that the advertisement detection module 400 determines that the advertisement is coming, and stores the television screen determined as the advertisement interface in the second memory, which is distinguished from the television operation interface stored in the first memory or the television screen of the application interface.
  • the scaling module 500 is configured to perform a scaling process on the advertisement interface display layer and move to the static zone display.
  • the zoom module 500 creates a layer, moves the advertisement interface display layer to the layer, and sets the position of the advertisement interface display layer to the position of the static area, and the other areas in the layer are set to be transparent areas for The program of the game or video is displayed such that the advertising interface display layer is displayed in the static area and does not affect the user operating the television interface.
  • the screen display processing device of the smart television determines the region that has not changed in the screen according to the television screen intercepted at different times, and sets the region as a static region.
  • the pixel at the location of the static zone changes to know that the display layer corresponding to the current television screen is the advertisement interface display layer.
  • the display layer of the advertisement interface is scaled and moved to the static area. Since the user does not operate on the static area, the advertisement playing in the static area does not affect the operation of the user on the television, thereby achieving parallel playback of the advertisement and the television operation.
  • the static area detecting module 200 includes:
  • the first detecting unit 210 is configured to compare the pixels on the corresponding coordinates of the television pictures that are intercepted twice, and the pixels that are not changed are set as static pixels, and acquire the number of static pixels.
  • the first detecting unit 210 compares the pixels of the adjacent two images in the first memory to the coordinates of the coordinates, and the difference of 0 indicates that the pixels of the coordinate do not change in the preset time interval. Pixels, in addition, the number of static pixels is counted for subsequent comparison with the total pixels of the TV picture. If the number of static pixels in a region is large, the advertisement can be completely displayed in the area where the static pixels are located, if the static pixels are in an area. The number of inside is small, that is to say, the distribution of static pixels on the screen is relatively scattered, and the area where such static pixels are located is not suitable for placing advertisements.
  • the picture in the first memory is obtained by intercepting a frame picture obtained by the television screen, and the frame picture is an image, and the image storage is stored in pixels, and the display is a scanning display mode with a resolution of 800 ⁇ 600.
  • each horizontal line contains 800 pixels, and there are 600 lines, that is, the number of scanning columns is 800, the number of rows is 600, and 800 ⁇ 600 is 480,000 pixels.
  • the first processing unit 220 is configured to set a display area corresponding to the static pixel as the static area when the number of the static pixels is greater than one tenth of a total pixel of the television picture.
  • the number of static pixels is 50,000
  • the number of static pixels is greater than one tenth of the total pixels of the television picture, indicating that the area where the still image is located is also
  • the static area is suitable for placing the advertising interface.
  • the pixels that have not changed are set as static pixels, and when the number of the static pixels is greater than the total pixels of the television screen.
  • the static pixels form the static zone so that the static zone can be accurately determined.
  • FIG. 8 is a third embodiment of a screen display processing apparatus for a smart television according to the present invention.
  • the advertisement detecting module 400 includes:
  • the text recognition unit 410 is configured to perform character recognition processing on the television screen when the currently captured television picture changes in the pixel of the static area, and determine whether the recognized text contains a preset target character.
  • the characters in the screen are recognized, and the recognized characters are compared with the preset target characters.
  • the preset target characters are some common advertisement identifiers, such as advertisements, trademark names, and the like.
  • the second processing module 420 is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the recognized text contains a preset target character.
  • the television screen may be further determined to be an advertisement interface.
  • the advertisement interface may display the words “advertising” or “KFC”, if The text containing the words can determine that the current television picture is an advertisement interface, so that the second processing module 420 stores the advertisement interface in the second memory to subsequently scale the advertisement interface.
  • the scaling module 500 includes:
  • a second detecting unit 510 configured to acquire coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, and set the number of the static pixels in a horizontal direction to a first number and The number of the static pixels in the vertical direction is set to a second number.
  • the coordinates of the static pixels are saved to later move the advertisement interface display layer to the area where the static pixels are located, and further, the first number of the static pixels in the horizontal direction and the second number in the vertical direction are saved for subsequent determination.
  • the ad interface displays the size of the layer zoom.
  • the scaling advertisement unit 520 is configured to reduce the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reduce the number of pixels in the vertical direction to the second number.
  • the display advertisement unit 530 is configured to set coordinates of the advertisement interface display layer to coordinates of the static pixel.
  • the zoom advertisement unit 520 reduces the number of pixels in the horizontal direction of the advertisement interface display layer to the first The number, the number of pixels in the vertical direction is reduced to the second number, thereby determining the scale of the advertisement interface display layer scaling, and then the display advertisement unit 530 sets the coordinates of the advertisement interface display layer to the coordinates of the static pixel. Thereby moving the advertisement interface display layer to the static area.
  • the zoom size of the advertisement interface display layer is determined according to the number of static pixels in the horizontal direction and the vertical direction, so that the advertisement can be more accurately reduced to the static area.
  • the screen display processing apparatus of the smart television further includes:
  • the monitoring module 600 is configured to monitor whether the button and/or mouse event is in an idle state.
  • the listening module 600 monitors whether the button and/or the mouse event is in an idle state; if yes, the screen capture module 100 is entered, and if not, the processing is not performed, and the user normally views the advertisement.
  • the mouse input and keyboard input can be monitored in real time. When the keyboard and mouse do nothing, the timer beats the timer. When the mouse or button is moved, the timer returns to zero, thereby monitoring the idle state of the input device. Before the time is set, the time event identifier and the time unit time are 1 second, and the time event identifier is compared. If the difference is 1, the button and/or mouse event is idle. If the difference is 0, the button is pressed. And/or mouse events are busy.
  • the monitored button and/or mouse event may be the up, down, left and right handles, if the user does not operate the button and / mouse, the user does not want to view the advertisement, then enters the screen capture module 100; If the user does not operate the button and/or mouse, it means that the user wants to watch the advertisement, and does not do any processing, and does not enter the screen capture module 100.
  • the user by monitoring the button and/or mouse event to determine whether the user wants to view the advertisement, the user is provided with two options of normal viewing advertisement and automatic zooming advertisement.

Landscapes

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

Abstract

Disclosed is a picture display processing method of a smart TV, comprising: capturing a TV picture at every preset time interval; setting a region in the captured TV picture, where picture pixels are not changed, as a static region; detecting, in real time, whether the pixels of the static region are changed; determining that a display layer corresponding to the currently captured TV picture is an advertisement interface display layer when the pixels of the currently captured TV picture in the static region are changed; and scaling the advertisement interface display layer and moving the advertisement interface display layer to the static region for display. Also disclosed is a picture display processing device of a smart TV. According to the present invention, advertisement playing can be achieved while not influencing a user to operate the TV.

Description

智能电视的画面显示处理方法及装置  Screen display processing method and device for smart television
技术领域Technical field
本发明涉及电视技术领域,尤其涉及智能电视的画面显示处理方法及装置。The present invention relates to the field of television technologies, and in particular, to a screen display processing method and apparatus for a smart television.
背景技术Background technique
智能电视,是具有全开放式平台,搭载了操作系统,用户在欣赏普通电视内容的同时,可自行安装和卸载各类应用软件,持续对功能进行扩充和升级的新电视产品。随着智能电视的普及,越来越多的广告商通过智能电视的渠道来做广告。广告一般被推送到智能应用界面上,用户需要耽误时间等待广告播放完,不能同时看广告和操作电视,对正在操作电视的用户带来了影响。Smart TV is a new TV product with a fully open platform and an operating system. Users can install and uninstall various application software while continuing to appreciate and upgrade their functions while enjoying ordinary TV content. With the popularity of smart TV, more and more advertisers are advertising through the channels of smart TV. Advertisements are generally pushed to the smart application interface. Users need to wait for the advertisement to finish playing, not to watch advertisements and operate the TV at the same time, which has an impact on the users who are operating the TV.
发明内容Summary of the invention
本发明的主要目的在于提供一种智能电视的画面显示处理方法及装置,旨在广告播放的同时不影响用户对电视的操作。The main object of the present invention is to provide a screen display processing method and apparatus for a smart TV, which aims to prevent the user from operating on the television while playing the advertisement.
为实现上述目的,本发明提供的一种智能电视的画面显示处理方法,所述智能电视的画面显示处理方法包括以下步骤:To achieve the above objective, the present invention provides a screen display processing method for a smart television, and the screen display processing method of the smart television includes the following steps:
每隔预设的时间间隔截取电视画面;Intercepting the TV screen every preset time interval;
将截取的电视画面中画面像素未发生变化的区域设定为静态区;Setting an area of the intercepted TV picture where the pixel of the picture has not changed is set as a static area;
实时侦测所述静态区的像素是否发生变化;Real-time detecting whether the pixels of the static area change;
当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层;When the currently captured television picture changes in the pixel of the static area, it is determined that the display layer corresponding to the currently intercepted TV picture is an advertisement interface display layer;
将所述广告界面显示层进行缩放处理,并移动至所述静态区显示。The advertisement interface display layer is scaled and moved to the static area display.
优选地,所述将截取的电视画面中画面像素未发生变化的区域设定为静态区包括:Preferably, the setting, as the static area, the area in the screen of the intercepted television picture that has not changed is:
将相邻两次截取的电视画面相应坐标上的像素一一进行比对,未发生变化的像素设定为静态像素,并获取静态像素的数量;Comparing the pixels on the corresponding coordinates of the two adjacent television pictures to each other, the pixels that have not changed are set as static pixels, and the number of static pixels is obtained;
当所述静态像素的数量大于电视画面总像素的十分之一时,将所述静态像素对应的显示区域设定为所述静态区。When the number of the static pixels is greater than one tenth of the total pixels of the television picture, the display area corresponding to the static pixels is set as the static area.
优选地,所述当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层包括:Preferably, when the currently intercepted television picture changes in the pixel of the static area, determining that the display layer corresponding to the currently intercepted TV picture is the advertisement interface display layer comprises:
当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符;When the currently captured television picture changes in the pixel of the static area, performing character recognition processing on the television picture, and determining whether the recognized text contains a preset target character;
当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。When the recognized text contains the preset target character, it is determined that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer.
优选地,所述将所述广告界面显示层进行缩放处理,移动至所述静态区显示包括:Preferably, the displaying, by the advertising interface display layer, a scaling process, and moving to the static zone display comprises:
获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目;Obtaining coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, setting the number of the static pixels in a horizontal direction to a first number and the static pixels in a vertical direction The quantity is set to the second number;
将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;Shrinking the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reducing the number of pixels in the vertical direction to the second number;
将所述广告界面显示层的坐标设定为所述静态像素的坐标。The coordinates of the display layer of the advertisement interface are set to the coordinates of the static pixel.
优选地,所述每隔预设的时间间隔截取电视画面之前还包括:Preferably, before the intercepting the television screen every preset time interval, the method further includes:
监听按键和/或鼠标事件是否处于闲置状态;Monitor whether the button and/or mouse event is idle;
当监听按键和/或鼠标事件处于闲置状态时,每隔预设的时间间隔截取电视画面。When the monitor button and/or mouse event is idle, the TV screen is captured every preset time interval.
此外,为实现上述目的,本发明还提供一种智能电视的画面显示处理装置,所述智能电视的画面显示处理放装置包括:In addition, in order to achieve the above object, the present invention further provides a screen display processing device for a smart television, wherein the screen display processing device of the smart television includes:
截屏模块,用于每隔预设的时间间隔截取电视画面;a screen capture module for intercepting a television screen every preset time interval;
静态区侦测模块,用于将截取的电视画面中画面像素未发生变化的区域设定为静态区;a static area detecting module, configured to set, as a static area, an area in the captured television picture where the pixel of the picture does not change;
实时侦测模块,用于实时侦测所述静态区的像素是否发生变化;a real-time detection module, configured to detect, in real time, whether a pixel of the static area changes;
广告侦测模块,用于当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层;The advertisement detecting module is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the currently captured television picture changes in the pixel of the static area;
缩放模块,用于将所述广告界面显示层进行缩放处理,并移动至所述静态区显示。And a zooming module, configured to perform scaling processing on the advertisement interface display layer, and move to the static area display.
优选地,所述静态区侦测模块包括:Preferably, the static area detection module includes:
第一侦测单元,用于将相邻两次截取的电视画面相应坐标上的像素一一进行比对,未发生变化的像素设定为静态像素,并获取静态像素的数量;The first detecting unit is configured to compare the pixels on the corresponding coordinates of the television pictures that are respectively intercepted twice, and the pixels that have not changed are set as static pixels, and acquire the number of static pixels;
第一处理单元,用于当所述静态像素的数量大于电视画面总像素的十分之一时,将所述静态像素对应的显示区域设定为所述静态区。a first processing unit, configured to set a display area corresponding to the static pixel as the static area when the number of the static pixels is greater than one tenth of a total pixel of the television picture.
优选地,所述广告侦测模块包括:Preferably, the advertisement detection module includes:
文字识别单元,用于当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符;a text recognition unit, configured to perform a character recognition process on the television screen when the currently captured television picture changes in a pixel of the static area, and determine whether the recognized text contains a preset target character;
第二处理单元,用于当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。The second processing unit is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the recognized text contains a preset target character.
优选地,所述缩放模块包括:Preferably, the scaling module comprises:
第二侦测单元,用于获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目;a second detecting unit, configured to acquire coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, and set the number of the static pixels in a horizontal direction to a first number and a The number of static pixels in the vertical direction is set to a second number;
缩放广告单元,用于将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;a zooming advertising unit, configured to reduce a number of pixels in a horizontal direction of the advertisement interface display layer to the first number, and reduce a number of pixels in a vertical direction to the second number;
显示广告单元,用于将所述广告界面显示层的坐标设定为所述静态像素的坐标。Displaying an advertisement unit for setting coordinates of the advertisement interface display layer to coordinates of the static pixel.
优选地,所述智能电视的画面显示处理装置还包括:Preferably, the screen display processing device of the smart TV further includes:
监听模块,用于监听按键和/或鼠标事件是否处于闲置状态。A listening module for monitoring whether a button and/or mouse event is idle.
本发明提出的一种智能电视的画面显示处理方法及装置,根据比较不同时间截取的电视画面确定画面中未发生变化的区域,将该区域设定为静态区。当广告播放时,静态区所在位置的像素发生变化从而得知当前电视画面对应的显示层为广告界面显示层。将广告界面显示层缩放,并移动到静态区,由于用户不会对静态区进行操作,广告在静态区播放不会影响用户对电视的操作,从而实现了广告播放和电视操作并行。A screen display processing method and apparatus for a smart television according to the present invention determines an area that has not changed in a screen based on comparing television pictures taken at different times, and sets the area as a static area. When the advertisement is played, the pixel at the location of the static zone changes to know that the display layer corresponding to the current television screen is the advertisement interface display layer. The display layer of the advertisement interface is scaled and moved to the static area. Since the user does not operate on the static area, the advertisement playing in the static area does not affect the operation of the user on the television, thereby achieving parallel playback of the advertisement and the television operation.
附图说明DRAWINGS
图1为本发明智能电视的画面显示处理方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a screen display processing method for a smart television according to the present invention;
图2为本发明智能电视的画面显示处理方法第二实施例中设定静态区的细化流程示意图;2 is a schematic diagram showing a refinement flow of setting a static area in a second embodiment of a screen display processing method of a smart television according to the present invention;
图3为本发明智能电视的画面显示处理方法第三实施例中判断当前截取的电视画面对应的显示层是否为广告界面显示层的细化流程示意图;3 is a schematic diagram showing a refinement process of determining whether a display layer corresponding to a currently captured television picture is an advertisement interface display layer in a third embodiment of the screen display processing method of the smart television according to the present invention;
图4为本发明智能电视的画面显示处理方法第四实施例中对广告界面显示层进行调整的细化流程示意图;4 is a schematic diagram of a refinement process for adjusting an advertisement interface display layer in a fourth embodiment of a screen display processing method of a smart television according to the present invention;
图5为本发明智能电视的画面显示处理方法第五实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a screen display processing method for a smart television according to the present invention; FIG.
图6为本发明智能电视的画面显示处理装置第一实施例的功能模块示意图;6 is a schematic diagram of functional modules of a first embodiment of a screen display processing apparatus for a smart television according to the present invention;
图7为本发明智能电视的画面显示处理装置第二实施例中静态区侦测模块的细化功能模块示意图;7 is a schematic diagram of a refinement function module of a static area detecting module in a second embodiment of a screen display processing device of a smart television according to the present invention;
图8为本发明智能电视的画面显示处理装置第三实施例中广告侦测模块的细化功能模块示意图;8 is a schematic diagram of a refinement function module of an advertisement detection module in a third embodiment of a screen display processing device of a smart television according to the present invention;
图9为本发明智能电视的画面显示处理装置第四实施例中缩放模块的细化功能模块示意图;9 is a schematic diagram of a refinement function module of a zoom module in a fourth embodiment of a screen display processing device of a smart television according to the present invention;
图10为本发明智能电视的画面显示处理装置第五实施例的功能模块示意图。FIG. 10 is a schematic diagram of functional modules of a fifth embodiment of a screen display processing apparatus for a smart television according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种智能电视的画面显示处理方法及装置。The invention provides a screen display processing method and device for a smart TV.
参照图1,为本发明智能电视的画面显示处理方法的第一实施例,所述方法包括以下步骤:1 is a first embodiment of a method for processing a screen display of a smart television according to the present invention, the method comprising the following steps:
步骤S100,每隔预设的时间间隔截取电视画面。In step S100, the television screen is intercepted every preset time interval.
具体地,预设的时间间隔以秒为单位,比如预设的时间间隔为9s,那么第1s、第10s截取电视画面,并将电视画面存储在第一存储器,这种方式避免了系统时时截屏从而不会严重影响电视系统的资源。Specifically, the preset time interval is in units of seconds, for example, the preset time interval is 9s, then the first s, 10s s intercepts the television picture, and stores the television picture in the first memory, which avoids the system screen capture from time to time. Therefore, the resources of the television system will not be seriously affected.
步骤S200,将截取的电视画面中画面像素未发生变化的区域设定为静态区。In step S200, an area of the intercepted television picture in which the picture pixel has not changed is set as a static area.
具体地,将第一存储器中相邻两电视画面的相同位置进行一一比对,进而确定预设的时间间隔内未发生变化的区域。可以通过比对电视画面相同位置的像素,也可以通过比对电视画面相同位置的亮度、色度信息从而判别电视画面在预设的时间间隔内未发生变化的区域,以windows界面为例,桌面左下角的开始图标在一般的操作中都是未变化的区域,这一区域设定为静态区。Specifically, the same positions of two adjacent television pictures in the first memory are compared one by one, thereby determining an area that has not changed within a preset time interval. You can distinguish the area where the TV picture has not changed within the preset time interval by comparing the pixels at the same position on the TV screen, or by comparing the brightness and chrominance information of the same position on the TV screen. For example, the windows interface is used as the desktop. The start icon in the lower left corner is an unchanging area in normal operation, and this area is set as a static area.
步骤S300,实时侦测所述静态区的像素是否发生变化。In step S300, it is detected in real time whether the pixels of the static area change.
步骤S400,当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层。Step S400: When the currently captured television picture changes in the pixel of the static area, it is determined that the display layer corresponding to the currently intercepted TV picture is the advertisement interface display layer.
具体地,静态区确定后,以静态区为标识来判断是否出现广告,如果当前截取的电视画面在静态区的位置的像素发生变化,说明当前截取的电视画面不是电视操作界面或者应用界面,从而判断广告来袭,并且将判定为广告界面的电视画面存储在第二存储器,与第一存储器中存储的电视操作界面或者应用界面的电视画面区分。Specifically, after the static area is determined, the static area is used as an identifier to determine whether an advertisement appears. If the currently captured television picture changes in the position of the static area, the currently intercepted television picture is not a television operation interface or an application interface, thereby The advertisement is judged to be attacked, and the television screen determined as the advertisement interface is stored in the second memory, and is distinguished from the television operation interface stored in the first memory or the television screen of the application interface.
步骤S500,将所述广告界面显示层进行缩放处理,并移动至所述静态区显示。In step S500, the advertisement interface display layer is subjected to scaling processing and moved to the static area display.
具体地,创建一个图层,移动广告界面显示层到图层上,并将广告界面显示层的位置设定成静态区的位置,图层中的其他区域设定成透明区域用于显示游戏或者视频的节目,从而使得广告界面显示层在静态区显示且不影响用户操作电视界面。Specifically, create a layer, move the advertisement interface display layer to the layer, and set the position of the advertisement interface display layer to the position of the static area, and set other areas in the layer to be transparent areas for displaying the game or The program of the video, such that the display layer of the advertisement interface is displayed in the static area and does not affect the user operating the television interface.
本发明提出的一种智能电视的画面显示处理方法,根据比较不同时间截取的电视画面确定画面中未发生变化的区域,将该区域设定为静态区。当广告播放时,静态区所在位置的像素发生变化从而得知当前电视画面对应的显示层为广告界面显示层。将广告界面显示层缩放,并移动到静态区,由于用户不会对静态区进行操作,广告在静态区播放不会影响用户对电视的操作,从而实现了广告播放和电视操作并行。The screen display processing method of the smart TV according to the present invention determines the area that has not changed in the screen according to the television picture intercepted at different times, and sets the area as a static area. When the advertisement is played, the pixel at the location of the static zone changes to know that the display layer corresponding to the current television screen is the advertisement interface display layer. The display layer of the advertisement interface is scaled and moved to the static area. Since the user does not operate on the static area, the advertisement playing in the static area does not affect the operation of the user on the television, thereby achieving parallel playback of the advertisement and the television operation.
进一步地,参照图2,为本发明智能电视的画面显示处理方法的第二实施例,基于第一实施例,上述将截取的电视画面中画面像素未发生变化的区域设定为静态区的步骤包括:Further, referring to FIG. 2, a second embodiment of a screen display processing method for a smart television according to the present invention, according to the first embodiment, the step of setting an area of a television picture that has not been changed in the captured television picture as a static area is performed. include:
步骤S210,将相邻两次截取的电视画面相应坐标上的像素一一进行比对,未发生变化的像素设定为静态像素,并获取静态像素的数量。In step S210, the pixels on the corresponding coordinates of the two adjacent television pictures are compared one by one, and the pixels that have not changed are set as static pixels, and the number of static pixels is acquired.
具体地,将第一存储器中相邻两画面一一对应坐标的像素做差值,差值为0的部分说明该坐标的像素在预设的时间间隔内没有变化属于静态像素,另外统计静态像素的数量是为了后续与电视画面总像素进行比较,如果静态像素在一个区域内的数量较多就可以将广告完整地显示在静态像素所在的区域,如果静态像素在一个区域内的数量较少,也就是说静态像素在画面上的分布比较零散,那这样的静态像素所在的区域不适合放置广告。Specifically, the pixels of the adjacent two images in the first memory are compared with each other, and the difference of 0 indicates that the pixels of the coordinate do not change in the preset time interval and belong to the static pixel, and the static pixel is also counted. The number is for subsequent comparison with the total pixels of the TV picture. If the number of static pixels in a region is large, the advertisement can be completely displayed in the area where the static pixels are located. If the number of static pixels in a region is small, That is to say, the distribution of static pixels on the screen is relatively scattered, and the area where such static pixels are located is not suitable for placing advertisements.
其中,第一存储器中画面来自截取电视荧幕获取得的帧画面,帧画面即为图像,图像的存储按像素存储,显示的时候是一种扫描显示的方式,以分辨率为800×600的屏幕来说,即每一条水平线上包含有800个像素点,共有600条线,即扫描列数为800列,行数为600行,有800×600也就是48万个像素点。The picture in the first memory is obtained by intercepting a frame picture obtained by the television screen, and the frame picture is an image, and the image storage is stored in pixels, and the display is a scanning display mode with a resolution of 800×600. In terms of the screen, each horizontal line contains 800 pixels, and there are 600 lines, that is, the number of scanning columns is 800, the number of rows is 600, and 800×600 is 480,000 pixels.
步骤S220,当所述静态像素的数量大于电视画面总像素的十分之一时,将所述静态像素对应的显示区域设定为所述静态区。Step S220: When the number of the static pixels is greater than one tenth of the total pixels of the television screen, the display area corresponding to the static pixels is set as the static area.
具体地,还是以分辨率为800×600的屏幕来说,当静态像素数量为5万个时,静态像素数量大于电视画面总像素的十分之一,说明此时静态像所在的区域也即静态区适合放置广告界面。Specifically, in the case of a screen with a resolution of 800×600, when the number of static pixels is 50,000, the number of static pixels is greater than one tenth of the total pixels of the television picture, indicating that the area where the still image is located is also The static area is suitable for placing the advertising interface.
以下为步骤S210和步骤S220具体的设计样例:The following is a specific design example of step S210 and step S220:
Video_Frame1_R_Pix(x1) =255//视频1s第一帧:红色像素增益:255Video_Frame1_R_Pix(x1) =255//Video 1s first frame: red pixel gain: 255
Video_Frame1_G_Pix(x1) =255//视频1s第一帧:绿像素增益:255Video_Frame1_G_Pix(x1) =255//Video 1s first frame: Green pixel gain: 255
Video_Frame1_B_Pix(x1) =128//视频1s第一帧:蓝像素增益:128Video_Frame1_B_Pix(x1) =128//Video 1s First frame: Blue pixel gain: 128
Video_Frame10_R_Pix(x1) =255//视频10s第一帧:红色像素增益:255Video_Frame10_R_Pix(x1) =255//Video 10s first frame: red pixel gain: 255
Video_Frame10_G_Pix(x1) =255//视频10s第一帧:绿像素增益:255Video_Frame10_G_Pix(x1) =255//Video 10s First frame: Green pixel gain: 255
Video_Frame10_B_Pix(x1) =128//视频10s第一帧:蓝像素增益:128Video_Frame10_B_Pix(x1) =128//Video 10s First frame: Blue pixel gain: 128
Dif_Frame1_R_Pix(x1)=Video_Frame1_R_Pix(x1)-Video_Frame10_R_Pix(x1)=0//坐标为1,红色的差值为0Dif_Frame1_R_Pix(x1)=Video_Frame1_R_Pix(x1)-Video_Frame10_R_Pix(x1)=0//Coordinate is 1, red difference is 0
Dif_Frame1_G_Pix(x1)=Video_Frame1_G_Pix(x1)-Video_Frame10_G_Pix(x1)=0//坐标为1,绿色的差值为0Dif_Frame1_G_Pix(x1)=Video_Frame1_G_Pix(x1)-Video_Frame10_G_Pix(x1)=0//Coordinate is 1, green difference is 0
Dif_Frame1_B_Pix(x1)=Video_Frame1_B_Pix(x1)-Video_Frame10_B_Pix(x1)=0//坐标为1,蓝色的差值为0Dif_Frame1_B_Pix(x1)=Video_Frame1_B_Pix(x1)-Video_Frame10_B_Pix(x1)=0//Coordinate is 1, blue difference is 0
本实施例中,通过将所述第一存储器中电视画面相应坐标上的像素一一进行比对,没有发生变化的像素设定为静态像素,当所述静态像素数量大于电视画面总像素的十分之一时,所述静态像素形成所述静态区,从而能够准确确定静态区。In this embodiment, by comparing the pixels on the corresponding coordinates of the television screen in the first memory, the pixels that have not changed are set as static pixels, and when the number of the static pixels is greater than the total pixels of the television screen. In one step, the static pixels form the static zone so that the static zone can be accurately determined.
进一步地,参照图3,为本发明智能电视的画面显示处理方法的第三实施例,在上述第一实施例或第二实施例的基础上,上述当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层的步骤包括:Further, referring to FIG. 3, a third embodiment of a screen display processing method for a smart television according to the present invention, on the basis of the first embodiment or the second embodiment, the currently intercepted television picture is in the static area. When the pixel changes, the step of determining that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer includes:
步骤S410,当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符。Step S410: When the currently captured television picture changes in the pixel of the static area, perform character recognition processing on the television picture, and determine whether the recognized text contains a preset target character.
具体地,通过改变文字的大小使之与电视画面中的文字像素匹配,并与云端中保存的文字进行比较从而识别出画面中的文字,并将识别的文字与预设的目标字符进行比对,所述预设的目标字符为一些常见的广告标识,比如:广告、商标的名称等。Specifically, by changing the size of the text to match the text pixels in the television screen, and comparing with the text saved in the cloud, the characters in the screen are recognized, and the recognized characters are compared with the preset target characters. The preset target characters are some common advertisement identifiers, such as advertisements, trademark names, and the like.
步骤S420,当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。In step S420, when the recognized text contains the preset target character, it is determined that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer.
具体地,如果识别出的文字含有预设的目标字符,可以进一步确定所述电视画面为广告界面,比如在播放肯德基的广告时,广告界面会出现“广告”或“KFC”等字样,如果识别出的文字含有这些字样,即可确定当前电视画面为广告界面,从而将该广告界面存储在第二存储器,以便后续缩放该广告界面。Specifically, if the recognized text contains a preset target character, the television screen may be further determined to be an advertisement interface. For example, when playing an advertisement of KFC, the advertisement interface may display the words “advertising” or “KFC”, if The text containing the words may determine that the current television picture is an advertising interface, thereby storing the advertising interface in the second memory for subsequent scaling of the advertising interface.
本实施例中,通过判定电视画面是否含有特目标字符进一步确定当前电视画面是否为广告界面,使得能够更加准确地将广告界面显示层缩小至静态区。In this embodiment, it is further determined whether the current television screen is an advertisement interface by determining whether the television screen contains the special target character, so that the advertisement interface display layer can be more accurately reduced to the static area.
进一步地,参照图4,为本发明智能电视的画面显示处理方法的第四实施例,在上述第三实施例的基础上,上述将所述广告界面显示层进行缩放处理,移动至所述静态区显示的步骤包括:Further, referring to FIG. 4, a fourth embodiment of a screen display processing method for a smart television according to the present invention, on the basis of the third embodiment, the advertising interface display layer is scaled and moved to the static The steps displayed in the area include:
步骤S510,获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目。Step S510, acquiring coordinates of the static pixel and the number of pixels of the static pixel in the horizontal direction and the vertical direction, setting the number of the static pixels in the horizontal direction to the first number and the static pixel to the vertical The number of straight directions is set to the second number.
具体地,保存静态像素的坐标以便后期将广告界面显示层移动到所述静态像素所在的区域,另外,保存静态像素在水平方向的第一数目和在竖直方向的第二数目是为了后续确定广告界面显示层缩放的大小。Specifically, the coordinates of the static pixels are saved to later move the advertisement interface display layer to the area where the static pixels are located, and further, the first number of the static pixels in the horizontal direction and the second number in the vertical direction are saved for subsequent determination. The ad interface displays the size of the layer zoom.
步骤S520,将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;Step S520, reducing the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reducing the number of pixels in the vertical direction to the second number;
步骤S530,将所述广告界面显示层的坐标设定为所述静态像素的坐标。Step S530, setting coordinates of the advertisement interface display layer as coordinates of the static pixel.
具体地,以上已经通过识别画面中是否存在目标字符确定当前电视画面是否为广告界面,若为广告界面,就将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目,从而确定了广告界面显示层缩放的比例,接着将所述广告界面显示层的坐标设定为所述静态像素的坐标从而将所述广告界面显示层移动至静态区。Specifically, the above has determined whether the current TV picture is an advertisement interface by identifying whether the target character exists in the screen, and if it is an advertisement interface, reducing the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, vertical The number of pixels in the direction is reduced to the second number, thereby determining the proportion of the advertisement interface display layer scaling, and then setting the coordinates of the advertisement interface display layer to the coordinates of the static pixel to display the advertisement interface display layer Move to the static zone.
以下为步骤S510和步骤S520具体的设计样例:The following is a specific design example of step S510 and step S520:
Vide_Total_X_Dif(x) =380//水平方向上静态像素的个数为380Vide_Total_X_Dif(x) =380//The number of static pixels in the horizontal direction is 380
Vide_Total_Y_Dif(x) =380//竖直方向上静态像素的个数为380Vide_Total_Y_Dif(x) =380//The number of static pixels in the vertical direction is 380
Layout¬_Frame1_X (x1) = Vide_Total_X_Dif(x) =380///第二存储器中找到显示特定字符的帧画面,将该帧画面消除相同像素X水平方向上缩小到:380Layout¬_Frame1_X (x1) = Vide_Total_X_Dif(x) =380/// Find the frame picture showing the specific character in the second memory, and reduce the frame picture by the same pixel X horizontally to: 380
Layout¬_Frame1_Y (x1) = Vide_Total_Y_Dif(x) =380///第二存储器中找到显示特定字符的帧画面,将该帧画面消除相同像素Y水平方向上缩小到:380Layout¬_Frame1_Y (x1) = Vide_Total_Y_Dif(x) =380///The second memory finds the frame picture showing the specific character, and the frame picture is reduced to the same pixel Y horizontal direction to be reduced to: 380
本实施例中,根据静态像素在水平方向和竖直方向的数量确定了广告界面显示层的缩放尺寸,使得能够更加准确地将广告缩小至静态区。In this embodiment, the zoom size of the advertisement interface display layer is determined according to the number of static pixels in the horizontal direction and the vertical direction, so that the advertisement can be more accurately reduced to the static area.
进一步地,参照图5,为本发明智能电视的画面显示处理方法的第五实施例,在上述第一实施例的基础上,所述每隔预设的时间间隔截取电视画面之前还包括:Further, referring to FIG. 5, a fifth embodiment of a method for processing a screen display of a smart television according to the present invention, on the basis of the foregoing first embodiment, the method further includes:
步骤S600,监听按键和/或鼠标事件是否处于闲置状态;当监听按键和/或鼠标事件处于闲置状态时,每隔预设的时间间隔截取电视画面。In step S600, the monitor button and/or the mouse event are in an idle state; when the monitor button and/or the mouse event are in an idle state, the television screen is intercepted every preset time interval.
具体地,监听按键和/或鼠标事件是否处于闲置状态;若是,则进入步骤S100,若否,则不进行处理,用户正常观看广告。可以通过实时监控鼠标输入和键盘输入,当键盘和鼠标什么也不做时,计时器跳动计时,当移动鼠标或按键时,计时器恢复到零,从而实现对输入设备闲置状态的监控;也可以设定时间前一时刻时间事件标识与周期单位时间1秒后一时刻时间事件标识做差值,若差值为1,则按键和/或鼠标事件处于闲置状态,若差值为0,则按键和/或鼠标事件处于忙碌状态。Specifically, whether the monitor button and/or the mouse event are in an idle state; if yes, the process proceeds to step S100, and if not, the process is not performed, and the user normally views the advertisement. The mouse input and keyboard input can be monitored in real time. When the keyboard and mouse do nothing, the timer beats the timer. When the mouse or button is moved, the timer returns to zero, thereby monitoring the idle state of the input device. Before the time is set, the time event identifier and the time unit time are 1 second, and the time event identifier is compared. If the difference is 1, the button and/or mouse event is idle. If the difference is 0, the button is pressed. And/or mouse events are busy.
其中,当用户操作的是电视的游戏应用时,监听的按键和/或鼠标事件可能为上下左右手柄,如果用户不对按键和/鼠标进行操作,则说明用户不想观看广告,则依次进入步骤S100至步骤S500,将广告缩放至静态区;如果用户对按键和/鼠标进行操作,则说明用户想观看广告,则不做任何处理,不进入步骤S100。Wherein, when the user operates the game application of the television, the monitored button and/or mouse event may be the up, down, left and right handles. If the user does not operate the button and/or mouse, the user does not want to view the advertisement, and then proceeds to step S100. In step S500, the advertisement is zoomed to the static area; if the user operates the button and/or the mouse, it means that the user wants to watch the advertisement, and then does not perform any processing, and does not proceed to step S100.
本实施例中,通过对按键和/或鼠标事件进行监听判断用户是否想观看广告,从而为用户提供了正常观看广告和自动缩放广告两种选择。In this embodiment, by monitoring the button and/or mouse event to determine whether the user wants to view the advertisement, the user is provided with two options of normal viewing advertisement and automatic zooming advertisement.
本发明还提供一种智能电视的画面显示处理装置,参照图6,为本发明智能电视的画面显示处理装置的第一实施例,所述智能电视的画面显示处理装置包括:The present invention also provides a screen display processing device for a smart television. Referring to FIG. 6 , a first embodiment of a screen display processing device for a smart television according to the present invention includes:
截屏模块100,用于每隔预设的时间间隔截取电视画面。The screen capture module 100 is configured to intercept a television screen every preset time interval.
具体地,预设的时间间隔以秒为单位,比如预设的时间间隔为9s,那么截屏模块100在第1s、第10s截取电视画面,并将电视画面存储在第一存储器,这种方式避免了系统时时截屏从而不会严重影响电视系统的资源。Specifically, the preset time interval is in seconds, for example, the preset time interval is 9s, then the screen capture module 100 intercepts the television picture in the 1st and 10th, and stores the television picture in the first memory, thereby avoiding The system screen captures from time to time so that the resources of the television system are not seriously affected.
静态区侦测模块200,用于将截取的电视画面中画面像素未发生变化的区域设定为静态区。The static area detecting module 200 is configured to set an area of the intercepted television picture where the picture pixel has not changed as a static area.
具体地,将第一存储器中相邻两电视画面的相同位置进行一一比对,进而确定预设的时间间隔内未发生变化的区域。可以通过比对电视画面相同位置的像素,也可以通过比对电视画面相同位置的亮度、色度信息从而判别电视画面在预设的时间间隔内未发生变化的区域,以windows界面为例,桌面左下角的开始图标在一般的操作中都是未变化的区域,这一区域设定为静态区。Specifically, the same positions of two adjacent television pictures in the first memory are compared one by one, thereby determining an area that has not changed within a preset time interval. You can distinguish the area where the TV picture has not changed within the preset time interval by comparing the pixels at the same position on the TV screen, or by comparing the brightness and chrominance information of the same position on the TV screen. For example, the windows interface is used as the desktop. The start icon in the lower left corner is an unchanging area in normal operation, and this area is set as a static area.
实时侦测模块300,用于实时侦测所述静态区的像素是否发生变化;The real-time detection module 300 is configured to detect, in real time, whether a pixel of the static area changes;
广告侦测模块400,用于当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层。The advertisement detecting module 400 is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the currently captured television picture changes in the pixel of the static area.
具体地,静态区确定后,实时侦测模块300以静态区为标识来判断是否出现广告,如果当前截取的画面在静态区的位置的像素发生变化,说明当前截取的电视画面不是电视操作界面或者应用界面,从而广告侦测模块400判断广告来袭,并且将判定为广告界面的电视画面存储在第二存储器,与第一存储器中存储的电视操作界面或者应用界面的电视画面区分。Specifically, after the static area is determined, the real-time detection module 300 determines whether an advertisement appears by using the static area as an identifier. If the pixel of the currently intercepted picture in the static area changes, it indicates that the currently intercepted TV picture is not a TV operation interface or The application interface, so that the advertisement detection module 400 determines that the advertisement is coming, and stores the television screen determined as the advertisement interface in the second memory, which is distinguished from the television operation interface stored in the first memory or the television screen of the application interface.
缩放模块500,用于所述广告界面显示层进行缩放处理,并移动至所述静态区显示。The scaling module 500 is configured to perform a scaling process on the advertisement interface display layer and move to the static zone display.
具体地,缩放模块500创建一个图层,移动广告界面显示层到图层上,并将广告界面显示层的位置设定成静态区的位置,图层中的其他区域设定成透明区域用于显示游戏或者视频的节目,从而使得广告界面显示层在静态区显示且不影响用户操作电视界面。Specifically, the zoom module 500 creates a layer, moves the advertisement interface display layer to the layer, and sets the position of the advertisement interface display layer to the position of the static area, and the other areas in the layer are set to be transparent areas for The program of the game or video is displayed such that the advertising interface display layer is displayed in the static area and does not affect the user operating the television interface.
本发明提出的一种智能电视的画面显示处理装置,根据比较不同时间截取的电视画面确定画面中未发生变化的区域,将该区域设定为静态区。当广告播放时,静态区所在位置的像素发生变化从而得知当前电视画面对应的显示层为广告界面显示层。将广告界面显示层缩放,并移动到静态区,由于用户不会对静态区进行操作,广告在静态区播放不会影响用户对电视的操作,从而实现了广告播放和电视操作并行。The screen display processing device of the smart television according to the present invention determines the region that has not changed in the screen according to the television screen intercepted at different times, and sets the region as a static region. When the advertisement is played, the pixel at the location of the static zone changes to know that the display layer corresponding to the current television screen is the advertisement interface display layer. The display layer of the advertisement interface is scaled and moved to the static area. Since the user does not operate on the static area, the advertisement playing in the static area does not affect the operation of the user on the television, thereby achieving parallel playback of the advertisement and the television operation.
参照图7,为本发明智能电视的画面显示处理装置的第二实施例,在上述第一实施例的基础上,所述静态区侦测模块200包括:Referring to FIG. 7, a second embodiment of a screen display processing apparatus for a smart television according to the present invention, the static area detecting module 200 includes:
第一侦测单元210,用于将相邻两次截取的电视画面相应坐标上的像素一一进行比对,未发生变化的像素设定为静态像素,并获取静态像素的数量。The first detecting unit 210 is configured to compare the pixels on the corresponding coordinates of the television pictures that are intercepted twice, and the pixels that are not changed are set as static pixels, and acquire the number of static pixels.
具体地,第一侦测单元210将第一存储器中相邻两画面一一对应坐标的像素做差值,差值为0的部分说明该坐标的像素在预设的时间间隔内没有变化属于静态像素,另外统计静态像素的数量是为了后续与电视画面总像素进行比较,如果静态像素在一个区域内的数量较多就可以将广告完整地显示在静态像素所在的区域,如果静态像素在一个区域内的数量较少,也就是说静态像素在画面上的分布比较零散,那这样的静态像素所在的区域不适合放置广告。Specifically, the first detecting unit 210 compares the pixels of the adjacent two images in the first memory to the coordinates of the coordinates, and the difference of 0 indicates that the pixels of the coordinate do not change in the preset time interval. Pixels, in addition, the number of static pixels is counted for subsequent comparison with the total pixels of the TV picture. If the number of static pixels in a region is large, the advertisement can be completely displayed in the area where the static pixels are located, if the static pixels are in an area. The number of inside is small, that is to say, the distribution of static pixels on the screen is relatively scattered, and the area where such static pixels are located is not suitable for placing advertisements.
其中,第一存储器中画面来自截取电视荧幕获取得的帧画面,帧画面即为图像,图像的存储按像素存储,显示的时候是一种扫描显示的方式,以分辨率为800×600的屏幕来说,即每一条水平线上包含有800个像素点,共有600条线,即扫描列数为800列,行数为600行,有800×600也就是48万个像素点。The picture in the first memory is obtained by intercepting a frame picture obtained by the television screen, and the frame picture is an image, and the image storage is stored in pixels, and the display is a scanning display mode with a resolution of 800×600. In terms of the screen, each horizontal line contains 800 pixels, and there are 600 lines, that is, the number of scanning columns is 800, the number of rows is 600, and 800×600 is 480,000 pixels.
第一处理单元220,用于当所述静态像素的数量大于电视画面总像素的十分之一时,将所述静态像素对应的显示区域设定为所述静态区。The first processing unit 220 is configured to set a display area corresponding to the static pixel as the static area when the number of the static pixels is greater than one tenth of a total pixel of the television picture.
具体地,还是以分辨率为800×600的屏幕来说,当静态像素数量为5万个时,静态像素数量大于电视画面总像素的十分之一,说明此时静态像所在的区域也即静态区适合放置广告界面。Specifically, in the case of a screen with a resolution of 800×600, when the number of static pixels is 50,000, the number of static pixels is greater than one tenth of the total pixels of the television picture, indicating that the area where the still image is located is also The static area is suitable for placing the advertising interface.
本实施例中,通过将所述第一存储器中电视画面相应坐标上的像素一一进行比对,没有发生变化的像素设定为静态像素,当所述静态像素数量大于电视画面总像素的十分之一时,所述静态像素形成所述静态区,从而能够准确确定静态区。In this embodiment, by comparing the pixels on the corresponding coordinates of the television screen in the first memory, the pixels that have not changed are set as static pixels, and when the number of the static pixels is greater than the total pixels of the television screen. In one step, the static pixels form the static zone so that the static zone can be accurately determined.
参照图8,为本发明智能电视的画面显示处理装置的第三实施例,在上述第一实施例或第二实施例的基础上,所述广告侦测模块400包括:FIG. 8 is a third embodiment of a screen display processing apparatus for a smart television according to the present invention. Based on the first embodiment or the second embodiment, the advertisement detecting module 400 includes:
文字识别单元410,用于当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符。The text recognition unit 410 is configured to perform character recognition processing on the television screen when the currently captured television picture changes in the pixel of the static area, and determine whether the recognized text contains a preset target character.
具体地,通过改变文字的大小使之与电视画面中的文字像素匹配,并与云端中保存的文字进行比较从而识别出画面中的文字,并将识别的文字与预设的目标字符进行比对,所述预设的目标字符为一些常见的广告标识,比如:广告、商标的名称等。Specifically, by changing the size of the text to match the text pixels in the television screen, and comparing with the text saved in the cloud, the characters in the screen are recognized, and the recognized characters are compared with the preset target characters. The preset target characters are some common advertisement identifiers, such as advertisements, trademark names, and the like.
第二处理模块420,用于当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。The second processing module 420 is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the recognized text contains a preset target character.
具体地,如果识别出的文字含有预设的目标字符,可以进一步确定所述电视画面为广告界面,比如在播放肯德基的广告时,广告界面会出现“广告”或“KFC”等字样,如果识别出的文字含有这些字样,即可确定当前电视画面为广告界面,从而第二处理模块420将该广告界面存储在第二存储器,以便后续缩放该广告界面。Specifically, if the recognized text contains a preset target character, the television screen may be further determined to be an advertisement interface. For example, when playing an advertisement of KFC, the advertisement interface may display the words “advertising” or “KFC”, if The text containing the words can determine that the current television picture is an advertisement interface, so that the second processing module 420 stores the advertisement interface in the second memory to subsequently scale the advertisement interface.
本实施例中,通过判定电视画面是否含有特目标字符进一步确定当前电视画面是否为广告界面,使得能够更加准确地将广告界面显示层缩小至静态区。In this embodiment, it is further determined whether the current television screen is an advertisement interface by determining whether the television screen contains the special target character, so that the advertisement interface display layer can be more accurately reduced to the static area.
参照图9,为本发明智能电视的画面显示处理装置的第四实施例,在上述第三实施例的基础上,所述缩放模块500包括:9 is a fourth embodiment of a screen display processing apparatus for a smart television according to the present invention. Based on the third embodiment, the scaling module 500 includes:
第二侦测单元510,用于获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目。a second detecting unit 510, configured to acquire coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, and set the number of the static pixels in a horizontal direction to a first number and The number of the static pixels in the vertical direction is set to a second number.
具体地,保存静态像素的坐标以便后期将广告界面显示层移动到所述静态像素所在的区域,另外,保存静态像素在水平方向的第一数目和在竖直方向的第二数目是为了后续确定广告界面显示层缩放的大小。Specifically, the coordinates of the static pixels are saved to later move the advertisement interface display layer to the area where the static pixels are located, and further, the first number of the static pixels in the horizontal direction and the second number in the vertical direction are saved for subsequent determination. The ad interface displays the size of the layer zoom.
缩放广告单元520,用于将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目。The scaling advertisement unit 520 is configured to reduce the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reduce the number of pixels in the vertical direction to the second number.
显示广告单元530,用于将所述广告界面显示层的坐标设定为所述静态像素的坐标。The display advertisement unit 530 is configured to set coordinates of the advertisement interface display layer to coordinates of the static pixel.
具体地,以上已经通过识别画面中是否存在目标字符确定当前电视画面是否为广告界面,若为广告界面,缩放广告单元520就将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目,从而确定了广告界面显示层缩放的比例,接着显示广告单元530将所述广告界面显示层的坐标设定为所述静态像素的坐标从而将所述广告界面显示层移动至静态区。Specifically, the above has determined whether the current TV screen is an advertisement interface by identifying whether the target character exists in the screen, and if it is an advertisement interface, the zoom advertisement unit 520 reduces the number of pixels in the horizontal direction of the advertisement interface display layer to the first The number, the number of pixels in the vertical direction is reduced to the second number, thereby determining the scale of the advertisement interface display layer scaling, and then the display advertisement unit 530 sets the coordinates of the advertisement interface display layer to the coordinates of the static pixel. Thereby moving the advertisement interface display layer to the static area.
本实施例中,根据静态像素在水平方向和竖直方向的数量确定了广告界面显示层的缩放尺寸,使得能够更加准确地将广告缩小至静态区。In this embodiment, the zoom size of the advertisement interface display layer is determined according to the number of static pixels in the horizontal direction and the vertical direction, so that the advertisement can be more accurately reduced to the static area.
参照图10,为本发明智能电视的画面显示处理装置的第五实施例,在上述第一实施例的基础上,所述智能电视的画面显示处理装置还包括:10 is a fifth embodiment of a screen display processing apparatus for a smart television according to the present invention. On the basis of the first embodiment, the screen display processing apparatus of the smart television further includes:
监听模块600,用于监听按键和/或鼠标事件是否处于闲置状态。The monitoring module 600 is configured to monitor whether the button and/or mouse event is in an idle state.
具体地,监听模块600监听按键和/或鼠标事件是否处于闲置状态;若是,则进入截屏模块100,若否,则不进行处理,用户正常观看广告。可以通过实时监控鼠标输入和键盘输入,当键盘和鼠标什么也不做时,计时器跳动计时,当移动鼠标或按键时,计时器恢复到零,从而实现对输入设备闲置状态的监控;也可以设定时间前一时刻时间事件标识与周期单位时间1秒后一时刻时间事件标识做差值,若差值为1,则按键和/或鼠标事件处于闲置状态,若差值为0,则按键和/或鼠标事件处于忙碌状态。Specifically, the listening module 600 monitors whether the button and/or the mouse event is in an idle state; if yes, the screen capture module 100 is entered, and if not, the processing is not performed, and the user normally views the advertisement. The mouse input and keyboard input can be monitored in real time. When the keyboard and mouse do nothing, the timer beats the timer. When the mouse or button is moved, the timer returns to zero, thereby monitoring the idle state of the input device. Before the time is set, the time event identifier and the time unit time are 1 second, and the time event identifier is compared. If the difference is 1, the button and/or mouse event is idle. If the difference is 0, the button is pressed. And/or mouse events are busy.
其中,当用户操作的是电视的游戏应用时,监听的按键和/或鼠标事件可能为上下左右手柄,如果用户不对按键和/鼠标进行操作,则说明用户不想观看广告,则进入截屏模块100;如果用户不对按键和/鼠标进行操作,则说明用户想观看广告,则不做任何处理,不进入截屏模块100。Wherein, when the user operates the game application of the television, the monitored button and/or mouse event may be the up, down, left and right handles, if the user does not operate the button and / mouse, the user does not want to view the advertisement, then enters the screen capture module 100; If the user does not operate the button and/or mouse, it means that the user wants to watch the advertisement, and does not do any processing, and does not enter the screen capture module 100.
本实施例中,通过对按键和/或鼠标事件进行监听判断用户是否想观看广告,从而为用户提供了正常观看广告和自动缩放广告两种选择。In this embodiment, by monitoring the button and/or mouse event to determine whether the user wants to view the advertisement, the user is provided with two options of normal viewing advertisement and automatic zooming advertisement.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种智能电视的画面显示处理方法,其特征在于,所述智能电视的画面显示处理方法包括以下步骤:A screen display processing method for a smart TV, characterized in that the screen display processing method of the smart TV comprises the following steps:
    每隔预设的时间间隔截取电视画面;Intercepting the TV screen every preset time interval;
    将截取的电视画面中画面像素未发生变化的区域设定为静态区;Setting an area of the intercepted TV picture where the pixel of the picture has not changed is set as a static area;
    实时侦测所述静态区的像素是否发生变化;Real-time detecting whether the pixels of the static area change;
    当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层;When the currently captured television picture changes in the pixel of the static area, it is determined that the display layer corresponding to the currently intercepted TV picture is an advertisement interface display layer;
    将所述广告界面显示层进行缩放处理,并移动至所述静态区显示。The advertisement interface display layer is scaled and moved to the static area display.
  2. 如权利要求1所述的智能电视的画面显示处理方法,其特征在于,所述将截取的电视画面中画面像素未发生变化的区域设定为静态区包括:The screen display processing method of the smart TV according to claim 1, wherein the setting of the area where the pixel of the screen does not change in the intercepted television picture as the static area comprises:
    将相邻两次截取的电视画面相应坐标上的像素一一进行比对,未发生变化的像素设定为静态像素,并获取静态像素的数量;Comparing the pixels on the corresponding coordinates of the two adjacent television pictures to each other, the pixels that have not changed are set as static pixels, and the number of static pixels is obtained;
    当所述静态像素的数量大于电视画面总像素的十分之一时,将所述静态像素对应的显示区域设定为所述静态区。When the number of the static pixels is greater than one tenth of the total pixels of the television picture, the display area corresponding to the static pixels is set as the static area.
  3. 如权利要求2所述的智能电视的画面显示处理方法,其特征在于,所述当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层包括:The screen display processing method of the smart television according to claim 2, wherein when the currently captured television picture changes in the pixel of the static area, it is determined that the display layer corresponding to the currently intercepted television picture is an advertisement The interface display layer includes:
    当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符;When the currently captured television picture changes in the pixel of the static area, performing character recognition processing on the television picture, and determining whether the recognized text contains a preset target character;
    当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。When the recognized text contains the preset target character, it is determined that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer.
  4. 如权利要求3所述的智能电视的画面显示处理方法,其特征在于,所述将所述广告界面显示层进行缩放处理,移动至所述静态区显示包括:The screen display processing method of the smart TV according to claim 3, wherein the scaling of the advertisement interface display layer, the moving to the static area display comprises:
    获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目;Obtaining coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, setting the number of the static pixels in a horizontal direction to a first number and the static pixels in a vertical direction The quantity is set to the second number;
    将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;Shrinking the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reducing the number of pixels in the vertical direction to the second number;
    将所述广告界面显示层的坐标设定为所述静态像素的坐标。The coordinates of the display layer of the advertisement interface are set to the coordinates of the static pixel.
  5. 如权利要求1所述的智能电视的画面显示处理方法,其特征在于,所述每隔预设的时间间隔截取电视画面之前还包括:The screen display processing method of the smart TV according to claim 1, wherein the intercepting the television screen every predetermined time interval further comprises:
    监听按键和/或鼠标事件是否处于闲置状态;Monitor whether the button and/or mouse event is idle;
    当监听按键和/或鼠标事件处于闲置状态时,每隔预设的时间间隔截取电视画面。When the monitor button and/or mouse event is idle, the TV screen is captured every preset time interval.
  6. 如权利要求1所述的智能电视的画面显示处理方法,其特征在于,所述当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层包括:The screen display processing method of the smart TV according to claim 1, wherein when the currently captured television picture changes in the pixel of the static area, it is determined that the display layer corresponding to the currently intercepted television picture is an advertisement The interface display layer includes:
    当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符;When the currently captured television picture changes in the pixel of the static area, performing character recognition processing on the television picture, and determining whether the recognized text contains a preset target character;
    当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。When the recognized text contains the preset target character, it is determined that the display layer corresponding to the currently intercepted TV screen is the advertisement interface display layer.
  7. 如权利要求6所述的智能电视的画面显示处理方法,其特征在于,所述将所述广告界面显示层进行缩放处理,移动至所述静态区显示包括:The screen display processing method of the smart TV according to claim 6, wherein the scaling the display layer of the advertisement interface, and moving to the static area display comprises:
    获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目;Obtaining coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, setting the number of the static pixels in a horizontal direction to a first number and the static pixels in a vertical direction The quantity is set to the second number;
    将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;Shrinking the number of pixels in the horizontal direction of the advertisement interface display layer to the first number, and reducing the number of pixels in the vertical direction to the second number;
    将所述广告界面显示层的坐标设定为所述静态像素的坐标。The coordinates of the display layer of the advertisement interface are set to the coordinates of the static pixel.
  8. 如权利要求6所述的智能电视的画面显示处理方法,其特征在于,所述每隔预设的时间间隔截取电视画面之前还包括:The screen display processing method of the smart TV according to claim 6, wherein the intercepting the television screen every predetermined time interval further comprises:
    监听按键和/或鼠标事件是否处于闲置状态;Monitor whether the button and/or mouse event is idle;
    当监听按键和/或鼠标事件处于闲置状态时,每隔预设的时间间隔截取电视画面。When the monitor button and/or mouse event is idle, the TV screen is captured every preset time interval.
  9. 一种智能电视的画面显示处理装置,其特征在于,所述智能电视的画面显示处理装置包括:A screen display processing device for a smart television, wherein the screen display processing device of the smart television comprises:
    截屏模块,用于每隔预设的时间间隔截取电视画面;a screen capture module for intercepting a television screen every preset time interval;
    静态区侦测模块,用于将截取的电视画面中画面像素未发生变化的区域设定为静态区;a static area detecting module, configured to set, as a static area, an area in the captured television picture where the pixel of the picture does not change;
    实时侦测模块,用于实时侦测所述静态区的像素是否发生变化;a real-time detection module, configured to detect, in real time, whether a pixel of the static area changes;
    广告侦测模块,用于当当前截取的电视画面在所述静态区的像素发生变化时,判定当前截取的电视画面对应的显示层为广告界面显示层;The advertisement detecting module is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the currently captured television picture changes in the pixel of the static area;
    缩放模块,用于将所述广告界面显示层进行缩放处理,并移动至所述静态区显示。And a zooming module, configured to perform scaling processing on the advertisement interface display layer, and move to the static area display.
  10. 如权利要求9所述的智能电视的画面显示处理装置,其特征在于,所述静态区侦测模块包括:The screen display processing device of the smart TV according to claim 9, wherein the static area detecting module comprises:
    第一侦测单元,用于将相邻两次截取的电视画面相应坐标上的像素一一进行比对,未发生变化的像素设定为静态像素,并获取静态像素的数量;The first detecting unit is configured to compare the pixels on the corresponding coordinates of the television pictures that are respectively intercepted twice, and the pixels that have not changed are set as static pixels, and acquire the number of static pixels;
    第一处理单元,用于当所述静态像素的数量大于电视画面总像素的十分之一时,将所述静态像素对应的显示区域设定为所述静态区。a first processing unit, configured to set a display area corresponding to the static pixel as the static area when the number of the static pixels is greater than one tenth of a total pixel of the television picture.
  11. 如权利要求10所述的智能电视的画面显示处理装置,其特征在于,所述广告侦测模块包括:The screen display processing device of the smart TV of claim 10, wherein the advertisement detection module comprises:
    文字识别单元,用于当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符;a text recognition unit, configured to perform a character recognition process on the television screen when the currently captured television picture changes in a pixel of the static area, and determine whether the recognized text contains a preset target character;
    第二处理单元,用于当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。The second processing unit is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the recognized text contains a preset target character.
  12. 如权利要求11所述的智能电视的画面显示处理装置,其特征在于,所述缩放模块包括:The screen display processing device of the smart television of claim 11, wherein the scaling module comprises:
    第二侦测单元,用于获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目;a second detecting unit, configured to acquire coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, and set the number of the static pixels in a horizontal direction to a first number and a The number of static pixels in the vertical direction is set to a second number;
    缩放广告单元,用于将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;a zooming advertising unit, configured to reduce a number of pixels in a horizontal direction of the advertisement interface display layer to the first number, and reduce a number of pixels in a vertical direction to the second number;
    显示广告单元,用于将所述广告界面显示层的坐标设定为所述静态像素的坐标。Displaying an advertisement unit for setting coordinates of the advertisement interface display layer to coordinates of the static pixel.
  13. 如权利要求9所述的智能电视的画面显示处理装置,其特征在于,所述智能电视的画面显示处理装置还包括:The screen display processing device of the smart television according to claim 9, wherein the screen display processing device of the smart television further comprises:
    监听模块,用于监听按键和/或鼠标事件是否处于闲置状态。A listening module for monitoring whether a button and/or mouse event is idle.
  14. 如权利要求9所述的智能电视的画面显示处理装置,其特征在于,所述广告侦测模块包括:The screen display processing device of the smart TV of claim 9, wherein the advertisement detection module comprises:
    文字识别单元,用于当当前截取的电视画面在所述静态区的像素发生变化时,对所述电视画面进行文字识别处理,并判断识别出的文字是否含有预设的目标字符;a text recognition unit, configured to perform a character recognition process on the television screen when the currently captured television picture changes in a pixel of the static area, and determine whether the recognized text contains a preset target character;
    第二处理单元,用于当识别出的文字含有预设的目标字符时,判定当前截取的电视画面对应的显示层为广告界面显示层。The second processing unit is configured to determine that the display layer corresponding to the currently intercepted TV screen is an advertisement interface display layer when the recognized text contains a preset target character.
  15. 如权利要求14所述的智能电视的画面显示处理装置,其特征在于,所述缩放模块包括:The screen display processing device of the smart television of claim 14, wherein the scaling module comprises:
    第二侦测单元,用于获取所述静态像素的坐标以及所述静态像素在水平方向和竖直方向上的像素数量,将所述静态像素在水平方向的数量设为第一数目和将所述静态像素在竖直方向的数量设为第二数目;a second detecting unit, configured to acquire coordinates of the static pixel and a number of pixels of the static pixel in a horizontal direction and a vertical direction, and set the number of the static pixels in a horizontal direction to a first number and a The number of static pixels in the vertical direction is set to a second number;
    缩放广告单元,用于将所述广告界面显示层水平方向的像素数目缩小至所述第一数目,竖直方向的像素数目缩小至所述第二数目;a zooming advertising unit, configured to reduce a number of pixels in a horizontal direction of the advertisement interface display layer to the first number, and reduce a number of pixels in a vertical direction to the second number;
    显示广告单元,用于将所述广告界面显示层的坐标设定为所述静态像素的坐标。Displaying an advertisement unit for setting coordinates of the advertisement interface display layer to coordinates of the static pixel.
  16. 如权利要求14所述的智能电视的画面显示处理装置,其特征在于,所述智能电视的画面显示处理装置还包括:The screen display processing device of the smart television according to claim 14, wherein the screen display processing device of the smart television further comprises:
    监听模块,用于监听按键和/或鼠标事件是否处于闲置状态。 A listening module for monitoring whether a button and/or mouse event is idle.
PCT/CN2016/095887 2016-07-27 2016-08-18 Picture display processing method and device of smart tv WO2018018678A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610602757.7A CN106131648A (en) 2016-07-27 2016-07-27 The picture display processing method of intelligent television and device
CN201610602757.7 2016-07-27

Publications (1)

Publication Number Publication Date
WO2018018678A1 true WO2018018678A1 (en) 2018-02-01

Family

ID=57290292

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095887 WO2018018678A1 (en) 2016-07-27 2016-08-18 Picture display processing method and device of smart tv

Country Status (2)

Country Link
CN (1) CN106131648A (en)
WO (1) WO2018018678A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522619B (en) * 2020-05-03 2023-11-10 渴创技术(深圳)有限公司 Method for automatically reducing refresh frequency of extended screen based on software type and mouse pointer position
CN112333516B (en) * 2020-08-20 2024-04-30 深圳Tcl新技术有限公司 Dynamic display method, device, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100355282C (en) * 2002-03-15 2007-12-12 富士通株式会社 Video information delivery apparatus and receiving apparatus
US20130229548A1 (en) * 2011-06-24 2013-09-05 Rakuten, Inc. Image providing device, image processing method, image processing program, and recording medium
CN103780916A (en) * 2012-10-25 2014-05-07 合肥林晨信息科技有限公司 Digital television advertisement intelligent identification system
CN105681897A (en) * 2014-11-17 2016-06-15 Tcl集团股份有限公司 Advertisement detection method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115292A1 (en) * 2001-10-24 2003-06-19 Griffin Philip B. System and method for delegated administration
SG119229A1 (en) * 2004-07-30 2006-02-28 Agency Science Tech & Res Method and apparatus for insertion of additional content into video
CN104980772B (en) * 2014-04-14 2019-06-07 北京酷云互动科技有限公司 The monitoring method and monitoring device of product placement
CN104007964B (en) * 2014-05-06 2017-11-07 珠海市君天电子科技有限公司 The method and apparatus of advertising management in application program
CN105446779A (en) * 2015-11-27 2016-03-30 努比亚技术有限公司 Processing method and system for preventing advertisement page from being displayed and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100355282C (en) * 2002-03-15 2007-12-12 富士通株式会社 Video information delivery apparatus and receiving apparatus
US20130229548A1 (en) * 2011-06-24 2013-09-05 Rakuten, Inc. Image providing device, image processing method, image processing program, and recording medium
CN103780916A (en) * 2012-10-25 2014-05-07 合肥林晨信息科技有限公司 Digital television advertisement intelligent identification system
CN105681897A (en) * 2014-11-17 2016-06-15 Tcl集团股份有限公司 Advertisement detection method and system

Also Published As

Publication number Publication date
CN106131648A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2018034462A1 (en) Image display apparatus and method of operating the same
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2018110968A1 (en) Display apparatus and method of controlling the same
WO2015056854A1 (en) Mobile terminal and control method for the mobile terminal
WO2014129864A1 (en) An apparatus for providing a cursor in electronic devices and a method thereof
WO2014035054A1 (en) Method and apparatus for controlling zoom function in an electronic device
WO2013097487A1 (en) Method, video terminal and system for implementing simple air mouse
WO2017084302A1 (en) Method for playing boot video of a display terminal and display terminal
WO2016093510A1 (en) Display apparatus and display method
WO2015111833A1 (en) Apparatus and method for providing virtual advertisement
WO2016190691A1 (en) Display apparatus and control method thereof
WO2017206368A1 (en) High-dynamic range picture switching method and apparatus
WO2018032680A1 (en) Method and system for playing audio and video
WO2018028124A1 (en) Television set and signal source switching method thereof
WO2017215116A1 (en) Photographing method and system for smart television
WO2017121066A1 (en) Application program display method and system
WO2018223602A1 (en) Display terminal, frame contrast enhancement method, and computer readable storage medium
WO2018023925A1 (en) Photography method and system
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2016111487A1 (en) Display apparatus and display method
WO2019125036A1 (en) Image processing method and display apparatus therefor
WO2019091128A1 (en) Signal preview method for new access source and television set
WO2020209624A1 (en) Head mounted display device and operating method thereof
WO2018018678A1 (en) Picture display processing method and device of smart tv
WO2019148818A1 (en) Image processing method, device and system, and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16910257

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04/07/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16910257

Country of ref document: EP

Kind code of ref document: A1