[go: up one dir, main page]

CN114297435A - A communication terminal and a multi-screen interactive video browsing method - Google Patents

A communication terminal and a multi-screen interactive video browsing method Download PDF

Info

Publication number
CN114297435A
CN114297435A CN202011293785.8A CN202011293785A CN114297435A CN 114297435 A CN114297435 A CN 114297435A CN 202011293785 A CN202011293785 A CN 202011293785A CN 114297435 A CN114297435 A CN 114297435A
Authority
CN
China
Prior art keywords
video
communication terminal
display
user
key frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011293785.8A
Other languages
Chinese (zh)
Inventor
张娜
庞秀娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vidaa Netherlands International Holdings BV
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202011293785.8A priority Critical patent/CN114297435A/en
Publication of CN114297435A publication Critical patent/CN114297435A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a communication terminal and a multi-screen interactive video browsing method. The video sharing interface comprises video directory entries corresponding to a plurality of videos to be shared, and each video directory entry comprises a plurality of key frame images extracted from the videos to be shared so that a user can browse and view the key frame images. Through the plurality of key frame images, the video content in the preset time period can be displayed, a user can conveniently know the video content and select a video file to be shared to push to the display equipment, and the problem that a traditional video file browsing method is not beneficial to the user to select the video resource file to be shared is solved.

Description

一种通信终端及多屏互动视频浏览方法A communication terminal and a multi-screen interactive video browsing method

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种通信终端及多屏互动视频浏览方法。The present application relates to the field of communication technologies, and in particular, to a communication terminal and a multi-screen interactive video browsing method.

背景技术Background technique

基于网络连接关系的通信终端可以与显示设备建立多屏互动关系。例如,手机等通信终端可以通过无线网络与智能电视等显示设备建立连接关系,从而通过智能电视同步显示手机上的画面,或者在手机与智能电视之间共享资源。由于显示设备的显示屏幕较大,相对于通信终端更适合于会议演示等使用场景,因此通信终端可以在建立连接关系后,将本地视频资源推送到显示设备去显示。The communication terminal based on the network connection relationship can establish a multi-screen interactive relationship with the display device. For example, a communication terminal such as a mobile phone can establish a connection relationship with a display device such as a smart TV through a wireless network, so as to synchronously display the screen on the mobile phone through the smart TV, or share resources between the mobile phone and the smart TV. Since the display screen of the display device is larger, it is more suitable for use scenarios such as conference presentations than the communication terminal. Therefore, the communication terminal can push local video resources to the display device for display after establishing a connection relationship.

通常,通信终端向显示设备推送视频资源的操作为:用户通过交互操作进入文件管理界面,文件管理界面中可以展示由多个视频资源图标组成的视频列表,以供用户选择。用户选择任一视频资源文件的图标后,通过UI界面或预设的共享操作,将视频文件发送给显示设备,以使显示设备能够播放被共享的视频资源。Generally, the operation of the communication terminal to push video resources to the display device is as follows: the user enters the file management interface through an interactive operation, and the file management interface can display a video list composed of multiple video resource icons for the user to select. After the user selects the icon of any video resource file, the video file is sent to the display device through the UI interface or a preset sharing operation, so that the display device can play the shared video resource.

在文件管理界面中展现的视频资源图案一般为视频缩略图以及视频名称,即通过第一帧或特定帧的视频画面表示视频资源内容。但是在部分视频资源下,用户通过视频缩略图并不能对视频资源进行有效识别,即无法知道缩略图对应哪个视频资源,而且部分视频资源的名称,如手机录制的视频名称,通常没有能够表达其具体视频内容的意义,导致用户在推送视频时无法准确选中待共享的视频资源文件,降低操作效率。The video resource pattern displayed in the file management interface is generally a video thumbnail and a video name, that is, the video resource content is represented by the video picture of the first frame or a specific frame. However, under some video resources, the user cannot effectively identify the video resource through the video thumbnail, that is, it is impossible to know which video resource the thumbnail corresponds to, and the names of some video resources, such as the name of the video recorded by the mobile phone, usually cannot express their The significance of the specific video content makes it impossible for the user to accurately select the video resource file to be shared when pushing the video, which reduces the operation efficiency.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种通信终端及多屏互动视频浏览方法,以解决传统视频文件浏览方法不利于用户选中待共享视频资源文件的问题。The present application provides a communication terminal and a multi-screen interactive video browsing method, so as to solve the problem that the traditional video file browsing method is not conducive for users to select video resource files to be shared.

第一方面,本申请提供一种通信终端,包括:显示单元、通信电路以及处理器。其中,所述显示单元被配置为呈现各种用户界面,以及呈现视频分享界面。所述通信电路被配置与显示设备建立通信连接,以向显示设备推送分享的视频数据。所述处理器被配置为执行以下程序步骤:In a first aspect, the present application provides a communication terminal, including: a display unit, a communication circuit, and a processor. Wherein, the display unit is configured to present various user interfaces and to present a video sharing interface. The communication circuit is configured to establish a communication connection with the display device to push the shared video data to the display device. The processor is configured to perform the following program steps:

获取用户输入的多屏互动指令;Obtain the multi-screen interactive instructions entered by the user;

响应于所述多屏互动指令,控制所述显示单元显示视频分享界面。In response to the multi-screen interactive instruction, the display unit is controlled to display a video sharing interface.

其中,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。Wherein, the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of key frame images extracted from the video to be shared.

本申请第一方面提供的通信终端可以根据用户输入的多屏互动指令,在显示单元中显示视频分享界面。在视频分享界面中,包括多个待分享视频对应的视频目录项,并且,每个视频目录项中包括多个从待分享的视频中提取的关键帧图像,以供用户浏览查看。通过多个关键帧图像,可以对预设时间段内的视频内容进行展示,便于用户了解视频内容并选择要分享的视频文件推送给显示设备,解决传统视频文件浏览方法不利于用户选中待共享视频资源文件的问题。The communication terminal provided by the first aspect of the present application can display a video sharing interface in the display unit according to the multi-screen interactive instruction input by the user. The video sharing interface includes a plurality of video catalog items corresponding to the videos to be shared, and each video catalog item includes a plurality of key frame images extracted from the videos to be shared for the user to browse and view. Through multiple key frame images, the video content within a preset time period can be displayed, which is convenient for users to understand the video content and select the video file to be shared and push it to the display device, solving the problem that the traditional video file browsing method is not conducive to the user to select the video to be shared. Problems with resource files.

第二方面,本申请还提供一种显示设备,包括显示器、通信器以及控制器。其中,所述显示器被配置为显示用户界面以及显示通信终端分享的视频画面内容,通信器被配置为与通信终端建立通信连接,从而在通信终端获取分享的视频数据。控制器被配置为执行以下程序步骤:In a second aspect, the present application further provides a display device including a display, a communicator and a controller. Wherein, the display is configured to display the user interface and the video content shared by the communication terminal, and the communicator is configured to establish a communication connection with the communication terminal, so as to obtain the shared video data at the communication terminal. The controller is configured to perform the following procedural steps:

在与通信终端建立通信连接后,获取通信终端推送的视频文件;After establishing a communication connection with the communication terminal, obtain the video file pushed by the communication terminal;

解析所述视频文件,以及控制所述显示器显示所述视频文件的视频内容。Parse the video file, and control the display to display the video content of the video file.

其中,所述视频文件为用户在通信终端视频分享界面中选择的视频文件;所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。Wherein, the video file is a video file selected by the user in the video sharing interface of the communication terminal; the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of video catalog items extracted from the video to be shared keyframe image.

由以上技术方案可知,本申请第二方面提供的显示设备可以在建立通信连接后,通过通信器实时接收通信终端推送的视频文件,并对接收的视频文件进行解析,生成具体的视频画面内容,最后通过显示器显示该视频画面内容。由于显示设备接收到的视频文件为用户在视频分享界面中选择的视频文件,而在视频分享界面中,视频文件通过多个视频目录项进行表示,因此所接收到的视频可以直接展示用户待分享的视频内容,减少用户重复操作次数,提高用户体验。It can be seen from the above technical solutions that the display device provided by the second aspect of the present application can receive, in real time, the video file pushed by the communication terminal through the communicator after the communication connection is established, and parse the received video file to generate the specific video image content, Finally, the content of the video image is displayed on the display. Since the video file received by the display device is the video file selected by the user in the video sharing interface, and in the video sharing interface, the video file is represented by multiple video directory items, so the received video can directly display the video to be shared by the user video content, reducing the number of repeated user operations and improving user experience.

第三方面,本申请还提供一种多屏互动视频浏览方法,应用于与显示设备建立通信连接的通信终端,所述方法包括:In a third aspect, the present application further provides a multi-screen interactive video browsing method, which is applied to a communication terminal that establishes a communication connection with a display device, and the method includes:

获取用户输入的多屏互动指令;Obtain the multi-screen interactive instructions entered by the user;

响应于所述多屏互动指令,通过所述通信终端显示视频分享界面。In response to the multi-screen interactive instruction, a video sharing interface is displayed through the communication terminal.

其中,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。本申请第三方面提供的多屏互动视频浏览方法可以配置在通信终端的处理器中,以实现在通信终端获取用户输入的多屏互动指令后,能够显示视频分享界面。并且视频分享界面中包括多个视频目录项,且每个视频目录项中包括多个从待分享视频中提取的关键帧图像。所述方法可以通过多个关键帧图像对视频文件进行展示,使用户能够充分了解视频内容,便于准确选中要分享的视频文件。Wherein, the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of key frame images extracted from the video to be shared. The multi-screen interactive video browsing method provided by the third aspect of the present application may be configured in the processor of the communication terminal, so that the video sharing interface can be displayed after the communication terminal obtains the multi-screen interactive instruction input by the user. And the video sharing interface includes multiple video catalog items, and each video catalog item includes multiple key frame images extracted from the video to be shared. The method can display the video file through multiple key frame images, so that the user can fully understand the video content, and it is convenient to accurately select the video file to be shared.

第四方面,本申请还提供一种多屏互动视频浏览系统,包括通信终端和显示设备,所述通信终端和所述显示设备建立通信连接;In a fourth aspect, the present application further provides a multi-screen interactive video browsing system, including a communication terminal and a display device, wherein the communication terminal and the display device establish a communication connection;

所述通信终端被配置为:获取用户输入的多屏互动指令,并响应于所述多屏互动指令,显示视频分享界面,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像;以及,The communication terminal is configured to: acquire a multi-screen interactive instruction input by a user, and in response to the multi-screen interactive instruction, display a video sharing interface, where the video sharing interface includes a plurality of video catalog items, each of the video The catalog item includes a plurality of keyframe images extracted from the video to be shared; and,

向所述显示设备推送视频文件,所述视频文件为用户在通信终端视频分享界面中选择的待分享视频;Pushing a video file to the display device, where the video file is the video to be shared selected by the user in the video sharing interface of the communication terminal;

所述显示设备被配置为:获取通信终端推送的视频文件,解析所述视频文件,以及显示所述视频文件的视频内容。The display device is configured to: acquire a video file pushed by the communication terminal, parse the video file, and display video content of the video file.

由以上技术方案可知,本申请第四方面提供的多屏互动视频浏览系统,包括相互建立通信连接的通信终端和显示设备。通信终端可以在获取多屏互动指令后,显示视频分享界面,其中,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。在用户选择任一待分享视频后,通信终端还将所选择的视频文件推送给显示设备,以使显示设备在获取视频文件后可以显示该视频文件的具体视频内容。所述系统通过多个关键帧图像对视频文件进行展示,使用户能够充分了解视频内容,便于准确选中要分享的视频文件。It can be known from the above technical solutions that the multi-screen interactive video browsing system provided by the fourth aspect of the present application includes a communication terminal and a display device that establish a communication connection with each other. The communication terminal may display a video sharing interface after acquiring the multi-screen interactive instruction, wherein the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of key items extracted from the video to be shared. frame image. After the user selects any video to be shared, the communication terminal also pushes the selected video file to the display device, so that the display device can display the specific video content of the video file after acquiring the video file. The system displays video files through a plurality of key frame images, so that the user can fully understand the video content, and it is convenient to accurately select the video file to be shared.

附图说明Description of drawings

为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, without creative work, the Additional drawings can be obtained from these drawings.

图1为本申请实施例中显示设备与控制装置之间操作场景的示意图;1 is a schematic diagram of an operation scenario between a display device and a control device in an embodiment of the present application;

图2为本申请实施例中显示设备的硬件配置框图;2 is a block diagram of a hardware configuration of a display device in an embodiment of the application;

图3为本申请实施例中显示设备软件配置示意图;3 is a schematic diagram of a software configuration diagram of a display device in an embodiment of the application;

图4为本申请实施例中显示设备应用程序的图标控件界面显示示意图;4 is a schematic diagram of displaying an icon control interface of a device application in an embodiment of the present application;

图5为本申请实施例中提供的一种通信终端的结构示意图;FIG. 5 is a schematic structural diagram of a communication terminal provided in an embodiment of the present application;

图6为本申请实施例中提供的一种通信终端的软件架构示意图;6 is a schematic diagram of a software architecture of a communication terminal provided in an embodiment of the present application;

图7为本申请实施例中提供的通信终端的用户界面示意图;7 is a schematic diagram of a user interface of a communication terminal provided in an embodiment of the present application;

图8为本申请实施例中提供的通信终端与显示设备通信连接示意图;8 is a schematic diagram of a communication connection between a communication terminal and a display device provided in an embodiment of the present application;

图9为本申请实施例中提供的通信终端与显示设备投屏连接示意图;FIG. 9 is a schematic diagram of a screen projection connection between a communication terminal and a display device provided in an embodiment of the application;

图10为本申请实施例中提供的多屏互动视频浏览方法数据流转示意图;10 is a schematic diagram of data flow of the multi-screen interactive video browsing method provided in the embodiment of the application;

图11为本申请实施例中提供的多屏互动视频浏览方法流程示意图;11 is a schematic flowchart of a multi-screen interactive video browsing method provided in an embodiment of the application;

图12为本申请实施例中提供的视频分享界面示意图;12 is a schematic diagram of a video sharing interface provided in an embodiment of the application;

图13为本申请实施例中提供的显示浏览界面的流程示意图;13 is a schematic flowchart of a display browsing interface provided in an embodiment of the present application;

图14为本申请实施例中提供的浏览界面示意图;14 is a schematic diagram of a browsing interface provided in an embodiment of the present application;

图15为本申请实施例中提供的浏览界面切换视频文件流程示意图;FIG. 15 is a schematic flowchart of switching video files on a browsing interface provided in an embodiment of the application;

图16为本申请实施例中提供的显示设备示意图。FIG. 16 is a schematic diagram of a display device provided in an embodiment of the application.

具体实施方式Detailed ways

下面将结合附图对本申请实施例中的技术方案进行清除、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be cleared and described in detail below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, unless otherwise specified, “/” means or, for example, A/B can mean A or B; “and/or” in the text is only a description of an associated object The association relationship indicates that there can be three kinds of relationships, for example, A and/or B can indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application , "plurality" means two or more than two.

以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the "multiple" The meaning is two or more.

图1中示例性示出了根据实施例中显示设备与控制装置之间操作场景的示意图。如图1中示出,用户可通过通信终端100A和控制装置100(如遥控器100B)操作显示设备200。FIG. 1 exemplarily shows a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in FIG. 1 , the user can operate the display apparatus 200 through the communication terminal 100A and the control apparatus 100 (eg, the remote controller 100B).

