CN113489700B - A method, server and terminal equipment for acquiring media asset data - Google Patents
A method, server and terminal equipment for acquiring media asset data Download PDFInfo
- Publication number
- CN113489700B CN113489700B CN202110720158.6A CN202110720158A CN113489700B CN 113489700 B CN113489700 B CN 113489700B CN 202110720158 A CN202110720158 A CN 202110720158A CN 113489700 B CN113489700 B CN 113489700B
- Authority
- CN
- China
- Prior art keywords
- media asset
- license plate
- media
- terminal device
- identifier
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请涉及媒资管理技术领域,尤其涉及一种获取媒资数据的方法、服务器及终端设备。The present application relates to the technical field of media asset management, and in particular to a method for acquiring media asset data, a server and a terminal device.
背景技术Background technique
聚合媒资是将多个媒资提供商的媒资聚合到统一的媒资平台中,从而通过媒资平台向用户展示来自各个媒资提供商的媒资。通常使用牌照信息区分来自不同媒资提供商的媒资,例如,爱奇艺牌照、优酷牌照、腾讯牌照等。基于推送功能,用户可以在手机端的媒资平台上选择媒资,通过推送操作将选择的媒资投放到电视或者其他显示设备进行播放。Aggregating media assets is to aggregate the media assets of multiple media asset providers into a unified media asset platform, so as to display media assets from various media asset providers to users through the media asset platform. License information is usually used to distinguish media assets from different media providers, for example, iQiyi license, Youku license, Tencent license, etc. Based on the push function, users can select media assets on the media asset platform on the mobile phone, and put the selected media assets on TV or other display devices for playback through the push operation.
然而,特定的显示设备往往只能播放特定牌照的媒资,如要播放其他牌照的媒资,需要下载与其他牌照相符合的第三方播放软件。例如,对于支持爱奇艺牌照的显示设备,如要推送播放来自腾讯视频的媒资,显示设备将不能立刻播放对应的媒资画面,而是检测是否安装腾讯视频相应的第三方APP,若未安装相应的第三方APP,则需要用户操作安装相应的第三方APP,才能进行推送播放。导致用户在手机端选择媒资,推送到显示设备上播放时,显示设备不能立即播放的问题,影响用户的观看体验。However, a specific display device can only play media assets of a specific license. To play media assets of other licenses, it is necessary to download third-party playback software that complies with other licenses. For example, for a display device that supports an iQiyi license, if you want to push and play media assets from Tencent Video, the display device will not be able to play the corresponding media asset screen immediately, but will check whether the third-party app corresponding to Tencent Video is installed. To install the corresponding third-party APP, the user needs to operate and install the corresponding third-party APP before push playback can be performed. When the user selects media assets on the mobile phone and pushes them to the display device for playback, the display device cannot play immediately, which affects the user's viewing experience.
发明内容Contents of the invention
本申请提供了一种获取媒资数据的方法、服务器及终端设备,以解决用户选择媒资时可能会遇到媒资不能立即播放且仍需后续手动进行多次选择的问题。This application provides a method for acquiring media data, a server and a terminal device, so as to solve the problem that the user may encounter that the media cannot be played immediately and multiple subsequent manual selections are still required when the user selects the media.
第一方面,本申请提供了一种获取媒资数据的方法,应用于终端设备,包括:In the first aspect, the present application provides a method for acquiring media asset data, which is applied to a terminal device, including:
接收输入的对媒资控件的选中操作,发送媒资信息获取请求至服务器,其中,所述媒资信息获取请求包括对应所述媒资控件的媒资标识和第一目标牌照,所述第一目标牌照为所述终端设备上一次向显示设备推送成功的媒资对应的媒资牌照;Receive an input selection operation on the media asset control, and send a media asset information acquisition request to the server, wherein the media asset information acquisition request includes a media asset identifier corresponding to the media asset control and a first target license, and the first The target license is the media asset license corresponding to the media asset that was successfully pushed to the display device by the terminal device last time;
接收服务器响应于所述媒资信息获取请求反馈的第一媒资信息集合,所述第一媒资信息集合包括与所述媒资标识对应的媒资信息和多个牌照标识,所述多个牌照标识包括所述第一目标牌照的牌照标识,所述媒资信息与所述第一目标牌照的牌照标识对应;所述第一目标牌照对应的牌照标识被设置为默认标识;receiving the first media asset information set fed back by the server in response to the media asset information acquisition request, the first media asset information set including media asset information corresponding to the media asset identifier and multiple license plate identifiers, the multiple The license plate identifier includes the license plate identifier of the first target license plate, and the media information corresponds to the license plate identifier of the first target license plate; the license plate identifier corresponding to the first target license plate is set as a default identifier;
显示媒资详情页面,所述详情页面包括用于展示所述媒资信息的控件,用于展示所述默认标识的播放源控件和推送控件,所述推送控件用于在接收到用户的选中操作后,触发向显示设备推送所述默认标识对应的媒资。Displaying the media asset details page, the details page includes controls for displaying the media asset information, for displaying the playback source control and the push control of the default logo, and the push control is used for receiving the user's selected operation After that, push the media assets corresponding to the default identifier to the display device.
第二方面,本申请提供了一种获取媒资数据的方法,应用于终端设备,包括:In the second aspect, the present application provides a method for acquiring media asset data, which is applied to a terminal device, including:
接收输入的对媒资控件的选中操作,发送媒资信息获取请求至服务器,其中,所述媒资信息获取请求包括对应所述媒资控件的媒资标识;Receive an input selection operation on the media asset control, and send a media asset information acquisition request to the server, wherein the media asset information acquisition request includes a media asset identifier corresponding to the media asset control;
判断是否预先存储有第一目标牌照,所述第一目标牌照为所述终端设备上一次向显示设备推送成功的媒资对应的媒资牌照;Judging whether there is a first target license plate stored in advance, the first target license plate is the media asset license corresponding to the media asset that was successfully pushed to the display device by the terminal device last time;
当预先存储有所述第一目标牌照时,接收服务器响应于所述媒资信息获取请求反馈的第一媒资信息集合,所述第一媒资信息集合包括与所述媒资标识对应的媒资信息和多个牌照标识,所述多个牌照标识包括所述第一目标牌照的牌照标识,所述媒资信息与所述第一目标牌照的牌照标识对应;所述第一目标牌照对应的牌照标识被设置为默认标识;When the first target license plate is pre-stored, the server receives the first media asset information set fed back by the server in response to the media asset information acquisition request, and the first media asset information set includes the media assets corresponding to the media asset identifier. information and multiple license plate identifiers, the multiple license plate identifiers include the license plate identifier of the first target license plate, and the media asset information corresponds to the license plate identifier of the first target license plate; the first target license plate corresponds to The license plate logo is set as the default logo;
当未预先存储有第一目标牌照时,接收服务器响应于所述媒资信息获取请求反馈的第一媒资信息集合,所述第一媒资信息集合包括与所述媒资标识对应的媒资信息和多个牌照标识;所述媒资信息与所述多个牌照标识中的任意一个牌照标识对应,所述任意一个牌照标识被设置为默认标识;When the first target license plate is not pre-stored, the server receives the first media asset information set fed back by the server in response to the media asset information acquisition request, and the first media asset information set includes the media asset corresponding to the media asset identifier Information and a plurality of license plate identifications; the media resource information corresponds to any one of the multiple license plate identifications, and any one of the license plate identifications is set as a default identification;
根据获取的所述第一媒资信息集合,显示所述媒资详情页面。Displaying the media asset details page according to the acquired first media asset information set.
第三方面,本申请提供了一种获取媒资数据的方法,应用于服务器,包括:In a third aspect, the present application provides a method for acquiring media asset data, which is applied to a server, including:
接收终端设备发送的媒资信息获取请求,所述媒资信息获取请求包括媒资控件对应的媒资标识和目标牌照;receiving a media asset information acquisition request sent by the terminal device, where the media asset information acquisition request includes a media asset identification and a target license plate corresponding to the media asset control;
在媒资数据库中筛选出与所述媒资标识和所述目标牌照对应的媒资信息以及多个牌照标识;Screen out the media asset information and multiple license plate identifiers corresponding to the media asset identifier and the target license plate in the media asset database;
将所述媒资信息和多个牌照标识信息构成媒资信息集合发送至终端设备。The media asset information and a plurality of license plate identification information constitute a media asset information set and send it to the terminal device.
第四方面,本申请提供了一种终端设备,包括存储器和处理器,所述存储器中存储有程序指令,所述处理器通过运行所述程序指令,执行下述步骤:In a fourth aspect, the present application provides a terminal device, including a memory and a processor, wherein program instructions are stored in the memory, and the processor executes the following steps by running the program instructions:
接收输入的对媒资控件的选中操作,发送媒资信息获取请求至服务器,其中,所述媒资信息获取请求包括对应所述媒资控件的媒资标识和第一目标牌照,所述第一目标牌照为所述终端设备上一次向显示设备推送成功的媒资对应的媒资牌照;Receive an input selection operation on the media asset control, and send a media asset information acquisition request to the server, wherein the media asset information acquisition request includes a media asset identifier corresponding to the media asset control and a first target license, and the first The target license is the media asset license corresponding to the media asset that was successfully pushed to the display device by the terminal device last time;
接收服务器响应于所述媒资信息获取请求反馈的第一媒资信息集合,所述第一媒资信息集合包括与所述媒资标识对应的媒资信息和多个牌照标识,所述多个牌照标识包括所述第一目标牌照的牌照标识,所述媒资信息与所述第一目标牌照的牌照标识对应;所述第一目标牌照对应的牌照标识被设置为默认标识;receiving the first media asset information set fed back by the server in response to the media asset information acquisition request, the first media asset information set including media asset information corresponding to the media asset identifier and multiple license plate identifiers, the multiple The license plate identifier includes the license plate identifier of the first target license plate, and the media information corresponds to the license plate identifier of the first target license plate; the license plate identifier corresponding to the first target license plate is set as a default identifier;
显示媒资详情页面,所述详情页面包括用于展示所述媒资信息的控件,用于展示所述默认标识的播放源控件和推送控件,所述推送控件用于在接收到用户的选中操作后,触发向显示设备推送所述默认标识对应的媒资。Displaying the media asset details page, the details page includes controls for displaying the media asset information, for displaying the playback source control and the push control of the default logo, and the push control is used for receiving the user's selected operation After that, push the media assets corresponding to the default identifier to the display device.
第五方面,本申请提供了一种服务器,包括存储器和处理器,所述存储器中存储有程序指令,所述处理器通过运行所述程序指令,执行下述步骤:In a fifth aspect, the present application provides a server, including a memory and a processor, where program instructions are stored in the memory, and the processor executes the following steps by running the program instructions:
接收终端设备发送的媒资信息获取请求,所述媒资信息获取请求包括媒资控件对应的媒资标识和目标牌照;receiving a media asset information acquisition request sent by the terminal device, where the media asset information acquisition request includes a media asset identification and a target license plate corresponding to the media asset control;
在媒资数据库中筛选出与所述媒资标识和所述目标牌照对应的媒资信息以及多个牌照标识;Screen out the media asset information and multiple license plate identifiers corresponding to the media asset identifier and the target license plate in the media asset database;
将所述媒资信息和多个牌照标识信息构成媒资信息集合发送至终端设备。The media asset information and a plurality of license plate identification information constitute a media asset information set and send it to the terminal device.
由以上技术方案可知,基于本申请实施例提供的获取媒资数据的方法,当针对某个媒资推送成功后,保存推送成功的媒资的牌照。并根据保存的牌照,从服务器请求相应数据源的媒资信息,使得媒资详情页中出现的媒资与上一次推送成功的媒资来自同一数据源。从而保证提高再次推送时能够推送成功,或者提高推送成功的概率。It can be seen from the above technical solution that based on the method for acquiring media asset data provided by the embodiment of the present application, when a certain media asset is successfully pushed, the license plate of the successfully pushed media asset is saved. And according to the saved license, the media resource information of the corresponding data source is requested from the server, so that the media resource that appears on the media resource details page and the media resource that was successfully pushed last time come from the same data source. In this way, it is ensured that the push can be successfully pushed when it is pushed again, or the probability of a successful push is improved.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solution of the present application more clearly, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, on the premise of not paying creative work, there are also Additional figures can be derived from these figures.
图1示例性示出了本申请实施例提供的终端设备的使用场景;FIG. 1 exemplarily shows a usage scenario of a terminal device provided by an embodiment of the present application;
图2示例性示出了本申请实施例提供的一种终端设备的结构示意图;FIG. 2 exemplarily shows a schematic structural diagram of a terminal device provided by an embodiment of the present application;
图3示例性示出了本申请实施例提供的一种终端设备的软件架构示意图;FIG. 3 exemplarily shows a schematic diagram of a software architecture of a terminal device provided in an embodiment of the present application;
图4示例性示出了本申请实施例提供的终端设备的用户界面示意图;FIG. 4 exemplarily shows a schematic diagram of a user interface of a terminal device provided by an embodiment of the present application;
图5中示例性示出了终端设备中媒体资源页界面的示意图;FIG. 5 exemplarily shows a schematic diagram of a media resource page interface in a terminal device;
图6中示例性示出了终端设备中媒资详情页界面的示意图;FIG. 6 exemplarily shows a schematic diagram of an interface of a media resource details page in a terminal device;
图7中示例性示出了终端设备中搜索设备界面的示意图;FIG. 7 exemplarily shows a schematic diagram of a search device interface in a terminal device;
图8中示例性示出了终端设备中搜索到可推送的显示设备界面的示意图;FIG. 8 exemplarily shows a schematic diagram of a display device interface that can be pushed after being searched in the terminal device;
图9中示例性示出了一种显示设备用户界面示意图;FIG. 9 exemplarily shows a schematic diagram of a user interface of a display device;
图10中示例性示出了终端设备中显示媒资牌照列表界面的示意图;FIG. 10 exemplarily shows a schematic diagram of an interface displaying a list of media asset licenses in a terminal device;
图11中示例性示出了终端设备中切换媒资牌照后媒资详情页的界面的示意图;FIG. 11 exemplarily shows a schematic diagram of the interface of the media asset details page after switching the media asset license plate in the terminal device;
图12中示例性示出了终端设备中接收推送响应消息界面的示意图;FIG. 12 exemplarily shows a schematic diagram of an interface for receiving a push response message in a terminal device;
图13中示例性示出了终端设备与服务器的交互过程示意图;FIG. 13 exemplarily shows a schematic diagram of an interaction process between a terminal device and a server;
图14中示例性示出了终端设备与服务器的交互过程示意图;FIG. 14 exemplarily shows a schematic diagram of an interaction process between a terminal device and a server;
图15中示例性示出了终端设备与服务器及显示设备的交互过程示意图;FIG. 15 exemplarily shows a schematic diagram of an interaction process between a terminal device, a server, and a display device;
图16中示例性示出了终端设备侧执行的获取媒资数据方法的流程图;FIG. 16 exemplarily shows a flow chart of a method for acquiring media asset data executed on the terminal device side;
图17中示例性示出了服务器侧执行的获取媒资数据方法的流程图;FIG. 17 exemplarily shows a flow chart of a method for acquiring media asset data executed on the server side;
图18中示例性示出了服务器侧执行的获取媒资数据方法的流程图;FIG. 18 exemplarily shows a flow chart of a method for acquiring media asset data executed on the server side;
图19中示例性示出了显示设备侧执行的获取媒资数据方法的流程图。FIG. 19 exemplarily shows a flow chart of the method for acquiring media asset data performed by the display device side.
具体实施方式Detailed ways
下面将详细地对实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。仅是与权利要求书中所详述的、本申请的一些方面相一致的系统和方法的示例。The embodiments will be described in detail hereinafter, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following examples do not represent all implementations consistent with this application. These are merely examples of systems and methods consistent with aspects of the present application as recited in the claims.
需要说明的是,本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementations described below, and is not intended to limit the implementations of this application. These terms are to be understood according to their ordinary and usual meaning unless otherwise stated.
下面将结合附图对本申请实施例中的技术方案进行清除、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in the text is only a description of associated objects The association relationship indicates that there may be three kinds of relationships, for example, A and/or B, which may indicate: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiment of the present application , "plurality" means two or more than two.
本申请中说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似或同类的对象或实体,而不必然意味着限定特定的顺序或先后次序,除非另外注明。应该理解这样使用的用语在适当情况下可以互换。The terms "first", "second", and "third" in the description and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean limiting specific sequential or sequential unless otherwise noted. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
术语“包括”和“具有”以及他们的任何变形,意图在于覆盖但不排他的包含,例如,包含了一系列组件的产品或设备不必限于清楚地列出的所有组件,而是可包括没有清楚地列出的或对于这些产品或设备固有的其它组件。The terms "comprising" and "having", as well as any variations thereof, are intended to be inclusive but not exclusive, for example, a product or device comprising a series of components is not necessarily limited to all components expressly listed, but may include not expressly listed other components listed or inherent to these products or equipment.
术语“模块”是指任何已知或后来开发的硬件、软件、固件、人工智能、模糊逻辑或硬件或/和软件代码的组合,能够执行与该元件相关的功能。The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code capable of performing the function associated with that element.
图1中示例性示出了根据实施例中显示设备与控制装置之间操作场景的示意图。如图1中示出,用户可通过终端设备300和控制装置100操作显示设备200。Fig. 1 exemplarily shows a schematic diagram of an operation scene between a display device and a control device according to an embodiment. As shown in FIG. 1 , the user can operate the
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式等,通过无线或其他有线方式来控制显示设备200。其中,无线方式可以是直连和非直连,可以是经过路由的,也可以是不经过路由的。用户可以通过遥控器上按键,语音输入、控制面板输入等输入用户指令,来控制显示设备200。如:用户可以通过遥控器上音量加减键、频道控制键、上/下/左/右的移动按键、语音输入按键、菜单键、开关机按键等输入相应控制指令,来实现控制显示设备200的功能。In some embodiments, the
在一些实施例中,也可以使用移动终端、平板电脑、计算机、笔记本电脑、和其他智能设备以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。该应用程序通过配置可以在与智能设备关联的屏幕上,在直观的用户界面(UI)中为用户提供各种控制。In some embodiments, mobile terminals, tablet computers, computers, notebook computers, and other smart devices can also be used to control the
在一些实施例中,终端设备300可与显示设备200通过网络通信协议实现连接通信,实现一对一控制操作的和数据通信的目的。如:终端设备300与显示设备200建立控制指令协议,将遥控控制键盘同步到终端设备300上,通过控制终端设备300上用户界面,实现控制显示设备200的功能。也可以将终端设备300上显示音视频内容传输到显示设备200上,实现同步显示功能,即推送功能。In some embodiments, the
如图1中还示出,显示设备200和终端设备300还与服务器400通过多种通信方式进行数据通信。可允许显示设备200和终端设备300通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200和终端设备300提供各种内容和互动。示例的,显示设备200和终端设备300通过发送和接收信息,以及电子节目指南(EPG)互动,接收软件程序更新,或访问远程储存的数字媒体库。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。通过服务器400提供视频点播和广告服务等其他网络服务内容。As also shown in FIG. 1 , the
显示设备200,可以液晶显示器、OLED显示器、投影显示设备。具体显示设备类型,尺寸大小和分辨率等不作限定,本领技术人员可以理解的是,显示设备200可以根据需要做性能和配置上一些改变。The
显示设备200除了提供广播接收电视功能之外,还可以附加提供计算机支持功能的智能网络电视功能,包括但不限于,网络电视、智能电视、互联网协议电视(IPTV)等。In addition to providing the TV function of broadcasting and receiving, the
图2为本申请在一些实施例中示出的终端设备300的硬件配置框图。Fig. 2 is a block diagram of a hardware configuration of a
应该理解的是,图2所示终端设备300仅是一个范例,并且终端设备300可以具有比图2中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the
如图2所示,终端设备300包括:射频(radio frequency,RF)电路110、存储器120、显示单元130、摄像头140、传感器150、音频电路160、无线保真(Wireless Fidelity,Wi-Fi)模块170、处理器180、蓝牙模块181、以及电源190等部件。As shown in Figure 2, the
RF电路110可用于在收发信息或通话过程中信号的接收和发送,可以接收基站的下行数据后交给处理器180处理;可以将上行数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。The
存储器120可用于存储软件程序及数据。处理器180通过运行存储在存储器120的软件程序或数据,从而执行终端设备300的各种功能以及数据处理。存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。存储器120存储有使得终端设备300能运行的操作系统。本申请中存储器120可以存储操作系统及各种应用程序,还可以存储执行本申请实施例所述方法的代码。The
显示单元130可用于接收输入的数字或字符信息,产生与终端设备300的用户设置以及功能控制有关的信号输入,具体地,显示单元130可以包括设置在终端设备300正面的触摸屏131,可收集用户在其上或附近的触摸操作,例如点击按钮,拖动滚动框等。The
显示单元130还可用于显示由用户输入的信息或提供给用户的信息以及终端300的各种菜单的图形用户界面(graphical user interface,GUI)。具体地,显示单元130可以包括设置在终端设备300正面的显示屏132。其中,显示屏132可以采用液晶显示器、发光二极管等形式来配置。显示单元130可以用于显示本申请中所述的各种图形用户界面。The
其中,触摸屏131可以覆盖在显示屏132之上,也可以将触摸屏131与显示屏132集成而实现终端设备300的输入和输出功能,集成后可以简称触摸显示屏。本申请中显示单元130可以显示应用程序以及对应的操作步骤。Wherein, the
摄像头140可用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给处理器180转换成数字图像信号。
终端设备300还可以包括至少一种传感器150,比如加速度传感器151、距离传感器152、指纹传感器153、温度传感器154。终端设备300还可配置有陀螺仪、气压计、湿度计、温度计、红外线传感器、光传感器、运动传感器等其他传感器。The
音频电路160、扬声器161、麦克风162可提供用户与终端设备300之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出。终端设备300还可配置音量按钮,用于调节声音信号的音量。另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。本申请中麦克风162可以获取用户的语音。The
Wi-Fi属于短距离无线传输技术,终端设备300可以通过Wi-Fi模块170帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。Wi-Fi is a short-distance wireless transmission technology. The
处理器180是终端设备300的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的软件程序,以及调用存储在存储器120内的数据,执行终端设备300的各种功能和处理数据。在一些实施例中,处理器180可包括一个或多个处理单元;处理器180还可以集成应用处理器和基带处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,基带处理器主要处理无线通信。可以理解的是,上述基带处理器也可以不集成到处理器180中。本申请中处理器180可以运行操作系统、应用程序、用户界面显示及触控响应,以及本申请实施例所述的处理方法。另外,处理器180与输入单元130和显示单元140耦接。The
蓝牙模块181,用于通过蓝牙协议来与其他具有蓝牙模块的蓝牙设备进行信息交互。例如,终端设备300可以通过蓝牙模块181与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。The bluetooth module 181 is configured to exchange information with other bluetooth devices with bluetooth modules through the bluetooth protocol. For example, the
终端设备300还包括给各个部件供电的电源190(比如电池)。电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电以及功耗等功能。终端设备300还可配置有电源按钮,用于终端的开机和关机,以及锁屏等功能。The
图3是本申请根据一些实施例示出的终端设备300的软件结构框图。其中,分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。Fig. 3 is a block diagram showing a software structure of a
如图3所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in FIG. 3, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。其中:As shown in Figure 3, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc. in:
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。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, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供终端设备300的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,终端设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is issued, the terminal device vibrates, and the indicator light flashes, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。其中:Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system. in:
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part 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 program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the 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 various commonly used audio and video formats, as well as still image files, etc. 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, etc.
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 includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
本申请实施例中的终端设备300可以为手机、平板电脑、可穿戴设备、笔记本电脑以及电视等。The
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素中的至少一种。In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the conversion between the internal form of information and the form acceptable to the user. The commonly used form of user interface is the graphical user interface (Graphic User Interface, GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. At least one of the view's interface elements.
通常,终端设备通过向服务器发送数据请求,以从服务器获取对应的数据。例如,向服务器获取媒资信息请求,以从服务器获取媒资信息,这里的媒资信息至少包括媒资标识,例如,还可以包括媒资名称。基于推送功能,用户可以在终端设备(如手机)的媒资平台上选择媒资,通过推送操作将选择的媒资投放到电视或者其他显示设备进行播放。Generally, the terminal device acquires corresponding data from the server by sending a data request to the server. For example, a media resource information acquisition request is made to the server to obtain the media resource information from the server, where the media resource information at least includes a media resource identifier, for example, may also include a media resource name. Based on the push function, users can select media assets on the media asset platform of terminal devices (such as mobile phones), and put the selected media assets on TV or other display devices for playback through push operations.
需要说明的是,终端设备和被推送的显示设备中都安装有播放视频应用,为便于说明,在下述实施例中,将终端设备300中安装的视频播放应用称为第一应用,将显示设备200中安装的视频播放应用命名为第二应用。其中,第二应用可以是系统应用,也可以是第三方应用。It should be noted that both the terminal device and the pushed display device are installed with a video playback application. For the convenience of description, in the following embodiments, the video playback application installed in the
图4是本申请根据一些实施例示出的一种终端设备(例如图1的终端设备300)用户界面示意图。在一些具体实施中,用户通过触摸用户界面上的应用图标可以打开相应的应用程序,或者通过触摸用户界面上的文件夹图标可以打开相应的文件夹。Fig. 4 is a schematic diagram of a user interface of a terminal device (such as the
在一些实施例中,终端设备接收用户输入的对媒资控件的选中操作,显示媒体资源页面。图5为一种示例性的媒体资源页面,其具体可以为用户通过点击图4中的第一应用图标而输入对媒资控件的选中操作后,进入的页面。如图5所示,媒体资源页面包括导航栏500和位于导航栏下方的内容显示区510,内容显示区510包括多个媒体资源控件,如“影片A”、“影片B”等。其中,内容显示区510中显示的内容会随导航栏500中被选中控件的变化而变化。在显示媒体资源页面时,用户可以通过点击任意一个媒体资源控件,以输入针对任意媒体资源的媒资详情页面显示指令,来触发进入对应的媒资详情页面。示例性的,当用户点击图5中的“影片A”后,将进入“影片A”的媒资详情页面。为便于说明,在下述实施例中,将用户点击的媒体资源为目标媒体资源。需要说明的是,用户也可以通过其他方式来输入对媒资控件的选中操作,以触发进入目标媒资的媒资详情页面。例如,利用语音控制功能或者搜索功能,控制进入到目标媒体资源对应的媒资详情页面。In some embodiments, the terminal device receives the selection operation of the media resource control input by the user, and displays the media resource page. FIG. 5 is an exemplary media resource page, which may specifically be a page that the user enters after clicking the first application icon in FIG. 4 to input a selection operation on the media resource control. As shown in FIG. 5 , the media resource page includes a
具体实现时,终端设备接收输入的对媒资控件的选中操作,发送媒资信息获取请求至服务器,其中,媒资信息获取请求包括对应媒资控件的媒资标识;服务器接收媒资信息获取请求后,在媒资数据库中筛选出多个与媒资标识对应的媒资信息和多个牌照标识构成媒资信息集合,其中,媒资信息与多个牌照标识中的任意一个牌照标识对应,该任意一个牌照标识被设置为默认标识。服务器将上述媒资信息集合发送给终端设备,接着,终端设备根据返回的媒资信息集合显示出媒资详情页面。During specific implementation, the terminal device receives the input selection operation of the media asset control, and sends a media asset information acquisition request to the server, wherein the media asset information acquisition request includes the media asset identifier of the corresponding media asset control; the server receives the media asset information acquisition request Finally, a plurality of media asset information corresponding to the media asset identifier and a plurality of license plate identifiers are screened out in the media asset database to form a media asset information set, wherein the media asset information corresponds to any one of the multiple license plate identifiers, the Any license plate logo is set as the default logo. The server sends the above media asset information set to the terminal device, and then, the terminal device displays the media asset detail page according to the returned media asset information set.
需要说明的是,在媒体资源页面中显示的媒资可称为主媒资,当用户点击主媒资控件以打开主媒资的媒资详情页时,媒资详情页中显示该主媒资对应的子媒资。主媒资的媒资标识与子媒资的媒资标识具有对应关系,该对应关系是预先建立的。根据主媒资的媒资标识,可以获取到对应的子媒资的媒资信息,子媒资的媒资信息至少包括子媒资的媒资标识。It should be noted that the media asset displayed on the media resource page can be called the main media asset. When the user clicks on the main media asset control to open the media asset details page of the primary media asset, the primary media asset will be displayed on the media asset details page. The corresponding sub-media assets. The media asset identifier of the main media asset has a corresponding relationship with the media asset identifier of the sub-media asset, and the corresponding relationship is established in advance. According to the media asset identifier of the main media asset, the media asset information of the corresponding sub-media asset can be obtained, and the media asset information of the sub-media asset at least includes the media asset identifier of the sub-media asset.
示例性的,参见图5,在媒体资源页面中显示的“影片A”媒资为用户选择的主媒资,当用户点击该主媒资控件以打开该主媒资的媒资详情页时,终端设备向服务器发送媒资信息获取请求,媒资信息获取请求中包括目标媒资的媒资标识,即为主媒资标识。接着,接收服务器返回的媒资信息集合,以显示主媒资的媒资详情页。其中,媒资信息集合包括与该主媒资标识对应的媒资信息,即为与该主媒资标识对应的子媒资标识,还可以包括子媒资名称。例如,参见图6,在媒资详情页中显示了与“影片A”主媒资对应的两个子媒资,两个子媒资分别是“影片A”的“上集”和“影片A”的“下集”。Exemplarily, referring to FIG. 5 , the "Movie A" media asset displayed on the media resource page is the main media asset selected by the user. When the user clicks on the main media asset control to open the media asset details page of the primary media asset, The terminal device sends a media asset information acquisition request to the server, and the media asset information acquisition request includes the media asset identifier of the target media asset, which is the primary media asset identifier. Next, the media asset information set returned by the server is received to display the media asset details page of the main media asset. Wherein, the media asset information set includes the media asset information corresponding to the primary media asset identifier, that is, the sub-media asset identifier corresponding to the primary media asset identifier, and may also include the name of the sub-media asset. For example, referring to Figure 6, two sub-media assets corresponding to the main media asset of "Movie A" are displayed on the media asset details page, and the two sub-media assets are the "
在一些实施例中,终端设备显示媒体资源页面时,其中,媒体资源页面还包括终端设备播放源控件及与终端设备播放源控件对应的多个媒资控件、显示设备播放源控件及显示设备播放源控件对应的多个媒资控件;In some embodiments, when the terminal device displays the media resource page, the media resource page further includes a terminal device playback source control and a plurality of media resource controls corresponding to the terminal device playback source control, a display device playback source control, and a display device playback source control. Multiple media asset controls corresponding to the source control;
当接收到对显示设备播放源控件对应的媒资控件的选中操作时,发送不包含第一目标牌照的媒资信息获取请求至服务器,以请求服务器返回第一目标牌照对应的媒资信息;When a selection operation of the media asset control corresponding to the playback source control of the display device is received, a media asset information acquisition request that does not include the first target license plate is sent to the server to request the server to return the media asset information corresponding to the first target license plate;
当接收到对终端设备播放源控件的媒资控件的选中操作时,发送包含第一目标牌照的媒资信息获取请求至服务器,以请求服务器返回任意牌照对应的媒资信息。When receiving the selection operation of the media asset control of the play source control of the terminal device, send a media asset information acquisition request including the first target license plate to the server, so as to request the server to return the media asset information corresponding to any license plate.
图6为一种示例性的媒资详情页面,其具体为用户点击图5中“影片A”后显示的“影片A”的媒资详情页面。如图6所示,媒资详情页界面包括推送控件“推送”。用户可以通过点击该推送控件而输入媒资推送指令后,响应于该媒资推送指令,终端设备将向显示设备发送媒资推送请求,以请求将影片A同步到显示设备上进行播放。FIG. 6 is an exemplary media resource details page, which is specifically the media resource details page of “Movie A” displayed after the user clicks “Movie A” in FIG. 5 . As shown in FIG. 6 , the media resource details page interface includes a push control "Push". After the user can input a media asset push instruction by clicking the push control, in response to the media asset push instruction, the terminal device will send a media asset push request to the display device to request that movie A be synchronized to the display device for playback.
具体的,终端设备会在局域网内搜索可作为推送对象的目标显示设备,这时可显示如图7所示搜索设备界面,搜索设备界面中会提示用户正在查找设备,搜索设备界面还可设置取消控件,用户点击图7中的“取消”则可以停止查找设备,此次发起的推送失效。可作为推送对象的目标显示设备,首先是与通信终端处于同一个局域网的网络环境中的显示设备,其次是支持推送功能的显示设备,再则是安装有视频播放应用的显示设备。当满足这些条件时,显示设备可以作为目标显示设备而被终端设备搜索到,并进行汇总形成设备列表,设备列表包括可作为推送对象的全部目标显示设备的设备ID。Specifically, the terminal device will search for a target display device that can be used as a push object in the local area network. At this time, the search device interface as shown in Figure 7 can be displayed. The search device interface will prompt the user to search for the device, and the search device interface can also be set to cancel Control, the user clicks "Cancel" in Figure 7 to stop searching for devices, and the push initiated this time becomes invalid. The target display device that can be used as a push object is firstly a display device in the same LAN network environment as the communication terminal, secondly is a display device that supports the push function, and then is a display device installed with a video playback application. When these conditions are met, the display device can be searched by the terminal device as a target display device, and the device list is summarized to form a device list, and the device list includes device IDs of all target display devices that can be pushed.
在一些实施例中,在用户点击推送控件后,终端设备搜索可推送的目标显示设备时,可能出现一些异常情况:例如在阈值时间(比如20秒)内未搜索到可推送的目标显示设备,即打开设备列表超时,此时需提示用户未找到可推送设备,界面中可以设置重试控件和取消控件,用户点击重试控件,则再一次启动查找设备,用户点击界面中的取消控件,则取消重试,此次发起的推送失效;具体以实际情况为准。In some embodiments, after the user clicks on the push control, when the terminal device searches for a target display device that can be pushed, some abnormal situations may occur: for example, no target display device that can be pushed is found within a threshold time (such as 20 seconds), That is, the opening of the device list times out. At this time, the user needs to be prompted that no pushable device is found. The interface can be set with a retry control and a cancel control. When the user clicks the retry control, the search device will be started again. Cancel the retry, and the push initiated this time will be invalid; the actual situation shall prevail.
以通过WiFi搜索举例,发起推送的终端设备和作为被投射对象的目标显示设备需要连接同一个WiFi,比如WiFi为TENDA_2323。终端设备可以搜索到与其处于同一个WiFi网络环境下的目标显示设备,并将搜索到的可建立推送连接的目标显示设备在界面中列举出来,当搜索设备时不存在异常情况,即能够在局域网内搜索到可推送设备时,可以在通信终端的界面上显示设备列表。如图8所示,设备列表的界面顶部可以显示如“选择要推送的设备”的提示信息,以引导用户操作,图8中搜索到两个可推送的显示设备,设备ID分别为HX-1和HX-2,用户根据实际需求点选其中一个作为投射对象,比如用户点选HX-1,则目标显示设备HX-1即成为被投射的目标显示设备。设备列表底部可以设置取消控件,当用户点击“取消”时,则未选择目标显示设备,取消推送。Taking WiFi search as an example, the terminal device that initiates the push and the target display device as the projected object need to be connected to the same WiFi, for example, the WiFi is TENDA_2323. The terminal device can search for the target display device in the same WiFi network environment, and list the searched target display devices that can establish a push connection on the interface. When searching for the device, there is no abnormality, that is, it can When a device that can be pushed is found in the search, the device list can be displayed on the interface of the communication terminal. As shown in Figure 8, the top of the device list interface can display a prompt such as "Select the device to be pushed" to guide the user's operation. In Figure 8, two display devices that can be pushed are found, and the device IDs are HX-1 and HX-2, the user clicks one of them as the projection object according to actual needs, for example, the user clicks HX-1, and the target display device HX-1 becomes the target display device to be projected. A cancel control can be set at the bottom of the device list. When the user clicks "Cancel", the target display device is not selected and the push is canceled.
然而在实际应用中,特定的显示设备往往只能播放特定牌照的媒资,如要播放其他牌照的媒资,需要下载与其他牌照相符合的第三方播放软件。例如,对于支持爱奇艺牌照的显示设备,如要推送播放来自腾讯视频的媒资,显示设备将不能立刻播放对应的媒资画面,而是检测是否安装腾讯视频相应的第三方APP,若未安装相应的第三方APP,则需要用户操作安装相应的第三方APP,才能进行推送播放。However, in practical applications, a specific display device can only play media assets with a specific license. If you want to play media assets with other licenses, you need to download third-party playback software that is compatible with other licenses. For example, for a display device that supports an iQiyi license, if you want to push and play media assets from Tencent Video, the display device will not be able to play the corresponding media asset screen immediately, but will check whether the third-party app corresponding to Tencent Video is installed. To install the corresponding third-party APP, the user needs to operate and install the corresponding third-party APP before push playback can be performed.
图9为本申请根据一些实施例示出的一种显示设备用户界面示意图,其具体为显示安装第三方APP提醒消息的界面示意图。当显示设备接收终端设备发送的推送请求后,显示设备判断用户所选择的媒资是否为特定牌照的媒资。当用户所选择的媒资是特定牌照的媒资时,显示设备则可以播放出该媒资的画面;当用户所选择的媒资不是特定牌照的媒资时,显示设备将不能立刻播放该媒资的画面,而是显示出安装第三方APP提醒消息的界面,如图9所示。通过该提醒消息,提示用户需要下载与所选择的媒资牌照相符合的第三方播放软件。Fig. 9 is a schematic diagram of a user interface of a display device according to some embodiments of the present application, which is specifically a schematic diagram of an interface displaying a reminder message for installing a third-party APP. After the display device receives the push request sent by the terminal device, the display device judges whether the media resource selected by the user is a media resource with a specific license. When the media asset selected by the user is a media asset with a specific license, the display device can play the image of the media asset; when the media asset selected by the user is not a media asset with a specific license, the display device will not be able to play the media immediately Instead of the capital screen, an interface showing a reminder message for installing a third-party APP is displayed, as shown in FIG. 9 . Through the reminder message, the user is prompted to download the third-party playback software that matches the selected media asset license.
在一些实施例中,媒资详情页面上具有用于切换媒资牌照的交互式用户界面对象,用户可以通过与该交互式用户界面对象进行交互,以切换媒资的牌照,即切换媒资的数据源。例如,当用户所选择的媒资不是特定牌照的媒资时,用户即可通过与该交互式用户界面对象进行交互,控制切换到特定牌照的数据源。In some embodiments, there is an interactive user interface object for switching media asset licenses on the media asset details page, and the user can interact with the interactive user interface object to switch the license plate of the media asset, that is, to switch the license of the media asset. data source. For example, when the media resource selected by the user is not the media resource of a specific license, the user can control switching to the data source of the specific license by interacting with the interactive user interface object.
示例性的,参见图6,媒资详情页面除了具有推送控件外,还具有若干个显示区和其他操作控件。具体的,自上而下依次包括第一内容区、第二内容区、第三内容区和第四内容区。其中,第一内容区用于显示目标媒资的封面;第二内容区用于显示目标媒资的介绍内容,例如媒资名称为影片A、媒资评分为7.2分、媒资类型为动作和爱情和媒资牌照为牌照1等;第三内容区用于显示目标媒资的剧情简介;第四内容区用于显示其他相关的媒体资源。其他操作控件包括播放控制控件600、牌照切换控件610、播放源控件620、推送控件630和媒资控件640。其中,用户可以通过操作播放控制控件600,对媒资的播放状态进行控制,比如开始播放或者暂停播放。用户可以通过操作牌照切换控件610,切换媒资牌照。例如,如果服务器返回的媒资信息集合的牌照与显示设备支持的牌照不匹配时,用户可以通过操作牌照切换控件610,以输入牌照切换指令,该牌照切换指令指示切换媒资的牌照,即切换媒资的数据源。媒资控件640用于展示媒资信息的控件,播放源控件620用于展示默认标识,如图6所示,“牌照1”为默认标识;推送控件630用于在接收到用户的选中操作后,触发向显示设备推送默认标识对应的媒资。Exemplarily, referring to FIG. 6 , in addition to the push control, the media resource details page also has several display areas and other operation controls. Specifically, the first content area, the second content area, the third content area and the fourth content area are included in sequence from top to bottom. Among them, the first content area is used to display the cover of the target media asset; the second content area is used to display the introduction content of the target media asset, for example, the name of the media asset is movie A, the score of the media asset is 7.2 points, and the type of media asset is action and The love and media asset licenses are
示例性的,当用户在图6所示媒资详情页面中点击牌照切换控件610时,媒资详情页面中将显示媒资牌照显示列表,如图10所示。在图10中,媒资牌照显示列表650中包括多个媒资牌照选项,分别为牌照1、牌照2、牌照3、牌照4以及牌照5。此时,用户可以选择任意一个牌照作为要切换的目标牌照。当终端设备接收到用户对某个媒资牌照选项的选中操作时,确认接收到牌照切换指令,该牌照切换指令携带要切换的目标牌照。响应于该牌照切换指令,终端设备将执行媒资牌照切换操作。为便于说明,在下述实施例中,将用户通过前述操作选择的牌照称为第二目标牌照。例如,当用户选中牌照5时,那么牌照5即为第二目标牌照。当用户选择牌照5后,即“牌照5”为默认标识。Exemplarily, when the user clicks the license
在一些实施例中,当点击媒资详情页面上的播放源控件时,显示与终端设备播放源对应的牌照选项列表和与显示设备播放源对应的牌照选项列表,该两个牌照选项列表中均显示有多个牌照选项。其中,该牌照选项列表是根据服务器反馈的媒资信息集合中的多个牌照标识显示的,一个牌照选项对应一个牌照标识。例如,当服务器反馈的媒资信息集合包括牌照1、牌照2和牌照3时,在牌照选选项列表中显示牌照1、牌照2和牌照3对应的选项。In some embodiments, when the play source control on the media resource details page is clicked, the license option list corresponding to the play source of the terminal device and the license option list corresponding to the play source of the display device are displayed, both of which are Shows multiple license plate options. Wherein, the license plate option list is displayed according to multiple license plate identifiers in the media resource information set fed back by the server, and one license plate option corresponds to one license plate identifier. For example, when the media asset information set fed back by the server includes
在一些实施例中,终端设备播放源对应的牌照选项列表所包括的牌照选项与显示设备播放源对应的牌照选项列表可以相同,也可以不完全相同。例如,终端设备播放源对应的牌照选项列表可以包括牌照1、牌照2和牌照3,显示设备播放源对应的牌照选项列表可以包括牌照1、牌照2和牌照4。In some embodiments, the license plate options included in the license plate option list corresponding to the playback source of the terminal device and the license plate option list corresponding to the playback source of the display device may or may not be completely the same. For example, the license plate option list corresponding to the playback source of the terminal device may include
在一些实施例中,显示设备播放源对应的牌照选项列表中,默认标识对应的牌照选项显示在第一位。应理解的是,终端设备或者服务器可以根据需要对牌照选项列表中牌照选项的显示顺序进行排序,本申请不予限定。In some embodiments, in the license plate option list corresponding to the playback source of the display device, the license plate option corresponding to the default identifier is displayed first. It should be understood that the terminal device or the server may sort the display order of the license plate options in the license plate option list as required, which is not limited in this application.
图14为本申请根据一些实施例示出的终端设备与服务器的交互过程示意图,其具体为终端设备执行切换媒资牌照操作时与服务器的交互过程。如图14所示,终端设备接收通过操作播放源控件输入的牌照切换指令,牌照切换指令包括第二目标牌照;响应于该牌照切换指令,发送媒资信息获取请求至服务器,其中,媒资信息获取请求包括对应媒资控件的媒资标识和第二目标牌照;这里的目标媒资即为当前媒资详情页面对应的媒资。Fig. 14 is a schematic diagram of an interaction process between a terminal device and a server according to some embodiments of the present application, which is specifically an interaction process between the terminal device and the server when performing the operation of switching media licenses. As shown in Figure 14, the terminal device receives a license switch instruction input by operating the playback source control, and the license switch instruction includes the second target license; in response to the license switch instruction, it sends a media resource information acquisition request to the server, wherein the media resource information The acquisition request includes the media asset identification corresponding to the media asset control and the second target license; the target media asset here is the media asset corresponding to the current media asset details page.
服务器接收到媒资信息获取请求后,在媒资数据库中筛选出与媒资标识和第二目标牌照对应的媒资信息以及多个其他牌照标识,构成媒资信息集合。服务器将上述媒资信息集合发送给终端设备。终端设备则根据服务器返回的媒资信息集合更新媒资详情页面。更新后的媒资详情页面中,第二目标牌照对应的牌照标识被设置为默认标识,同时,在第二内容区中显示出默认标识为第二目标牌照的媒资。After receiving the media asset information acquisition request, the server screens out the media asset information corresponding to the media asset identifier and the second target license plate and multiple other license plate identifiers in the media asset database to form a media asset information set. The server sends the foregoing media asset information set to the terminal device. The terminal device updates the media resource details page according to the media resource information set returned by the server. On the updated media asset details page, the license plate logo corresponding to the second target license plate is set as the default logo, and at the same time, media assets with the default logo of the second target license plate are displayed in the second content area.
如前所述,在显示如图6所示的媒资详情页面时,用户可以通过点击推送控件输入针对目标媒资的推送操作,响应于该推送操作,终端设备向显示设备发送推送请求,推送请求用于请求显示设备播放默认标识对应的目标媒资。显示设备接收到推送请求后,尝试播放目标媒资,并会向终端设备发送推送响应消息,该推送响应消息可以为推送成功的提醒消息,还可以为推送失败的提醒消息。终端设备接收该推送响应消息,在用户界面上显示相应的提醒消息,进而提醒用户推送成功或者推送失败。As mentioned above, when the media asset details page shown in Figure 6 is displayed, the user can input a push operation for the target media asset by clicking the push control, and in response to the push operation, the terminal device sends a push request to the display device, and pushes The request is used to request the display device to play the target media asset corresponding to the default identifier. After receiving the push request, the display device tries to play the target media asset, and sends a push response message to the terminal device. The push response message can be a reminder message of successful push, or a reminder message of push failure. The terminal device receives the push response message, displays a corresponding reminder message on the user interface, and then reminds the user that the push is successful or the push is failed.
如图12所示,提醒消息显示在媒资详情页界面上的预设位置。其中,提醒消息显示方式可以为:在阈值时间(比如3秒)后,提醒消息自动进行消失;或者在提醒消息的显示界面设有关闭控件,用户需对关闭控件进行操作后关闭提醒消息。由此,在本申请的其他实施例中,并不只限定为上述提醒消息方式,提醒消息的方式包括但不限于上述方式,可以是短信通知的形式,也可以是响铃的形式,还可以是振动等其他形式。As shown in FIG. 12 , the reminder message is displayed at a preset position on the interface of the media resource details page. Wherein, the display mode of the reminder message can be: after a threshold time (for example, 3 seconds), the reminder message disappears automatically; or a close control is provided on the display interface of the reminder message, and the user needs to close the reminder message after operating the close control. Thus, in other embodiments of the present application, it is not limited to the above-mentioned reminder message method, and the reminder message method includes but is not limited to the above-mentioned method, which can be in the form of a short message notification, or in the form of ringing, or in the form of Vibration and other forms.
在一些实施例中,在媒资详情页界面上的预设位置收到提醒消息后,在媒资内容显示区中可以设置显示表征正在推送的控件,从而将当前的推送状态信息更新为“正在推送”,用于提示用户已成功将选择的目标媒资从终端设备推送到显示设备端,并且这种状态下,媒资内容显示区内还可以新增显示切换设备控件和退出控件。In some embodiments, after a reminder message is received at a preset position on the interface of the media asset details page, a control that shows that it is being pushed can be set in the media asset content display area, so as to update the current push status information to "being pushed" "Push" is used to prompt the user that the selected target media assets have been successfully pushed from the terminal device to the display device, and in this state, display switching device controls and exit controls can also be added in the media asset content display area.
值得注意的是,若该推送响应消息指示出推送成功,终端设备将推送成功的该目标媒资对应的牌照信息保存至本地数据中。这样,在终端设备下一次向服务器请求媒资信息时,即可根据本地数据中保存到的牌照,针对性的请求该牌照的媒资,从而保证请求到的媒资可以顺利推送到显示设备上播放。为便于区分及说明,下述实施例中将推送成功的目标媒资对应的牌照,称为第一目标牌照。It is worth noting that, if the push response message indicates that the push is successful, the terminal device saves the license information corresponding to the target media asset that has been pushed successfully to the local data. In this way, when the terminal device requests media information from the server next time, it can specifically request the media information of the license plate according to the license plate saved in the local data, so as to ensure that the requested media information can be smoothly pushed to the display device play. For the convenience of distinction and description, in the following embodiments, the license corresponding to the successfully pushed target media assets is referred to as the first target license.
图15为本申请根据一些实施例示出的终端设备与服务器及显示设备的交互过程示意图。参见图15,终端设备接收针对目标媒资的推送操作,针对该推送操作,向显示设备发送推送请求;显示设备接收到终端设备发送的推送请求,判断目标媒资的牌照是否为其支持的牌照匹配,若匹配,则向服务器发送目标媒资数据获取请求,该目标媒资数据获取请求用于请求服务器返回目标媒资播放数据;接着,显示设备接收服务器返回的目标媒资播放数据,基于目标媒资播放数据,控制在显示器上开始播放目标媒资。目标媒资起播后,显示设备向终端设备发送指示推送成功的推送响应消息。终端设备接收到该推送响应消息后,将目标媒资的牌照确定为第一目标牌照,并保存在本地数据中。Fig. 15 is a schematic diagram of an interaction process between a terminal device, a server, and a display device according to some embodiments of the present application. Referring to Figure 15, the terminal device receives a push operation for the target media asset, and sends a push request to the display device for the push operation; the display device receives the push request sent by the terminal device, and determines whether the license plate of the target media asset is supported by it Match, if it matches, send the target media asset data acquisition request to the server, the target media asset data acquisition request is used to request the server to return the target media asset playback data; then, the display device receives the target media asset playback data returned by the server, based on the target The media asset plays data, and controls to start playing the target media asset on the display. After the target media assets start broadcasting, the display device sends a push response message indicating that the push is successful to the terminal device. After receiving the push response message, the terminal device determines the license plate of the target media asset as the first target license plate, and stores it in local data.
需要说明的是,若本地已保存有牌照信息,使用本次推送成功的牌照信息并替换已存有的牌照信息;若本地没有保存牌照信息,即保存本次推送成功的牌照信息。具体地,本地保存的牌照为第一目标牌照,用户进行切换的牌照为第二目标牌照。也就是说,如果本地已存储有第一目标牌照,则使用第二目标牌照替换第一目标牌照,如果本地没有第一目标牌照,则直接保存第二目标牌照。It should be noted that if the license information has been saved locally, the license information that was successfully pushed this time will be used to replace the existing license information; if the license information is not saved locally, the license information that was successfully pushed this time will be saved. Specifically, the license plate saved locally is the first target license plate, and the license plate switched by the user is the second target license plate. That is to say, if the first target license plate is already stored locally, the second target license plate is used to replace the first target license plate, and if there is no first target license plate locally, the second target license plate is directly saved.
在一些实施例中,终端设备接收输入的对媒资控件的选中操作,发送媒资信息获取请求至服务器,媒资信息获取请求包括对应媒资控件的媒资标识和第一目标牌照,服务器接收媒资信息获取请求后,在媒资数据库中筛选出与媒资标识对应的媒资信息和多个牌照标识构成媒资信息集合,其中,媒资信息对应的牌照为第一目标牌照。服务器将上述媒资信息集合发送给终端设备,终端设备根据返回的媒资信息集合显示出媒资详情页面。此时,由于媒资详情页面显示的媒资的牌照是上一次推送成功的媒资的牌照,因此,当用户选择媒资详情页面进行推送时,极大提高了推送成功的概率。In some embodiments, the terminal device receives an input selection operation on the media asset control, and sends a media asset information acquisition request to the server, where the media asset information acquisition request includes the media asset identifier and the first target license plate corresponding to the media asset control, and the server receives After the media asset information acquisition request, the media asset information corresponding to the media asset identifier and multiple license plate identifiers are screened out in the media asset database to form a media asset information set, wherein the license plate corresponding to the media asset information is the first target license. The server sends the above media asset information set to the terminal device, and the terminal device displays the media asset detail page according to the returned media asset information set. At this time, since the license plate of the media resource displayed on the media resource details page is the license plate of the media resource that was successfully pushed last time, when the user selects the media resource details page to push, the probability of successful push is greatly improved.
在一些实施例中,还可以将第一目标牌照与显示设备或者终端设备的标识对应保存在服务器上。例如,当推送成功时,将显示设备或者终端设备的标识与第一目标牌照发送至服务器,服务器对应保存显示设备或者终端设备的标识以及第一目标牌照。这样,终端设备可以接收输入的对媒资控件的选中操作,发送媒资信息获取请求至服务器,媒资信息获取请求中包括目标媒资的媒资标识和终端设备标识或者显示设备标识。服务器则可以根据终端设备标识或者显示设备标识查找到对应的第一目标牌照,并从第一目标牌照对应的媒资数据库中筛选出与该媒资标识对应的媒资信息和多个其他牌照标识,以构成下发给终端设备的媒资信息集合。进而,终端设备根据该媒资信息集合显示出的媒资详情页界面中为第一目标牌照的媒资。In some embodiments, the first target license plate may also be stored on the server in correspondence with the identifier of the display device or the terminal device. For example, when the pushing is successful, the identifier of the display device or terminal device and the first target license plate are sent to the server, and the server correspondingly saves the identifier of the display device or terminal device and the first target license plate. In this way, the terminal device can receive an input selection operation on the media asset control, and send a media asset information acquisition request to the server, where the media asset information acquisition request includes the media asset identifier of the target media asset and the terminal device identifier or display device identifier. The server can find the corresponding first target license plate according to the terminal device ID or the display device ID, and filter out the media asset information corresponding to the media asset ID and multiple other license plate IDs from the media asset database corresponding to the first target license plate , to form a set of media asset information sent to the terminal device. Furthermore, according to the media asset information set, the terminal device displays the media asset of the first target license plate in the interface of the media asset detail page.
在一些实施例中,参见图13,终端设备接收输入的对媒资控件的选中操作,判断本地存储器中是否预先存储有第一目标牌照;第一目标牌照为终端设备上一次向显示设备推送成功的媒资对应的媒资牌照;则向服务器发送媒资信息获取请求。In some embodiments, referring to FIG. 13 , the terminal device receives an input selection operation on the media assets control, and judges whether the first target license plate is pre-stored in the local memory; The media asset license corresponding to the media asset; then send a media asset information acquisition request to the server.
当预先存储有第一目标牌照时,接收服务器响应于媒资信息获取请求反馈的第一媒资信息集合,第一媒资信息集合包括与媒资标识对应的媒资信息和多个牌照标识,多个牌照标识包括第一目标牌照的牌照标识,媒资信息与第一目标牌照的牌照标识对应;第一目标牌照对应的牌照标识被设置为默认标识;When the first target license plate is pre-stored, the server receives the first media asset information set fed back by the server in response to the media asset information acquisition request, the first media asset information set includes media asset information corresponding to the media asset identifier and a plurality of license plate identifiers, The plurality of license plate identifications include the license plate identification of the first target license plate, and the media resource information corresponds to the license plate identification of the first target license plate; the license plate identification corresponding to the first target license plate is set as the default identification;
当未预先存储有第一目标牌照时,接收服务器响应于媒资信息获取请求反馈的第一媒资信息集合,第一媒资信息集合包括与媒资标识对应的媒资信息和多个牌照标识;媒资信息与多个牌照标识中的任意一个牌照标识对应,该任意一个牌照标识被设置为默认标识;终端设备根据获取的第一媒资信息集合,显示出媒资详情页面。When the first target license plate is not pre-stored, the server receives the first media asset information set fed back by the server in response to the media asset information acquisition request, and the first media asset information set includes media asset information corresponding to the media asset identifier and a plurality of license plate identifiers The media asset information corresponds to any one of the multiple license plate identifiers, and the arbitrary license plate identifier is set as a default identifier; the terminal device displays the media asset details page according to the acquired first media asset information set.
以上UI是以终端设备和显示设备为例,其他类别的终端设备或显示设备体现在获取媒资数据方面的UI基本与上述UI相似,这里不再一一列举。本申请提供的UI界面仅仅是示例性,具体以实际应用和设计为准。The above UIs are terminal devices and display devices as examples. The UIs of other types of terminal devices or display devices in terms of obtaining media data are basically similar to the above UIs, and will not be listed here. The UI interface provided in this application is only an example, and the actual application and design shall prevail.
根据以上实施例,本申请实施例还提供一种获取媒资数据的方法,该方法可在终端设备侧执行,所述方法的执行主体为终端设备中的控制器,所述方法包括如图16所示的步骤:S101,接收输入的对媒资控件的选中操作。According to the above embodiments, the embodiment of the present application also provides a method for acquiring media asset data, which can be executed on the terminal device side, and the execution subject of the method is the controller in the terminal device, and the method includes the steps shown in Figure 16 Steps shown: S101, receiving an input operation of selecting a media asset control.
在接收输入的对媒资控件的选中操作之前,接收输入的第一应用显示指令,控制显示器显示第一应用界面。第一应用界面也就是上述媒体资源界面,可参照图5。其中,用户选择在媒体资源界面选择的媒资为目标媒资,目标媒资的媒资详情页界面的示意图可参照图6。Before receiving the input selection operation on the media asset control, an input first application display instruction is received, and the display is controlled to display the first application interface. The first application interface is the above-mentioned media resource interface, refer to FIG. 5 . Wherein, the user selects the media asset selected in the media resource interface as the target media asset, and the schematic diagram of the media asset detail page interface of the target media asset may refer to FIG. 6 .
S102,判断是否存储有第一目标牌照;第一目标牌照为终端设备上一次向显示设备推送成功的媒资对应的媒资牌照。S102. Determine whether a first target license is stored; the first target license is a media asset license corresponding to the media asset that was successfully pushed to the display device by the terminal device last time.
S103,若存储有第一目标牌照,向服务器发送发送媒资信息获取请求,媒资信息获取请求中包括与媒资控件的对应媒资标识和第一目标牌照;接着执行S105。S103, if the first target license is stored, send a media asset information acquisition request to the server, where the media asset information acquisition request includes the media asset identifier corresponding to the media asset control and the first target license; then execute S105.
S104,若没有存储第一目标牌照,向服务器发送发送媒资信息获取请求,媒资信息获取请求中包括与媒资控件的对应媒资标识;接着执行S106。S104, if the first target license plate is not stored, send a media asset information acquisition request to the server, where the media asset information acquisition request includes the media asset identifier corresponding to the media asset control; then execute S106.
S105,接收服务器返回的媒资信息集合,媒资信息集合包括与媒资标识对应的媒资信息和多个牌照标识,多个牌照标识包括第一目标牌照的牌照标识,媒资信息与第一目标牌照的牌照标识对应;第一目标牌照对应的牌照标识被设置为默认标识。S105. Receive the media asset information set returned by the server. The media asset information set includes media asset information corresponding to the media asset identifier and multiple license identifiers. The multiple license identifiers include the license identifier of the first target license plate. The media asset information and the first The license plate ID of the target license plate corresponds; the license plate ID corresponding to the first target license plate is set as the default ID.
S106,接收服务器返回媒资信息集合,媒资集合包括与媒资标识对应的媒资信息和多个牌照标识;媒资信息与多个牌照标识中的任意一个牌照标识对应,任意一个牌照标识被设置为默认标识。其中,媒资信息集合可以是运营平台在管理后台统一配置的。S106, the receiving server returns the media asset information set, the media asset set includes media asset information corresponding to the media asset identifier and a plurality of license identifiers; the media asset information corresponds to any one of the multiple license identifiers, and any one of the license identifiers is Set as default id. Wherein, the collection of media asset information may be uniformly configured by the operation platform in the management background.
S107,根据接收到的媒资信息集合,显示媒资详情页面。S107. Display a media asset detail page according to the received media asset information set.
在一些实施例中,该方法还包括:响应于输入的针对上述媒资详情页面中目标媒资的推送操作,向显示设备发送推送请求,推送请求用于请求显示设备播放默认标识对应的媒资;接收显示设备返回的推送响应消息,其中,当推送响应消息指示播放成功时,将目标媒资的牌照确定为第一目标牌照,并保存第一目标牌照。In some embodiments, the method further includes: in response to the input push operation on the target media asset in the media asset details page, sending a push request to the display device, where the push request is used to request the display device to play the media asset corresponding to the default identifier ; Receive a push response message returned by the display device, wherein, when the push response message indicates that the play is successful, determine the license plate of the target media asset as the first target license plate, and save the first target license plate.
在一些实施例中,该方法还包括:接收通过操作播放源控件输入的牌照切换指令,牌照切换指令包括第二目标牌照;发送媒资信息获取请求至服务器,其中,媒资信息获取请求包括对应媒资控件的媒资标识和第二目标牌照;接收服务器响应于媒资信息获取请求反馈的第二媒资信息集合,第二媒资信息集合包括与媒资标识对应的媒资信息和多个牌照标识,多个牌照标识包括第二目标牌照的牌照标识,媒资信息与第二目标牌照的牌照标识对应;第二目标牌照对应的牌照标识被设置为默认标识;根据第二媒资信息集合,显示媒资详情页面,以在媒资详情页面中显示出默认标识为第二目标牌照的媒资。In some embodiments, the method further includes: receiving a license switch instruction input by operating the play source control, where the license switch instruction includes a second target license; sending a media asset information acquisition request to the server, wherein the media asset information acquisition request includes a corresponding The media asset identification and the second target license plate of the media asset control; receiving the second media asset information set fed back by the server in response to the media asset information acquisition request, the second media asset information set includes the media asset information corresponding to the media asset identifier and a plurality of License plate identification, a plurality of license plate identifications including the license plate identification of the second target license plate, the media asset information corresponds to the license plate identification of the second target license plate; the license plate identification corresponding to the second target license plate is set as the default identification; according to the second media asset information set , to display the media asset details page, so as to display the media assets identified as the second target license plate by default on the media asset details page.
在一些实施例中,媒资详情页面中包括多个牌照选项,接收在媒资详情页面中输入的牌照切换指令,包括:接收对牌照选项的选中操作,将用户选中的牌照选项对应的牌照确定为第二目标牌照。In some embodiments, the media asset details page includes a plurality of license plate options, and receiving a license switch instruction input on the media asset details page includes: receiving a selection operation on the license option, and determining the license plate corresponding to the license option selected by the user for the second target license plate.
图17示出了服务器侧执行的一种获取媒资数据的方法,所述方法的执行主体为服务器中的控制器,所述方法包括如下步骤:Fig. 17 shows a method for acquiring media asset data executed on the server side, the execution subject of the method is the controller in the server, and the method includes the following steps:
S201,接收终端设备发送媒资信息获取请求,媒资信息获取请求中包括对应媒资控件的媒资标识。S201. The receiving terminal device sends a media asset information acquisition request, where the media asset information acquisition request includes a media asset identifier corresponding to the media asset control.
S202,在媒资数据库中筛选媒资信息构成媒资信息集合,媒资集合包括与媒资标识对应的媒资信息和多个牌照标识;媒资信息与多个牌照标识中的任意一个牌照标识对应,该任意一个牌照标识被设置为默认标识。S202, filter the media asset information in the media asset database to form a media asset information set, the media asset set includes media asset information corresponding to the media asset identifier and multiple license identifiers; the media asset information and any one of the multiple license identifiers Correspondingly, the arbitrary license plate logo is set as the default logo.
S203,向终端设备发送媒资信息集合。S203. Send the media asset information set to the terminal device.
图18示出了服务器侧执行的另一种获取媒资数据的方法,所述方法的执行主体为服务器中的控制器,所述方法包括如下步骤:Fig. 18 shows another method for obtaining media asset data executed on the server side, the execution subject of the method is the controller in the server, and the method includes the following steps:
S301,接收终端设备发送媒资信息获取请求,媒资信息获取请求中包括与媒资控件对应的媒资标识和第一目标牌照。S301. The receiving terminal device sends a media asset information acquisition request, where the media asset information acquisition request includes a media asset identifier corresponding to the media asset control and a first target license plate.
S302,在媒资数据库中筛选出与媒资标识和第一目标牌照对应的媒资信息以及多个牌照标识构成媒资信息集合。S302. Screen out media asset information corresponding to the media asset identifier and the first target license plate and a plurality of license plate identifiers from the media asset database to form a media asset information set.
S303,向终端设备发送媒资信息集合。S303. Send the media asset information set to the terminal device.
在一些实施例中,参见图17和18,服务器侧执行的步骤具体取决于终端设备侧是否携带有第一目标牌照的媒资信息获取请求,但服务器无法实际感知终端侧执行的处理逻辑,因此服务器主要是通过媒资获取请是否携带有第一目标牌照,来确定媒资信息集合中的媒资信息,从而根据请求的类别来执行相应的逻辑,以确定发送给终端设备的媒资信息集合中是否仅有为第一目标牌照的媒资信息。In some embodiments, referring to FIGS. 17 and 18 , the steps performed by the server side depend specifically on whether the terminal device side carries the media asset information acquisition request of the first target license plate, but the server cannot actually perceive the processing logic executed by the terminal side, so The server mainly determines the media asset information in the media asset information set by whether the media asset acquisition request carries the first target license, so as to execute the corresponding logic according to the type of request to determine the media asset information set sent to the terminal device Whether there is only the media information of the first target license in .
图19示出了显示设备侧执行的获取媒资数据的方法,所述方法的执行主体为显示设备中的控制器,所述方法包括如下步骤:Fig. 19 shows a method for acquiring media asset data executed on the display device side, the method is executed by a controller in the display device, and the method includes the following steps:
S401,接收终端设备发送目标媒资的推送请求。S401. Receive a push request from a terminal device to send target media assets.
S402,判断目标媒资是否为匹配牌照的媒资;若是匹配牌照的媒资执行步骤S404;若不是匹配拍照的媒资则执行步骤S403。S402, judging whether the target media asset is the one matching the license plate; if it is the one matching the license plate, go to step S404; if it is not the one matching the photo, then go to step S403.
S403,控制显示器显示进行安装第三方APP的消息提醒。S403, controlling the display to display a message reminding to install the third-party APP.
S404,向终端设备发送推送响应消息。S404. Send a push response message to the terminal device.
S405,向服务器发送播放目标媒资数据的请求。S405. Send a request for playing the target media asset data to the server.
S406,接收服务器返回的目标媒资播放数据,控制显示器显示目标媒资。S406, receiving the playing data of the target media assets returned by the server, and controlling the display to display the target media assets.
进一步地,若用户更换了使用位置,在一个新位置使用终端设备进行浏览任意媒资详情页界面时,由于在本地记录储存有推送成功的目标牌照,故还会优先显示与已储存的目标牌照相匹配的媒资信息。若用户选择的显示设备的播放牌照发生了变化,则用户只需重新手动切换好与显示设备相匹配的播放牌照,在新位置推送过程成功后,终端设备的存储器中会刷新并保存最新与显示设备相匹配的目标牌照。Furthermore, if the user changes the location of use and uses the terminal device to browse any media resource details page interface in a new location, since the target license plate that was successfully pushed is stored in the local record, the stored target license plate will also be displayed preferentially. Matching media information. If the license plate of the display device selected by the user has changed, the user only needs to manually switch the license plate that matches the display device again. After the new position push process is successful, the memory of the terminal device will refresh and save the latest and display license. The device matches the target license plate.
进一步地,对于常规的推送过程,通常需要账号绑定或者需要在同一局域网内才能进行完成推送操作,本申请提供的技术方案即使用户不在同一局域网,例如切换其他的局域网均可实现,只与使用地点也就是使用的显示设备变换有关,若使用的显示设备没发生变化则不会产生任何影响;若使用的显示设备发生变化则参照上述说明。Furthermore, for the conventional push process, it is usually necessary to bind the account or need to be in the same local area network to complete the push operation. The technical solution provided by this application can be realized even if the user is not in the same local area network, such as switching to other local area networks. The location is related to the change of the display device used. If the display device used does not change, it will not have any impact; if the display device used changes, refer to the above instructions.
进一步地,本申请提供了一种服务器,包括存储器和处理器,存储器中存储有程序指令,处理器通过运行所述程序指令,执行包括上述终端设备各实施例中处理器用于执行或被被配置的其他程序步骤,这里不再赘述。Further, the present application provides a server, including a memory and a processor, where program instructions are stored in the memory, and the processor, by running the program instructions, executes the processor in each embodiment of the above-mentioned terminal device for executing or configured. Other procedural steps are not repeated here.
由以上技术方案可知,当针对某个媒资推送成功后,保存推送成功的媒资的牌照。并根据保存的牌照,从服务器请求相应数据源的媒资信息,使得媒资详情页中出现的媒资与上一次推送成功的媒资来自同一数据源。从而保证提高再次推送时能够推送成功,或者提高推送成功的概率。It can be seen from the above technical solution that when a certain media asset is successfully pushed, the license of the successfully pushed media asset is saved. And according to the saved license, the media resource information of the corresponding data source is requested from the server, so that the media resource that appears on the media resource details page and the media resource that was successfully pushed last time come from the same data source. In this way, it is ensured that the push can be successfully pushed when it is pushed again, or the probability of a successful push is improved.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。具体实现中,本发明还提供一种计算机存储介质,该计算机存储介质可存储有程序。当计算机存储介质位于终端设备、服务器和智能设备中的任意一个设备中时,该程序执行时可包括三端中任一设备的控制器被配置执行的留言显示方法涉及的程序步骤。其中,计算机存储介质可为磁碟、光盘、只读存储记忆体(英文:Read-OnlyMemory,简称ROM)或随机存储记忆体(英文:Random Access Memory,简称RAM)等。Those skilled in the art can clearly understand that the technologies in the embodiments of the present invention can be implemented by means of software plus a necessary general-purpose hardware platform. In a specific implementation, the present invention also provides a computer storage medium, which can store a program. When the computer storage medium is located in any one of the terminal device, the server, and the smart device, the program may include the program steps involved in the message display method configured to be executed by the controller of any of the three terminals during execution. Wherein, the computer storage medium may be a magnetic disk, an optical disk, a read-only memory (English: Read-Only Memory, ROM for short), or a random access memory (English: Random Access Memory, RAM for short).
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present application. scope.
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述示例性的讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用所述实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For convenience of explanation, the above description has been made in conjunction with specific implementation manners. However, the above exemplary discussion is not intended to be exhaustive or to limit the implementations to the precise forms disclosed above. Many modifications and variations are possible in light of the above teachings. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various modified embodiments suitable for specific use considerations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110720158.6A CN113489700B (en) | 2021-06-28 | 2021-06-28 | A method, server and terminal equipment for acquiring media asset data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110720158.6A CN113489700B (en) | 2021-06-28 | 2021-06-28 | A method, server and terminal equipment for acquiring media asset data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113489700A CN113489700A (en) | 2021-10-08 |
| CN113489700B true CN113489700B (en) | 2023-05-09 |
Family
ID=77937721
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110720158.6A Active CN113489700B (en) | 2021-06-28 | 2021-06-28 | A method, server and terminal equipment for acquiring media asset data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113489700B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114040225B (en) * | 2021-11-17 | 2023-08-11 | 聚好看科技股份有限公司 | Server, display equipment and media asset mapping method |
| CN114374813B (en) * | 2021-12-13 | 2024-07-02 | 青岛海信移动通信技术有限公司 | Multimedia resource management method, recorder and server |
| CN114760516A (en) * | 2022-04-11 | 2022-07-15 | 北京字跳网络技术有限公司 | Video processing method, device, equipment and storage medium |
| CN114979786B (en) * | 2022-05-16 | 2024-10-08 | 湖南快乐阳光互动娱乐传媒有限公司 | Media resource processing method and system, storage medium and electronic equipment |
| CN115174997B (en) * | 2022-06-29 | 2023-11-28 | Vidaa国际控股(荷兰)公司 | Display device and media asset recommendation method |
| WO2024174648A1 (en) * | 2023-02-23 | 2024-08-29 | 海信视像科技股份有限公司 | Source device, relay device, and device control method |
| CN116708390A (en) * | 2023-05-19 | 2023-09-05 | 聚好看科技股份有限公司 | Display device, method for displaying pre-roll advertisement, and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106354827A (en) * | 2016-08-31 | 2017-01-25 | Tcl集团股份有限公司 | Media asset data integrating method and system |
| CN111131898A (en) * | 2020-02-17 | 2020-05-08 | 聚好看科技股份有限公司 | Method, device, display device and storage medium for playing media resources |
| CN111489172A (en) * | 2019-01-25 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Qualification information authentication method, terminal and server |
| CN111654758A (en) * | 2020-04-20 | 2020-09-11 | 北京达佳互联信息技术有限公司 | Bullet screen display method, device, terminal and storage medium based on instant messaging |
| CN112653910A (en) * | 2020-12-14 | 2021-04-13 | 聚好看科技股份有限公司 | Display device, server and control method for television program recommendation |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102917078B (en) * | 2011-08-01 | 2016-05-18 | 华为软件技术有限公司 | Streaming media resource provides and acquisition methods, signaling flow server and terminal device |
| CN103957435B (en) * | 2014-05-05 | 2017-05-31 | 中国科学院声学研究所 | The processing method of media resource information, device and system |
| CN107547912B (en) * | 2017-09-01 | 2020-10-13 | 深圳创维数字技术有限公司 | Resource processing method, system and storage medium of full media assets |
| CN111726661B (en) * | 2019-03-21 | 2021-10-08 | 海信视像科技股份有限公司 | Program push playing method, display equipment, mobile terminal and system |
| CN111836105B (en) * | 2019-04-16 | 2023-04-28 | 中科网联数据科技有限公司 | Television user identity recognition method and television terminal |
| CN110996136B (en) * | 2019-12-04 | 2022-02-11 | 聚好看科技股份有限公司 | Video resource display method and device |
| CN111182339A (en) * | 2020-01-10 | 2020-05-19 | 海信视像科技股份有限公司 | Method for playing media item and display equipment |
| CN111669621B (en) * | 2020-04-30 | 2022-04-12 | 聚好看科技股份有限公司 | A kind of media asset data distribution method, server and display device |
-
2021
- 2021-06-28 CN CN202110720158.6A patent/CN113489700B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106354827A (en) * | 2016-08-31 | 2017-01-25 | Tcl集团股份有限公司 | Media asset data integrating method and system |
| CN111489172A (en) * | 2019-01-25 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Qualification information authentication method, terminal and server |
| CN111131898A (en) * | 2020-02-17 | 2020-05-08 | 聚好看科技股份有限公司 | Method, device, display device and storage medium for playing media resources |
| CN111654758A (en) * | 2020-04-20 | 2020-09-11 | 北京达佳互联信息技术有限公司 | Bullet screen display method, device, terminal and storage medium based on instant messaging |
| CN112653910A (en) * | 2020-12-14 | 2021-04-13 | 聚好看科技股份有限公司 | Display device, server and control method for television program recommendation |
Non-Patent Citations (2)
| Title |
|---|
| Thomas Seifriedd ; Michael Haller ; Stacey D. Scott ; Florian Perteneder ; Christian Rendl ; Daisuke Skamoto ; Masahiko Inami.CRISTAL: a collaborative home media and device controller based on a multi-touch display.Proceedings of the ACM International Conference on Interactive Tabletops and Surfaces.2009,全文. * |
| 基于LonWorks技术的多媒体设备监控系统;潘兴华; 魏东; 何伟良;计算机工程与应用(第24期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113489700A (en) | 2021-10-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113489700B (en) | A method, server and terminal equipment for acquiring media asset data | |
| CN111367456A (en) | Communication terminal and display method in multi-window mode | |
| CN114286165A (en) | Display device, mobile terminal and screen projection data transmission method | |
| CN112463750B (en) | File synchronization method and display device | |
| US20140297586A1 (en) | Device and method for cloud file management | |
| CN113590059A (en) | Screen projection method and mobile terminal | |
| EP4583481A1 (en) | Multi-device networking system and method, and terminal devices | |
| CN111246299A (en) | Communication terminal and application management method | |
| CN115904290A (en) | Display device, communication terminal and screen projection control method | |
| CN112000411B (en) | Mobile terminal and display method of recording channel occupation information thereof | |
| CN111274564A (en) | Communication terminal and application unlocking method in split screen mode | |
| CN112825072B (en) | Communication terminal and data sharing method | |
| CN113784186B (en) | Terminal device, server, and communication control method | |
| CN113253905B (en) | Touch method based on multi-finger operation and intelligent terminal | |
| CN111158735B (en) | Hot patch file processing method and communication terminal | |
| CN113642010B (en) | Method for acquiring data of extended storage device and mobile terminal | |
| CN114595203B (en) | File synchronization method, terminal device and storage medium based on dual systems | |
| CN115297467B (en) | Data domain switching method, device, terminal equipment and medium | |
| CN115705427A (en) | Interface display method, server and terminal equipment | |
| CN113254132B (en) | Application display method and related device | |
| CN114915818B (en) | A method for pushing media assets and an intelligent terminal | |
| CN111600862B (en) | User account management method and device | |
| CN119256551A (en) | Display device and device name processing method for display device | |
| CN113542488A (en) | Method, device and storage medium for controlling a controlled terminal by using a terminal device | |
| CN116248915A (en) | Screen capturing method and terminal equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250514 Address after: 266061 No. 399 Songling Road, Laoshan District, Qingdao, Shandong (A6 3rd floor) Patentee after: QINGDAO JUKANYUN TECHNOLOGY CO.,LTD. Country or region after: China Address before: No.399, Songling Road, Laoshan District, Qingdao City, Shandong Province 266104 Patentee before: JUHAOKAN TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |