WO2021031707A1 - 智能电视上显示消息的方法及智能电视 - Google Patents

智能电视上显示消息的方法及智能电视 Download PDF

Info

Publication number
WO2021031707A1
WO2021031707A1 PCT/CN2020/099454 CN2020099454W WO2021031707A1 WO 2021031707 A1 WO2021031707 A1 WO 2021031707A1 CN 2020099454 W CN2020099454 W CN 2020099454W WO 2021031707 A1 WO2021031707 A1 WO 2021031707A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
call
display position
message display
message
Prior art date
Application number
PCT/CN2020/099454
Other languages
English (en)
French (fr)
Inventor
王光强
江凌生
吕大龙
李易民
Original Assignee
聚好看科技股份有限公司
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 聚好看科技股份有限公司 filed Critical 聚好看科技股份有限公司
Publication of WO2021031707A1 publication Critical patent/WO2021031707A1/zh
Priority to US17/464,876 priority Critical patent/US11818440B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels

Definitions

  • This application relates to the technical field of smart TVs, and specifically to a method for displaying messages on a smart TV and a smart TV.
  • the notification messages in TVs are generally implemented by means of pop-up message notifications.
  • the position of pop-up message notifications is a preset fixed position.
  • the smart TV pops up a message notification in a preset position.
  • a method for displaying messages on a smart TV including:
  • the window type is the type corresponding to the predetermined message display position when the call window is displayed, obtaining the current message display position that is not blocked by the call window from the TV screen interface;
  • the message prompt box corresponding to the message display instruction is displayed at the current message display position, so that the message prompt box is not blocked by the call window.
  • a device for displaying messages on a smart TV including:
  • the type obtaining module is configured to obtain the window type of the call window corresponding to the video call displayed on the TV screen interface in response to receiving a message display instruction during a video call;
  • a judging module configured to determine, based on the window type, whether the call window is a type corresponding to a predetermined message display position when displayed;
  • a position obtaining module configured to obtain the current message display position that is not blocked by the call window from the TV screen interface when the window type is the type corresponding to the predetermined message display position when the call window is displayed;
  • the display module is configured to display the message prompt box corresponding to the message display instruction at the current message display position, so that the message prompt box is not blocked by the call window.
  • a smart TV terminal including:
  • the memory is configured to store a computer program of the processor; wherein the processor is configured to execute a method for displaying a message on a smart TV by executing the computer program.
  • a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, a method for displaying a message on a smart TV is realized.
  • a smart TV including a controller and a display: the controller is used for:
  • the window type is the type corresponding to the predetermined message display position when the call window is displayed, obtaining the current message display position that is not blocked by the call window from the TV screen interface;
  • FIGS. 1A-1H show terminal interface diagrams in an application scenario for displaying messages on a smart TV according to some embodiments of the present application. These terminal interface diagrams represent the general process of displaying messages on a smart TV;
  • Figure 2 shows a flowchart of a method for displaying messages on a smart TV according to some embodiments of the present application
  • FIG. 3 shows a flowchart of displaying messages on a smart TV in an application scenario according to some embodiments of the present application
  • Fig. 4 shows a flowchart of displaying messages on a smart TV in another application scenario according to some embodiments of the present application
  • FIG. 5 shows a block diagram of a device for displaying messages on a smart TV according to some embodiments of the present application
  • Fig. 6 shows a hardware structure diagram of a clothing picture pushing terminal according to some embodiments of the present application.
  • the smart TV terminal interface displays a TV application interface covering the TV screen interface (such as a multimedia browsing application interface, a system setting application interface, a movie playback interface, etc.), and no messages are displayed on the smart TV at this time.
  • a TV application interface covering the TV screen interface such as a multimedia browsing application interface, a system setting application interface, a movie playback interface, etc.
  • the above-mentioned TV application interface may be a non-small window call interface.
  • the predetermined message display position can also be preset to another position, for example, located in the middle of the upper edge of the display area, the entire upper edge of the display area, etc.
  • the video call window is a non-full-screen window (such as a small window floating above the TV application interface), and the non-full-screen window is a display
  • the type corresponding to the preset message display position (the preset display position of the non-full-screen window (upper right corner) conflicts with the preset message display position (upper right corner) of the system message), and the message prompt box will be displayed on the screen that is not blocked by the call window.
  • the current message display position (the lower right corner of the TV screen interface).
  • the interface where the video call window is a non-full screen window is a small window call interface
  • the small window call interface includes a bottom layer displaying the application interface and a floating layer provided with a video call window, wherein the floating layer is located above the bottom layer A video call window is drawn in the floating layer, and the video call window only covers a part of the bottom layer at a preset position, and does not affect the viewing of the bottom layer images at other positions outside the video call window.
  • only the focus of the TV remote control is located on the bottom layer, and the user can normally control the operations of the controls in the bottom layer application interface.
  • the video call window is a full-screen window (such as a full-screen window covering the TV application interface), and the full-screen window is hidden during display
  • the type corresponding to all possible predetermined message display positions, and the lower-level system message prompt box will be hidden under the call window and cannot be displayed.
  • the video call window is a non-full-screen window (such as a small window floating above the TV application interface), and the non-full-screen window is The type corresponding to the preset message display position when displayed (the preset display position of the non-full-screen window (upper right corner) and the preset message display position of the TV application message (top of the TV application interface), there may be a message prompt box and part of the non-full-screen window (Cross coverage conflict), at this time, the message prompt box is directly displayed in the current message display position (the lower part of the TV application interface) that is not blocked by the call window.
  • the message prompt box of the TV application message Since the message prompt box of the TV application message has the highest level, it may be overlaid when displayed.
  • the upper layer of the call window that is, the display position may be blocked (but the prompt box floats above the call window), which can ensure that the display position of the TV application message does not conflict with the position of the call window, and enhance user experience.
  • a method for displaying messages on a smart TV includes:
  • Step S210 In response to receiving a message display instruction during a video call, obtain the window type of the call window corresponding to the video call displayed on the TV screen interface;
  • Step S220 Based on the window type, determine whether the call window is a type corresponding to a predetermined message display position that is blocked during display;
  • Step S230 when the window type is the type corresponding to the predetermined message display position when the call window is displayed, obtain the current message display position that is not blocked by the call window from the TV screen interface;
  • Step S240 Display the message prompt box corresponding to the message display instruction at the current message display position, so that the message prompt box is not blocked by the call window.
  • Step S210 In response to receiving a message display instruction during a video call, obtain the window type of the call window corresponding to the video call displayed on the TV screen interface.
  • the message display instruction may be any instruction on the smart TV to display the message to be displayed on the TV screen interface.
  • the notification center APK will periodically check whether there are messages from the system side of the notification service. If the system message to be displayed is inquired, it will issue a system message display instruction;
  • TV application messages such as Toast prompt messages when the program is finished playing, etc.
  • the TV application automatically triggers the TV application message display instruction when a certain situation occurs.
  • the call window corresponding to the video call is the call window of different sizes displayed on the TV screen interface when the user uses the smart TV to make a video call.
  • Window types include full-screen windows that occupy all areas of the TV screen interface when displayed, and non-full-screen windows that occupy part of the TV screen interface area.
  • Different windows have corresponding identifiers (such as object names), which are used to call the corresponding call window through the identifiers during a video call; different windows have corresponding attributes, such as window size, coordinate position, etc.; this way, they can be called during a video call
  • the window identifier can determine the window type of the call window corresponding to the video call displayed on the TV screen interface.
  • obtaining the window type of the call window corresponding to the video call displayed on the TV screen interface includes:
  • obtaining the window type of the call window corresponding to the video call displayed on the TV screen interface includes:
  • the window identifier may be the name of the object that created the call window, and may uniquely indicate a call window.
  • the window identifier is associated with the window mode (window size attribute, such as adapting to the size of the TV screen interface or having a predetermined size) of the call window.
  • the window type of the call window (such as a full-screen window or a non-full-screen window) can be determined based on the window mode associated with the window identifier.
  • step S220 based on the window type, determine whether the call window is a type corresponding to a predetermined message display position when displayed.
  • the predetermined message display position is a preset location coordinate of the message prompt box on the TV screen interface.
  • the message type is a system message
  • the message type is TV application message
  • the window types of the call window include full-screen windows and non-full-screen windows.
  • the full-screen window When the full-screen window is displayed, it covers all areas of the TV screen interface, which covers the predetermined message display position.
  • the non-full-screen window When the non-full-screen window is displayed, it does not cover all areas of the TV screen interface, but when the predetermined display position of the non-full-screen window conflicts with the predetermined message display position (the predetermined display position of the non-full-screen window and the predetermined message display position are in the same area of the TV screen interface), The predetermined message display position may be blocked, making the message display incomplete and affecting the user experience.
  • the non-full-screen window is blocking the predetermined message when it is displayed.
  • the type corresponding to the display position By determining whether the call window is of the type corresponding to the display position of the predetermined message when displayed, the display can be adjusted and displayed when the predetermined message display position is blocked in time when the call window is displayed.
  • blocking the predetermined message display position when the call window is displayed includes the overlap between the area occupied by the call window and the screen area where the predetermined message display position is located. In this way, even if the call window and the message prompt box are not cross-blocked, due to the concentrated display, the experience of watching and chatting is affected. At this time, it is also considered that the predetermined message display position is blocked when the call window is displayed.
  • the determining, based on the window type, whether the call window is a type corresponding to a predetermined message display position when displayed includes:
  • the window type is a full-screen window, it is determined that the window type is a type corresponding to a predetermined message display position when displayed.
  • the window type is a non-full-screen window, it is determined according to the predetermined display position of the call window whether the call window is a type corresponding to the predetermined message display position when displayed.
  • the window type of the call window is a type corresponding to a predetermined message display position when displayed.
  • the non-full-screen window does not cover all areas of the TV screen interface. Therefore, when the window type is a non-full-screen window, it can be determined whether the predetermined display position of the call window conflicts with the predetermined message display position (that is, whether the predetermined display position of the non-full-screen window
  • the predetermined message display position is located in the same area of the TV screen interface), and it is determined whether the call window is of the type corresponding to the predetermined message display position when displayed.
  • the TV screen interface can be divided into multiple display areas in advance, and a part of the display area (such as the upper right corner area or the upper area of the screen interface) can be used to display a non-full screen window or a message display box.
  • the determining, based on the window type, whether the call window is a type corresponding to a predetermined message display position when displayed includes:
  • the window type is a non-full-screen window, it is determined by partially overlapping the call window and the message display frame that the call window is the type corresponding to the display position of the predetermined message when it is displayed.
  • the location of the message prompt box can be determined by setting the location coordinates of the upper right corner of the message prompt box on the TV screen interface and the size of the message prompt box to determine the position of the message prompt box on the TV screen interface (the pixel area occupied) ).
  • the position of the call window can also be determined by setting the location coordinates of the upper right corner of the call window on the TV screen desktop and the size of the call frame. It can be understood that the corner corresponding to the positioning coordinates of the call box and the message prompt box can be any corner, such as the lower right corner, the upper left corner, and so on.
  • the call window and the message display frame occupy the same pixel area, it indicates that the call window and the message display frame partially overlap, and the call window is determined to be the type corresponding to the predetermined message display position when displayed.
  • determining whether the call window is a type corresponding to the predetermined display position of the message when displayed according to the predetermined display position of the call window includes:
  • the window type is a type corresponding to the predetermined message display position when displayed
  • the window type is not a type corresponding to the predetermined message display position when displayed.
  • Both the predetermined display position of the call window and the predetermined message display position can be determined by the positioning coordinates of the call window and the message prompt box in the area of the TV screen interface. Therefore, the TV screen interface can be divided into multiple small areas. By judging that the coordinates of the call window and the message prompt box are in the same area, it is determined that the predetermined display position of the call window is consistent with the predetermined message display position, and the call window is consistent with the message prompt box. The coordinates of are not in the same area, and it is determined that the predetermined display position of the call window is not consistent with the predetermined message display position.
  • the predetermined threshold is determined by the maximum possible size of the message prompt box, and the maximum possible size of the call window, when the call window and the message prompt box on the screen interface do not cross the distance between the positioning coordinates.
  • the preset display position of the non-full-screen call window is consistent with the predetermined message display position
  • the determining whether the call window is a type corresponding to the predetermined message display position when displayed based on the window type includes :
  • the window type is a non-full-screen window, determining that the window type is a type corresponding to a predetermined message display position when displayed;
  • the window type is not a non-full-screen window, it is determined whether the video call is disconnected, and if it is not disconnected, it is determined that the window type is a type corresponding to a predetermined message display position when displayed.
  • the window type of the call window is a non-full-screen call window, if it is, since the preset display position of the non-full-screen call window is consistent with the predetermined message display position, it is directly determined that the predetermined message display position is blocked when the call window is displayed. If it is not, it means that the call window is a full-screen call window, and then determine whether the video call is disconnected. If it is not disconnected, it means that the call window covers all the TV screen interfaces, and the window type is determined to be the type corresponding to the predetermined message display position when displayed.
  • step S230 when the window type is the type corresponding to the predetermined message display position when the call window is displayed, obtain the current message display position that is not blocked by the call window from the TV screen interface .
  • the current message display position that is not blocked by the call window may be a position that is not in the same area as the display position of the call window on the TV screen interface, or it may be the same as the message display position when the call window is displayed on the TV screen interface.
  • the message display position where the message to be displayed corresponding to the display instruction does not cross or overlap during display.
  • the system message prompt box has a lower level and is located at the lower level of the call window when displayed. If the two positions conflict, the display will be blocked by the call window. At this time, the current message that is not blocked by the call window is displayed The position needs to be such that the message prompt box and the call window do not cross at all.
  • the level of the TV application message prompt box is higher, and it floats on the upper layer of the call window when displayed. If the two positions conflict with each other when displayed, the call window will be blocked.
  • the message to be displayed is a TV application message
  • the call window is a non-full-screen window, when it is blocked by the message prompt box, it is not conducive to the call. It is determined that the current message display position that is not blocked by the call window needs to be The message prompt box and the call window do not cross at all.
  • the message to be displayed is a TV application message
  • the call window is a full-screen window and part of the area is blocked by the message prompt box
  • the overall ratio of the blocked area to the full-screen window is small, the call is not affected at all, and the scheduled message can be changed at this time
  • the display position is determined as the current message display position.
  • the current message display position can be preset to an alternative position that does not conflict with the real-time display position of the call window (the current message display position and the real-time display position of the call window are not in the same area of the TV screen interface).
  • the window type is the type corresponding to the predetermined message display position when the call window is displayed, and when the window type is a full-screen window, no acquisition is not performed from the TV screen interface. The current message display position hidden by the call window.
  • obtaining the current message display position that is not blocked by the call window from the TV screen interface includes:
  • the call window When the call window is a non-full-screen window, obtain an alternative position on the TV screen interface previously associated with the predetermined message display position as the current message display position, wherein the alternative position is located on the TV screen interface An area not occupied by the call window of a predetermined size.
  • the alternate position is a preset alternate position for displaying messages when the predetermined message display position conflicts with the call window display position.
  • the current message display position can be determined by pre-setting the coordinates of the alternative position. Delimit multiple display areas on the TV screen interface in advance (the adjacent display areas may have partially overlapping areas), and the area occupied by the call window of a predetermined size can be the call window positioning coordinates and the size of the call window. Determine the call window occupied on the TV screen interface It is possible to determine the position of the area on the TV screen interface that is not occupied by the call window of the predetermined size and set the alternative position.
  • multiple display areas are not delineated for the TV screen interface, and the area occupied by the call window of a predetermined size is the pixel area of the TV screen interface occupied by the call window determined based on the call window positioning coordinates and the call window size.
  • obtaining the current message display position that is not blocked by the call window from the TV screen interface includes:
  • the positioning coordinates of the call window and the width and height of the call window can be obtained from the attribute value of the created call window. For example, when the positioning coordinates of the call window are the upper right corner, the area of the call window can be calculated from the width and height, and the coverage area of the call window can be determined based on the positioning coordinates. In this way, it is possible to determine any position outside the coverage area of the non-full-screen window according to the real-time position of the window, obtain the current message display position, and ensure that the message is displayed in the current message display position without obstruction.
  • a second call window of a predetermined size is preset, and the second call window is a non-full screen window
  • the obtaining the current message display position that is not blocked by the call window from the TV screen interface includes:
  • any type of message display position can be reserved. It is displayed at a predetermined position on the TV screen interface, and the predetermined position can be any position on the TV screen interface, such as a predetermined message display position. Since the second call window is of a predetermined size, the alternative position associated with the predetermined position in advance can ensure that the current message display position is located in an area on the TV screen interface that is not occupied by the non-full-screen second call window of the predetermined size.
  • the switching can be realized by invoking a method of creating a second call window of a predetermined size in the background, and can be automatically switched when a full-screen window is detected, or can be manually switched by the user.
  • switching the talk window to the second talk window includes:
  • the call window is switched to the second call window.
  • a plurality of second talk windows of different sizes are preset, and the second talk windows are non-full-screen windows;
  • the switching the call window to the second call window when the call window is a full-screen window includes:
  • the message prompt box of the message to be displayed corresponding to the message display instruction is self-adaptively generated according to the message display content, and the width, height, etc. of its attributes can be obtained.
  • the maximum size of the second call window is calculated.
  • the difference between the width of the TV screen interface and the width of the message prompt box can be used as the second call window.
  • the maximum value of the width, the difference between the height of the TV screen interface and the height of the message prompt box is taken as the maximum value of the height of the second call window, and then the maximum value of the size of the second call window is calculated.
  • the first call window can be switched to any one of a plurality of preset second call windows of different sizes whose size is smaller than the maximum value of the second call window, to ensure call quality and user experience.
  • the acquiring from the TV screen interface the current message display position that is not blocked by the call window includes:
  • the predetermined message display position is determined as the current message display position that is not blocked by the call window.
  • the prompt box of the TV application message has a higher level and will float above the call frame.
  • the call window is a full-screen window
  • the predetermined message display position is determined as The current message display position that is not blocked by the call window can still display the message at the predetermined message display position during a full-screen call. Since the full-screen call window is large enough, high-quality calls can be made clearly while displaying messages. The user experience is effectively guaranteed.
  • the predetermined message display position can be approximately understood as a position that is not blocked by the call window.
  • step S240 Display the message prompt box corresponding to the message display instruction at the current message display position, so that the message prompt box is not blocked by the call window.
  • the message display position can be guaranteed It does not conflict with the display position of the call window, effectively improving user experience.
  • the window type is the type corresponding to the predetermined message display position when displayed
  • the current message that is not blocked by the call window is obtained from the TV screen interface
  • the display position is used to display the message, so that the message display in the video chat on the smart TV can be completely unobstructed, and the message can be displayed in any scene, effectively improving the user experience.
  • the predetermined message display position is located at the upper right corner of the TV screen interface
  • the current message display position includes:
  • the current message display position is located at the lower right corner of the TV screen interface.
  • the upper right corner of the TV screen interface (the predetermined area in the upper right corner, such as the square area in the upper right corner) provides system message prompts, which can ensure the user's best viewing experience.
  • the position of the non-full screen call window is also located in the upper right corner of the TV screen interface , There will be a position conflict between the two. First, they will cover the upper part of the TV application interface, and there may be the possibility of blocking each other. At this time, the current display position is determined to the lower right corner of the TV screen interface.
  • the location conflicts the location that is not blocked by the call window can be acquired to ensure that the message can be displayed under any circumstances, and the impact of the functions viewed on the application interface on the TV is minimized.
  • the non-full-screen window can be obtained by switching from the full-screen window.
  • the predetermined message display position is located at the top of the TV application interface.
  • the current message display position includes:
  • the current message display position is located at the lower part of the TV application interface
  • the current message display position is consistent with the predetermined message display position.
  • the top of the TV application interface (TV applications generally cover all areas of the TV screen interface, the top is the predetermined area at the top, such as the uppermost edge of the TV screen interface to the area from the predetermined distance downward) to display the TV application messages, which can ensure that the TV application messages are related to the TV application
  • the browsing experience of the interface is minimized.
  • the position of the non-full-screen call window is located in the upper right corner of the TV screen interface.
  • the upper right corner and the top position overlap, and they are displayed at the top of the TV screen interface at the same time, which may block each other.
  • the upper part of the TV application interface will be covered too much, which will affect the user experience.
  • the current message display position is located in the lower part of the TV application interface.
  • the position that is not blocked by the call window can be obtained to ensure that the message can be displayed at the same time as the video call frame under any circumstances, without affecting each other and ensuring that The impact of functions viewed on the application interface on the TV is minimized.
  • the window type is a full-screen window, because the TV application message prompt box has a higher level, it will float above the call window, the current message display position is consistent with the predetermined message display position, the call interface is large enough, and only a small part of it will be blocked by the message box Area, the message is displayed directly at the predetermined message display position without affecting the user experience.
  • the current message display position is empty.
  • the method further includes:
  • the message to be displayed corresponding to the message display instruction is displayed at a predetermined message display position.
  • Fig. 3 shows a flow chart of displaying messages on a smart TV in an application scenario according to some embodiments of the present application.
  • the notification center application APK will periodically check whether there is a message from the system message terminal of the notification service. If the message is inquired and a message display instruction is issued, it will detect whether there is a video call on the smart TV at this time. If not, that is, there is no video call, the message will be displayed in the upper right corner (the upper right corner of the predetermined system message display position), and a message notification will pop up in the upper right corner of the screen. If you are in a video call, determine whether it is a non-full-screen window.
  • the message will be displayed in the lower right corner, because the non-full-screen window has been displayed in the upper right corner (the upper right corner of the predetermined non-full-screen window display position), and the message information is in the lower right corner display.
  • the chat is not in the non-full-screen window mode, it is determined as a full-screen window. At this time, it is determined whether the call is disconnected. If disconnected, the upper right corner of the message is displayed directly (the upper right corner of the predetermined system message display position). If the call is not disconnected, when the full-screen window is switched to a non-full-screen window (the upper right corner of the predetermined non-full-screen window display position), the message information is automatically displayed in the lower right corner.
  • the message display position is automatically switched without being blocked by the call window, and when the full-screen call is switched to the non-full-screen call window , Automatically switch the message display position, can display the message in any scene, and ensure the user's experience of watching and chatting.
  • Fig. 4 shows a flowchart of displaying messages on a smart TV in an application scenario according to some embodiments of the present application.
  • TV application messages such as Toast are often popped up in the TV application, and the predetermined layout is prompted at the top of the TV application interface.
  • a TV application message pops up due to certain conditions, determine whether you are in a video call. If there is no video call, a message is displayed at the top of the TV application interface. If you are in a video call, determine whether it is a non-full-screen window call. If it is a non-full-screen window call, the message is displayed at the bottom of the TV application interface; if it is not a non-full-screen window call, it means a full-screen window call, and the message is displayed directly at the top of the TV application interface (predetermined position).
  • the message display position is automatically switched, so that the call window does not conflict with the message display position, and it is guaranteed that they will not block each other.
  • the message display position is automatically switched, so that the call window does not conflict with the message display position, and it is guaranteed that they will not block each other.
  • chatting in a full-screen window based on the high-level of the TV application message, it is directly displayed in the predetermined message display position, only a small area of the large chat window is blocked, messages can be displayed in any scene, and users can watch and chat while watching Experience.
  • a device for displaying messages on a smart TV including:
  • the type obtaining module 310 is configured to obtain the window type of the call window corresponding to the video call displayed on the TV screen interface in response to receiving a message display instruction during a video call;
  • the judging module 320 is configured to determine, based on the window type, whether the call window is a type corresponding to a predetermined message display position when displayed;
  • the position obtaining module 330 is configured to obtain the current message display position that is not blocked by the call window from the TV screen interface when the window type is the type corresponding to the predetermined message display position when the call window is displayed;
  • the display module 340 is configured to display the message prompt box corresponding to the message display instruction at the current message display position, so that the message prompt box is not blocked by the call window.
  • the method for displaying messages on the smart TV in the embodiment of the present application can be implemented by the smart TV.
  • the smart TV according to an embodiment of the present application will be described below with reference to FIG. 6.
  • the smart TV shown in FIG. 6 is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
  • smart TVs are represented in the form of general-purpose computing devices.
  • the components of the smart TV may include, but are not limited to: the aforementioned at least one processing unit 410, the aforementioned at least one storage unit 420, and a bus 430 connecting different system components (including the storage unit 420 and the processing unit 410).
  • the smart TV can be displayed through the display unit 440.
  • the storage unit stores program code, and the program code can be executed by the processing unit 410, so that the processing unit 410 executes the various exemplary methods described in the description section of the above exemplary method of this specification.
  • the processing unit 410 may perform various steps as shown in FIG. 2.
  • the storage unit 420 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 4201 and/or a cache storage unit 4202, and may further include a read-only storage unit (ROM) 4203.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 420 may also include a program/utility tool 4204 having a set of (at least one) program module 4205.
  • program module 4205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 430 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the smart TV can also communicate with one or more external devices 600 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable users to interact with the smart TV, and/or communicate with A smart TV can communicate with any device (such as a router, modem, etc.) that communicates with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 450.
  • the smart TV can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 460. As shown in the figure, the network adapter 460 communicates with other modules of the smart TV through the bus 430.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
  • Including several instructions to make a computing device which may be a personal computer, server, terminal device, or network device, etc.
  • a computer program medium is also provided, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor of the computer, the computer is caused to execute the foregoing method embodiments. Partially described methods.
  • a program product for implementing the method in the above method embodiment which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be used in the terminal Running on equipment, such as a personal computer.
  • CD-ROM portable compact disk read-only memory
  • the program product of this application is not limited to this.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RGM), read-only memory (ROM), erasable At least one of programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, and magnetic storage device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code for performing the operations of the application can be written in any combination of one or more programming languages.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a user computing device through any kind of network, including a local area network (KGN) or a wide area network (WGN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
  • KGN local area network
  • WGN wide area network
  • modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory.
  • the features and functions of two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, mobile terminal, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
  • Including several instructions to make a computing device which may be a personal computer, server, mobile terminal, or network device, etc.

Abstract

本申请是关于一种智能电视上显示消息的方法及智能电视,属于智能电视技术领域,该方法包括:响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。本申请实现智能电视上能够在任何场景下均展示消息,有效提升用户体验。

Description

智能电视上显示消息的方法及智能电视
本申请要求在2019年08月22日提交中国专利局、申请号为201910779836.9、发明名称为“智能电视上显示消息的方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及智能电视技术领域,具体而言,涉及一种智能电视上显示消息的方法及智能电视。
背景技术
随着智能电视普及,人们对电视的使用也越来越普遍,电视中的通知消息一般是通过弹出消息通知的方式来实现,一般的,弹出消息通知的位置是预先设定好的固定位置,智能电视在接受到服务器发送的消息后,在预设位置弹出消息通知。
发明内容
根据本申请的第一方面,提供一种智能电视上显示消息的方法,包括:
响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
根据本申请的第二方面,提供一种智能电视上显示消息的装置,包括:
类型获取模块,用于响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
判断模块,用于基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
位置获取模块,用于当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
显示模块,用于将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
根据本申请的第三方面,提供一种智能电视终端,包括:
处理器;以及
存储器,用于存储所述处理器的计算机程序;其中,所述处理器配置为经由执行所述计算机程序来执行智能电视上显示消息的方法。
根据本申请的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现智能电视上显示消息的方法。
根据本申请的第四方面,提供了一种智能电视,包括控制器和显示器:所述控制器用于:
响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
控制所述显示器将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。
附图说明
通过参考附图详细描述其示例实施例,本申请的上述和其它目标、特征及优点将变得更加显而易见。
图1A-1H示出了根据本申请一些实施例的智能电视上显示消息的应用场景中的终端界面图,这些终端界面图表示了智能电视上显示消息的大体过程;
图2示出了根据本申请一些实施例的智能电视上显示消息的方法的流程图;
图3示出了根据本申请一些实施例的一种应用场景下智能电视上显示消息的流程图;
图4示出了根据本申请一些实施例的另一种应用场景下智能电视上显示消息的流程图;
图5示出了根据本申请一些实施例的智能电视上显示消息的装置的模块图;
图6示出了根据本申请一些实施例的服装图片推送终端的硬件结构图。
具体实施方式
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些示例实施方式使得本申请的描述将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。附图仅为本申请的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多示例实施方式中。在下面的描述中,提供许多具体细节从而给出对本申请的示例实施方式的充分理 解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、步骤等。在其它情况下,不详细示出或描述公知结构、方法、实现或者操作以避免喧宾夺主而使得本申请的各方面变得模糊。
附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。
下面参考图1A-图1H描述本申请实施例中,在智能电视上显示消息的这一应用场景下,这些智能电视终端的终端界面图,以此展现出本申请实施例的大致过程。
如图1A所示,智能电视终端界面上显示了覆盖电视屏幕界面的电视应用界面(如多媒体浏览应用界面、系统设置应用界面,影视播放界面等),此时智能电视上未显示消息。
在一些实施例中,上述电视应用界面可以使非小窗通话界面。
如图1B所示,在接收到系统消息显示指令时,智能电视终端上未进行视频通话,在电视屏幕界面上系统消息的预定消息显示位置(电视屏幕界面的右上角)显示消息提示框来显示系统消息。
在一些实施例中,预定消息显示位置也可以使被预先设定为其他位置,示例性的,位于显示区域上边缘的中间位置,显示区域整个上边缘等
如图1C所示,在接收到系统消息显示指令时,智能电视终端上在进行视频通话,视频通话窗为非全屏窗口(如悬浮在电视应用界面之上的小窗口),非全屏窗口为显示时遮挡预定消息显示位置对应的类型(非全屏窗口的预定显示位置(右上角)与系统消息的预定消息显示位置(右上角)冲突),此时将消息提示框显示在不被通话窗遮挡的当前消息显示位置(电视屏幕界面的右下角)。
在一些实施例中,视频通话窗为非全屏窗口的界面为小窗通话界面,小窗通话界面中包含显示应用界面的底层和设置有视频通话窗口的浮层,其中浮层位于所述底层上方,所述浮层中绘制有视频通话窗口,视频通话窗口仅在预设位置遮挡底层的部分区域,不影响视频通话窗口外的的其他位置的底层图像的观看。
在一些实施例中,小窗通话界面中,只能电视的遥控器焦点位于底层上,用户可以正常的控制底层的应用界面中的控件的操作。
如图1D所示,在接收到系统消息显示指令时,智能电视终端上在进行视频通话,视频通话窗为全屏窗口(如覆盖在电视应用界面之上的全屏窗口),全屏窗口为显示时遮挡所有可能的预定消息显示位置对应的类型,对于层级较低的系统消息提示框会被遮挡在通话窗之下,无法显示。
如图1E所示,当图1D中的全屏通话窗切换为图1E的非全屏通话窗,显示在屏幕右上角,留出了可以显示系统消息的消息提示框的区域,此时,切换得到的非全屏窗口依旧与系统消息的预定显示位置(右上角)冲突,则将消息提示框显示在不被通话窗遮挡的当前消息显示位置(电视屏幕界面的右下角)。
如图1F所示,在接收到电视应用消息显示指令时,智能电视终端上未进行视频通话,在电视屏幕界面上电视应用消息的预定消息显示位置(电视应用界面的顶部)显示消息提 示框来显示系统消息。
如图1G所示,在接收到电视应用消息显示指令时,智能电视终端上在进行视频通话,视频通话窗为非全屏窗口(如悬浮在电视应用界面之上的小窗口),非全屏窗口为显示时遮挡预定消息显示位置对应的类型(非全屏窗口的预定显示位置(右上角)与电视应用消息的预定消息显示位置(电视应用界面的顶部),可能会存在消息提示框与非全屏窗口部分交叉覆盖的冲突),此时将消息提示框直接显示在不被通话窗遮挡的当前消息显示位置(电视应用界面的下部),由于电视应用消息的消息提示框层级最高,显示时可能会覆盖在通话窗上层,即存在显示位置被遮挡(但是提示框浮在通话窗之上层)的可能,这样可以保证电视应用消息显示的位置与通话窗位置不冲突,提升用户体验。
如图1H所示,在接收到电视应用消息显示指令时,智能电视终端上在进行视频通话,视频通话窗为全屏窗口(覆盖在电视应用界面之上),此时电视应用消息类型的消息提示框层级最高,虽然显示位置被遮挡,但是显示时会悬浮在全屏通话窗之上。此时可以如图1E所示,将全屏窗切换为非全屏窗口进行显示。一些实施例中直接将电视应用消息的消息提示框悬浮在通话窗之上,显示在电视应用消息的预定消息显示位置(电视应用界面的顶部),这是因为全屏聊天时有足够的聊天画面,不通话切换后进行显示,保证用户体验。在另一种实施方式中,在接收到电视应用消息显示指令时,智能电视终端上在进行视频通话,视频通话窗为全屏窗口,不显示电视应用消息。
需要说明的是,以上终端界面图仅仅是作为示例展现出本申请实施例的大致过程,并不对本申请造成限制。
下面对本申请实施例的具体实施过程进行描述。
如图2所示,根据本申请一些实施例,提供了一种智能电视上显示消息的方法,该方法包括:
步骤S210:响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
步骤S220:基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
步骤S230:当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
步骤S240:将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
下面描述智能电视上显示消息时,所进行的各步骤的具体过程。
步骤S210:响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型。
一些实施例的实施方式中,消息显示指令可以是智能电视上任意指示将待显示消息显示在电视屏幕界面的指令。如,对于系统消息(如提示信号不稳定的消息等),通知中心APK定时的会从通知服务的系统端查询是否有消息,如果查询到由待显示的系统消息则发 出系统消息显示指令;对于电视应用消息(如节目播放完毕的Toast提示消息等),电视应用自动在出现某种情形时触发电视应用消息显示指令。
视频通话对应的通话窗为用户利用智能电视进行视频通话时,显示在电视屏幕界面上的不同大小的通话窗口。窗口类型包括显示时占用了所有电视屏界面区域的全屏窗口,以及占用了电视屏界面部分区域的非全屏窗口。
不同的窗口具有相应的标识(如对象名),用来在视频通话时通过标识调用对应的通话窗;不同的窗口具有相应的属性,如窗口大小、坐标位置等;这样通过查找视频通话时调用的窗口标识,可以确定出电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型。
在一些实施例中,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型,包括:
获取系统上所述通话窗口建立时写入的窗口类型对应的系统参数;
根据所述窗口类型对应的系统参数,确定所述通话窗的窗口类型。
通过整机及其它电视应用约定一个整机的参数,根据视频通话状态变化的时候分别写入不同的系统参数(含开始视频通话、窗口类型(全屏窗口、非全屏窗口、浮窗等)及窗口关闭、视频通话断开等各种场景),因此可以实时获取窗口类型。
在一些实施例中,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型,包括:
获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口标识;
根据所述窗口标识关联的窗口模式,确定所述通话窗的窗口类型。
窗口标识可以是创建通话窗的对象名,可以唯一指示一个通话窗。窗口标识与通话窗的窗口模式(窗口大小属性,例如适应电视屏幕界面大小或者具有预定大小)关联。进而,通过获取通话窗的窗口标识,就可以基于窗口标识关联的窗口模式,确定通话窗的窗口类型(如全屏窗口或者非全屏窗口)。
继续参照图2所示,步骤S220:基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型。
一些实施例的实施方式中,预定消息显示位置为预先设定的消息提示框的定位坐标在电视屏幕界面上位置。当消息类型为系统消息时,可以设定预定消息显示位置位于屏幕的右上角(电视屏幕界面右上角的预定区域内,如以电视屏幕最左下角像素为坐标原点,右上角100*100个像素的正方形区域)。当消息类型为电视应用消息时,可以设定预定消息显示位置位于电视应用的顶部(电视屏幕界面顶部的预定区域,如电视屏幕界面最上条边及该边向下移动预定距离装置之间的顶部区域)。
通常通话窗的窗口类型包括全屏窗口和非全屏窗口。全屏窗口显示时覆盖电视屏幕界面所有区域,既遮挡预定消息显示位置。非全屏窗口显示时没有覆盖电视屏幕界面所有区域,但是当非全屏窗口的预定显示位置与预定消息显示位置冲突时(非全屏窗口的预定显示位置与预定消息显示位置位于电视屏幕界面同一区域),则可能会遮挡预定消息显示位置,使得消息展示不全,影响用户体验,进而基于非全屏窗口的预定显示位置与预定消息 显示位置位于电视屏幕界面同一区域,可以确定非全屏窗口为显示时遮挡预定消息显示位置对应的类型。通过确定通话窗是否为显示时遮挡预定消息显示位置对应的类型,可以及时地在通话窗显示时遮挡预定消息显示位置时,进行调整后显示。
需要说明的是,通话窗显示时遮挡预定消息显示位置包括通话窗占用的区域与预定消息显示位置所在的屏幕区域存在重合部分。这样可能会存在通话窗与消息提示框即便不交叉遮挡,但是由于显示集中,影响边看边聊的体验,此时也认为通话窗显示时遮挡预定消息显示位置。
在一些实施例中,所述基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
当所述窗口类型为全屏窗口时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型。
当所述窗口类型为非全屏窗口时,根据所述通话窗的预定显示位置确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型。
全屏窗口显示时覆盖电视屏幕界面所有区域,肯定遮挡预定消息显示位置。因此,当窗口类型为全屏窗口时,可以确定通话窗的窗口类型为显示时遮挡预定消息显示位置对应的类型。非全屏窗口显示时没有覆盖电视屏幕界面所有区域,因此,当窗口类型为非全屏窗口时,可以通过判断通话窗的预定显示位置是否与预定消息显示位置冲突(即非全屏窗口的预定显示位置是否与预定消息显示位置位于电视屏幕界面同一区域),确定通话窗是否为显示时遮挡预定消息显示位置对应的类型。需要说明的时,事先可以将电视屏幕界面划分为多个显示区域,其中,部分显示区域(如屏幕界面右上角区域或者上部区域)可以用来显示非全屏窗口或者消息显示框。
在一些实施例中,所述基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
当所述窗口类型为非全屏窗口时,通过通话窗与消息显示框部分重叠确定所述通话窗为显示时遮挡预定消息显示位置对应的类型。
消息提示框的位置具体的可以通过设定消息提示框最右上角的位置在电视屏幕界面的定位坐标,及消息提示框的大小,可以确定消息提示框在电视屏幕界面的位置(占用的像素区域)。通话窗的位置也可以通过设定通话窗最右上角的位置在电视屏幕桌面的定位坐标及通话框大小确定。可以理解,通话框及消息提示框定位坐标对应的角可以是任意一个角,如右下角、左上角等。
进而当通话窗与消息显示框占用同样的像素区域时,说明通话窗与消息显示框部分重叠,进而确定通话窗为显示时遮挡预定消息显示位置对应的类型。
在一些实施例中,根据所述通话窗的预定显示位置确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
当所述通话窗的预定显示位置与所述预定消息显示位置一致时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型;
当所述通话窗的预定显示位置与所述预定消息显示位置不一致时,确定所述窗口类型 不是显示时遮挡预定消息显示位置对应的类型。
通话窗的预定显示位置与预定消息显示位置均可以通过通话窗与消息提示框的定位坐标在电视屏幕界面的区域确定。因此,可以将电视屏幕界面划分为多个小区域,通过判断通话窗与消息提示框的坐标在同一区域,确定通话窗的预定显示位置与所述预定消息显示位置一致,通话窗与消息提示框的坐标不在同一区域,确定通话窗的预定显示位置与所述预定消息显示位置不一致。
另一种实施方式中,也可以通过通话窗与消息提示框的定位坐标之间的距离小于预定阈值,确定通话窗的预定显示位置与所述预定消息显示位置一致;通过通话窗与消息提示框的定位坐标之间的距离大于预定阈值,确定通话窗的预定显示位置与所述预定消息显示位置不一致。预定阈值通过消息提示框的可能大小的最大值,及通话窗可能大小的最大值时,通话窗与消息提示框在屏幕界面上不交叉时定位坐标之间的距离确定。
在一些实施例中,预先设定非全屏通话窗的显示位置与预定消息显示位置一致,所述基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
当所述窗口类型为非全屏窗口时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型;
当所述窗口类型不是非全屏窗口时,确定所述视频通话是否断开,如果没有断开,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型。
通过首先确定通话窗的窗口类型是否为非全屏通话窗,如果是,由于预先设定非全屏通话窗的显示位置与预定消息显示位置一致,则直接确定通话窗显示时遮挡预定消息显示位置。如果不是,则说明通话窗为全屏通话窗,然后确定视频通话是否断开,如果没有断开说明通话窗覆盖所有电视屏幕界面,则确定窗口类型为显示时遮挡预定消息显示位置对应的类型。
继续参照图2所示,步骤S230:当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置。
一些实施例的实施方式中,不被通话窗遮挡的当前消息显示位置可以是与通话窗的显示位置不在电视屏幕界面上同一区域的位置,也可以是使得电视屏幕界面上通话窗显示时与消息显示指令对应的待显示消息在显示时不交叉或者重叠的消息显示位置。当待显示消息为系统消息时,系统消息提示框的层级较低,显示时位于通话窗下层,如果两者位置冲突显示时会被通话窗遮挡,此时,不被通话窗遮挡的当前消息显示位置需要是消息提示框与通话窗完全不交叉。
而待显示消息为电视应用消息时,电视应用消息提示框的层级较高,显示时浮于通话窗上层,如果两者位置冲突显示时通话窗会被遮挡。在一些实施例中,待显示消息为电视应用消息时,如果通话窗为非全屏窗口,此时被消息提示框遮挡时,不利于通话进行,确定不被通话窗遮挡的当前消息显示位置需要是消息提示框与通话窗完全不交叉。但是,待显示消息为电视应用消息时,如果通话窗为全屏窗口被消息提示框遮挡部分区域时,由于遮挡区域与全屏窗整体比例上很少,通话完全不受影响,此时可以将预定消息显示位置确 定为当前消息显示位置。
当前消息显示位置可以预先设定的与通话窗实时显示位置不冲突的替代位置(当前消息显示位置与通话窗实时显示位置不在电视屏幕界面同一区域)。通过获取当前显示位置可以在智能电视上看边聊的场景的通话窗位置跟原有的消息展示位置冲突时,在当前位置显示消息。
在另一种实施方式中,当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,且当窗口类型为全屏窗口时,从所述电视屏幕界面上不进行获取不被所述通话窗遮挡的当前消息显示位置。
这样可以在后续步骤中不显示消息,避免影响用户通话体验。
在一些实施例中,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置,包括:
当所述通话窗为非全屏窗口时,获取电视屏幕界面上与所述预定消息显示位置事先关联的替代位置,作为所述当前消息显示位置,其中,所述替代位置位于所述电视屏幕界面上未被预定大小所述通话窗占用的区域。
替代位置就是预先设定的用于在预定消息显示位置与通话窗显示位置冲突时,显示消息的备用位置。通过预先设定替代位置的坐标就可以确定当前消息显示位置。事先对电视屏幕界面划定多个显示区域(相邻显示区域可以存在部分重合区域),预定大小通话窗占用的区域可以是通话窗定位坐标及通话窗大小确定通话窗口在电视屏幕界面上占用了的多个显示区域,进而可以确定出电视屏幕界面上未被预定大小通话窗占用的区域的位置设置替代位置。另一种方式中,不对电视屏幕界面划定多个显示区域,预定大小通话窗占用的区域为基于通话窗定位坐标及通话窗大小确定的通话窗占用的电视屏幕界面像素区域。
在一些实施例中,当所述通话窗为非全屏窗口时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置包括:
获取通话窗的定位坐标及通话窗的宽和高;
基于所述通话窗的定位坐标及通话窗的宽和高,确定所述电视屏幕界面上的通话窗窗口覆盖区域;
获取所述电视屏幕界面上所述通话窗窗口覆盖区域之外的任意位置,作为所述当前消息显示位置。
通话窗的定位坐标及通话窗的宽和高可以从创建通话窗的属性值中获取。例如,当通话窗的定位坐标为右上角时,通过宽、高可以计算到通话窗面积,基于定位坐标可以确定通话窗窗口覆盖区域。这样可以根据窗口实时位置确定非全屏窗口窗口覆盖区域之外的任意位置,获得当前消息显示位置,保证消息显示在当前消息显示位置时不存在遮挡情况。
在一些实施例中,预设预定大小的第二通话窗,所述第二通话窗为非全屏窗口;
所述从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置,包括:
当所述通话窗为全屏窗口时,将所述通话窗切换为第二通话窗,并显示在所述电视屏幕界面的预定位置;
获取电视屏幕界面上与所述预定位置事先关联的替代位置,作为所述当前消息显示位 置,其中,所述替代位置位于所述电视屏幕界面上未被所述预定大小的非全屏第二通话窗占用的区域。
通过将全屏窗口切换为非全屏窗口的第二通话窗,可以留出任何类型的消息显示的位置。显示在电视屏幕界面的预定位置,该预定位置可以是电视屏幕界面上的任意位置,例如预定消息显示位置。由于第二通话窗为预定大小,事先为预定位置关联的替代位置可以保证当前消息显示位置位于电视屏幕界面上未被预定大小的非全屏第二通话窗占用的区域。其中,切换可以通过后台调用创建预定大小的第二通话窗的方法来实现,可以在检测到全屏窗口时自动切换,也可以由用户手动切换。
在一些实施例中,当所述通话窗为全屏窗口时,将所述通话窗切换为第二通话窗,包括:
当所述通话窗为全屏窗口且所述消息显示指令对应待显示消息为系统消息时,将所述通话窗切换为第二通话窗。
在一些实施例中,预设多个不同大小的第二通话窗,所述第二通话窗为非全屏窗口;
所述当所述通话窗为全屏窗口时,将所述通话窗切换为第二通话窗,包括:
获取所述消息显示指令对应的待显示消息的消息提示框的大小;
根据所述消息提示框的大小及所述电视屏幕界面的大小,计算第二通话窗的大小的最大值;
将所述第一通话窗切换为大小小于所述最大值的预设的多个不同大小的第二通话窗中任意一个第二通话窗。
消息显示指令对应的待显示消息的消息提示框为根据消息显示内容自适应生成,可以获得其属性中的宽、高等大小。根据所述消息提示框的大小及所述电视屏幕界面的大小,计算第二通话窗的大小的最大值,可以通过电视屏幕界面的宽与消息提示框的宽的差值作为第二通话窗的宽的最大值,电视屏幕界面的高与消息提示框的高的差值作为第二通话窗的高的最大值,进而计算得到第二通话窗的大小的最大值。进而可以将第一通话窗切换为大小小于第二通话窗最大值的预设的多个不同大小的第二通话窗中任意一个第二通话窗,保证通话质量,保证用户体验。
在一些实施例中,所述从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置,包括:
当所述通话窗为全屏窗口且所述消息显示指令对应的待显示消息为电视应用消息时,将所述预定消息显示位置确定为不被所述通话窗遮挡的当前消息显示位置。
消息显示指令对应的待显示消息为电视应用消息时,电视应用消息的提示框层级较高,会浮在通话框之上,此时,在通话窗为全屏窗口时,将预定消息显示位置确定为不被所述通话窗遮挡的当前消息显示位置,可以在全屏通话时,任然在预定消息显示位置显示消息,由于全屏通话窗足够大,可以清楚地在显示消息的同时进行高质量的通话,有效保证用户体验,此时,可以将预定消息显示位置近似理解为不被所述通话窗遮挡的位置。
继续参照图2所示,步骤S240:将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
一些实施例的实施方式中,通过将消息显示指令对应的消息提示框的显示在当前消息显示位置对应的坐标位置,由于当前显示位置为不被所述通话窗遮挡的位置,可以保证消息显示位置与通话窗显示位置不冲突,有效提高用户体验。
图2所示的实施例中,通过在电视上进行视频通话时,当所述窗口类型是显示时遮挡预定消息显示位置对应的类型时,从电视屏幕界面上获取不被通话窗遮挡的当前消息显示位置,进行显示消息,实现智能电视上在视频聊天时消息展示能够完全不受遮挡,能够在任何场景下均展示消息,有效提升用户体验。
在一些实施例中,基于前述方案,当所述消息显示指令对应的待显示消息为系统消息时,所述预定消息显示位置位于电视屏幕界面的右上角;
所述当前消息显示位置,包括:
当所述所述窗口类型为非全屏窗口且预定显示位置为电视屏幕界面的右上角,所述当前消息显示位置位于电视屏幕界面的右下角。
电视屏幕界面的右上角(右上角预定区域,如最右上角的正方形区域)进行系统消息提示,可以保证用户最好的观影体验,通常非全屏通话窗的位置也位于电视屏幕界面的右上角,两者会存在位置冲突。首先都会覆盖在电视应用界面上部,而且可能存在互相遮挡的可能。此时将当前显示位置确定到电视屏幕界面的右下角。在位置冲突时,可以进行不被通话窗遮挡的位置的获取,以保障任何情况下均可以显示消息,且保证电视上应用界面上看的功能影响最小化。本实施例中,非全屏窗口可以由全屏窗口切换得到。
在一些实施例中,基于前述方案,当所述消息显示指令对应的待显示消息为电视应用消息时,所述预定消息显示位置位于电视应用界面顶部。
所述当前消息显示位置,包括:
当所述窗口类型为非全屏窗口且预定显示位置为电视屏幕界面的右上角时,所述当前消息显示位置位于电视应用界面下部;
当所述窗口类型为全屏窗口时,所述当前消息显示位置与所述预定消息显示位置一致。
电视应用界面顶部(电视应用一般覆盖电视屏幕界面所有区域,顶部即顶部预定区域,如电视屏幕界面最上的一条边至向下预定距离的区域)显示电视应用消息,可以保证电视应用消息对电视应用界面的浏览体验影响最小化,通常非全屏通话窗的位置位于电视屏幕界面的右上角,右上角的位置与顶部的位置存在重合部分,同时同时显示在电视屏幕界面上方,存在互相遮挡的可能,同时会对电视应用界面上部遮盖太多,会影响用户体验。此时当前消息显示位置位于电视应用界面下部,在位置冲突时,可以进行不被通话窗遮挡的位置的获取,以保障任何情况下均可以显示消息同时显示视频通话框,互不影响,且保证电视上应用界面上看的功能影响最小化。窗口类型为全屏窗口时,由于电视应用消息提示框层级较高,会浮在通话窗之上,当前消息显示位置与预定消息显示位置一致,通话界面足够大,同时只会被消息框遮挡小部分区域,直接在预定消息显示位置显示消息,不会影响用户体验。
一种实施方式中,当所述窗口类型为全屏窗口时,所述当前消息显示位置为空。
这样可以在全屏窗口通话时,不显示消息。
一种实施方式中,所述方法还包括:
响应于接收到消息显示指令,确定所述智能电视上是否在进行视频通话;
当确定智能电视上没有在进行视频通话,将所述消息显示指令对应的待显示消息显示在预定消息显示位置。
接收到消息显示指令时,通过判断智能电视上本地视频是否被打开或者是否可以获取到视频通话组件被启动时写入系统的参数可以确定智能电视上是否在进行视频通话,如果确定智能电视上没有在进行视频通话,不存在位置,冲突可以将消息显示指令对应的待显示消息显示在预定消息显示位置。
下面结合一种应用场景下,智能电视上显示消息的过程,对上述实施例进行详细描述。
图3示出了根据本申请一些实施例的一种应用场景下智能电视上显示消息的流程图。
如图3所示,通知中心应用APK定时的会从通知服务的系统消息端查询是否有消息,如果查询到消息后发出消息显示指令,此时检测智能电视上是否在视频通话。如果否,即没有在视频通话,则消息右上角展示(预定系统消息显示位置右上角),在屏幕的右上角弹出消息通知。如果在视频通话,则确定是否非全屏窗口,如果是非全屏窗口模式下聊天,则消息右下角显示,因为右上角已经展示非全屏窗口(预定非全屏窗口显示位置右上角),消息信息在右下角显示。如果不是非全屏窗口模式下聊天,则确定为全屏窗口,此时,确定通话是否断开,如果断开,则直接将消息右上角展示(预定系统消息显示位置右上角)。如果通话没有断开,则在全屏窗口切换为非全屏窗口(预定非全屏窗口显示位置右上角)时,自动将消息信息在右下角显示。
图3所示的实施例中,在非全屏通话窗预定显示位置与系统消息显示位置冲突时,自动实现消息显示位置切换,不被通话窗遮挡,以及在全屏通话穿切换为非全屏通话窗时,自动切换消息显示位置,能够在任何场景下显示消息,且保证用户边看边聊的体验。
图4示出了根据本申请一些实施例的一种应用场景下智能电视上显示消息的流程图。
如图4所示,因提示用户,在电视应用内经常会弹出Toast等电视应用消息,预定的布局是在电视应用界面顶部提示。因某种条件触发电视应用消息弹出时,确定是否在视频通话。如果没有在视频通话,则在电视应用界面顶部显示消息。如果在视频通话,确定是否为非全屏窗口通话。如果是非全屏窗口通话,则在电视应用界面下部显示消息;如果不是非全屏窗口通话,则说明为全屏窗口通话,直接在电视应用界面顶部(预定位置)显示消息。
图4所示的实施例中,在非全屏通话窗预定显示位置与电视应用消息显示位置冲突时,自动实现消息显示位置切换,使得通话窗与消息显示位置不冲突,保证不会互相遮挡。同时在全屏窗口聊天时基于电视应用消息的高层级,直接显示在预定消息显示位置,只会遮挡大面积聊天窗口的小部分区域,能够在任何场景下显示消息,且保证用户边看边聊的体验。
根据本申请实施例,如图5所示,还提供了一种智能电视上显示消息的装置,包括:
类型获取模块310,用于响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
判断模块320,用于基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
位置获取模块330,用于当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
显示模块340,用于将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
本申请实施例的智能电视上显示消息的方法可以由智能电视实现。下面参考图6来描述根据本申请实施例的智能电视。图6显示的智能电视仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图6所示,智能电视以通用计算设备的形式表现。智能电视的组件可以包括但不限于:上述至少一个处理单元410、上述至少一个存储单元420、连接不同系统组件(包括存储单元420和处理单元410)的总线430。智能电视可以通过显示单元440进行显示。
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元410执行,使得所述处理单元410执行本说明书上述示例性方法的描述部分中描述的根据本申请各种示例性实施方式的步骤。例如,所述处理单元410可以执行如图2中所示的各个步骤。
存储单元420可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)4201和/或高速缓存存储单元4202,还可以进一步包括只读存储单元(ROM)4203。
存储单元420还可以包括具有一组(至少一个)程序模块4205的程序/实用工具4204,这样的程序模块4205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线430可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
智能电视也可以与一个或多个外部设备600(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该智能电视交互的设备通信,和/或与使得该智能电视能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口450进行。并且,智能电视还可以通过网络适配器460与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器460通过总线430与智能电视的其它模块通信。应当明白,尽管图中未示出,可以结合智能电视使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本申请实 施方式的方法。
在本申请的示例性实施例中,还提供了一种计算机程序介质,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行上述方法实施例部分描述的方法。
根据本申请的一个实施例,还提供了一种用于实现上述方法实施例中的方法的程序产品,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RGM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件中的至少一种。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(KGN)或广域网(WGN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。
此外,尽管在附图中以特定顺序描述了本申请中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性 存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本申请实施方式的方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由所附的权利要求指出。

Claims (14)

  1. 一种智能电视上显示消息的方法,所述方法包括:
    响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
    基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
    当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
    将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
  2. 根据权利要求1所述的方法,预先设定非全屏通话窗的显示位置与预定消息显示位置一致,所述基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
    当所述窗口类型为非全屏窗口时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型;
    当所述窗口类型不是非全屏窗口时,确定所述视频通话是否断开,如果没有断开,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型。
  3. 根据权利要求1所述的方法,所述基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
    当所述窗口类型为全屏窗口时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型;
    当所述窗口类型为非全屏窗口时,根据所述通话窗的预定显示位置确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型。
  4. 根据权利要求3所述的方法,根据所述通话窗的预定显示位置确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:
    当所述通话窗的预定显示位置与所述预定消息显示位置一致时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型;
    当所述通话窗的预定显示位置与所述预定消息显示位置不一致时,确定所述窗口类型不是显示时遮挡预定消息显示位置对应的类型。
  5. 根据权利要求1所述的方法,所述从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置,包括:
    当所述通话窗为非全屏窗口时,获取电视屏幕界面上与所述预定消息显示位置事先关联的替代位置,作为所述当前消息显示位置,其中,所述替代位置位于所述电视屏幕界面上未被预定大小所述通话窗占用的区域。
  6. 根据权利要求1所述的方法,预设预定大小的第二通话窗,所述第二通话窗为非全屏窗口;
    所述从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置,包括:
    当所述通话窗为全屏窗口时,将所述通话窗切换为第二通话窗,并显示在所述电视屏幕界面的预定位置;
    获取电视屏幕界面上与所述预定位置事先关联的替代位置,作为所述当前消息显示位置,其中,所述替代位置位于所述电视屏幕界面上未被所述预定大小的非全屏第二通话窗占用的区域。
  7. 根据权利要求6所述的方法,预设多个不同大小的第二通话窗,所述第二通话窗为非全屏窗口;
    所述当所述通话窗为全屏窗口时,将所述通话窗切换为第二通话窗,包括:
    获取所述消息显示指令对应的待显示消息的消息提示框的大小;
    根据所述消息提示框的大小及所述电视屏幕界面的大小,计算第二通话窗的大小的最大值;
    将所述第一通话窗切换为大小小于所述最大值的预设的多个不同大小的第二通话窗中任意一个第二通话窗。
  8. 根据权利要求1所述的方法,所述从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置,包括:
    当所述通话窗为全屏窗口且所述消息显示指令对应的待显示消息为电视应用消息时,将所述预定消息显示位置确定为不被所述通话窗遮挡的当前消息显示位置。
  9. 根据权利要求1所述的方法,所述获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型,包括:
    获取系统上所述通话窗口建立时写入的窗口类型对应的系统参数;
    根据所述窗口类型对应的系统参数,确定所述通话窗的窗口类型。
  10. 根据权利要求1所述的方法,当所述消息显示指令对应的待显示消息为系统消息时,所述预定消息显示位置位于电视屏幕界面的右上角;
    所述当前消息显示位置,包括:
    当所述窗口类型为非全屏窗口且预定显示位置为电视屏幕界面的右上角,所述当前消息显示位置位于电视屏幕界面的右下角。
  11. 根据权利要求1所述的方法,当所述消息显示指令对应的待显示消息为电视应用消息时,所述预定消息显示位置位于电视应用界面顶部。
    所述当前消息显示位置,包括:
    当所述窗口类型为非全屏窗口且预定显示位置为电视屏幕界面的右上角时,所述当前消息显示位置位于电视应用界面下部;
    当所述窗口类型为全屏窗口时,所述当前消息显示位置与所述预定消息显示位置一致。
  12. 根据权利要求1所述的方法,所述方法还包括:
    响应于接收到消息显示指令,确定所述智能电视上是否在进行视频通话;
    当确定智能电视上没有在进行视频通话,将所述消息显示指令对应的待显示消息显示在预定消息显示位置。
  13. 一种智能电视,包括控制器和显示器:所述控制器用于:
    响应于在视频通话时接收到消息显示指令,获取电视屏幕界面上显示的所述视频通话对应的通话窗的窗口类型;
    基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型;
    当所述窗口类型是通话窗显示时遮挡预定消息显示位置对应的类型时,从所述电视屏幕界面上获取不被所述通话窗遮挡的当前消息显示位置;
    控制所述显示器将所述消息显示指令对应的消息提示框显示在所述当前消息显示位置,以使得所述消息提示框不被所述通话窗遮挡。
  14. 根据权利要求13所述的智能电视,预先设定非全屏通话窗的显示位置与预定消息显示位置一致,所述控制器基于所述窗口类型,确定所述通话窗是否为显示时遮挡预定消息显示位置对应的类型,包括:所述控制器:
    当所述窗口类型为非全屏窗口时,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型;
    当所述窗口类型不是非全屏窗口时,确定所述视频通话是否断开,如果没有断开,确定所述窗口类型为显示时遮挡预定消息显示位置对应的类型。
PCT/CN2020/099454 2019-08-22 2020-06-30 智能电视上显示消息的方法及智能电视 WO2021031707A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/464,876 US11818440B2 (en) 2019-08-22 2021-09-02 Method for displaying message on smart television, and smart television

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910779836.9 2019-08-22
CN201910779836.9A CN110582027B (zh) 2019-08-22 2019-08-22 智能电视上显示消息的方法及相关装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/464,876 Continuation US11818440B2 (en) 2019-08-22 2021-09-02 Method for displaying message on smart television, and smart television

Publications (1)

Publication Number Publication Date
WO2021031707A1 true WO2021031707A1 (zh) 2021-02-25

Family

ID=68811668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099454 WO2021031707A1 (zh) 2019-08-22 2020-06-30 智能电视上显示消息的方法及智能电视

Country Status (3)

Country Link
US (1) US11818440B2 (zh)
CN (1) CN110582027B (zh)
WO (1) WO2021031707A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582027B (zh) 2019-08-22 2022-04-12 聚好看科技股份有限公司 智能电视上显示消息的方法及相关装置
CN111176603A (zh) * 2019-12-31 2020-05-19 海信视像科技股份有限公司 一种用于显示设备的图像显示方法及显示设备
CN111601147A (zh) * 2020-05-22 2020-08-28 青岛海信传媒网络技术有限公司 一种内容显示方法及显示设备
US20220030299A1 (en) * 2020-07-23 2022-01-27 Rovi Guides, Inc. Systems and methods for simultaneous content presentation
CN112675535B (zh) * 2020-12-24 2023-08-01 咪咕互动娱乐有限公司 显示界面调整方法、装置、网络设备及存储介质
CN116088734A (zh) * 2021-11-05 2023-05-09 北京小米移动软件有限公司 窗口调整方法、装置、电子设备和计算机可读存储介质
CN114390334A (zh) * 2022-02-16 2022-04-22 深圳康佳电子科技有限公司 电视上通话浮窗的移动控制方法、装置、电视及存储介质
CN115033333B (zh) * 2022-07-19 2022-12-16 荣耀终端有限公司 一种悬浮窗显示方法、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678819A (zh) * 2017-09-29 2018-02-09 珠海市魅族科技有限公司 一种信息处理方法及装置、终端及可读存储介质
US20180349283A1 (en) * 2017-06-03 2018-12-06 Vmware, Inc. Video redirection in virtual desktop environments
CN109634479A (zh) * 2018-10-25 2019-04-16 深圳壹账通智能科技有限公司 全屏状态下的通知信息处理方法、设备、存储介质及装置
CN109814975A (zh) * 2019-01-31 2019-05-28 维沃移动通信有限公司 一种通知消息显示方法及移动终端
CN110582027A (zh) * 2019-08-22 2019-12-17 聚好看科技股份有限公司 智能电视上显示消息的方法及相关装置

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110013606A (ko) * 2009-08-03 2011-02-10 엘지전자 주식회사 이동 통신 단말기에서의 메뉴 실행 방법 및 이를 적용한 이동 통신 단말기
US9116594B2 (en) * 2010-01-19 2015-08-25 Lg Electronics Inc. Mobile terminal and control method thereof
CN102307318B (zh) * 2011-03-18 2017-07-07 海尔集团公司 通过网络电视进行网络视频的处理方法及系统
US8712425B2 (en) * 2012-01-11 2014-04-29 Apple Inc. Managing a packet service call within mobile communications user equipment
US9356687B2 (en) * 2012-12-03 2016-05-31 Samsung Electronics Co., Ltd. Information providing method and mobile terminal therefor
KR102032449B1 (ko) * 2013-01-07 2019-10-15 삼성전자주식회사 이미지 표시 방법 및 휴대 단말
KR102053822B1 (ko) * 2013-06-03 2019-12-09 삼성전자주식회사 휴대 장치 및 휴대 장치의 화면 표시방법
CN104469513A (zh) * 2013-09-25 2015-03-25 联想(北京)有限公司 一种显示方法及电子设备
KR102108069B1 (ko) * 2014-01-22 2020-05-08 엘지전자 주식회사 이동단말기 및 그 제어방법
KR102135367B1 (ko) * 2014-01-23 2020-07-17 엘지전자 주식회사 이동 단말기 및 그것의 제어 방법
JP2015139200A (ja) * 2014-01-24 2015-07-30 船井電機株式会社 録画装置および録画システム
US20150341900A1 (en) * 2014-05-23 2015-11-26 Samsung Electronics Co., Ltd. Wearable device and method of setting reception of notification message therein
CN105635625B (zh) * 2014-10-31 2019-12-20 腾讯科技(深圳)有限公司 视频通话方法和装置
CN104360794B (zh) * 2014-11-21 2017-07-04 北京奇虎科技有限公司 通过识别全屏模式控制窗口弹出的方法及装置
US10444977B2 (en) * 2014-12-05 2019-10-15 Verizon Patent And Licensing Inc. Cellphone manager
CN104780423B (zh) * 2015-01-14 2018-03-20 康佳集团股份有限公司 一种移动终端即时通信同步到智能电视的方法及系统
CN106289341B (zh) * 2015-05-13 2020-11-17 普源精电科技股份有限公司 一种具有消息提示功能的测量仪器
US20170046496A1 (en) * 2015-08-10 2017-02-16 Social Health Innovations, Inc. Methods for tracking and responding to mental health changes in a user
KR102360662B1 (ko) * 2016-04-18 2022-02-08 더 비디오 콜 센터, 엘엘씨 인커밍 비디오 콜러들을 관리하기 위한 콜러 큐 프로세스 및 시스템
CN106375601B (zh) * 2016-10-28 2020-04-17 奇酷互联网络科技(深圳)有限公司 一种提醒处理方法和移动终端
KR20180081232A (ko) * 2017-01-06 2018-07-16 삼성전자주식회사 화면을 표시하기 위한 방법 및 그 전자 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180349283A1 (en) * 2017-06-03 2018-12-06 Vmware, Inc. Video redirection in virtual desktop environments
CN107678819A (zh) * 2017-09-29 2018-02-09 珠海市魅族科技有限公司 一种信息处理方法及装置、终端及可读存储介质
CN109634479A (zh) * 2018-10-25 2019-04-16 深圳壹账通智能科技有限公司 全屏状态下的通知信息处理方法、设备、存储介质及装置
CN109814975A (zh) * 2019-01-31 2019-05-28 维沃移动通信有限公司 一种通知消息显示方法及移动终端
CN110582027A (zh) * 2019-08-22 2019-12-17 聚好看科技股份有限公司 智能电视上显示消息的方法及相关装置

Also Published As

Publication number Publication date
CN110582027A (zh) 2019-12-17
CN110582027B (zh) 2022-04-12
US11818440B2 (en) 2023-11-14
US20210400356A1 (en) 2021-12-23

Similar Documents

Publication Publication Date Title
WO2021031707A1 (zh) 智能电视上显示消息的方法及智能电视
US9285945B2 (en) Method and apparatus for displaying multi-task interface
CN113613072B (zh) 一种多路投屏显示方法及显示设备
WO2014187043A1 (zh) 应用程序的显示处理方法及装置
CN109324722B (zh) 思维导图的节点添加方法、装置、设备及存储介质
WO2022073392A1 (zh) 图像显示方法及显示设备
WO2017193530A1 (zh) 一种视图生成方法、装置和终端
CN107846617B (zh) 一种智能终端和智能电视的互动方法
CN112612436A (zh) 一种投屏切换方法、装置、设备及存储介质
CN114327199A (zh) 一种显示设备及多窗口参数设置方法
CN114302201A (zh) 一种音箱模式下自动开关屏的方法及智能终端、显示设备
WO2022237603A1 (zh) 一种控件处理方法及显示设备
WO2023109404A1 (zh) 终端的显示方法以及终端的显示装置
CN114793298A (zh) 一种显示设备和菜单显示方法
CN113703705A (zh) 显示设备及列表更新方法
CN113965791A (zh) 悬浮窗口的返回方法和显示设备
CN113473175B (zh) 一种内容显示方法及显示设备
CN113473220B (zh) 一种音效自动启动方法及显示设备
WO2023240973A1 (zh) 显示设备及投屏方法
CN117289839A (zh) 一种音画设置方法及显示设备
CN117812336A (zh) 一种显示设备及界面显示方法
CN114339358A (zh) 一种关机选择界面的动态处理方法及显示设备
EP4256796A1 (en) Display apparatus
CN117768705A (zh) 显示设备及控件显示方法
CN117812424A (zh) 一种显示设备及分屏显示方法

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: 20855248

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20855248

Country of ref document: EP

Kind code of ref document: A1

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 1205A DATED 16/09/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20855248

Country of ref document: EP

Kind code of ref document: A1