在一些实施例中,也可以使用通信终端100A、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,在直观的用户界面(UI)中为用户提供各种控制。In some embodiments, the communication terminal 100A, tablet computer, computer, notebook computer, and other smart devices may also be used to control the display device 200 . For example, the display device 200 is controlled using an application running on the smart device. The app can be configured to provide users with various controls in an intuitive user interface (UI) on the screen associated with the smart device.

在一些实施例中,通信终端100A可与显示设备200安装软件应用,通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。如:可以实现用通信终端100A与显示设备200建立控制指令协议,将遥控控制键盘同步到通信终端100A上,通过控制通信终端100A上用户界面,实现控制显示设备200的功能。也可以将通信终端100A上显示音视频内容传输到显示设备200上,实现同步显示功能。In some embodiments, the communication terminal 100A may install a software application with the display device 200 to realize connection communication through a network communication protocol, so as to achieve the purpose of one-to-one control operation and data communication. For example, the communication terminal 100A can establish a control command protocol with the display device 200, synchronize the remote control keyboard to the communication terminal 100A, and control the display device 200 by controlling the user interface on the communication terminal 100A. The audio and video content displayed on the communication terminal 100A may also be transmitted to the display device 200 to implement a synchronous display function.

如图1中还示出,显示设备200还与服务器400通过多种通信方式进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。示例的,显示设备200通过发送和接收信息,以及电子节目指南(EPG)互动,接收软件程序更新,或访问远程储存的数字媒体库。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。通过服务器400提供视频点播和广告服务等其他网络服务内容。As also shown in FIG. 1 , the display device 200 also performs data communication with the server 400 through various communication methods. The display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . For example, the display device 200 interacts by sending and receiving information, and electronic program guide (EPG), receiving software program updates, or accessing a remotely stored digital media library. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers. Other network service contents such as video-on-demand and advertising services are provided through the server 400 .

显示设备200,可以液晶显示器、OLED显示器、投影显示设备。具体显示设备类型,尺寸大小和分辨率等不作限定,本领技术人员可以理解的是,显示设备200可以根据需要做性能和配置上一些改变。The display device 200 may be a liquid crystal display, an OLED display, or a projection display device. The specific display device type, size and resolution are not limited. Those skilled in the art can understand that the display device 200 can make some changes in performance and configuration as required.

显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能,包括但不限于,网络电视、智能电视、互联网协议电视(IPTV)等。The display device 200 may additionally provide a smart IPTV function that provides computer-supported functions, including but not limited to, IPTV, smart TV, Internet Protocol TV (IPTV), and the like, in addition to the broadcast receiving TV function.

图2中示例性示出了根据示例性实施例中显示设备200的硬件配置框图。FIG. 2 exemplarily shows a block diagram of the hardware configuration of the display device 200 according to the exemplary embodiment.

在一些实施例中,显示设备200中包括控制器250、调谐解调器210、通信器220、检测器230、输入/输出接口255、显示器275,音频输出接口285、存储器260、供电电源290、用户接口265、外部装置接口240中的至少一种。In some embodiments, the display device 200 includes a controller 250, a tuner 210, a communicator 220, a detector 230, an input/output interface 255, a display 275, an audio output interface 285, a memory 260, a power supply 290, At least one of the user interface 265 and the external device interface 240 .

在一些实施例中,显示器275,用于接收源自第一处理器输出的图像信号,进行显示视频内容和图像以及菜单操控界面的组件。In some embodiments, the display 275, for receiving the image signal from the output of the first processor, performs components for displaying video content and images and a menu manipulation interface.

在一些实施例中,显示器275,包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件。In some embodiments, the display 275 includes a display screen component for presenting pictures, and a driving component for driving image display.

在一些实施例中,显示视频内容,可以来自广播电视内容,也可以是说,可通过有线或无线通信协议接收的各种广播信号。或者,可显示来自网络通信协议接收来自网络服务器端发送的各种图像内容。In some embodiments, the video content displayed may be from broadcast television content or various broadcast signals that may be received via wired or wireless communication protocols. Alternatively, various image contents sent from the network server side can be displayed and received from the network communication protocol.

在一些实施例中,显示器275用于呈现显示设备200中产生且用于控制显示设备200的用户操控UI界面。In some embodiments, display 275 is used to present a user-manipulated UI interface generated in display device 200 and used to control display device 200 .

在一些实施例中,根据显示器275类型不同,还包括用于驱动显示的驱动组件。In some embodiments, depending on the type of display 275, a driving component for driving the display is also included.

在一些实施例中,显示器275为一种投影显示器,还可以包括一种投影装置和投影屏幕。In some embodiments, display 275 is a projection display, and may also include a projection device and projection screen.

在一些实施例中,通信器220是用于根据各种通信协议类型与外部设备或外部服务器进行通信的组件。例如:通信器可以包括Wifi芯片,蓝牙通信协议芯片,有线以太网通信协议芯片等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。In some embodiments, communicator 220 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the communicator may include at least one of a Wifi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip and other network communication protocol chips or a near field communication protocol chip, and an infrared receiver.

在一些实施例中,显示设备200可以通过通信器220与外部控制装置100或内容提供设备之间建立控制信号和数据信号发送和接收。In some embodiments, the display apparatus 200 may establish control signal and data signal transmission and reception between the communicator 220 and the external control apparatus 100 or the content providing apparatus.

在一些实施例中,用户接口265,可用于接收控制装置100(如:红外遥控器100B等)红外控制信号。In some embodiments, the user interface 265 can be used to receive infrared control signals from the control device 100 (eg, the infrared remote control 100B, etc.).

在一些实施例中,检测器230是显示设备200用于采集外部环境或与外部交互的信号。In some embodiments, the detector 230 is a signal used by the display device 200 to collect the external environment or interact with the outside.

在一些实施例中,检测器230包括光接收器,用于采集环境光线强度的传感器,可以通过采集环境光可以自适应性显示参数变化等。In some embodiments, the detector 230 includes a light receiver, a sensor for collecting ambient light intensity, and can adaptively display parameter changes and the like by collecting ambient light.

在一些实施例中,检测器230还可以包括图像采集器,如相机、摄像头等,可以用于采集外部环境场景,以及用于采集用户的属性或与用户交互手势,可以自适应变化显示参数,也可以识别用户手势,以实现与用户之间互动的功能。In some embodiments, the detector 230 may also include an image collector, such as a camera, a camera, etc., which can be used to collect external environment scenes, and used to collect user attributes or interactive gestures with the user, and can adaptively change display parameters, User gestures can also be recognized to implement functions that interact with users.

在一些实施例中,检测器230还可以包括温度传感器等,如通过感测环境温度。In some embodiments, detector 230 may also include a temperature sensor or the like, such as by sensing ambient temperature.

在一些实施例中,显示设备200可自适应调整图像的显示色温。如当温度偏高的环境时,可调整显示设备200显示图像色温偏冷色调,或当温度偏低的环境时,可以调整显示设备200显示图像偏暖色调。In some embodiments, the display device 200 can adaptively adjust the display color temperature of the image. For example, when the temperature is relatively high, the display device 200 can be adjusted to display a relatively cool color temperature of the image, or when the temperature is relatively low, the display device 200 can be adjusted to display a warmer color of the image.

在一些实施例中,检测器230还可声音采集器等,如麦克风,可以用于接收用户的声音。示例性的,包括用户控制显示设备200的控制指令的语音信号,或采集环境声音,用于识别环境场景类型,使得显示设备200可以自适应适应环境噪声。In some embodiments, the detector 230 may also be a sound collector or the like, such as a microphone, which may be used to receive the user's voice. Exemplarily, a voice signal including a control instruction of the user to control the display device 200, or collecting ambient sounds, is used to identify the type of the environment scene, so that the display device 200 can adaptively adapt to the ambient noise.

在一些实施例中,如图2所示,输入/输出接口255被配置为,可进行控制器250与外部其他设备或其他控制器250之间的数据传输。如接收外部设备的视频信号数据和音频信号数据、或命令指令数据等。In some embodiments, as shown in FIG. 2 , the input/output interface 255 is configured to enable data transfer between the controller 250 and other external devices or other controllers 250 . Such as receiving video signal data and audio signal data of external equipment, or command instruction data, etc.

在一些实施例中,外部装置接口240可以包括,但不限于如下:可以高清多媒体接口HDMI接口、模拟或数据高清分量输入接口、复合视频输入接口、USB输入接口、RGB端口等任一个或多个接口。也可以是上述多个接口形成复合性的输入/输出接口。In some embodiments, the external device interface 240 may include, but is not limited to, the following: any one or more of a high-definition multimedia interface HDMI interface, an analog or data high-definition component input interface, a composite video input interface, a USB input interface, an RGB port, etc. interface. It is also possible to form a composite input/output interface by a plurality of the above-mentioned interfaces.

在一些实施例中,如图2所示,调谐解调器210被配置为,通过有线或无线接收方式接收广播电视信号,可以进行放大、混频和谐振等调制解调处理,从多多个无线或有线广播电视信号中解调出音视频信号,该音视频信号可以包括用户所选择电视频道频率中所携带的电视音视频信号,以及EPG数据信号。In some embodiments, as shown in FIG. 2 , the tuner and demodulator 210 is configured to receive broadcast television signals through wired or wireless reception, and can perform modulation and demodulation processing such as amplification, frequency mixing, and resonance, from multiple wireless Or demodulate the audio and video signal from the cable broadcast TV signal, the audio and video signal may include the TV audio and video signal carried in the frequency of the TV channel selected by the user, and the EPG data signal.

在一些实施例中,调谐解调器210解调的频点受到控制器250的控制,控制器250可根据用户选择发出控制信号,以使的调制解调器响应用户选择的电视信号频率以及调制解调该频率所携带的电视信号。In some embodiments, the frequency demodulated by the tuner-demodulator 210 is controlled by the controller 250, and the controller 250 can send a control signal according to the user's selection, so that the modem responds to the user-selected TV signal frequency and modulates and demodulates the frequency. The frequency carried by the television signal.

在一些实施例中,广播电视信号可根据电视信号广播制式不同区分为地面广播信号、有线广播信号、卫星广播信号或互联网广播信号等。或者根据调制类型不同可以区分为数字调制信号,模拟调制信号等。或者根据信号种类不同区分为数字信号、模拟信号等。In some embodiments, broadcast television signals may be classified into terrestrial broadcast signals, cable broadcast signals, satellite broadcast signals, or Internet broadcast signals, etc. according to different broadcast formats of the television signals. Or according to different modulation types, it can be divided into digital modulation signal, analog modulation signal, etc. Or, it can be divided into digital signals, analog signals, etc. according to different types of signals.

在一些实施例中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。这样,机顶盒将接收到的广播电视信号调制解调后的电视音视频信号输出给主体设备,主体设备经过第一输入/输出接口接收音视频信号。In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box Wait. In this way, the set-top box outputs the modulated and demodulated television audio and video signals of the received broadcast television signals to the main device, and the main device receives the audio and video signals through the first input/output interface.

在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250可以控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器275上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。In some embodiments, the controller 250, through various software control programs stored on the memory, controls the operation of the display device and responds to user operations. The controller 250 may control the overall operation of the display apparatus 200 . For example, in response to receiving a user command for selecting a UI object to be displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user command.

在一些实施例中,所述对象可以是可选对象中的任何一个,例如超链接或图标。与所选择的对象有关操作,例如:显示连接到超链接页面、文档、图像等操作,或者执行与所述图标相对应程序的操作。用于选择UI对象用户命令,可以是通过连接到显示设备200的各种输入装置(例如,鼠标、键盘、触摸板等)输入命令或者与由用户说出语音相对应的语音命令。In some embodiments, the object may be any of the selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as displaying operations linked to hyperlinked pages, documents, images, etc., or executing operations corresponding to the icon. The user command for selecting the UI object may be an input command through various input devices (eg, a mouse, a keyboard, a touchpad, etc.) connected to the display device 200 or a voice command corresponding to a voice spoken by the user.

如图2所示,控制器250包括随机存取存储器251(Random Access Memory,RAM)、只读存储器252(Read-Only Memory,ROM)、视频处理器、音频处理器、其他处理器(例如:图形处理器(Graphics Processing Unit,GPU)、中央处理器(Central Processing Unit,CPU)、通信接口(Communication Interface),以及通信总线256(Bus)中的至少一种。其中,通信总线连接各个部件。As shown in FIG. 2 , the controller 250 includes a random access memory 251 (Random Access Memory, RAM), a read-only memory 252 (Read-Only Memory, ROM), a video processor, an audio processor, and other processors (for example: At least one of a graphics processing unit (Graphics Processing Unit, GPU), a central processing unit (Central Processing Unit, CPU), a communication interface (Communication Interface), and a communication bus 256 (Bus), wherein the communication bus connects various components.

在一些实施例中,RAM 251用于存储操作系统或其他正在运行中的程序的临时数据在一些实施例中,ROM 252用于存储各种系统启动的指令。In some embodiments, RAM 251 is used to store temporary data for the operating system or other running programs. In some embodiments, ROM 252 is used to store various system startup instructions.

在一些实施例中,ROM 252用于存储一个基本输入输出系统,称为基本输入输出系统(Basic Input Output System,BIOS)。用于完成对系统的加电自检、系统中各功能模块的初始化、系统的基本输入/输出的驱动程序及引导操作系统。In some embodiments, ROM 252 is used to store a basic input output system, referred to as a Basic Input Output System (BIOS). It is used to complete the power-on self-check of the system, the initialization of each functional module in the system, the driver program of the basic input/output of the system, and the boot operating system.

在一些实施例中,在收到开机信号时,显示设备200电源开始启动,CPU运行ROM252中系统启动指令,将存储在存储器的操作系统的临时数据拷贝至RAM 251中,以便于启动或运行操作系统。当操作系统启动完成后,CPU再将存储器中各种应用程序的临时数据拷贝至RAM 251中,然后,以便于启动或运行各种应用程序。In some embodiments, when a power-on signal is received, the power supply of the display device 200 starts, and the CPU executes the system start-up instruction in the ROM 252, and copies the temporary data of the operating system stored in the memory to the RAM 251, so as to facilitate the start-up or running operation system. After the startup of the operating system is completed, the CPU copies the temporary data of various application programs in the memory to the RAM 251, so as to facilitate the startup or operation of various application programs.

在一些实施例中,处理器,用于执行存储在存储器中操作系统和应用程序指令。以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。In some embodiments, a processor for executing operating system and application program instructions stored in memory. And various application programs, data and content are executed according to various interactive instructions received from the external input, so as to finally display and play various audio and video content.

在一些示例性实施例中,处理器,可以包括多个处理器。多个处理器可包括一个主处理器以及一个或多个子处理器。主处理器,用于在预加电模式中执行显示设备200一些操作,和/或在正常模式下显示画面的操作。一个或多个子处理器,用于在待机模式等状态下一种操作。In some exemplary embodiments, the processor may include multiple processors. The plurality of processors may include a main processor and one or more sub-processors. The main processor is used to perform some operations of the display device 200 in the pre-power-on mode, and/or an operation of displaying a picture in the normal mode. One or more sub-processors for an operation in a state such as standby mode.

在一些实施例中,图形处理器,用于产生各种图形对象,如:图标、操作菜单、以及用户输入指令显示图形等。包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象。以及包括渲染器,对基于运算器得到的各种对象,进行渲染,上述渲染后的对象用于显示在显示器上。In some embodiments, the graphics processor is used to generate various graphic objects, such as: icons, operation menus, and user input instructions to display graphics, etc. It includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display properties. and includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used for displaying on a display.

在一些实施例中,视频处理器被配置为将接收外部视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等等视频处理,可得到直接可显示设备200上显示或播放的信号。In some embodiments, the video processor is configured to receive the external video signal, perform decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal For video processing, a signal that can be directly displayed or played on the display device 200 can be obtained.

在一些实施例中,视频处理器,包括解复用模块、视频解码模块、图像合成模块、帧率转换模块、显示格式化模块等。In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, and the like.

其中,解复用模块,用于对输入音视频数据流进行解复用处理,如输入MPEG-2,则解复用模块进行解复用成视频信号和音频信号等。Wherein, the demultiplexing module is used for demultiplexing the input audio and video data stream. For example, if MPEG-2 is input, the demultiplexing module demultiplexes it into video signals and audio signals.

视频解码模块,则用于对解复用后的视频信号进行处理,包括解码和缩放处理等。The video decoding module is used to process the demultiplexed video signal, including decoding and scaling.

图像合成模块,如图像合成器,其用于将图形生成器根据用户输入或自身生成的GUI信号,与缩放处理后视频图像进行叠加混合处理,以生成可供显示的图像信号。The image synthesizing module, such as an image synthesizer, is used for superimposing and mixing the GUI signal generated by the graphics generator according to the user's input or itself, and the zoomed video image, so as to generate an image signal that can be displayed.

帧率转换模块,用于对转换输入视频帧率,如将60Hz帧率转换为120Hz帧率或240Hz帧率,通常的格式采用如插帧方式实现。The frame rate conversion module is used to convert the input video frame rate, such as converting 60Hz frame rate to 120Hz frame rate or 240Hz frame rate. The usual format is implemented by means of frame insertion.

显示格式化模块,则用于将接收帧率转换后视频输出信号,改变信号以符合显示格式的信号,如输出RGB数据信号。The display formatting module is used for converting the received frame rate into the video output signal, and changing the signal to conform to the display format signal, such as outputting the RGB data signal.

在一些实施例中,图形处理器可以和视频处理器可以集成设置,也可以分开设置,集成设置的时候可以执行输出给显示器的图形信号的处理,分离设置的时候可以分别执行不同的功能,例如GPU+FRC(Frame Rate Conversion))架构。In some embodiments, the graphics processor and the video processor can be integrated and set up, or can be set up separately. When the integrated setting is performed, the processing of the graphics signal output to the display can be performed, and when the separate setting is performed, different functions can be performed respectively, for example GPU+FRC (Frame Rate Conversion)) architecture.

在一些实施例中,音频处理器,用于接收外部的音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换、和放大处理等处理,得到可以在扬声器中播放的声音信号。In some embodiments, the audio processor is configured to receive an external audio signal, and perform decompression and decoding according to a standard codec protocol of the input signal, as well as noise reduction, digital-to-analog conversion, and amplification, etc. The sound signal played in the loudspeaker.

在一些实施例中,视频处理器可以包括一颗或多颗芯片组成。音频处理器,也可以包括一颗或多颗芯片组成。In some embodiments, the video processor may include one or more chips. The audio processor may also include one or more chips.

在一些实施例中,视频处理器和音频处理器,可以单独的芯片,也可以于控制器一起集成在一颗或多颗芯片中。In some embodiments, the video processor and the audio processor may be separate chips, or may be integrated into one or more chips together with the controller.

在一些实施例中,音频输出,在控制器250的控制下接收音频处理器输出的声音信号,如:扬声器286,以及除了显示设备200自身携带的扬声器之外,可以输出至外接设备的发生装置的外接音响输出端子,如:外接音响接口或耳机接口等,还可以包括通信接口中的近距离通信模块,例如:用于进行蓝牙扬声器声音输出的蓝牙电路。In some embodiments, the audio output, under the control of the controller 250, receives the sound signal output by the audio processor, such as the speaker 286, and in addition to the speaker carried by the display device 200 itself, can be output to a generating device of an external device The external audio output terminal of the device, such as an external audio interface or a headphone interface, etc., may also include a short-range communication module in the communication interface, such as a Bluetooth circuit for outputting sound from a Bluetooth speaker.

供电电源290,在控制器250控制下,将外部电源输入的电力为显示设备200提供电源供电支持。供电电源290可以包括安装显示设备200内部的内置电源电路,也可以是安装在显示设备200外部电源,在显示设备200中提供外接电源的电源接口。The power supply 290, under the control of the controller 250, provides power supply support for the display device 200 with the power input from the external power supply. The power supply 290 may include a built-in power supply circuit installed inside the display device 200 , or may be an external power supply installed in the display device 200 to provide an external power supply interface in the display device 200 .

用户接口265,用于接收用户的输入信号,然后,将接收用户输入信号发送给控制器250。用户输入信号可以是通过红外接收器接收的遥控器100B信号,可以通过网络通信电路接收各种用户控制信号。The user interface 265 is used for receiving user input signals, and then sending the received user input signals to the controller 250 . The user input signal may be a remote controller 100B signal received through an infrared receiver, and various user control signals may be received through a network communication circuit.

在一些实施例中,用户通过控制装置100或通信终端100A输入用户命令,用户输入接口则根据用户的输入,显示设备200则通过控制器250响应用户的输入。In some embodiments, the user inputs a user command through the control apparatus 100 or the communication terminal 100A, the user input interface is based on the user's input, and the display device 200 responds to the user's input through the controller 250 .

在一些实施例中,用户可在显示器275上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the user may input user commands on a graphical user interface (GUI) displayed on the display 275, and the user input interface receives the user input commands through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.

在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。In some embodiments, a "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which enables conversion between an internal form of information and a form acceptable to the user. A commonly used form of user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.

存储器260,包括存储用于驱动显示设备200的各种软件模块。如:第一存储器中存储的各种软件模块,包括:基础模块、检测模块、通信模块、显示控制模块、浏览器模块、和各种服务模块等中的至少一种。The memory 260 includes storing various software modules for driving the display device 200 . For example, various software modules stored in the first memory include at least one of a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules.

基础模块用于显示设备200中各个硬件之间信号通信、并向上层模块发送处理和控制信号的底层软件模块。检测模块用于从各种传感器或用户输入接口中收集各种信息,并进行数模转换以及分析管理的管理模块。The basic module is used for signal communication between various hardwares in the display device 200, and is a low-level software module that sends processing and control signals to the upper-layer modules. The detection module is a management module used to collect various information from various sensors or user input interfaces, perform digital-to-analog conversion, and analyze and manage.

例如,语音识别模块中包括语音解析模块和语音指令数据库模块。显示控制模块用于控制显示器进行显示图像内容的模块,可以用于播放多媒体图像内容和UI界面等信息。通信模块,用于与外部设备之间进行控制和数据通信的模块。浏览器模块,用于执行浏览服务器之间数据通信的模块。服务模块,用于提供各种服务以及各类应用程序在内的模块。同时,存储器260还用存储接收外部数据和用户数据、各种用户界面中各个项目的图像以及焦点对象的视觉效果图等。For example, the speech recognition module includes a speech parsing module and a speech instruction database module. The display control module is a module used to control the display to display image content, and can be used to play information such as multimedia image content and UI interface. Communication module, a module for control and data communication with external devices. The browser module is a module for performing data communication between browsing servers. Service modules are used to provide various services and modules including various applications. At the same time, the memory 260 is also used to store and receive external data and user data, images of various items in various user interfaces, and visual effect diagrams of focal objects.

参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to FIG. 4 , in some embodiments, the system is divided into four layers, from top to bottom, the applications layer (referred to as “application layer”), the application framework layer (referred to as “framework layer”) "), the Android runtime (Android runtime) and the system library layer (referred to as "system runtime library layer"), and the kernel layer.

在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如嗨见程序、K歌程序、魔镜程序等。在具体实施时,应用程序层中的应用程序包不限于以上举例,实际还可以包括其它应用程序包,本申请实施例对此不做限制。In some embodiments, at least one application program runs in the application program layer, and these application programs may be a Window program, a system setting program, a clock program, a camera application, etc. built into the operating system; they may also be developed by a third party The application programs developed by the author, such as the Hijian program, the K song program, the magic mirror program, etc. During specific implementation, the application package in the application layer is not limited to the above examples, and may actually include other application packages, which is not limited in this embodiment of the present application.

框架层为应用程序层的应用程序提供应用编程接口(application programminginterface,API)和编程框架。应用程序框架层包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务The framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which decides to let the applications in the application layer take action. Through the API interface, the application can access the resources in the system and obtain the services of the system during execution

如图3所示,本申请实施例中应用程序框架层包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(ActivityManager)用与和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检测当前安装在设备上的应用程序包相关的各种信息;通知管理器(NotificationManager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的括图标、窗口、工具栏、壁纸和桌面部件。As shown in FIG. 3 , the application framework layer in the embodiment of the present application includes managers (Managers), content providers (Content Provider), etc., wherein the manager includes at least one of the following modules: the activity manager (ActivityManager) is used with Interact with all activities running in the system; Location Manager (Location Manager) is used to provide system services or applications with access to system location services; File Package Manager (Package Manager) is used to detect currently installed on the device. Various information related to the application package; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers and desktops on the user interface part.

在一些实施例中,活动管理器用于:管理各个应用程序的生命周期以及通常的导航回退功能,比如控制应用程序的退出(包括将显示窗口中当前显示的用户界面切换到系统桌面)、打开、后退(包括将显示窗口中当前显示的用户界面切换到当前显示的用户界面的上一级用户界面)等。In some embodiments, the activity manager is used to: manage the life cycle of each application and the usual navigation and fallback functions, such as controlling the exit of the application (including switching the user interface currently displayed in the display window to the system desktop), opening the , back (including switching the currently displayed user interface in the display window to the upper-level user interface of the currently displayed user interface), and the like.

在一些实施例中,窗口管理器用于管理所有的窗口程序,比如获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕,控制显示窗口变化(例如将显示窗口缩小显示、抖动显示、扭曲变形显示等)等。In some embodiments, the window manager is used to manage all window programs, such as obtaining the size of the display screen, judging whether there is a status bar, locking the screen, taking screenshots, and controlling the change of the display window (such as shrinking the display window, shaking the display, twisting the display) deformation display, etc.) and so on.

在一些实施例中,系统运行库层为上层即框架层提供支撑,当框架层被使用时,安卓操作系统会运行系统运行库层中包含的C/C++库以实现框架层要实现的功能。In some embodiments, the system runtime layer provides support for the upper layer, that is, the framework layer. When the framework layer is used, the Android operating system will run the C/C++ library included in the system runtime layer to implement the functions to be implemented by the framework layer.

在一些实施例中,内核层是硬件和软件之间的层。如图4所示,内核层至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,触摸传感器、压力传感器等)等。In some embodiments, the kernel layer is the layer between hardware and software. As shown in Figure 4, the kernel layer at least includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensors, pressure sensors, etc.).

在一些实施例中,内核层还包括用于进行电源管理的电源驱动模块。In some embodiments, the kernel layer further includes a power driver module for power management.

在一些实施例中,以魔镜应用(拍照应用)为例,当遥控接收装置接收到遥控器100B输入操作,相应的硬件中断被发给内核层。内核层将输入操作加工成原始输入事件(包括输入操作的值,输入操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,根据焦点当前的位置识别该输入事件所对应的控件以及以该输入操作是确认操作,该确认操作所对应的控件为魔镜应用图标的控件,魔镜应用调用应用框架层的接口,启动魔镜应用,进而通过调用内核层启动摄像头驱动,实现通过摄像头捕获静态图像或视频。In some embodiments, taking the magic mirror application (photography application) as an example, when the remote control receiving device receives the input operation of the remote control 100B, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the input operation into the original input event (including the value of the input operation, the timestamp of the input operation, etc.). Raw input events are stored at the kernel layer. The application framework layer obtains the original input event from the kernel layer, identifies the control corresponding to the input event according to the current position of the focus, and regards the input operation as a confirmation operation, and the control corresponding to the confirmation operation is the control of the magic mirror application icon. The mirror application calls the interface of the application framework layer, starts the mirror application, and then starts the camera driver by calling the kernel layer to capture still images or videos through the camera.

在一些实施例中,对于具备触控功能的显示设备,以分屏操作为例,显示设备接收用户作用于显示屏上的输入操作(如分屏操作),内核层可以根据输入操作产生相应的输入事件,并向应用程序框架层上报该事件。由应用程序框架层的活动管理器设置与该输入操作对应的窗口模式(如多窗口模式)以及窗口位置和大小等。应用程序框架层的窗口管理根据活动管理器的设置绘制窗口,然后将绘制的窗口数据发送给内核层的显示驱动,由显示驱动在显示屏的不同显示区域显示与之对应的应用界面。In some embodiments, for a display device with a touch function, taking a split-screen operation as an example, the display device receives an input operation (such as a split-screen operation) performed by the user on the display screen, and the kernel layer can generate corresponding input operations according to the input operation. Enter an event and report the event to the application framework layer. The window mode (such as multi-window mode) and window position and size corresponding to the input operation are set by the activity manager of the application framework layer. The window management of the application framework layer draws the window according to the settings of the activity manager, and then sends the drawn window data to the display driver of the kernel layer, and the display driver displays the corresponding application interface in different display areas of the display screen.

在一些实施例中,如图4中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。In some embodiments, as shown in FIG. 4, the application layer contains at least one application that can display a corresponding icon control on the display, such as: a live TV application icon control, a video-on-demand application icon control, a media center application Program icon controls, application center icon controls, game application icon controls, etc.

在一些实施例中,直播电视应用程序,可以通过不同的信号源提供直播电视。例如,直播电视应用程可以使用来自有线电视、无线广播、卫星服务或其他类型的直播电视服务的输入提供电视信号。以及,直播电视应用程序可在显示设备200上显示直播电视信号的视频。In some embodiments, the live TV application may provide live TV from different sources. For example, a live TV application may provide a TV signal using input from cable, over-the-air, satellite services, or other types of live TV services. And, the live TV application may display the video of the live TV signal on the display device 200 .

在一些实施例中,视频点播应用程序,可以提供来自不同存储源的视频。不同于直播电视应用程序,视频点播提供来自某些存储源的视频显示。例如,视频点播可以来自云存储的服务器端、来自包含已存视频节目的本地硬盘储存器。In some embodiments, a video-on-demand application may provide video from various storage sources. Unlike live TV applications, video-on-demand provides a display of video from certain storage sources. For example, video-on-demand can come from a server-side cloud storage, from a local hard drive storage containing existing video programs.

在一些实施例中,媒体中心应用程序,可以提供各种多媒体内容播放的应用程序。例如,媒体中心,可以为不同于直播电视或视频点播,用户可通过媒体中心应用程序访问各种图像或音频所提供服务。In some embodiments, the media center application may provide various multimedia content playback applications. For example, a media center may provide services other than live TV or video-on-demand, where users can access various images or audio through a media center application.

在一些实施例中,应用程序中心,可以提供储存各种应用程序。应用程序可以是一种游戏、应用程序,或某些和计算机系统或其他设备相关但可以在智能电视中运行的其他应用程序。应用程序中心可从不同来源获得这些应用程序,将它们储存在本地储存器中,然后在显示设备200上可运行。In some embodiments, the application center may provide storage of various applications. An application can be a game, an application, or some other application that is related to a computer system or other device but can be run on a Smart TV. The application center can obtain these applications from various sources, store them in local storage, and then run them on the display device 200 .

图5示出了通信终端100A的结构示意图。FIG. 5 shows a schematic structural diagram of the communication terminal 100A.

下面以通信终端100A为例对实施例进行具体说明。应该理解的是,图1所示通信终端100A仅是一个范例,并且通信终端100A可以具有比图1中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。The embodiment will be specifically described below by taking the communication terminal 100A as an example. It should be understood that the communication terminal 100A shown in FIG. 1 is only an example, and that the communication terminal 100A may have more or fewer components than those shown in FIG. 1, two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.

图5中示例性示出了根据示例性实施例中通信终端100A的硬件配置框图。如图5所示,通信终端100A包括:射频(radio frequency,RF)电路110、存储器120、显示单元130、摄像头140、传感器150、音频电路160、无线保真(Wireless Fidelity,Wi-Fi)电路170、处理器180、蓝牙电路181、以及电源190等部件。FIG. 5 exemplarily shows a hardware configuration block diagram of the communication terminal 100A according to the exemplary embodiment. As shown in FIG. 5 , the communication terminal 100A includes: a radio frequency (RF) circuit 110 , a memory 120 , a display unit 130 , a camera 140 , a sensor 150 , an audio circuit 160 , and a Wireless Fidelity (Wi-Fi) circuit 170 , the processor 180 , the Bluetooth circuit 181 , and the power supply 190 and other components.

RF电路110可用于在收发信息或通话过程中信号的接收和发送,可以接收基站的下行数据后交给处理器180处理;可以将上行数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。The RF circuit 110 can be used for receiving and sending signals during sending and receiving information or during a call, can receive downlink data from the base station and then hand it over to the processor 180 for processing; and can send uplink data to the base station. Typically, RF circuits include, but are not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, duplexers, and the like.

存储器120可用于存储软件程序及数据。处理器180通过运行存储在存储器120的软件程序或数据,从而执行通信终端100A的各种功能以及数据处理。存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。存储器120存储有使得通信终端100A能运行的操作系统。本申请中存储器120可以存储操作系统及各种应用程序,还可以存储执行本申请实施例所述方法的代码。The memory 120 may be used to store software programs and data. Processor 180 executes various functions of communication terminal 100A and data processing by executing software programs or data stored in memory 120 . Memory 120 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the communication terminal 100A to operate. In this application, the memory 120 may store an operating system and various application programs, and may also store codes for executing the methods described in the embodiments of this application.

显示单元130可用于接收输入的数字或字符信息,产生与通信终端100A的用户设置以及功能控制有关的信号输入,具体地,显示单元130可以包括设置在通信终端100A正面的触摸屏131,可收集用户在其上或附近的触摸操作,例如点击按钮,拖动滚动框等。The display unit 130 can be used to receive input digital or character information, and generate signal input related to user settings and function control of the communication terminal 100A. Touch operations on or near it, such as clicking a button, dragging a scroll box, etc.

显示单元130还可用于显示由用户输入的信息或提供给用户的信息以及通信终端100A的各种菜单的图形用户界面(graphical user interface,GUI)。具体地,显示单元130可以包括设置在通信终端100A正面的显示屏132。其中,显示屏132可以采用液晶显示器、发光二极管等形式来配置。显示单元130可以用于显示本申请中所述的各种图形用户界面。The display unit 130 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the communication terminal 100A. Specifically, the display unit 130 may include a display screen 132 disposed on the front of the communication terminal 100A. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described in this application.

其中,触摸屏131可以覆盖在显示屏132之上,也可以将触摸屏131与显示屏132集成而实现通信终端100A的输入和输出功能,集成后可以简称触摸显示屏。本申请中显示单元130可以显示应用程序以及对应的操作步骤。The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to realize the input and output functions of the communication terminal 100A, which may be referred to as touch screen after integration. In this application, the display unit 130 can display application programs and corresponding operation steps.

摄像头140可用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给处理器180转换成数字图像信号。Camera 140 may be used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 180 for conversion into a digital image signal.

通信终端100A还可以包括至少一种传感器150,比如加速度传感器151、距离传感器152、指纹传感器153、温度传感器154。通信终端100A还可配置有陀螺仪、气压计、湿度计、温度计、红外线传感器、光传感器、运动传感器等其他传感器。The communication terminal 100A may further include at least one sensor 150 , such as an acceleration sensor 151 , a distance sensor 152 , a fingerprint sensor 153 , and a temperature sensor 154 . The communication terminal 100A may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.

音频电路160、扬声器161、麦克风162可提供用户与通信终端100A之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出。通信终端100A还可配置音量按钮,用于调节声音信号的音量。另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。本申请中麦克风162可以获取用户的语音。The audio circuit 160, the speaker 161, and the microphone 162 may provide an audio interface between the user and the communication terminal 100A. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, and the speaker 161 converts it into a sound signal and outputs it. The communication terminal 100A may also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and then converted into audio data, and then outputs the audio data to the RF circuit 110 for transmission to, for example, another terminal, or outputs the audio data to memory 120 for further processing. In this application, the microphone 162 can acquire the user's voice.

Wi-Fi属于短距离无线传输技术,通信终端100A可以通过Wi-Fi电路170帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。Wi-Fi is a short-range wireless transmission technology, and the communication terminal 100A can help users to send and receive emails, browse web pages, access streaming media, etc. through the Wi-Fi circuit 170, which provides users with wireless broadband Internet access.

处理器180是通信终端100A的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的软件程序,以及调用存储在存储器120内的数据,执行通信终端100A的各种功能和处理数据。在一些实施例中,处理器180可包括一个或多个处理单元;处理器180还可以集成应用处理器和基带处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器180中。本申请中处理器180可以运行操作系统、应用程序、用户界面显示及触控响应,以及本申请实施例所述的处理方法。另外,处理器180与输入单元130和显示单元140耦接。The processor 180 is the control center of the communication terminal 100A, uses various interfaces and lines to connect various parts of the entire terminal, and executes the communication terminal by running or executing the software programs stored in the memory 120 and calling the data stored in the memory 120. 100A's various functions and processing data. In some embodiments, the processor 180 may include one or more processing units; the processor 180 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the baseband The processor mainly handles wireless communication. It can be understood that, the above-mentioned baseband processor may not be integrated into the processor 180 . In this application, the processor 180 may run an operating system, an application program, a user interface display and a touch response, as well as the processing methods described in the embodiments of this application. In addition, the processor 180 is coupled with the input unit 130 and the display unit 140 .

蓝牙电路181,用于通过蓝牙协议来与其他具有蓝牙电路的蓝牙设备进行信息交互。例如,通信终端100A可以通过蓝牙电路181与同样具备蓝牙电路的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。The bluetooth circuit 181 is used to exchange information with other bluetooth devices having bluetooth circuits through the bluetooth protocol. For example, the communication terminal 100A may establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth circuit through the Bluetooth circuit 181, so as to perform data interaction.

通信终端100A还包括给各个部件供电的电源190(比如电池)。电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗等功能。通信终端100A还可配置有电源按钮,用于终端的开机和关机,以及锁屏等功能。The communication terminal 100A also includes a power source 190 (eg, a battery) for powering the various components. The power supply can be logically connected to the processor 180 through a power management system, so that functions such as managing charging, discharging, and power consumption are implemented through the power management system. The communication terminal 100A may also be configured with a power button, which is used to power on and off the terminal, and lock the screen and other functions.

图6是本发明实施例的通信终端100A的软件结构框图。FIG. 6 is a block diagram of the software structure of the communication terminal 100A according to the embodiment of the present invention.

分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and system libraries, and a kernel layer.

应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.

如图6所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 6, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for the applications of the application layer. The application framework layer includes some predefined functions.

如图6所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 6, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.

内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.

视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.

电话管理器用于提供通信终端100A的通信功能。例如通话状态的管理(包括接通,挂断等)。The telephony manager is used to provide the communication function of the communication terminal 100A. For example, the management of call status (including connecting, hanging up, etc.).

资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,通信终端振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt tone is issued, the communication terminal vibrates, and the indicator light flashes.

Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.

系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL) and so on.

表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.

内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.

下面结合捕获拍照场景,示例性说明通信终端100A软件以及硬件的工作流程。In the following, the workflow of the software and hardware of the communication terminal 100A is exemplarily described in conjunction with the capturing and photographing scene.

当触摸屏131接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为相机应用图标的控件为例,相机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像头140捕获静态图像或视频。When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes touch operations into raw input events (including touch coordinates, timestamps of touch operations, etc.). Raw input events are stored at the kernel layer. The application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon, for example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer. Camera 140 captures still images or video.

本申请实施例中的通信终端100A可以为手机、平板电脑、可穿戴设备、笔记本电脑以及电视等。The communication terminal 100A in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a TV, and the like.

图7是用于示出通信终端(例如图1的通信终端100A)上的用户界面的示意图。在一些具体实施中,用户通过触摸用户界面上的应用图标可以打开相应的应用程序,或者通过触摸用户界面上的文件夹图标可以打开相应的文件夹。FIG. 7 is a schematic diagram for illustrating a user interface on a communication terminal such as the communication terminal 100A of FIG. 1 . In some specific implementations, the user can open a corresponding application program by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.

本申请实施例中,如图8所示,通信终端100A可与显示设备200建立通信连接,以实现多屏互动功能。其中,所述显示设备200是指能够呈现显示画面并能够与其他设备进行数据交互的设备,例如,智能电视、平板电脑、智能演示屏、智能投影仪等。In the embodiment of the present application, as shown in FIG. 8 , the communication terminal 100A may establish a communication connection with the display device 200 to realize the multi-screen interaction function. The display device 200 refers to a device capable of presenting a display screen and capable of data interaction with other devices, for example, a smart TV, a tablet computer, a smart presentation screen, a smart projector, and the like.

为了显示具体的用户界面,并且能够与通信终端100A建立通信连接,显示设备200至少包括:显示器275、通信器220以及控制器250。其中,显示器275用于呈现具体的用户界面,通信器220用于与通信终端100A建立通信连接,控制器250则用于接收、发送、处理显示过程以及通信过程中的相关数据或控制指令。In order to display a specific user interface and establish a communication connection with the communication terminal 100A, the display device 200 at least includes a display 275 , a communicator 220 and a controller 250 . The display 275 is used to present a specific user interface, the communicator 220 is used to establish a communication connection with the communication terminal 100A, and the controller 250 is used to receive, send, and process related data or control instructions in the display process and the communication process.

在一些实施例中,显示设备200中还包括调谐解调器、检测器、输入/输出接口、音频输出接口、存储器、供电电源、用户接口、外部装置接口中的至少一种,用于辅助显示过程及通信过程。例如,通过光接收器等检测器采集外部环境或与外部交互的信号,可以通过采集环境光可以自适应性显示参数变化。In some embodiments, the display device 200 further includes at least one of a tuner, a detector, an input/output interface, an audio output interface, a memory, a power supply, a user interface, and an external device interface for auxiliary display process and communication process. For example, the external environment or signals interacting with the outside are collected by detectors such as light receivers, and parameter changes can be adaptively displayed by collecting ambient light.

通信终端100A与显示设备200之间建立的通信连接,可以采用有线或无线的连接方式。例如,通信器220可以包括Wifi芯片,蓝牙通信协议芯片,有线以太网通信协议芯片等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。相应的,通信终端100A与显示设备200之间可以通过无线局域网络、蓝牙、进场通信等方式实现连接。The communication connection established between the communication terminal 100A and the display device 200 may be wired or wireless. For example, the communicator 220 may include at least one of a Wifi chip, a Bluetooth communication protocol chip, a wired Ethernet communication protocol chip and other network communication protocol chips or a near field communication protocol chip, and an infrared receiver. Correspondingly, the connection between the communication terminal 100A and the display device 200 may be realized by means of wireless local area network, Bluetooth, on-site communication, and the like.

在通信终端100A与显示设备200之间建立通信连接后,通信终端100A可以利用不同的传输协议与显示设备200之间建立不同的数据传输通道,以实现数据传输功能。例如,为了实现投屏功能,可以在通信终端100A与显示设备200之间建立基于数字生活网络联盟(Digital Living Network Alliance,DLNA)协议的数据传输通道,该通道可用于传递投屏数据流,使显示设备200能够同步显示通信终端100A中的内容。After the communication connection is established between the communication terminal 100A and the display device 200 , the communication terminal 100A may establish different data transmission channels with the display device 200 using different transmission protocols to realize the data transmission function. For example, in order to realize the screen projection function, a data transmission channel based on the Digital Living Network Alliance (DLNA) protocol can be established between the communication terminal 100A and the display device 200, and the channel can be used to transmit the screen projection data stream, so that the The display device 200 can synchronously display the content in the communication terminal 100A.

通信终端100A和显示设备200可以利用建立的通信连接关系相互传递数据。例如,通信终端100A可以将其内部存储的视频文件推送给显示设备200,显示设备200再根据接收到的视频文件执行视频播放功能,从而在会议演示、电影放映等场景下,通过显示设备200的大尺寸显示器275展示该视频内容。本申请实施例中,将通信终端100A向显示设备200推送视频文件的过程称为视频分享。应当理解的是,通信终端100A向显示设备200推送的文件不仅包括视频文件,还包括文档文件、图片文件以及其他能够在通信终端100A和显示设备200中进行播放的文件。The communication terminal 100A and the display device 200 can communicate data to each other using the established communication connection relationship. For example, the communication terminal 100A can push the video file stored in the communication terminal 100A to the display device 200, and the display device 200 performs the video playback function according to the received video file, so that in the scenarios of conference presentations, movie projections, etc. A large-scale display 275 displays the video content. In this embodiment of the present application, the process of pushing the video file from the communication terminal 100A to the display device 200 is called video sharing. It should be understood that the files pushed by the communication terminal 100A to the display device 200 include not only video files, but also document files, picture files and other files that can be played in the communication terminal 100A and the display device 200 .

为了实现视频分享过程,用户可以先在通信终端100A的文件管理界面中选中待分享的视频文件,再通过通信终端100A的UI界面执行“推送”相应的交互动作。此时,通信终端100A可以将视频文件通过通信装置进行发送,显示设备200则可以通过通信器220接收该视频文件,并根据预定的播放方式,对接收的视频文件执行解码等播放相关操作,并最终在显示器275上呈现该视频的具体内容。In order to realize the video sharing process, the user can first select the video file to be shared in the file management interface of the communication terminal 100A, and then execute the corresponding interactive action of "push" through the UI interface of the communication terminal 100A. At this time, the communication terminal 100A can send the video file through the communication device, and the display device 200 can receive the video file through the communicator 220, and perform playback-related operations such as decoding on the received video file according to a predetermined playback method, and Finally, the specific content of the video is presented on the display 275 .

在一些实施例中,如图9所示,为了能够在显示设备200的显示器275上呈现视频内容,还可以通过建立的投屏数据通道完成视频内容的传递。其中,投屏功能可以包括两种,一种是显示设备200显示通信终端100A所显示的全部画面,包括通信终端100A上的UI界面以及播放界面,显示设备200所显示的内容跟随通信终端100A中交互操作变化而变化;另一种是显示设备200只显示通信终端100A中的部分画面,例如通过投屏显示设备200可以仅显示播放界面,并且在投屏过程中,通信终端上与播放无关的其他操作不会影响显示设备200所显示的内容。In some embodiments, as shown in FIG. 9 , in order to be able to present the video content on the display 275 of the display device 200 , the transmission of the video content may also be completed through the established screen projection data channel. Among them, the screen projection function can include two types, one is that the display device 200 displays all the pictures displayed by the communication terminal 100A, including the UI interface and the playback interface on the communication terminal 100A, and the content displayed by the display device 200 follows that of the communication terminal 100A. The other is that the display device 200 only displays part of the screen in the communication terminal 100A, for example, the screen projection display device 200 can only display the playback interface, and during the screen projection process, the communication terminal has nothing to do with playback. Other operations do not affect the content displayed by the display device 200 .

对于投屏功能,通信终端100A可以在通信终端100A与显示设备200建立投屏连接后,通过投屏数据通道向显示设备200发送投屏数据,而投屏数据中可以包括通信终端100A上所显示画面对应的数据,还可以包括待共享视频对应的数据。对应的用户操作过程为:用户先在通信终端100A上选择一个视频文件进行播放,在通信终端100A显示播放界面后,用户再通过播放界面上的“投屏”按钮启用投屏功能,将播放的视频相关数据发送给显示设备200,以使显示设备200可以在显示器275上显示对应的视频内容。在完成上述操作后,通信终端100A可以不再显示播放的视频内容,并维持投屏功能后台运行,以避免用户操作对投屏画面产生影响。For the screen projection function, after the communication terminal 100A establishes a screen projection connection with the display device 200, the communication terminal 100A may send the screen projection data to the display device 200 through the screen projection data channel, and the screen projection data may include the data displayed on the communication terminal 100A. The data corresponding to the picture may also include data corresponding to the video to be shared. The corresponding user operation process is as follows: the user first selects a video file on the communication terminal 100A to play, and after the communication terminal 100A displays the playing interface, the user activates the screen-casting function through the "cast screen" button on the playback interface, and the played video is displayed. The video-related data is sent to the display device 200 so that the display device 200 can display the corresponding video content on the display 275 . After the above operations are completed, the communication terminal 100A may no longer display the video content being played, and maintain the screen projection function running in the background, so as to avoid the impact of the user operation on the projection screen.

可见,在上述两种视频分享方式下,用户都需要先在通信终端100A中选择一个待分享的视频文件,再将视频文件推送给显示设备200。用户选择视频文件的过程可以在文件管理界面中完成,也可以在具有文件共享功能的应用程序中完成。例如,用户可以通过运行媒资播放程序,如“××影音”等,调用播放程序中的“投屏”功能,选择本地资源投屏或网络资源投屏,并选择相应的视频文件,启动投屏功能。It can be seen that in the above two video sharing modes, the user needs to first select a video file to be shared in the communication terminal 100A, and then push the video file to the display device 200 . The process of user selection of video files can be done in the file management interface or in an application with file sharing function. For example, the user can run the media asset player program, such as "XX video", etc., call the "screen projection" function in the player program, select local resource projection or network resource projection, and select the corresponding video file to start projection. screen function.

在通信终端100A上,视频文件通常可以通过文件图标配合文件名的形式进行展示。例如,在文件管理界面中,可以依次排列显示通信终端100A中存储的多个视频文件图标,并在每个图标的右侧或下方显示文件名,如“视频1.AVI”。由于不同视频文件对应具体的视频内容不同,因此通过图标和文件名对视频文件进行展示的方式,并不能对视频文件的具体内容进行展示,使得通信终端100A中存储视频文件数量较多时,用户无法确定待分享的视频文件是哪一个,使用户不得不通过多次打开/关闭操作确定视频内容。On the communication terminal 100A, the video file can usually be displayed in the form of a file icon and a file name. For example, in the file management interface, a plurality of video file icons stored in the communication terminal 100A can be displayed in sequence, and a file name, such as "Video 1.AVI", is displayed on the right or below each icon. Since different video files correspond to different specific video contents, the method of displaying the video files through icons and file names cannot display the specific contents of the video files, so that when the number of video files stored in the communication terminal 100A is large, the user cannot Determining which video file is to be shared requires the user to determine the video content through multiple open/close operations.

为此,可以通过缩略图代替文件图标对视频文件的内容进行展示。其中,缩略图可以由视频文件的首帧视频画面或特定帧的视频画面生成。然而,由于视频文件内容的多样性,导致部分视频无法通过一张缩略图进行有效的区分。例如,对于电影类的视频文件,其首帧视频画面通常为公映许可画面,这将导致电影类视频文件的缩略图都是公映许可画面,因此通过该画面缩略图所展示的内容并不能有效区分多个电影视频文件,使用户仍然不能准确的选择出要分享的视频文件。To this end, the content of the video file can be displayed through thumbnails instead of file icons. The thumbnail image may be generated from the first frame of the video file or the video image of a specific frame. However, due to the diversity of video file content, some videos cannot be effectively distinguished by a single thumbnail. For example, for a movie-type video file, the first frame of the video image is usually a public-screening license screen, which will cause the thumbnails of the movie-type video files to be the public-screening license screen, so the content displayed by the thumbnail of the screen cannot be effectively distinguished. With multiple movie and video files, the user still cannot accurately select the video file to be shared.

为了便于用户选择待分享的视频文件,如图10、图11所示,本申请的部分实施例中提供一种多屏互动视频浏览方法,该方法可以应用于与显示设备200建立通信连接的通信终端100A,所述方法包括以下步骤:In order to facilitate the user to select the video file to be shared, as shown in FIG. 10 and FIG. 11 , some embodiments of the present application provide a multi-screen interactive video browsing method, which can be applied to the communication of establishing a communication connection with the display device 200 Terminal 100A, the method includes the following steps:

获取用户输入的多屏互动指令。Get multi-screen interactive instructions entered by the user.

所述多屏互动指令是指根据用户的交互动作输入,用于启动视频分享功能的指令。例如,用户启动投屏功能相关的应用程序时,则确定用户输入了多屏互动指令。对于部分通信终端,多屏互动指令还可以由特定的操作动作生成。例如,在支持触控操作的通信终端100A上输入三指上滑指令,则启动通信终端100A的投屏功能,因此当用户输入的三指上滑指令时,即表示用户输入了多屏互动指令。The multi-screen interactive instruction refers to an instruction input according to the user's interactive action to activate the video sharing function. For example, when the user starts an application related to the screen projection function, it is determined that the user has input a multi-screen interaction instruction. For some communication terminals, multi-screen interactive instructions can also be generated by specific operation actions. For example, inputting a three-finger swipe up instruction on the communication terminal 100A that supports touch operation will activate the screen projection function of the communication terminal 100A. Therefore, when the user inputs a three-finger swipe up instruction, it means that the user has entered a multi-screen interactive instruction .

在一些实施例中,为了输入多屏互动指令,通信终端100A可以先检测用户输入的应用启动动作,再解析应用启动动作中指定运行的应用程序。如果指定运行的应用程序为多屏互动应用,则生成多屏互动指令。In some embodiments, in order to input the multi-screen interactive instruction, the communication terminal 100A may first detect the application startup action input by the user, and then parse the application program specified to run in the application startup action. If the specified running application is a multi-screen interactive application, a multi-screen interactive instruction is generated.

其中,应用启动动作可以根据通信终端100A的UI交互方式的不同,具有不同的表现形式。例如,应用启动动作可以是用户在通信终端100A的应用程序界面中输入的,位置在应用图标范围内的点击触控指令。当用户输入应用启动动作以后,通信终端100A可以解析应用启动动作中指定运行的应用程序,同时判断所启动的应用程序类型,如果启动的应用程序是多屏互动应用,例如投屏应用,则生成多屏互动指令,使处理器180可以获取到用户输入的多屏互动指令。Wherein, the application startup action may have different expression forms according to different UI interaction modes of the communication terminal 100A. For example, the application startup action may be a click touch instruction input by the user in the application program interface of the communication terminal 100A, and the position is within the range of the application icon. After the user inputs the application startup action, the communication terminal 100A can analyze the application program specified to run in the application startup action, and at the same time determine the type of the application program to be started. The multi-screen interactive instruction enables the processor 180 to obtain the multi-screen interactive instruction input by the user.

由于多屏互动功能的实施是以通信终端100A与显示设备200之间已建立通信连接关系为基础,因此在一些实施例中,所述多屏互动指令还可以包含建立通信连接相关的操作指令。例如,当用户在通信终端100A输入多屏互动指令时,通信终端100A可以检测当前是否已连接显示设备200。如果通信终端100A已连接显示设备200,则建立相应的投屏数据通道,以便后续执行文件共享的相关动作;如果通信终端100A未与显示设备200建立通信连接,则可以在通信终端上展示建立连接相关的设置界面,以引导用户建立通信连接关系。Since the implementation of the multi-screen interaction function is based on the established communication connection relationship between the communication terminal 100A and the display device 200 , in some embodiments, the multi-screen interaction instruction may further include an operation instruction related to establishing a communication connection. For example, when the user inputs a multi-screen interactive instruction on the communication terminal 100A, the communication terminal 100A can detect whether the display device 200 is currently connected. If the communication terminal 100A has been connected to the display device 200, a corresponding screen-casting data channel is established so as to perform subsequent actions related to file sharing; if the communication terminal 100A has not established a communication connection with the display device 200, the established connection can be displayed on the communication terminal Related setting interface to guide the user to establish a communication connection relationship.

此外,如果通信终端100A与多个显示设备200建立无线连接关系,在输入多屏互动指令后,还可以在通信终端100A上显示设备列表,用户可以进一步在列表中选择推送的目标,从而将视频文件推送给目标显示设备200。In addition, if the communication terminal 100A establishes a wireless connection relationship with multiple display devices 200, after inputting the multi-screen interactive command, the device list can also be displayed on the communication terminal 100A, and the user can further select the target to be pushed in the list, so that the video The file is pushed to the target display device 200 .

通过所述通信终端显示视频分享界面。A video sharing interface is displayed through the communication terminal.

在用户输入多屏互动指令后,通信终端100A可以显示视频分享界面。如图8所示,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。本实施例中,所述视频分享界面用于展示每个可被分享的视频文件,以供用户选择。每个可被分享的视频文件可以在视频分享界面中以视频目录项的形式进行展示,用户可以通过交互UI,将焦点标志移动至任一个视频目录项以后,选择该视频目录项,即选择待分享的视频文件。After the user inputs the multi-screen interactive instruction, the communication terminal 100A may display a video sharing interface. As shown in FIG. 8 , the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of key frame images extracted from the video to be shared. In this embodiment, the video sharing interface is used to display each shareable video file for the user to select. Each shareable video file can be displayed in the form of a video catalog item in the video sharing interface. The user can move the focus mark to any video catalog item through the interactive UI, and then select the video catalog item, that is, select the desired video catalog item. shared video files.

其中,焦点标志是用于表示选定对象的一种标志形式,具体可以表现为指针、方框、圆圈等标志图形,也可以为高亮、放大等界面显示效果形式。例如,用户在视频分享界面中视频2对应的视频目录项所在区域内进行点击时,即可将焦点标志设置在视频2对应的视频目录项上,此时通信终端100A的UI界面可以将该视频目录项进行放大,突出显示以表示当前焦点标志所处的位置。Among them, the focus mark is a mark form used to represent the selected object, which can specifically be expressed as a pointer, a box, a circle and other logo graphics, and can also be in the form of interface display effects such as highlighting and zooming in. For example, when the user clicks in the area where the video catalog item corresponding to video 2 is located in the video sharing interface, the focus mark can be set on the video catalog item corresponding to video 2, and the UI interface of the communication terminal 100A can set the video catalog item corresponding to video 2 at this time. The directory item is enlarged and highlighted to indicate where the current focus marker is located.

根据通信终端100A的显示区域形状、面积的不同,视频分享界面中可以呈现不同的显示效果。例如,如图12所示,当通信终端100A为竖向放置的手机时,由于其显示单元130为宽度小于高度的竖向显示状态,因此视频分享界面也可以呈现为宽度小于高度的竖向状态,并将每个待分享的视频目录项由上至下依次进行排列,形成列表效果。Depending on the shape and area of the display area of the communication terminal 100A, different display effects may be presented in the video sharing interface. For example, as shown in FIG. 12 , when the communication terminal 100A is a mobile phone placed vertically, since its display unit 130 is in a vertical display state with a width smaller than its height, the video sharing interface can also be presented in a vertical state with a width smaller than its height. , and arrange each video catalog item to be shared from top to bottom in order to form a list effect.

显然,为了便于查找到指定的视频文件,在视频分享界面中,视频目录项可以按照视频名称或按视频文件的修改日期进行排列。还可以根据视频文件在存储器120中的存储位置,在视频分享界面中设置多级菜单展示视频文件列表。例如,可以根据视频文件的来源在视频分享界面中设置多个文件夹,包括“电影、短视频、相机”等,用户可以根据待分享的视频类型从不同的文件夹中进行选择。Obviously, in order to find the specified video file conveniently, in the video sharing interface, the video directory items can be arranged according to the video name or according to the modification date of the video file. It is also possible to set a multi-level menu in the video sharing interface to display the video file list according to the storage location of the video file in the memory 120 . For example, multiple folders can be set in the video sharing interface according to the source of the video file, including "movie, short video, camera", etc., and the user can choose from different folders according to the type of video to be shared.

当通信终端100A中存储有多个视频文件时,为了将通信终端100A中的视频文件进行有效的区分,视频目录项中可以包括多个图像,即在视频分享界面中,每个视频目录项可以由多个图像构成。其中,图像是从该视频文件中提取的关键帧。显然,当视频文件的内容不同时,所提取出的关键帧图像内容也不同,因此通过多个关键帧图像即可以对视频文件进行有效的区分,以便用户及时了解视频文件的内容。When there are multiple video files stored in the communication terminal 100A, in order to effectively distinguish the video files in the communication terminal 100A, the video directory item may include multiple images, that is, in the video sharing interface, each video directory item may include multiple images. Consists of multiple images. where images are keyframes extracted from this video file. Obviously, when the contents of the video files are different, the contents of the extracted key frame images are also different. Therefore, the video files can be effectively distinguished by using multiple key frame images, so that the user can know the contents of the video files in time.

例如,对于某一视频文件,其视频目录项可以由该视频文件的前1-10s中的10个关键帧图像组成。而对于不同内容的视频文件,10个关键帧图像完全相同或相似的概率极低,因此通过多个关键帧图像可以对不同的视频内容进行有效区分。另外,对于一般视频文件,通过其1-10s时间内的关键帧图像可以使用户能够了解该视频文件所包含的视频内容,从而便于用户完成选择,提高视频分享操作的效率。For example, for a certain video file, its video directory entry may consist of 10 key frame images in the first 1-10s of the video file. For video files with different contents, the probability that the 10 key frame images are identical or similar is extremely low, so different video contents can be effectively distinguished through multiple key frame images. In addition, for a general video file, the user can understand the video content contained in the video file through its key frame images within 1-10s, so as to facilitate the user to complete the selection and improve the efficiency of the video sharing operation.

由以上技术方案可知,上述实施例提供的多屏互动视频浏览方法可以配置在通信终端100A的处理器180中,以实现在通信终端100A获取用户输入的多屏互动指令后,能够显示视频分享界面。并且视频分享界面中包括多个视频目录项,且每个视频目录项中包括多个从待分享视频中提取的关键帧图像。所述方法可以通过多个关键帧图像对视频文件进行展示,使用户能够充分了解视频内容,便于准确选中要分享的视频文件。It can be seen from the above technical solutions that the multi-screen interactive video browsing method provided by the above embodiments can be configured in the processor 180 of the communication terminal 100A, so that the video sharing interface can be displayed after the communication terminal 100A obtains the multi-screen interactive instruction input by the user. . And the video sharing interface includes multiple video catalog items, and each video catalog item includes multiple key frame images extracted from the video to be shared. The method can display the video file through multiple key frame images, so that the user can fully understand the video content, and it is convenient to accurately select the video file to be shared.

在上述实施例中,由于视频分享界面与文件管理界面对视频文件的显示形式不同,因此为了呈现视频分享界面,在一些实施例中,控制所述显示单元显示视频分享界面的步骤还包括以下步骤:In the above embodiments, since the video sharing interface and the file management interface display different video files, in order to present the video sharing interface, in some embodiments, the step of controlling the display unit to display the video sharing interface further includes the following steps :

遍历视频资源文件。Traverse video resource files.

在获取用户输入的多屏互动指令后,通信终端可以在显示视频分享界面前,先遍历通信终端100A中可被分享的视频资源文件。其中,所述视频资源文件包括通信终端中存储的本地视频文件以及通过通信终端资源界面展示的网络资源文件。即在视频分享过程中,用户不仅可以分享本地存储的视频文件,也可以分享网络中的视频文件。After acquiring the multi-screen interaction instruction input by the user, the communication terminal may traverse the video resource files that can be shared in the communication terminal 100A before displaying the video sharing interface. Wherein, the video resource files include local video files stored in the communication terminal and network resource files displayed through the resource interface of the communication terminal. That is, during the video sharing process, the user can not only share the video files stored locally, but also share the video files in the network.

显然,对于不同形式的视频文件,其在后续视频分享过程中所传输的数据不同。例如,对于本地视频文件,需要通信终端100A将视频文件发送给显示设备200,因此可以在通信终端100A与显示设备200之间形成视频数据流。而对于网络资源文件,需要通信终端100A将网络资源文件的地址信息发送给显示设备200,如URL地址,以使显示设备200根据地址信息从网络服务器中获取该视频文件,因此可以在显示设备200与服务器400之间形成视频数据流。Obviously, for different forms of video files, the data transmitted in the subsequent video sharing process are different. For example, for a local video file, the communication terminal 100A needs to send the video file to the display device 200 , so a video data stream can be formed between the communication terminal 100A and the display device 200 . For the network resource file, the communication terminal 100A needs to send the address information of the network resource file to the display device 200, such as a URL address, so that the display device 200 can obtain the video file from the network server according to the address information. A video data stream is formed with the server 400 .

在每个视频资源文件中解码预设时间段内的视频数据。Video data within a preset time period is decoded in each video resource file.

通过遍历通信终端100A中的视频资源文件,通信终端100A可以将遍历到的每个视频文件的部分片段进行解析,即在每个视频资源文件中解码预设时间段内的视频数据。由于通信终端100A可以仅解析部分视频片段,因此在遍历视频资源文件后,通信终端100A可以在较短的时间内完成视频解码。By traversing the video resource files in the communication terminal 100A, the communication terminal 100A can parse some segments of each video file traversed, that is, decode video data within a preset time period in each video resource file. Since the communication terminal 100A can only parse a part of the video clips, after traversing the video resource files, the communication terminal 100A can complete the video decoding in a relatively short time.

在遍历出视频文件后,通信终端100A可以先对视频长度进行判断,如果视频长度超过预设视频长度值,则可以解析特定时间段内的视频内容。例如,当视频长度超过10s时,通信终端100A可以解析1-10s内的视频内容。如果视频资源是长度低于预设视频长度值的较短视频,则可以将整个视频进行解析。例如,对于视频总长小于10s的资源文件,可以直接按照整个视频长度进行提取。After traversing the video files, the communication terminal 100A can first judge the video length, and if the video length exceeds the preset video length value, it can parse the video content within a specific time period. For example, when the video length exceeds 10s, the communication terminal 100A can parse the video content within 1-10s. If the video resource is a shorter video with a length lower than the preset video length value, the entire video can be parsed. For example, for a resource file whose total video length is less than 10s, it can be directly extracted according to the entire video length.

从视频数据中提取设定数量的关键帧图像,以及缓存关键帧图像。Extracts a set number of keyframe images from video data, and caches keyframe images.

对视频文件进行部分解析后,通信终端100A还可以从视频内容中提取关键帧,以获得关键帧图像,从而形成视频目录项。例如,在进入应用后,通信终端100A可以在后台执行上述程序,对通信终端100A中可被分享的视频文件进行遍历,以获得5个视频文件。再缓存5个视频的第1秒到第10秒的视频片段关键帧各一帧,共5×10帧图像。由于后台程序不直接缓存全部视频的关键帧,因此可以减少不必要的内存占用。After partially parsing the video file, the communication terminal 100A may also extract key frames from the video content to obtain key frame images, thereby forming a video directory item. For example, after entering the application, the communication terminal 100A can execute the above program in the background, and traverse the video files that can be shared in the communication terminal 100A to obtain five video files. Then cache the key frames of the video clips from the 1st second to the 10th second of the 5 videos, each with a frame of 5 × 10 frames of images. Since the background program does not directly cache all video keyframes, unnecessary memory usage can be reduced.

按照所述关键帧图像在所述视频文件中的时间顺序,将所述关键帧图像排列,以生成视频目录项。The key frame images are arranged according to the time sequence of the key frame images in the video file to generate a video directory entry.

对于缓存的关键帧图像,可以根据关键帧图像的提取来源进行分组,即来源于同一个视频文件的关键帧图像作为一组。再根据关键帧图像在视频文件中的时间顺序,对同一组内的关键帧图像进行排列,以生成视频目录项。The cached key frame images can be grouped according to the extraction source of the key frame images, that is, the key frame images originating from the same video file are regarded as a group. Then, according to the time sequence of the key frame images in the video file, the key frame images in the same group are arranged to generate a video directory item.

例如,在视频1的1-10s内容中,所提取的关键帧在视频文件中的时间分别为:00:01:30、00:01:80、……、00:10:00,则可以将提取到的关键帧图像按照该顺序进行排列,使这些关键帧图像位于第一行进行显示。同理,对于视频2也同样采用相同的排列方式,将关键帧图像位于第二行进行显示。For example, in the 1-10s content of video 1, the times of the extracted key frames in the video file are: 00:01:30, 00:01:80, ..., 00:10:00, then you can use The extracted key frame images are arranged in this order, so that these key frame images are displayed in the first row. Similarly, the same arrangement is also adopted for video 2, and the key frame image is displayed in the second row.

按照所述视频文件的排列顺序,控制显示单元显示每个所述视频文件对应的所述视频目录项。According to the arrangement sequence of the video files, the display unit is controlled to display the video directory item corresponding to each video file.

提取关键帧图像以后,通信终端100A可以将提取的关键帧图像按照视频文件的排列顺序对提取的关键帧图像进行分组显示,从而形成视频分享界面。例如,在视频分享界面中展示5个视频对应的关键帧图像。After extracting the key frame images, the communication terminal 100A may display the extracted key frame images in groups according to the arrangement sequence of the video files, thereby forming a video sharing interface. For example, the key frame images corresponding to 5 videos are displayed in the video sharing interface.

由于通信终端100A显示区域的限制,每个视频目录项中包含的关键帧图像并不能全部进行显示,因此可以在每个视频目录项中只显示部分关键帧图像,而其他未被显示的图像则可以通过进一步操作,如分页、滑动等方式进行显示。例如,在视频分享界面中,每个视频目录项区域可以显示前3帧图像的全部内容,而通过滑动可继续查看视频的全部关键帧图像。Due to the limitation of the display area of the communication terminal 100A, not all the key frame images contained in each video catalog item can be displayed, so only part of the key frame images may be displayed in each video catalog item, while other undisplayed images are displayed. It can be displayed by further operations, such as paging, sliding, etc. For example, in the video sharing interface, each video directory item area can display the entire contents of the first three frames of images, and by swiping, you can continue to view all the key frame images of the video.

需要说明的是,由于不同的视频文件压缩方式具有不同的差异,因此其提取出的关键帧图像数量也不同,因此在本申请实施例中,从视频数据中提取的关键帧图像,可以在大于预设数量后,根据通信终端100A的处理能力以及通信终端100A中可分享的视频数量动态设定。例如,对于处理能力较强且可分享的视频文件数量较少的通信终端100A,可以增加每个视频目录项中关键帧图像的数量,从而使用户能够了解到更多的视频内容信息;而对于处理能力较弱或者可分享的视频文件数量较多的通信终端100A,可以设定每个视频目录项中关键帧图像的数量等于预设数量即可,以便尽快缓存多个视频文件对应的关键帧图像。It should be noted that since different video file compression methods have different differences, the number of key frame images extracted is also different. Therefore, in this embodiment of the present application, the key frame images extracted from video data can be larger than After the preset number, it is dynamically set according to the processing capability of the communication terminal 100A and the number of videos that can be shared in the communication terminal 100A. For example, for the communication terminal 100A with strong processing capability and a small number of shareable video files, the number of key frame images in each video directory item can be increased, so that the user can learn more video content information; The communication terminal 100A with weak processing capability or a large number of shareable video files can set the number of key frame images in each video directory item to be equal to the preset number, so as to cache key frames corresponding to multiple video files as soon as possible image.

另外,为了及时呈现视频分享界面,通信终端100A在缓存关键帧图像的过程中,可以实时对分享界面进行显示,并根据关键帧图像的缓存进度以及用户的操作过程,进一步显示相应视频文件的视频目录项。例如,在一页视频分享界面中最多可以显示5个视频目录项时,通信终端100A可以在缓存好前5个视频文件的关键帧图像后,就将分享界面进行显示。即初始显示状态下,视频分享界面中可以只包括前5个视频文件的视频目录项,以供用户操作。同时,通信终端100A还维持后台缓存关键帧图像的相关程序,再实时缓存第6个及以后的视频文件关键帧图像,以提高页面展示效率。In addition, in order to present the video sharing interface in time, the communication terminal 100A can display the sharing interface in real time during the process of caching the key frame image, and further display the video of the corresponding video file according to the cache progress of the key frame image and the operation process of the user. directory entry. For example, when a maximum of 5 video directory items can be displayed in the video sharing interface on one page, the communication terminal 100A can display the sharing interface after caching the key frame images of the first 5 video files. That is, in the initial display state, only the video directory items of the first five video files may be included in the video sharing interface for the user to operate. At the same time, the communication terminal 100A also maintains a related program for buffering key frame images in the background, and then buffers the key frame images of the sixth and subsequent video files in real time, so as to improve page display efficiency.

在上述实施例中,关键帧图像是指能够代表视频内容的图像,通常为视频文件中未被压缩的原图图像,以基于IDR图像压缩方式为例,关键帧即I帧,非关键帧即P帧或B帧。因此,为了提取关键帧图像,从所述视频数据中提取设定数量的关键帧图像的步骤还包括:In the above embodiment, the key frame image refers to an image that can represent the video content, and is usually an uncompressed original image image in the video file. Taking the IDR-based image compression method as an example, the key frame is the I frame, and the non-key frame is the P frame or B frame. Therefore, in order to extract key frame images, the step of extracting a set number of key frame images from the video data further includes:

解析所述视频文件,以获取预设时间段内的视频码流;Parse the video file to obtain the video stream within a preset time period;

在所述视频码流中提取关键字节位;extracting key bytes from the video code stream;

将所述关键字节位的码流数值换算为二进制数值,以及将所述二进制数值的预设位数值换算为十进制数值;Converting the code stream value of the key byte bit into a binary value, and converting the preset bit value of the binary value into a decimal value;

如果所述十进制数值等于关键帧判断值,提取所述视频码流对应图像,以生成关键帧图像。If the decimal value is equal to the key frame judgment value, extract the image corresponding to the video stream to generate a key frame image.

其中,所述关键字节位为所述视频码流中起始码之后的特定长度字节位。例如,如果一段视频码流为:00 00 00 01 41 E6 60……,则在视频码流中“00 00 00 01”为起始码,而起始码之后的下一个字节就可以检测出这一帧的类型,即关键字节位为0x41,换算成二进制数值为0100 0001。根据二进制数值的后5位换算十进制数值为1,可以确定这段码流是不分区、非IDR图像的片,即P帧。Wherein, the key byte is a specific length byte after the start code in the video stream. For example, if a video stream is: 00 00 00 01 41 E6 60..., then "00 00 00 01" in the video stream is the start code, and the next byte after the start code can be detected The type of this frame, that is, the key byte bit is 0x41, which is converted into a binary value of 0100 0001. According to the conversion of the last 5 digits of the binary value to the decimal value of 1, it can be determined that this code stream is a slice of a non-partitioned, non-IDR image, that is, a P frame.

如果另一段码流为:00 00 00 01 65 E8……,则关键字节位是0x65,换算成二进制数值为0110 0101。再根据二进制数值的后5位换算十进制数值为5,可以确定这段码流是IDR图像中的片,是关键帧,即I帧。If another code stream is: 00 00 00 01 65 E8..., then the key byte is 0x65, and the binary value is 0110 0101. Then, converting the decimal value to 5 according to the last 5 digits of the binary value, it can be determined that this code stream is a slice in the IDR image and is a key frame, that is, an I frame.

上述关键帧提取方法,可以控制程序的形式配置在通信终端100A的存储器120内,以供处理器180调用。具体的控制程序表现形式,可以根据通信终端100A的操作系统类型编制。以Android平台为例,配置的关键帧程序可以表示为:The above key frame extraction method may be configured in the memory 120 of the communication terminal 100A in the form of a control program for the processor 180 to call. The specific control program expression form can be compiled according to the operating system type of the communication terminal 100A. Taking the Android platform as an example, the configured keyframe program can be expressed as:

MediaMetadataRetriever retriever=new MediaMetadataRetriever();MediaMetadataRetriever retriever=new MediaMetadataRetriever();

retriever.setDataSource(dataPath);retriever.setDataSource(dataPath);

即获取视频第i秒关键帧:That is to get the key frame of the ith second of the video:

bitmap=retriever.getFrameAtTime(i,MediaMetadataRetriever.OPTION_CLOSEST);bitmap=retriever.getFrameAtTime(i, MediaMetadataRetriever.OPTION_CLOSEST);

其中,bitmap就是第i秒的关键帧图像。Among them, bitmap is the key frame image of the ith second.

可见,通过对视频码流中关键字节位数值的提取,并进行二进制和十进制的数值转换,可以确定视频码流所包含的关键帧图像,完成对关键帧图像进行提取。It can be seen that by extracting the value of the key bytes in the video stream and converting the binary and decimal values, the key frame image contained in the video stream can be determined, and the key frame image extraction can be completed.

由以上技术方案可知,上述实施例中通信终端可以在获取用户输入的多屏互动指令后,先在可分享的视频文件中提取关键帧图像,再通过关键帧图像组成视频目录项,并显示在视频分享界面中。因此,上述实施例中可以使用多个关键帧图像代替单调的图标或缩略图对视频文件进行展示,使用户能够及时获取视频内容,便于选中待分享的视频文件以完成视频分享。It can be seen from the above technical solutions that the communication terminal in the above embodiment can first extract key frame images from the shareable video file after acquiring the multi-screen interactive instruction input by the user, and then use the key frame images to form a video directory item and display it in the video directory. in the video sharing interface. Therefore, in the above embodiment, multiple key frame images may be used instead of monotonous icons or thumbnails to display video files, so that users can obtain video content in time, and it is convenient to select video files to be shared to complete video sharing.

由于视频目录项所占的区域有限,对于提取的多个关键帧图像,通信终端100A不能全部进行显示,只能显示部分关键帧图像。例如,在一行视频目录项区域内,通信终端100A的显示单元只能够将前3个关键帧图像进行显示。而在部分视频文件下,通过前3个关键帧图像并不足以对视频文件进行区分,因此在一些实施例中,还可以通过执行进一步操作,使通信终端100A能够显示其他未被显示或未被完整显示的关键帧图像。即所述方法还包括以下步骤:Since the area occupied by the video directory item is limited, the communication terminal 100A cannot display all of the extracted key frame images, but can only display part of the key frame images. For example, in a line of video catalog item area, the display unit of communication terminal 100A can only display the first three key frame images. In some video files, the first three key frame images are not enough to distinguish the video files. Therefore, in some embodiments, further operations may be performed to enable the communication terminal 100A to display other undisplayed or undisplayed images. The fully displayed keyframe image. That is, the method further includes the following steps:

获取用户输入的翻页指令。Get the page turning instruction entered by the user.

其中,翻页指令是指根据用户交互动作输入,用于执行翻页功能的指令,可以为用户在当前焦点标志下的视频目录项区域输入的滑动指令。例如,用户想要了解视频2的视频内容,可以先点击视频2对应的视频目录项,使其获得焦点标志。此时,通信终端100A可以对视频2的视频目录项进行突出显示。突出显示后如果用户仍不能通过已显示的关键帧图像知晓视频内容,则可以在视频目录项区域内输入向左拖拽的滑动指令,输入用于翻页的指令。The page-turning instruction refers to an instruction input according to a user's interactive action to perform a page-turning function, which may be a sliding instruction input by the user in the video catalog item area under the current focus mark. For example, if the user wants to know the video content of the video 2, he can first click on the video catalog item corresponding to the video 2 to obtain the focus mark. At this time, the communication terminal 100A can highlight the video catalog item of the video 2 . After highlighting, if the user still cannot know the video content through the displayed key frame image, he or she can input a sliding instruction to drag to the left in the video catalog item area to input an instruction for turning pages.

显然,根据通信终端100A所能够提供的交互方式的不同,用户输入的翻页指令也不同。对于不支持触控操作的通信终端100A,通信终端100A的交互UI中可以在获得焦点标志的视频目录项下方设置一个翻页按键,则翻页指令可以在用户点击该翻页按键时完成输入。对于仅支持实体案件操作的通信终端100A,翻页指令还可以在焦点标志位于视频目录项上,在通信终端100A按下的“左”键或“右”键时完成输入。Obviously, according to the different interaction modes that the communication terminal 100A can provide, the page turning instructions input by the user are also different. For the communication terminal 100A that does not support touch operation, a page turning button may be set in the interactive UI of the communication terminal 100A under the video directory item with the focus mark, and the page turning instruction can be input when the user clicks the page turning button. For the communication terminal 100A that only supports physical case operations, the page turning instruction can also be input when the focus mark is on the video directory item and the communication terminal 100A presses the "left" key or the "right" key.

控制显示单元在视频目录项区域内按滑动指令的滑动方向滚动显示多个关键帧图像。The display unit is controlled to scroll and display a plurality of key frame images in the video catalog item area according to the sliding direction of the sliding instruction.

在用户输入翻页指令后,通信终端100A可以响应于该翻页指令,对多个关键帧图像位置进行滚动显示,以使视频目录项中能够显示其他关键帧图像。例如,用户在视频目录项区域内输入向左拖拽的滑动指令后,通信终端100A可以跟随向左拖拽的动作,依次显示第4个关键帧图像、第5个关键帧图像……直至用户知晓视频内容而停止输入翻页指令或者将全部关键帧图像都已完成显示后停止。After the user inputs a page turning instruction, the communication terminal 100A can scroll and display the positions of multiple key frame images in response to the page turning instruction, so that other key frame images can be displayed in the video catalog item. For example, after the user inputs the sliding instruction of dragging to the left in the video catalog item area, the communication terminal 100A can follow the action of dragging to the left, and sequentially display the fourth key frame image, the fifth key frame image, etc. until the user Stop entering page turning commands when you know the video content, or stop after all key frame images have been displayed.

在一些实施例中,如果用户通过翻页指令将全部关键帧图像都完成显示后依然无法知晓视频内容。通信终端100A还可以在显示预设数量的关键帧图像后,继续在该视频文件中提取关键帧图像,并实时显示在视频目录项之内。例如,用户通过向左拖拽的触控动作在视频2的区域内拖拽到第10个关键帧图像后,还不能分辨视频内容,则可以继续输入向左拖拽的触控指令,触发通信终端100A继续提取关键帧图像的功能。此时通信终端100A可以在视频2对应10-20s视频内容中通过上述关键帧提取方法,获得关键帧图像。并在获得新的关键帧图像后,显示在第10个关键帧图像后方,即第11个关键帧图像。依次类推,直到用户通过关键帧图像得知视频2对应的视频内容。In some embodiments, if the user completes the display of all the key frame images through the page turning instruction, the video content still cannot be known. The communication terminal 100A may also continue to extract key frame images from the video file after displaying a preset number of key frame images, and display them in the video directory item in real time. For example, after the user drags the 10th key frame image in the area of video 2 through the touch action of dragging to the left, and still cannot distinguish the video content, he can continue to input the touch command of dragging to the left to trigger the communication The terminal 100A continues the function of extracting key frame images. At this time, the communication terminal 100A can obtain a key frame image in the video content corresponding to 10-20s of video 2 by using the above-mentioned key frame extraction method. And after a new key frame image is obtained, it is displayed behind the 10th key frame image, that is, the 11th key frame image. And so on, until the user knows the video content corresponding to the video 2 through the key frame image.

由于视频目录项对应区域有限,并且为了呈现多个视频文件的视频目录项,在视频分享界面中通常需要显示多个关键帧图像,为此在视频分享界面中,需要对关键帧图像进行简化处理,即通过缩略图进行显示。但由于缩略图经过缩小处理后会丢失部分细节,因此为了便于用户查看,如图14所示,在本申请的部分实施例中还可以通过浏览界面进一步对视频目录项进行显示,即所述方法还包括以下步骤:Because the corresponding area of video directory items is limited, and in order to present video directory items of multiple video files, it is usually necessary to display multiple key frame images in the video sharing interface. Therefore, in the video sharing interface, it is necessary to simplify the processing of key frame images. , that is, displayed by thumbnails. However, since some details will be lost after the thumbnails are reduced, in order to facilitate users to view, as shown in FIG. 14 , in some embodiments of the present application, the video catalog items can be further displayed through the browsing interface, that is, the method described above Also includes the following steps:

获取用户输入的浏览指令。Get the browsing instructions entered by the user.

其中,浏览指令是由用户的交互动作输入,用于控制通信终端100A展示完整关键帧图像的指令。例如,如图13所示,用户在获得焦点标志的视频目录项上输入长按指令时,即获取到用户输入的浏览指令。又例如,用户还可以通过在点击视频分享界面中的“浏览”按钮,输入浏览指令。Wherein, the browsing instruction is an instruction input by the user's interactive action, and is used to control the communication terminal 100A to display the complete key frame image. For example, as shown in FIG. 13 , when the user inputs a long-press instruction on the video directory item with the focus mark, the browsing instruction input by the user is acquired. For another example, the user may also input a browsing instruction by clicking the "Browse" button in the video sharing interface.

提取当前焦点光标下的所述视频目录项所包含的关键帧图像。Extract the key frame image contained in the video directory item under the current focus cursor.

在获取用户输入的浏览指令后,通信终端100A可以响应于该浏览指令,从缓存中提取被选中的关键帧图像。例如,用户在视频2对应的视频目录项区域输入长按指令后,表示用户要针对视频2进行浏览,因此可以在缓存中提取视频2对应的全部关键帧图像,以备在浏览界面中进行显示。After acquiring the browsing instruction input by the user, the communication terminal 100A may extract the selected key frame image from the cache in response to the browsing instruction. For example, after the user inputs a long-press command in the video directory item area corresponding to video 2, it means that the user wants to browse video 2, so all key frame images corresponding to video 2 can be extracted from the cache for display in the browsing interface .

控制所述显示单元显示浏览界面。The display unit is controlled to display a browsing interface.

在提取关键帧图像以后,通信终端100A可以从视频分享界面切换至浏览界面,并在浏览界面中对多个关键帧图像进行逐一显示。其中,如图10所示,所述浏览界面中按照预设时间间隔依次展示提取的所述关键帧图像。为了能够显示完整的关键帧原图,在浏览界面中,可以设置一个用户展示关键帧图像的内容区域,在该区域中可以按照预设时间间隔循环展示关键帧图像。循环展示的时间间隔可以根据需要自定义设置,例如,相邻两个关键帧图像之间的显示时间间隔为1-5s。After extracting the key frame images, the communication terminal 100A can switch from the video sharing interface to the browsing interface, and display a plurality of key frame images one by one in the browsing interface. Wherein, as shown in FIG. 10 , the extracted key frame images are displayed in sequence according to preset time intervals in the browsing interface. In order to display the complete original keyframe image, in the browsing interface, you can set a content area where the user displays the keyframe image, and the keyframe image can be displayed cyclically at preset time intervals in this area. The time interval of cyclic display can be customized as required, for example, the display time interval between two adjacent key frame images is 1-5s.

可见,在本实施例中,通过浏览界面对视频中的关键帧图像进行细致的展示,从而克服缩略图中丢失的细节,以便于用户识别视频内容。It can be seen that, in this embodiment, the key frame images in the video are displayed in detail through the browsing interface, so as to overcome the lost details in the thumbnail images, so as to facilitate the user to identify the video content.

在一些实施例中,浏览界面中所显示的关键帧图像还可以与用户输入的浏览指令相关。即在获取浏览指令后,通信终端100A还可以解析浏览指令中指定的起始关键帧图像,并控制显示单元依次展示起始关键帧以及起始关键帧以后的关键帧图像。其中,所述起始关键帧图像为用户在所述视频分享界面中执行长按动作的关键帧图像。In some embodiments, the key frame image displayed in the browsing interface may also be related to the browsing instruction input by the user. That is, after acquiring the browsing instruction, the communication terminal 100A may also parse the initial key frame image specified in the browsing instruction, and control the display unit to sequentially display the initial key frame and the key frame images after the initial key frame. Wherein, the starting key frame image is a key frame image in which the user performs a long-press action in the video sharing interface.

例如,对于电影类视频文件,由于其开始部分的关键帧图像趋于相同,如均为公映许可画面、发行商logo等,用户可以选择跳过这些重复内容,直接从第3个关键帧图像进行浏览。即用户可以在第3个关键帧图像上输入长按指令,以输入浏览指令。而通信终端100A在接收到长按指令后,可以获得长按指令对应的关键帧图像为第3个,因此在展示浏览界面时,可以在内容区域中,从第3个关键帧图像进行显示,并按照预设时间间隔,显示第4个、第5个以及后续的关键帧图像。For example, for movie video files, since the key frame images at the beginning of the file tend to be the same, such as the license screen for public screening, the publisher's logo, etc., the user can choose to skip these repeated content and directly start from the third key frame image. Browse. That is, the user can input a long-press command on the third key frame image to input a browsing command. However, after receiving the long-press instruction, the communication terminal 100A can obtain the third key frame image corresponding to the long-press instruction. Therefore, when displaying the browsing interface, the third key frame image can be displayed in the content area. And according to the preset time interval, the 4th, 5th and subsequent key frame images are displayed.

除内容区域外,在浏览界面中还可以包括其他控件,用于控制浏览界面中的展示效果。例如,可以在内容区域的下方展示多个控件,分别为:“上一个”、“下一个”、“播放”、“暂停”、“推送”。用户可以点击任一控件实现对应的功能,例如,用户可以通过点击“上一个”、“下一个”按钮控件,切换浏览界面中展示的视频目录项。因此,如图15所示,在一些实施例中,在显示浏览界面后,所述方法还可以包括:In addition to the content area, other controls may also be included in the browsing interface for controlling the display effect in the browsing interface. For example, multiple controls can be displayed below the content area, namely: "Previous", "Next", "Play", "Pause", "Push". The user can click any control to implement the corresponding function. For example, the user can switch the video catalog items displayed in the browsing interface by clicking the "previous" and "next" button controls. Therefore, as shown in FIG. 15 , in some embodiments, after displaying the browsing interface, the method may further include:

获取用户输入的切换指令。Get the switch instruction entered by the user.

其中切换指令可以通过点击浏览界面中的按钮控件完成输入,也可以由特定的动作手势完成输入。例如,用户可以通过在内容区域内输入向上或向下拖拽的滑动指令,输入切换指令。The switching instruction can be input by clicking a button control in the browsing interface, or can be input by a specific action gesture. For example, the user may input a switching instruction by inputting a sliding instruction of dragging up or down in the content area.

响应于所述切换指令,提取邻近目录项的关键帧图像。In response to the switching instruction, keyframe images of adjacent directory entries are extracted.

当用户输入切换指令后,通信终端100A可以按照上述实施例中相同的方式在浏览界面中显示临济目录项。其中,所述邻近目录项为当前焦点标志下视频目录项的上一个或下一个视频目录项。例如,视频2的邻近目录项为视频1或视频3。具体切换至哪一个邻近目录项,可以根据用户输入的切换指令确定,例如,用户点击“上一个”按钮时,通信终端100A提取视频1对应的关键帧图像;用户点击“下一个”按钮时,通信终端100A提取视频3对应的关键帧图像。After the user inputs the switching instruction, the communication terminal 100A can display the Linji directory item in the browsing interface in the same manner as in the above-mentioned embodiment. Wherein, the adjacent catalog item is the previous or next video catalog item of the video catalog item under the current focus mark. For example, video 2's adjacent directory entry is either video 1 or video 3. Which adjacent directory item to switch to can be determined according to the switching instruction input by the user. For example, when the user clicks the "previous" button, the communication terminal 100A extracts the key frame image corresponding to the video 1; when the user clicks the "next" button, the The communication terminal 100A extracts the key frame image corresponding to the video 3 .

控制所述显示单元在所述浏览界面显示所述邻近资源的关键帧图像。Controlling the display unit to display the key frame image of the adjacent resource on the browsing interface.

在提取邻近目录项的关键帧图像后,通信终端100A可以在浏览界面中将提取的关键帧图像进行显示,完成视频浏览切换。例如,用户在浏览视频2的关键帧图像后,确定视频2不是想要分享的视频,则可以在浏览界面中直接点击“下一个”按钮,切换至视频3的关键帧图像。通信终端100A可以在内容区域中,显示视频3的关键帧图像。对于图像3的显示方式,可以与视频2的显示方式相同。After extracting the key frame images of the adjacent directory items, the communication terminal 100A may display the extracted key frame images in the browsing interface to complete the video browsing switching. For example, after browsing the key frame images of video 2, the user determines that video 2 is not the video that you want to share, and can directly click the "Next" button in the browsing interface to switch to the key frame images of video 3. The communication terminal 100A can display the key frame image of the video 3 in the content area. The display mode of image 3 can be the same as that of video 2.

可见,本实施例中,通过在浏览界面中执行切换操作,可以快速切换至不同视频的目录项,便于用户在较清晰的环境下对视频内容进行了解,以便确定当前视频文件是否为待分享的视频文件。It can be seen that in this embodiment, by performing the switching operation in the browsing interface, it is possible to quickly switch to the directory items of different videos, which is convenient for the user to understand the video content in a clearer environment, so as to determine whether the current video file is to be shared. video file.

此外,用户通过上述视频分享界面和浏览界面对视频内容进行查看后,如果确定某一视频文件为要分享的文件,还可以进一步输入推送指令,以使通信终端100A将对应的视频文件发送至显示设备200,完成视频分享。In addition, after viewing the video content through the above-mentioned video sharing interface and browsing interface, if it is determined that a certain video file is a file to be shared, the user may further input a push instruction, so that the communication terminal 100A sends the corresponding video file to the display The device 200 completes video sharing.

具体推送方法可以为:在视频分享界面,用户可以通过双击视频目录项输入推送指令,则通信终端100A将该目录项对应的视频资源文件发送给显示设备200;在浏览界面,用户可以通过点击“推送”按钮控件输入推送指令,通信终端100A同样将当前浏览的视频资源文件发送给显示设备200,完成视频分享。The specific push method may be as follows: on the video sharing interface, the user can input a push instruction by double-clicking the video catalog item, and the communication terminal 100A sends the video resource file corresponding to the catalog item to the display device 200; on the browsing interface, the user can click the " Push" button control to input a push instruction, the communication terminal 100A also sends the currently browsed video resource file to the display device 200 to complete the video sharing.

基于上述多屏互动视频浏览方法,本申请的部分实施例中还提供一种通信终端100A,包括:显示单元130、通信电路以及处理器180。其中,所述显示单元130被配置为呈现各种用户界面,以及呈现视频分享界面。所述通信电路可以包括蓝牙电路181、Wi-Fi电路170等通信电路,被配置与显示设备200建立通信连接,以向显示设备200推送分享的视频数据。所述处理器180被配置为执行以下程序步骤:Based on the above multi-screen interactive video browsing method, some embodiments of the present application further provide a communication terminal 100A, including: a display unit 130 , a communication circuit, and a processor 180 . The display unit 130 is configured to present various user interfaces and to present a video sharing interface. The communication circuit may include communication circuits such as the Bluetooth circuit 181 , the Wi-Fi circuit 170 , etc., and is configured to establish a communication connection with the display device 200 to push the shared video data to the display device 200 . The processor 180 is configured to perform the following program steps:

获取用户输入的多屏互动指令;Obtain the multi-screen interactive instructions entered by the user;

响应于所述多屏互动指令,控制所述显示单元显示视频分享界面。In response to the multi-screen interactive instruction, the display unit is controlled to display a video sharing interface.

其中,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。Wherein, the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of key frame images extracted from the video to be shared.

由以上技术方案可知,上述实施例提供的通信终端100A可以根据用户输入的多屏互动指令,在显示单元130中显示视频分享界面。在视频分享界面中,可以包括多个待分享视频对应的视频目录项,以供用户浏览查看。并且,每个视频目录项中包括多个从待分享的视频中提取的关键帧图像,通过多个关键帧图像,可以对预设时间段内的视频内容进行展示,便于用户了解视频内容并选择要分享的视频文件推送给显示设备200,解决传统视频文件浏览方法不利于用户选中待共享视频资源文件的问题。It can be known from the above technical solutions that the communication terminal 100A provided in the above embodiments can display a video sharing interface in the display unit 130 according to the multi-screen interactive instruction input by the user. In the video sharing interface, a plurality of video catalog items corresponding to the videos to be shared may be included for the user to browse and view. In addition, each video catalog item includes multiple key frame images extracted from the video to be shared, and through multiple key frame images, the video content within a preset time period can be displayed, so that the user can understand the video content and select it. The video file to be shared is pushed to the display device 200, which solves the problem that the traditional video file browsing method is not conducive to the user selecting the video resource file to be shared.

基于上述通信终端100A,本申请的部分实施例中还提供一种显示设备200,包括显示器275、通信器220以及控制器250。其中,所述显示器275被配置为显示用户界面以及显示通信终端100A分享的视频画面内容,通信器220被配置为与通信终端100A建立通信连接,从而在通信终端100A获取分享的视频数据。Based on the above communication terminal 100A, some embodiments of the present application further provide a display device 200 , including a display 275 , a communicator 220 and a controller 250 . The display 275 is configured to display the user interface and the video content shared by the communication terminal 100A, and the communicator 220 is configured to establish a communication connection with the communication terminal 100A to obtain the shared video data at the communication terminal 100A.

如图16所示,控制器250被配置为执行以下程序步骤:As shown in Figure 16, the controller 250 is configured to perform the following procedural steps:

在与通信终端建立通信连接后,获取通信终端推送的视频文件;After establishing a communication connection with the communication terminal, obtain the video file pushed by the communication terminal;

解析所述视频文件,以及控制所述显示器显示所述视频文件的视频内容。Parse the video file, and control the display to display the video content of the video file.

其中,所述视频文件为用户在通信终端视频分享界面中选择的视频文件;所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。Wherein, the video file is a video file selected by the user in the video sharing interface of the communication terminal; the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of video catalog items extracted from the video to be shared keyframe image.

由以上技术方案可知,上述实施例提供的显示设备200可以在建立通信连接后,通过通信器220实时接收通信终端推送的视频文件,并对接收的视频文件进行解析,生成具体的视频画面内容,最后通过显示器275显示该视频画面内容。由于显示设备200接收到的视频文件为用户在视频分享界面中选择的视频文件,而在视频分享界面中,视频文件通过多个视频目录项进行表示,因此所接收到的视频可以直接展示用户待分享的视频内容,减少用户重复操作次数,提高用户体验。It can be seen from the above technical solutions that the display device 200 provided by the above embodiments can receive the video file pushed by the communication terminal in real time through the communicator 220 after the communication connection is established, and parse the received video file to generate specific video screen content, Finally, the video screen content is displayed through the display 275 . Since the video file received by the display device 200 is the video file selected by the user in the video sharing interface, and in the video sharing interface, the video file is represented by a plurality of video directory items, so the received video can directly display the user's The shared video content reduces the number of repeated user operations and improves user experience.

基于上述通信终端100A和显示设备200,本申请的部分实施例中还提供一种多屏互动视频浏览系统,包括通信终端100A和显示设备200,所述通信终端100A和所述显示设备200建立通信连接;Based on the above-mentioned communication terminal 100A and the display device 200, some embodiments of the present application further provide a multi-screen interactive video browsing system, including the communication terminal 100A and the display device 200, and the communication terminal 100A and the display device 200 establish communication connect;

所述通信终端100A被配置为:获取用户输入的多屏互动指令,并响应于所述多屏互动指令,显示视频分享界面,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像;以及,The communication terminal 100A is configured to obtain a multi-screen interactive instruction input by a user, and in response to the multi-screen interactive instruction, display a video sharing interface, where the video sharing interface includes a plurality of video catalog items, each of the The video catalog item includes a plurality of key frame images extracted from the video to be shared; and,

向所述显示设备200推送视频文件,所述视频文件为用户在通信终端视频分享界面中选择的待分享视频;Pushing a video file to the display device 200, where the video file is the video to be shared selected by the user in the video sharing interface of the communication terminal;

所述显示设备200被配置为:获取通信终端100A推送的视频文件,解析所述视频文件,以及显示所述视频文件的视频内容。The display device 200 is configured to: acquire a video file pushed by the communication terminal 100A, parse the video file, and display the video content of the video file.

由以上技术方案可知,本申请第四方面提供的多屏互动视频浏览系统,包括相互建立通信连接的通信终端和显示设备。通信终端可以在获取多屏互动指令后,显示视频分享界面,其中,所述视频分享界面中包括多个视频目录项,每个所述视频目录项中包括多个从待分享视频中提取的关键帧图像。在用户选择任一待分享视频后,通信终端还将所选择的视频文件推送给显示设备,以使显示设备在获取视频文件后可以显示该视频文件的具体视频内容。所述系统通过多个关键帧图像对视频文件进行展示,使用户能够充分了解视频内容,便于准确选中要分享的视频文件。It can be known from the above technical solutions that the multi-screen interactive video browsing system provided by the fourth aspect of the present application includes a communication terminal and a display device that establish a communication connection with each other. The communication terminal may display a video sharing interface after acquiring the multi-screen interactive instruction, wherein the video sharing interface includes a plurality of video catalog items, and each of the video catalog items includes a plurality of key items extracted from the video to be shared. frame image. After the user selects any video to be shared, the communication terminal also pushes the selected video file to the display device, so that the display device can display the specific video content of the video file after acquiring the video file. The system displays video files through a plurality of key frame images, so that the user can fully understand the video content, and it is convenient to accurately select the video file to be shared.

本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。Similar parts between the embodiments provided in the present application may be referred to each other. The specific embodiments provided above are just a few examples under the general concept of the present application, and do not constitute a limitation on the protection scope of the present application. For those skilled in the art, any other implementations expanded according to the solution of the present application without creative work fall within the protection scope of the present application.

Claims (10)

1.A communication terminal, comprising:
a display unit;
a communication circuit configured to establish a communication connection with a display device;
a processor configured to:
acquiring a multi-screen interaction instruction input by a user;
responding to the multi-screen interaction instruction, and controlling the display unit to display a video sharing interface, wherein the video sharing interface comprises a plurality of video directory entries, and each video directory entry comprises a plurality of key frame images extracted from the video to be shared.
2. The communication terminal according to claim 1, wherein in the step of obtaining the multi-screen interaction instruction input by the user, the processor is further configured to:
detecting an application starting action input by a user;
analyzing the application program appointed to run in the application starting action;
and if the specified running application program is a multi-screen interaction application, generating the multi-screen interaction instruction.
3. The communication terminal according to claim 1, wherein in the step of controlling the display unit to display the video sharing interface, the processor is further configured to:
traversing video resource files, wherein the video resource files comprise local video files stored in the communication terminal and network resource files displayed through a resource interface of the communication terminal;
decoding video data in a preset time period in each video resource file;
extracting a set number of key frame images from the video data;
and caching the key frame image.
4. The communication terminal according to claim 3, wherein in the step of controlling the display unit to display the video sharing interface, the processor is further configured to:
arranging the key frame images according to the time sequence of the key frame images in the video file to generate a video directory entry;
and controlling a display unit to display the video directory entries corresponding to the video files according to the arrangement sequence of the video files.
5. The communication terminal according to claim 3, wherein in the step of extracting a set number of key frame images from the video data, the processor is further configured to:
analyzing the video file to obtain a video code stream in a preset time period;
extracting key byte bits from the video code stream, wherein the key byte bits are byte bits behind a start code in the video code stream;
converting the code stream numerical value of the key byte bit into a binary numerical value, and converting a preset bit numerical value of the binary numerical value into a decimal numerical value;
and if the decimal value is equal to the key frame judgment value, extracting the image corresponding to the video code stream to generate a key frame image.
6. The communication terminal of claim 1, wherein the processor is further configured to:
acquiring a page turning instruction input by a user, wherein the page turning instruction is a sliding instruction input by the user in the video directory entry area under the current focus mark;
and responding to the page turning instruction, controlling the display unit to scroll and display a plurality of key frame images in the video directory entry area according to the sliding direction of the sliding instruction.
7. The communication terminal of claim 1, wherein the processor is further configured to:
acquiring a browsing instruction input by a user;
in response to the browsing instruction, extracting a key frame image contained in the video directory item under the current focus cursor;
and controlling the display unit to display a browsing interface, wherein the extracted key frame images are sequentially displayed in the browsing interface according to a preset time interval.
8. A multi-screen interactive video browsing method is applied to a communication terminal which establishes communication connection with display equipment, and comprises the following steps:
acquiring a multi-screen interaction instruction input by a user;
responding to the multi-screen interaction instruction, and displaying a video sharing interface through the communication terminal, wherein the video sharing interface comprises a plurality of video directory items, and each video directory item comprises a plurality of key frame images extracted from the video to be shared.
9. A display device, comprising:
a display;
a communicator configured to establish a communication connection with a communication terminal;
a controller configured to:
after communication connection is established with a communication terminal, a video file pushed by the communication terminal is obtained, wherein the video file is a video to be shared selected by a user in a video sharing interface of the communication terminal; the video sharing interface comprises a plurality of video directory entries, and each video directory entry comprises a plurality of key frame images extracted from videos to be shared;
and analyzing the video file, and controlling the display to display the video content of the video file.
10. A multi-screen interactive video browsing system is characterized by comprising a communication terminal and display equipment, wherein the communication terminal is in communication connection with the display equipment;
the communication terminal is configured to: acquiring a multi-screen interaction instruction input by a user, responding to the multi-screen interaction instruction, and displaying a video sharing interface, wherein the video sharing interface comprises a plurality of video directory items, and each video directory item comprises a plurality of key frame images extracted from a video to be shared; and the number of the first and second groups,
pushing a video file to the display equipment, wherein the video file is a video to be shared selected by a user in a video sharing interface of the communication terminal;
the display device is configured to: the method comprises the steps of obtaining a video file pushed by a communication terminal, analyzing the video file, and displaying video content of the video file.
CN202011293785.8A 2020-11-18 2020-11-18 A communication terminal and a multi-screen interactive video browsing method Pending CN114297435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011293785.8A CN114297435A (en) 2020-11-18 2020-11-18 A communication terminal and a multi-screen interactive video browsing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011293785.8A CN114297435A (en) 2020-11-18 2020-11-18 A communication terminal and a multi-screen interactive video browsing method

Publications (1)

Publication Number Publication Date
CN114297435A true CN114297435A (en) 2022-04-08

Family

ID=80964378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011293785.8A Pending CN114297435A (en) 2020-11-18 2020-11-18 A communication terminal and a multi-screen interactive video browsing method

Country Status (1)

Country Link
CN (1) CN114297435A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337562A (en) * 2018-01-24 2018-07-27 优酷网络技术(北京)有限公司 Share the method and device of multimedia record
WO2019119800A1 (en) * 2017-12-20 2019-06-27 聚好看科技股份有限公司 Method for processing television screenshot, smart television, and storage medium
CN111787379A (en) * 2020-07-06 2020-10-16 海信视像科技股份有限公司 Interactive method for generating video collection file, display device and intelligent terminal
CN111935518A (en) * 2020-08-13 2020-11-13 青岛海信传媒网络技术有限公司 Video screen projection method and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019119800A1 (en) * 2017-12-20 2019-06-27 聚好看科技股份有限公司 Method for processing television screenshot, smart television, and storage medium
CN108337562A (en) * 2018-01-24 2018-07-27 优酷网络技术(北京)有限公司 Share the method and device of multimedia record
CN111787379A (en) * 2020-07-06 2020-10-16 海信视像科技股份有限公司 Interactive method for generating video collection file, display device and intelligent terminal
CN111935518A (en) * 2020-08-13 2020-11-13 青岛海信传媒网络技术有限公司 Video screen projection method and display device

Similar Documents

Publication Publication Date Title
CN111405318B (en) Video display method, device and computer storage medium
CN111669621A (en) A kind of media asset data distribution method, server and display device
CN111897478A (en) Page display method and display equipment
CN114079819B (en) Content display method and display device
WO2021203530A1 (en) Display device and television program pushing method
CN111970549B (en) Menu display method and display device
WO2022048203A1 (en) Display method and display device for manipulation prompt information of input method control
CN114489310A (en) Virtual reality device and handle positioning method
CN113163228B (en) Media asset playback type marking method and server
CN111954059A (en) Screen saver display method and display device
CN109857972B (en) Page updating method and display equipment
CN113225838A (en) Microphone control method, audio receiving equipment and audio collecting equipment
CN111984167B (en) Quick naming method and display device
CN115145482A (en) A parameter configuration system, method, reference monitor and medium
CN112269668B (en) Application resource sharing and display device
CN113542899B (en) Information display method, display device, and server
CN115086771A (en) Video recommendation media asset display method, display device and server
CN112073787A (en) Display device and home page display method
CN115776600B (en) Display equipment and music playing interface display method
CN112040299B (en) Display device, server and live broadcast display method
CN114915818B (en) A method for pushing media assets and an intelligent terminal
CN113453056B (en) Display method and display device for photo album control
CN113542900B (en) Media information display method and display equipment
CN114297435A (en) A communication terminal and a multi-screen interactive video browsing method
CN111914133A (en) Electronic equipment and query statement processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221021

Address after: 83 Intekte Street, Devon, Netherlands

Applicant after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266555, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Applicant before: Hisense Visual Technology Co., Ltd.

TA01 Transfer of patent application right