CN114040225B - Server, display equipment and media asset mapping method - Google Patents
Server, display equipment and media asset mapping method Download PDFInfo
- Publication number
- CN114040225B CN114040225B CN202111362206.5A CN202111362206A CN114040225B CN 114040225 B CN114040225 B CN 114040225B CN 202111362206 A CN202111362206 A CN 202111362206A CN 114040225 B CN114040225 B CN 114040225B
- Authority
- CN
- China
- Prior art keywords
- media asset
- information
- media
- server
- display device
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4344—Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
-
- 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
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请提供一种服务器、显示设备及媒资映射方法,所述方法可以在用户控制显示媒资详情界面时,查询媒资详情信息,同时获取与目标媒资存在关联关系的映射媒资信息。并且通过为媒资详情信息增加被替换媒资参数生成替换信息。再将替换信息发送给显示设备,使显示设备根据替换信息显示媒资详情界面。所述方法可以通过为媒资详情信息增加被替换媒资参数,使显示设备显示的媒资详情界面中包含映射媒资信息,实现对媒资平台切换前的相关内容进行展示,缓解媒资平台在更新后丢失部分信息的问题。
The present application provides a server, a display device, and a media asset mapping method. The method can query the media asset detail information when the user controls the display of the media asset detail interface, and at the same time obtain the mapped media asset information associated with the target media asset. And the replacement information is generated by adding the replaced media asset parameters to the media asset detailed information. Then, the replacement information is sent to the display device, so that the display device displays the media resource details interface according to the replacement information. The method can increase the replaced media asset parameters for the media asset details information, so that the media asset details interface displayed on the display device includes the mapped media asset information, so as to realize the display of relevant content before the media asset platform is switched, and ease the media asset platform. Issue with missing some information after an update.
Description
技术领域technical field
本申请涉及多媒体技术领域,尤其涉及一种服务器、显示设备及媒资映射方法。The present application relates to the field of multimedia technologies, and in particular to a server, a display device and a media resource mapping method.
背景技术Background technique
多媒体资源,简称媒资,包括能够在用户终端进行播放的视频、音频、图像等。一个多媒体资源可以被称为一个媒资项目。媒资平台可以为用户终端提供多个媒资项目。例如,媒资平台可以通过智能电视等显示设备的运营服务器进行维护,并通过显示设备上的媒资界面进行展示。用户可以通过交互操作,在媒资界面中选中任一媒资项目进行预览、播放以及收藏。Multimedia resources, referred to as media resources, include video, audio, images, etc. that can be played on user terminals. A multimedia asset can be called a media asset item. The media asset platform can provide multiple media asset items for the user terminal. For example, the media asset platform can be maintained through the operation server of display devices such as smart TVs, and displayed through the media asset interface on the display device. Users can select any media asset item in the media asset interface to preview, play and collect through interactive operations.
媒资平台会根据运维状况更新媒资形式。而随着媒资形式的不断更新,不同媒资形式下的同一个媒资项目可拥有不同的媒资信息。由于在用户使用终端播放媒资项目时,终端通常使用媒资信息进行详情展示、播放以及收藏处理,因此当媒资形式更新后,可能导致终端无法基于旧的媒资信息识别媒资项目,造成媒资项目不可用或者媒资项目丢失部分信息。The media asset platform will update the media asset format according to the operation and maintenance status. With the continuous updating of media capital forms, the same media capital project under different media capital forms can have different media capital information. When a user uses a terminal to play a media asset item, the terminal usually uses the media asset information for detailed display, playback, and collection processing. Therefore, when the media asset format is updated, the terminal may not be able to identify the media asset item based on the old media asset information, resulting in The media asset item is unavailable or the media asset item is missing some information.
例如,用户对于媒资项目A可以执行收藏操作,则在后续显示媒资项目A时,会在媒资项目A对应的显示画面中带有收藏标记。而在媒资形式更新后,由于媒资项目A的媒资信息可能发生改变,使得原名称为媒资A的媒资项目更改为媒资B的新名称,但两者实际内容是相同的,则在媒资A更新为媒资B后,显示设备无法识别媒资B的媒资信息,使得媒资B不会带有收藏标记,降低用户体验。For example, if the user can save the media asset item A, then when the media asset item A is subsequently displayed, a favorite mark will be displayed on the display screen corresponding to the media asset item A. However, after the media asset form is updated, because the media asset information of media asset project A may change, the original name of the media asset A project is changed to the new name of media asset B, but the actual content of the two is the same. Then, after the media asset A is updated to the media asset B, the display device cannot recognize the media asset information of the media asset B, so that the media asset B does not have a collection mark, which reduces user experience.
发明内容Contents of the invention
本申请提供了一种服务器、显示设备及媒资映射方法,以解决传统媒资平台在更新后丢失部分信息的问题。The present application provides a server, a display device and a media asset mapping method to solve the problem that some information is lost after the traditional media asset platform is updated.
第一方面,本申请提供一种服务器,包括:存储模块、通信模块以及控制模块。其中,所述存储模块被配置为存储媒资项目以及媒资项目的关联信息;所述通信模块被配置为与显示设备建立通信连接;所述控制模块被配置为执行以下程序步骤:In a first aspect, the present application provides a server, including: a storage module, a communication module, and a control module. Wherein, the storage module is configured to store media asset items and associated information of media asset items; the communication module is configured to establish a communication connection with a display device; the control module is configured to execute the following program steps:
获取所述显示设备输入的用于展示媒资详情界面的操作请求;Obtaining an operation request input by the display device for displaying a media resource details interface;
响应于所述操作请求,查询目标媒资的媒资详情信息;In response to the operation request, query the media asset detailed information of the target media asset;
为所述媒资详情信息增加被替换媒资参数,以生成替换信息,所述被替换媒资参数包括与所述目标媒资存在关联关系的映射媒资信息;Adding a replaced media asset parameter to the media asset detail information to generate replacement information, the replaced media asset parameter including mapping media asset information associated with the target media asset;
向所述显示设备返回所述替换信息,以使所述显示设备显示的媒资详情界面中包含所述映射媒资信息。Returning the replacement information to the display device, so that the media asset details interface displayed on the display device includes the mapped media asset information.
第二方面,本申请还提供一种显示设备,包括:显示器、通信器以及控制器。其中,所述显示器被配置为显示用户界面;所述通信器被配置为与服务器建立通信连接;所述控制器被配置为执行以下程序步骤: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 a user interface; the communicator is configured to establish a communication connection with the server; the controller is configured to perform the following program steps:
获取用户输入的用于显示媒资详情界面的控制指令;Obtain the control command input by the user for displaying the interface of media resource details;
响应于所述控制指令,向所述服务器发送操作请求;sending an operation request to the server in response to the control instruction;
接收所述服务器针对所述操作请求返回的替换信息,所述替换信息通过媒资详情信息增加被替换媒资参数生成,所述媒资详情信息为所述服务器根据所述操作请求查询获得的目标媒资信息;所述被替换媒资参数包括与目标媒资存在关联关系的映射媒资信息;Receiving the replacement information returned by the server for the operation request, the replacement information is generated by adding the replaced media asset parameters to the media asset detail information, and the media asset detail information is the target obtained by the server according to the query of the operation request Media asset information; the replaced media asset parameters include mapping media asset information associated with the target media asset;
根据所述替换信息控制所述显示器显示媒资详情界面,所述媒资详情界面中包含所述映射媒资信息。Controlling the display to display a media asset details interface according to the replacement information, the media asset details interface including the mapped media asset information.
第三方面,本申请还提供一种媒资映射方法,应用于由显示设备和服务器组成的多媒体系统,其中,所述显示设备与所述服务器建立通信连接,所述媒资映射方法包括以下步骤:In a third aspect, the present application also provides a media asset mapping method, which is applied to a multimedia system composed of a display device and a server, wherein the display device establishes a communication connection with the server, and the media asset mapping method includes the following steps :
所述显示设备获取用户输入的用于显示媒资详情界面的控制指令,并响应于所述控制指令,向所述服务器发送操作请求;The display device acquires a control instruction input by a user for displaying a media resource details interface, and sends an operation request to the server in response to the control instruction;
所述服务器响应于所述操作请求查询目标媒资的媒资详情信息,并为所述媒资详情信息增加被替换媒资参数,以生成替换信息,所述被替换媒资参数包括与所述目标媒资存在关联关系的映射媒资信息;The server queries the media asset detailed information of the target media asset in response to the operation request, and adds a replaced media asset parameter to the media asset detailed information to generate replacement information, and the replaced media asset parameter includes the Mapped media asset information that has an associated relationship with the target media asset;
所述服务器向所述显示设备返回所述替换信息;The server returns the replacement information to the display device;
所述显示设备根据所述替换信息显示媒资详情界面,所述媒资详情界面中包含所述映射媒资信息。The display device displays a media asset details interface according to the replacement information, and the media asset details interface includes the mapped media asset information.
由以上技术方案可知,本申请提供的服务器、显示设备及媒资映射方法可以在用户控制显示媒资详情界面时,查询媒资详情信息,同时获取与目标媒资存在关联关系的映射媒资信息。并且通过为媒资详情信息增加被替换媒资参数生成替换信息。再将替换信息发送给显示设备,使显示设备根据替换信息显示媒资详情界面。所述方法可以通过为媒资详情信息增加被替换媒资参数,使显示设备显示的媒资详情界面中包含映射媒资信息,实现对媒资平台切换前的相关内容进行展示,缓解媒资平台在更新后丢失部分信息的问题。It can be seen from the above technical solutions that the server, display device and media asset mapping method provided by this application can query the media asset details information when the user controls the display of the media asset details interface, and at the same time obtain the mapped media asset information that is associated with the target media asset . And the replacement information is generated by adding the replaced media asset parameters to the media asset detailed information. Then, the replacement information is sent to the display device, so that the display device displays the media resource details interface according to the replacement information. The method can increase the replaced media asset parameters for the media asset details information, so that the media asset details interface displayed on the display device includes the mapped media asset information, so as to realize the display of relevant content before the media asset platform is switched, and ease the media asset platform. Issue with missing some information after an update.
附图说明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 is a usage scenario of a display device in an embodiment of the present application;
图2为本申请实施例中控制装置的硬件配置框图;Fig. 2 is a block diagram of the hardware configuration of the control device in the embodiment of the present application;
图3为本申请实施例中显示设备的硬件配置图;FIG. 3 is a hardware configuration diagram of a display device in an embodiment of the present application;
图4为本申请实施例中显示设备的软件配置图;FIG. 4 is a software configuration diagram of a display device in an embodiment of the present application;
图5为本申请实施例中显示设备与服务器连接关系示意图;FIG. 5 is a schematic diagram of the connection relationship between the display device and the server in the embodiment of the present application;
图6为本申请实施例中媒资详情界面示意图;Fig. 6 is a schematic diagram of the media resource details interface in the embodiment of the present application;
图7为本申请实施例中原始平台媒资显示效果示意图;Fig. 7 is a schematic diagram of the display effect of original platform media assets in the embodiment of the present application;
图8为本申请实施例中新平台媒资显示效果示意图;Fig. 8 is a schematic diagram of the display effect of media resources on the new platform in the embodiment of the present application;
图9为本申请实施例中收藏选项示意图;FIG. 9 is a schematic diagram of collection options in the embodiment of the present application;
图10为本申请实施例中媒资映射方法流程示意图;FIG. 10 is a schematic flow diagram of a media assets mapping method in an embodiment of the present application;
图11为本申请实施例中用户界面媒资详情选项示意图;Fig. 11 is a schematic diagram of media resource details options in the user interface in the embodiment of the present application;
图12为本申请实施例中检测映射媒资流程示意图;Fig. 12 is a schematic diagram of the process of detecting and mapping media assets in the embodiment of the present application;
图13为本申请实施例中获取映射媒资信息流程示意图;FIG. 13 is a schematic diagram of the process of obtaining mapped media asset information in the embodiment of the present application;
图14为本申请实施例中媒资详情界面显示方法流程示意图;FIG. 14 is a schematic flow diagram of a method for displaying a media resource details interface in an embodiment of the present application;
图15为本申请实施例中修改被替换媒资参数流程示意图;Fig. 15 is a schematic flow diagram of modifying the parameters of the replaced media assets in the embodiment of the present application;
图16为本申请实施例中服务器侧媒资映射方法流程示意图;FIG. 16 is a schematic flow diagram of a method for mapping media assets on the server side in an embodiment of the present application;
图17为本申请实施例中媒资映射方法时序关系图;FIG. 17 is a time sequence relationship diagram of the media asset mapping method in the embodiment of the present application;
图18为本申请实施例中显示设备侧媒资映射方法流程示意图。FIG. 18 is a schematic flow diagram of a method for displaying device-side media resource mapping in an embodiment of the present application.
具体实施方式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.
图1为根据实施例中显示设备的使用场景的示意图。如图1所示,显示设备200还与服务器400进行数据通信,用户可通过智能设备300或控制装置100操作显示设备200。Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in FIG. 1 , the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control device 100 .
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式中的至少一种,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等至少一种输入用户指令,来控制显示设备200。In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly. Device 200. The user can control the display device 200 by inputting user instructions through at least one of buttons on the remote control, voice input, and control panel input.
在一些实施例中,显示设备200还与服务器400进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。In some embodiments, the display device 200 also performs data communication with the server 400 . The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . The server 400 may be one cluster, or multiple clusters, and may include one or more types of servers.
图2示例性示出了根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。Fig. 2 exemplarily shows a configuration block diagram of the control device 100 according to an exemplary embodiment. As shown in FIG. 2 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
图3示出了根据示例性实施例中显示设备200的硬件配置框图。FIG. 3 shows a block diagram of a hardware configuration of a display device 200 according to an exemplary embodiment.
在一些实施例中,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口中的至少一种。In some embodiments, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one.
在一些实施例中控制器包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。In some embodiments the controller includes a CPU, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
在一些实施例中,显示器260包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自控制器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面等。In some embodiments, the display 260 includes a display screen component for presenting images, and a drive component for driving image display, for receiving image signals output from the controller, and displaying video content, image content, and menu manipulation interface. Components and user manipulation of the UI interface, etc.
在一些实施例中,显示器260可为液晶显示器、OLED显示器、以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
在一些实施例中,调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。In some embodiments, the tuner-demodulator 210 receives broadcast TV signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or cable broadcast TV signals.
在一些实施例中,外部装置接口240可以包括但不限于如下:高清多媒体接口接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。In some embodiments, the external device interface 240 may include, but is not limited to, the following: High Definition Multimedia Interface Interface (HDMI), Analog or Data High Definition Component Input Interface (Component), Composite Video Input Interface (CVBS), USB Input Interface (USB) , RGB port, etc. any one or more interfaces. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。例如:响应于接收到用于选择在显示器260上显示UI对象的用户命令,控制器250便可以执行与由用户命令选择的对象有关的操作。In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operations of the display device 200 . For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
在一些实施例中,用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the user can input user commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives 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, "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. A commonly used expression form of a 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, 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.
在一些实施例中,显示设备的系统可以包括内核(Kernel)、命令解析器(shell)、文件系统和应用程序。内核、shell和文件系统一起组成了基本的操作系统结构,它们让用户可以管理文件、运行程序并使用系统。上电后,内核启动,激活内核空间,抽象硬件、初始化硬件参数等,运行并维护虚拟内存、调度器、信号及进程间通信(IPC)。内核启动后,再加载Shell和用户应用程序。应用程序在启动后被编译成机器码,形成一个进程。In some embodiments, the system of the display device may include a kernel (Kernel), a command parser (shell), a file system and application programs. Together, the kernel, shell, and file system make up the basic operating system structure, and they allow users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, scheduler, signal and inter-process communication (IPC). After the kernel starts, the Shell and user applications are loaded. After the application is started, it is compiled into machine code to form a process.
参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to Fig. 4, in some embodiments, the system is divided into four layers, from top to bottom are the application program (Applications) layer (abbreviated as "application layer"), application framework (Application Framework) layer (abbreviated as "framework layer") "), Android runtime (Android runtime) and system library layer (referred to as "system runtime layer"), and the kernel layer.
在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序或时钟程序等;也可以是第三方开发者所开发的应用程序。在具体实施时,应用程序层中的应用程序包不限于以上举例。In some embodiments, there is at least one application program running in the application program layer, and these application programs can be window (Window) program, system setting program or clock program etc. that come with the operating system; they can also be developed by third-party developers. s application. During specific implementation, the application program packages in the application program layer are not limited to the above examples.
框架层为应用程序层的应用程序提供应用编程接口(application programminginterface,API)和编程框架。应用程序框架层包括一些预先定义的函数。应用程序框架层相当于一个处理中心,这个中心决定让应用层中的应用程序做出动作。应用程序通过API接口,可在执行中访问系统中的资源和取得系统的服务。The 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. The application framework layer is equivalent to a processing center, which decides to make the applications in the application layer take actions. Through the API interface, the application program can access the resources in the system and obtain the services of the system during execution.
如图4所示,本申请实施例中应用程序框架层包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(ActivityManager)用与和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检索当前安装在设备上的应用程序包相关的各种信息;通知管理器(NotificationManager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的图标、窗口、工具栏、壁纸和桌面部件。As shown in Figure 4, 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: Activity Manager (ActivityManager) and 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; Package Manager (Package Manager) is used to retrieve the currently installed on the device Various information related to the application package; Notification Manager (NotificationManager) is used to control the display and removal of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers and desktop components on the user interface .
显示设备200可以通过服务器400在线播放媒资。服务器400可以为显示设备200提供一种或多种媒资平台,在媒体平台中可以包括多个媒资项目的资源内容、播放链接及其他与媒资相关的数据内容。这些数据可以存储在服务器400中,当显示设备200需要播放该平台中媒资项目时,可以通过发送播放请求,请求待播放媒资项目对应的媒资数据。The display device 200 can play media assets online through the server 400 . The server 400 may provide the display device 200 with one or more media asset platforms, and the media platform may include resource content of multiple media asset items, playback links, and other data content related to the media asset. These data can be stored in the server 400. When the display device 200 needs to play the media asset item in the platform, it can request the media asset data corresponding to the media asset item to be played by sending a playback request.
例如,如图5所示,对于少儿媒资项目平台,服务器400可以向显示设备200发送媒资信息,以在显示设备200中少儿频道界面,在少儿频道界面中,可以包括多个适合少儿观看的媒资项目,如动画片、教育类视频等。用户可以通过少儿频道界面中选中要播放的媒资项目,则显示设备200可以根据用户的选择,向服务器400发送媒资播放请求。服务器400则在接收到媒资播放请求后,从少儿媒资项目平台中提取媒资数据,并向显示设备200反馈媒资数据,以使显示设备200对反馈的媒资数据进行播放。For example, as shown in FIG. 5 , for the children’s media resource project platform, the server 400 can send the media resource information to the display device 200 to display the children’s channel interface on the display device 200. In the children’s channel interface, there can be multiple information suitable for children to watch. media projects, such as cartoons, educational videos, etc. The user can select a media asset item to be played through the children's channel interface, and the display device 200 can send a media asset playback request to the server 400 according to the user's selection. After receiving the media asset play request, the server 400 extracts the media asset data from the children's media asset project platform, and feeds back the media asset data to the display device 200, so that the display device 200 plays the fed back media asset data.
显示设备200在播放媒资项目的过程中,显示设备200可以实时从服务器400获取媒资数据,并通过解码、渲染等处理,持续形成媒资画面。并且,显示设备200还可以实时监控媒资项目的播放过程,当媒资项目播放过程中断时,显示设备200会自动记录媒资项目的播放进度,以生成历史记录。历史记录可以使用户再次对该媒资项目进行播放时,直接按照记录的播放进度继续进行播放,以满足用户继续观看的需求。When the display device 200 is playing the media asset item, the display device 200 can obtain the media asset data from the server 400 in real time, and through decoding, rendering and other processing, continuously form the media asset image. Moreover, the display device 200 can also monitor the playing process of the media asset item in real time. When the playing process of the media asset item is interrupted, the display device 200 will automatically record the playing progress of the media asset item to generate a history record. The history record can enable the user to continue playing the media item directly according to the recorded playback progress when playing the media item again, so as to meet the user's need to continue watching.
为了使用户能够知晓播放过程的更多信息,在一些实施例中,显示设备200在对媒资进行播放的过程中,可以先显示媒资详情界面。如图6所示,在媒资详情界面中,可以包括与待播放媒资相关的多种信息,如媒资类型、时长、作者、剧情介绍等。在媒资详情界面中,还可以包括多个功能选项,如播放选项、选集选项、收藏选项等。用户可以通过点击相应的选项,控制显示设备200的播放过程。例如,用户可以通过选中播放选项,控制显示设备200播放目标媒资。用户也可以通过选集选项,控制显示设备200显示多个剧集选项,并在剧集选项中选中想要观看的剧集进行播放。用户还可以通过选中收藏选项,控制显示设备200收藏或取消收藏目标媒资项目。当目标媒资项目被收藏后,显示设备200还可以在收藏界面中显示该目标媒资,以供用户选择播放。In order to enable the user to know more information about the playing process, in some embodiments, the display device 200 may firstly display the media asset details interface during the process of playing the media assets. As shown in FIG. 6 , in the media asset details interface, various information related to the media asset to be played may be included, such as media asset type, duration, author, plot introduction, and the like. In the media resource details interface, multiple functional options may also be included, such as playback options, collection options, collection options, and the like. The user can control the playback process of the display device 200 by clicking the corresponding option. For example, the user can control the display device 200 to play the target media asset by selecting the play option. The user may also control the display device 200 to display a plurality of episode options through the selection option, and select a desired episode from the episode options to play. The user can also control the display device 200 to bookmark or cancel the bookmarking of the target media asset item by selecting the bookmark option. When the target media asset item is favorited, the display device 200 may also display the target media asset on the collection interface for the user to choose to play.
对于需要在线播放的媒资,不同显示设备200或者显示设备200中的不同媒资应用程序,可以在服务器400中具有不同的媒资平台,用于为连接服务器400的显示设备200提供具体的媒资数据。媒资项目平台可以在显示设备200中形成不同的频道界面。例如,少儿频道界面中提供的媒资项目来源于少儿媒资项目平台;短视频界面中提供的媒资项目来源于短视频媒资项目平台等。媒资项目平台会根据显示设备200类型、媒资数据版权归属以及应用程序类型由不同个项目方负责运行、维护。因此,显示设备200所能够应用的媒资项目平台可以是系统平台,即显示设备200开发或运营商提供的平台,也可以是第三方平台,即第三方应用程序运营商或音视频网站运营商提供的平台。For media assets that need to be played online, different display devices 200 or different media asset applications in the display device 200 may have different media asset platforms in the server 400, which are used to provide specific media assets for the display devices 200 connected to the server 400. capital data. The media asset item platform can form different channel interfaces on the display device 200 . For example, the media asset items provided in the children’s channel interface come from the children’s media asset project platform; the media asset items provided in the short video interface come from the short video media asset project platform, etc. The media asset project platform will be operated and maintained by different project parties according to the display device 200 type, media asset data copyright ownership, and application program type. Therefore, the media asset project platform applicable to the display device 200 may be a system platform, that is, a platform developed by the display device 200 or provided by an operator, or a third-party platform, that is, a third-party application program operator or an audio and video website operator provided by the platform.
在一些实施例中,为了增加显示设备200所能够提供的媒资数量和类型,部分显示设备200的运营商还可以与第三方平台进行合作,共同提供媒资项目平台。例如,显示设备200运行商H和视频网站运营商Q可以处于合作关系,为使用显示设备200的用户提供全新的QY少儿媒资平台,以提供更多的少儿媒资项目。In some embodiments, in order to increase the amount and types of media resources that the display device 200 can provide, some operators of the display device 200 may also cooperate with third-party platforms to jointly provide a media resource project platform. For example, display device 200 operator H and video website operator Q may be in a cooperative relationship to provide users using display device 200 with a brand new QY children's media resource platform to provide more children's media resource items.
由于媒资项目平台会根据运维状况更新媒资形式。而随着媒资形式的不断更新,不同媒资形式下的同一个媒资项目可拥有不同的媒资信息。例如,显示设备200运维商H在将自建少儿媒资形式切换为QY少儿媒资形式时,如图7所示,在自建媒资平台中,《××世界第二季》的媒资ID为46170,名称为“××世界第二季”,媒资类型为2001(表示教育类)。而如图8所示,在QY少儿媒资平台中,该媒资的媒资ID为:11017041395,名称为“××世界第2季”,媒资类型为1001(表示视频类)。Because the media asset project platform will update the media asset form according to the operation and maintenance status. With the continuous updating of media capital forms, the same media capital project under different media capital forms can have different media capital information. For example, when the display device 200 operation and maintenance provider H switches the form of self-built children's media assets to the form of QY children's media assets, as shown in Figure 7, in the self-built media assets platform, the media of "XX World Season 2" The asset ID is 46170, the name is "XX World Season 2", and the media asset type is 2001 (indicating education). As shown in Figure 8, in the QY children's media platform, the media ID of the media is: 11017041395, the name is "XX World Season 2", and the media type is 1001 (representing video category).
由于在用户使用显示设备200播放媒资项目时,显示设备200通常使用媒资平台提供的媒资信息进行详情展示、播放以及收藏处理,因此当媒资项目平台改变或版本更新后,可能导致显示设备200无法基于原始平台提供的媒资信息识别媒资项目,造成媒资项目不可用。When the user uses the display device 200 to play a media asset item, the display device 200 usually uses the media asset information provided by the media asset platform to perform detailed display, playback, and collection processing, so when the media asset item platform is changed or the version is updated, it may cause the display The device 200 cannot identify the media asset item based on the media asset information provided by the original platform, resulting in the media asset item being unavailable.
例如,用户在显示设备200使用自建少儿媒资平台时,对媒资A执行收藏操作,则可以在媒资A的媒资详情界面中展示“已收藏”的收藏标记,如图9所示。而在显示设备200更新媒资平台至QY少儿媒资平台时,与媒资A对应内容相同的媒资项目为媒资B,但在显示设备200切换媒资平台后,由于无法从新平台提供的媒资信息中获得收藏状态,因此,在媒资B的媒资详情界面中并不会展示“已收藏”的收藏标记,使得用户需要重复进行收藏操作。For example, when the user uses the self-built children's media asset platform on the display device 200, and executes the collection operation on the media asset A, the "collected" mark can be displayed on the media asset details interface of the media asset A, as shown in FIG. 9 . When the display device 200 updates the media asset platform to the QY children's media asset platform, the media asset item with the same content as the media asset A is the media asset B, but after the display device 200 switches the media asset platform, because the new platform cannot provide The collection status is obtained in the media asset information, therefore, the "collected" mark will not be displayed in the media asset details interface of the media asset B, so that the user needs to repeat the collection operation.
另外,由于新媒资平台和旧媒资平台为相互独立提供媒资信息,因此在显示设备200基于新平台提供的媒资信息显示媒资详情界面时,用户在媒资详情界面上执行的交互操作也不会映射到旧媒资平台。例如,用户在媒资B对应的媒资详情界面上选中取消收藏操作时,不能同步取消媒资A对应的收藏操作,即媒资A对应媒资详情界面中依然能够展示“已收藏”的收藏标记。In addition, since the new media asset platform and the old media asset platform provide media asset information independently of each other, when the display device 200 displays the media asset details interface based on the media asset information provided by the new platform, the interaction performed by the user on the media asset details interface Actions also don't map to legacy media assets. For example, when the user selects the cancel collection operation on the media asset details interface corresponding to media asset B, the collection operation corresponding to media asset A cannot be canceled simultaneously, that is, the "collected" collection can still be displayed on the media asset details interface corresponding to media asset A mark.
为了改善上述问题,本申请的部分实施例中提供一种媒资映射方法,用于在新版本平台和旧版本平台提供的媒资项目间建立映射关系。所述媒资映射方法可应用于由服务器400和显示设备200组成的多媒体系统。In order to improve the above problems, some embodiments of the present application provide a media asset mapping method for establishing a mapping relationship between media asset items provided by the new version platform and the old version platform. The media asset mapping method can be applied to a multimedia system composed of a server 400 and a display device 200 .
为了实施所述媒资映射方法,服务器400和显示设备200均需要满足特定的硬件要求。即服务器400侧应至少包括存储模块410、通信模块420以及控制模块430。其中,存储模块410用于存储媒资项目。通信模块420用于与显示设备200建立通信连接。控制模块430则被配置为执行所述媒资映射方法中服务器400侧对应的程序步骤,以实现媒资映射功能。In order to implement the media asset mapping method, both the server 400 and the display device 200 need to meet specific hardware requirements. That is, the server 400 should at least include a storage module 410 , a communication module 420 and a control module 430 . Wherein, the storage module 410 is used for storing media asset items. The communication module 420 is used to establish a communication connection with the display device 200 . The control module 430 is configured to execute the program steps corresponding to the server 400 side in the media asset mapping method, so as to realize the media asset mapping function.
同理,显示设备200应至少包括显示器260、通信器220以及控制器250。其中,显示器260用于显示用户界面;通信器220用于与服务器400建立通信连接。控制器250则被配置为执行所述媒资映射方法中显示设备200侧对应的程序步骤,以实现对媒资详情界面进行展示的功能。Similarly, the display device 200 should at least include a display 260 , a communicator 220 and a controller 250 . Wherein, the display 260 is used for displaying a user interface; the communicator 220 is used for establishing a communication connection with the server 400 . The controller 250 is configured to execute the program steps corresponding to the display device 200 side in the media asset mapping method, so as to realize the function of displaying the media asset detail interface.
具体的,如图10所示,所述媒资映射方法包括以下内容:Specifically, as shown in Figure 10, the media asset mapping method includes the following:
显示设备200获取用户输入的用于显示媒资详情界面的控制指令。用户可以基于不同的交互方式输入控制指令。在一些实施例中,用于显示媒资详情界面的控制指令可以基于用户界面中提供的媒资详情选项进行输入。例如,如图11所示,在部分包含媒资列表的用户界面或应用界面中,可以在每个媒资项目处设有“播放”、“详情”、“不感兴趣”等选项。用户可以通过显示设备200配套的控制装置100控制焦点光标移动,选中界面中的“详情”选项,以输入显示媒资详情界面的控制指令。The display device 200 acquires a control instruction input by a user for displaying a media resource details interface. The user can input control instructions based on different interaction methods. In some embodiments, the control instruction for displaying the media asset details interface can be input based on the media asset details options provided in the user interface. For example, as shown in FIG. 11 , in some user interfaces or application interfaces that include a list of media assets, options such as "play", "details" and "not interested" can be set at each media asset item. The user can control the movement of the focus cursor through the control device 100 provided with the display device 200, and select the "details" option in the interface to input a control command for displaying the interface of media resource details.
在一些实施例中,用于显示媒资详情界面的控制指令还可以基于播放过程完成输入。即用户可以通过控制装置100或通信终端300结合显示设备200提供的用户界面,控制显示设备200播放目标媒资项目,则在选中目标媒资项目进行播放时,显示设备200会在播放前展示媒资详情界面。例如,用户可以通过显示设备200配套的控制装置100控制焦点光标移动,并在控制主页中依次选中“我的”-“历史记录”-“××世界第二季”选项,控制显示设备200播放目标媒资项目,显示设备200则在检测到用户输入上述交互动作后,显示“××世界第二季”对应的媒资详情界面。In some embodiments, the control instruction for displaying the media resource details interface can also be input based on the completion of the playback process. That is, the user can control the display device 200 to play the target media asset item through the control device 100 or the communication terminal 300 in combination with the user interface provided by the display device 200, then when the target media asset item is selected for playback, the display device 200 will display the media asset item before playing. Information details interface. For example, the user can control the movement of the focus cursor through the control device 100 supporting the display device 200, and select the "My"-"History"-"XX World Season 2" option in the control home page in order to control the display device 200 to play For the target media asset item, the display device 200 will display the media asset details interface corresponding to "XX World Season 2" after detecting the above-mentioned interaction action input by the user.
用户可以基于不同类型的交互方式输入控制指令。在一些实施例中,对于支持触控交互操作的显示设备200,用户还可以通过触控交互操作控制显示设备200显示媒资详情界面或播放目标媒资。例如,用户可以通过触控交互操作,基于媒资推荐界面选中“××世界第二季”选项,控制显示设备200显示媒资详情界面。Users can input control commands based on different types of interaction. In some embodiments, for a display device 200 that supports touch interactive operations, the user can also control the display device 200 to display a media resource details interface or play target media assets through touch interactive operations. For example, the user can control the display device 200 to display the media resource details interface by selecting the "XX World Season 2" option based on the media resource recommendation interface through touch interaction operations.
在一些实施例中,对于支持语音交互操作的显示设备200,用户还可以基于智能语音系统控制显示设备200播放目标媒资项目。例如,用户可以通过显示设备200的远场麦克风或控制装置100内置的麦克风输入“××世界第二季”、“我要看××世界第二季”、“播放××世界第二季”等语音内容。智能语音系统则在接收到语音内容后,将语音转化为文字,再通过自然语言处理模型提取语义,从而根据语义生成控制指令,控制显示设备200显示媒资详情界面。In some embodiments, for the display device 200 that supports voice interactive operation, the user can also control the display device 200 to play the target media asset item based on the intelligent voice system. For example, the user can input "XX world season 2", "I want to watch XX world season 2", "play XX world season 2" through the far-field microphone of the display device 200 or the built-in microphone of the control device 100 and other audio content. After receiving the voice content, the intelligent voice system converts the voice into text, and then extracts the semantics through the natural language processing model, thereby generating control instructions according to the semantics, and controlling the display device 200 to display the media resource details interface.
需要说明的是,上述交互方式仅仅作为众多交互方式中的几种示例,不对具体控制指令的输入过程造成限定,本领域技术人员在上述交互方式的基础上,所能够联想到的其他输入方式,以及为适应不同显示设备200交互策略而采用的其他输入方式,都属于本申请的保护范围。It should be noted that the above-mentioned interaction methods are only examples of many interaction methods, and do not limit the input process of specific control commands. Other input methods that those skilled in the art can think of on the basis of the above-mentioned interaction methods, As well as other input methods adopted to adapt to different interaction strategies of the display device 200, all belong to the protection scope of the present application.
在用户输入用于显示媒资详情界面的控制指令后,显示设备200可以响应于控制指令,向服务器400发送操作请求。其中,操作请求为显示设备200根据控制指令生成的一种用于请求媒资详情信息的指令。操作请求可以与控制指令相同,即显示设备200在接收到用户输入的控制指令以后,将控制指令直接作为操作请求传递给服务器400。操作请求也可以为显示设备200根据与服务器400之间的数据交互规范以及用户输入的控制指令生成的一个新的指令。显然,操作请求中需要包括控制指令中指定显示媒资详情界面或播放的目标媒资项目。After the user inputs a control instruction for displaying the media resource details interface, the display device 200 may send an operation request to the server 400 in response to the control instruction. Wherein, the operation request is an instruction generated by the display device 200 according to the control instruction for requesting detailed information of media assets. The operation request may be the same as the control instruction, that is, after receiving the control instruction input by the user, the display device 200 directly transmits the control instruction to the server 400 as an operation request. The operation request may also be a new instruction generated by the display device 200 according to the data interaction specification with the server 400 and the control instruction input by the user. Obviously, the operation request needs to include the target media asset item specified in the control instruction to display the media asset detail interface or to play.
例如,用户通过在媒资推荐界面选中“××世界第2季”选项的方式输入控制指令时,控制指令中指定播放的目标媒资项目为“××世界第2季”,则显示设备200可以基于“××世界第2季”生成操作请求,并将操作请求发送给服务器400。For example, when the user inputs a control command by selecting the "XX World Season 2" option on the media asset recommendation interface, and the target media asset item specified in the control command is "XX World Season 2", the display device 200 An operation request may be generated based on "XX World Season 2" and sent to the server 400 .
服务器400在接收到操作请求后,可以响应于该操作请求查询目标媒资的媒资详情信息。媒资详情信息即能够在媒资详情界面中展示的信息,可以包括目标媒资的类型、时长、作者、剧情介绍等。媒资详情信息可以存储在服务器400的存储模块410中。由于操作请求用于请求目标媒资的媒资详情信息,因此在服务器400接收到操作请求后,服务器400可以在操作请求中提取目标媒资项目,并根据目标媒资项目在存储模块410对应的媒资数据库中匹配媒资详情信息。After receiving the operation request, the server 400 may query the media asset detailed information of the target media asset in response to the operation request. The media asset details information refers to the information that can be displayed on the media asset details interface, and may include the type, duration, author, plot introduction, etc. of the target media asset. The media asset detail information can be stored in the storage module 410 of the server 400 . Since the operation request is used to request the media asset detailed information of the target media asset, after the server 400 receives the operation request, the server 400 can extract the target media asset item from the operation request, and store the target media asset item in the storage module 410 according to the target media asset item. Match media asset details in the media asset database.
为了便于查询媒资详情信息,在服务器400中可以维护一个媒资详情数据库,媒资详情数据库中可以包括多个表项,每个表项对应一个媒资项目,可以用于存储该媒资项目对应的识别编号、名称、类型、时长、作者、剧情介绍等信息。其中,部分信息可以用于唯一指代媒资项目,例如,每个表项可以对应设置一个识别编号,识别编号可以按照特定的编号规则统一制定,作为媒资ID。则在该表项中,可以包括以下内容:媒资ID为11017041395、媒资名称为“××世界第2季”、媒资类型为视频、时长为25:00、作者为××等信息。In order to facilitate querying the media asset details information, a media asset details database may be maintained in the server 400. The media asset details database may include multiple entries, and each entry corresponds to a media asset item, which can be used to store the media asset item. The corresponding identification number, name, type, duration, author, plot introduction and other information. Among them, some information can be used to uniquely refer to the media asset item. For example, each entry can be set with an identification number corresponding to it. The identification number can be uniformly formulated according to a specific numbering rule as the media asset ID. Then, the entry may include the following information: the media asset ID is 11017041395, the media asset name is "XX World Season 2", the media asset type is video, the duration is 25:00, and the author is ××.
服务器400可以根据操作请求中指定目标媒资项目对应的识别信息进行媒资详情信息匹配,如媒资ID、媒资名称等。为此,在一些实施例中,服务器400可以在接收到操作请求后,在操作请求中提取媒资ID:11017041395,并按照该媒资ID在服务器400的数据库中进行匹配,确定包含媒资ID为11017041395的表项,从而在该表项中获得媒资ID对应的媒资详情信息。The server 400 may perform matching of media asset detail information, such as media asset ID, media asset name, etc., according to the identification information corresponding to the target media asset item specified in the operation request. For this reason, in some embodiments, after receiving the operation request, the server 400 can extract the media resource ID: 11017041395 from the operation request, and perform matching in the database of the server 400 according to the media resource ID, and determine that the media resource ID is included. is an entry of 11017041395, so that the media asset detailed information corresponding to the media asset ID is obtained in this entry.
在获取媒资详情信息的同时,服务器400还可以对目标媒资具有关联关系的映射媒资进行检测。其中,映射媒资是指内容与目标媒资相同或实质相同,但由不同与目标媒资对应平台的其他媒资平台提供的媒资。在一些实施例中,目标媒资为新版本平台提供的媒资而映射媒资为旧版本平台提供的媒资。其中,新版本平台为显示设备对旧版本平台执行平台切换后的媒资平台。例如,视频内容相同的媒资A和媒资B具有关联关系,其中,媒资A为自建媒资平台提供的媒资,媒资B为QY媒资平台提供的媒资。当用户操作请求中请求媒资B的媒资详情信息时,服务器400可以检测到与媒资B具有关联关系的媒资A,即媒资A为媒资B的映射媒资。While acquiring the detailed information of the media assets, the server 400 may also detect the mapped media assets that are associated with the target media assets. Wherein, the mapped media asset refers to the media asset whose content is the same or substantially the same as the target media asset, but provided by another media asset platform that is different from the platform corresponding to the target media asset. In some embodiments, the target media assets are media assets provided by the new version platform and the mapped media assets are media assets provided by the old version platform. Wherein, the new version platform is the media asset platform after the display device switches the platform from the old version platform. For example, media asset A and media asset B with the same video content have an associated relationship, where media asset A is a media asset provided by a self-built media asset platform, and media asset B is a media asset provided by a QY media asset platform. When the user operation request requests the media asset detailed information of the media asset B, the server 400 may detect that the media asset A has an association relationship with the media asset B, that is, the media asset A is a mapped media asset of the media asset B.
显然,服务器400可以根据映射媒资的检测结果,执行不同的控制方式。即如图12所示,在一些实施例中,当服务器400检测到当前目标媒资不存在有关联关系的映射媒资时,说明目标媒资为新版本平台单独提供的媒资,在旧版本平台中并不存在与之内容相同的媒资,因此,可以直接根据目标媒资详情信息展示媒资详情界面,即服务器400仅向显示设备200反馈媒资详情信息。Apparently, the server 400 may implement different control modes according to the detection result of the mapped media assets. That is, as shown in FIG. 12 , in some embodiments, when the server 400 detects that there is no associated mapped media asset for the current target media asset, it indicates that the target media asset is a media asset provided separately by the platform of the new version. There is no media asset with the same content on the platform. Therefore, the media asset detail interface can be displayed directly according to the target media asset detail information, that is, the server 400 only feeds back the media asset detail information to the display device 200 .
而当服务器400检测到当前目标媒资存在有关联关系的映射媒资时,表明旧版本平台能够提供与当前目标媒资内容相同的媒资项目,因此在显示当前目标媒资项目的媒资详情信息时,可以将用户基于旧版本平台时执行的操作同步给当前媒资项目,如收藏、播放进度等。为此,服务器400可以在获取媒资详情信息的同时,提取映射媒资相关的信息。由于映射媒资通常为旧版本平台提供的媒资,随着平台版本的更新,将作为被替换的媒资,因此提取的映射媒资相关参数可以称为被替换媒资参数。And when the server 400 detects that the current target media asset has an associated mapping media asset, it indicates that the old version platform can provide the media asset item with the same content as the current target media asset, so the media asset details of the current target media asset item are displayed. Information, the operations performed by the user based on the old version of the platform can be synchronized to the current media asset item, such as collection, playback progress, etc. For this reason, the server 400 may extract the information related to the mapped media assets while acquiring the detailed information of the media assets. Because the mapped media assets are usually the media assets provided by the old version of the platform, as the platform version is updated, they will be replaced media assets, so the extracted parameters related to the mapped media assets can be called the replaced media assets parameters.
为了确定目标媒资具有关联关系的映射媒资,服务器400中的数据库可以添加有映射媒资相关的表项,例如,在数据库列表中可以包括“replace-media”的参数列,用于记载每个目标媒资关联的映射媒资。则在显示设备200请求媒资B的媒资详情信息时,服务器400可以根据媒资B的媒资ID,在数据库列表中查找到映射媒资A。并根据映射媒资A提取被替换参数,包括是否被收藏、播放进度等。In order to determine the mapped media assets with which the target media assets have an association relationship, the database in the server 400 may add items related to the mapped media assets. For example, the database list may include a "replace-media" parameter column for recording each A mapping media asset associated with a target media asset. Then, when the display device 200 requests the media asset detailed information of the media asset B, the server 400 can find the mapped media asset A in the database list according to the media asset ID of the media asset B. And extract the replaced parameters according to the mapped media asset A, including whether it is favorited, playing progress, etc.
在获得媒资详情信息和被替换参数后,服务器400可以按照预先设定的数据参数结构,为媒资详情信息增加被替换媒资参数,以生成替换信息。由于经过添加形成的替换信息中包含被替媒资参数,而被替换媒资参数是根据映射媒资相关操作生成,因此,被替换媒资参数中包括与目标媒资存在关联关系的映射媒资信息,即为媒资详情信息增加被替换媒资参数后的媒资详情信息中,也包含映射媒资信息。After obtaining the media asset detailed information and the replaced parameters, the server 400 may add the replaced media asset parameters to the media asset detailed information according to the preset data parameter structure, so as to generate replacement information. Since the replacement information formed by adding includes the parameters of the replaced media assets, and the parameters of the replaced media assets are generated according to the related operations of the mapped media assets, therefore, the replaced media assets parameters include the mapped media assets that are associated with the target media assets The information, that is, the media asset detail information after adding the replaced media asset parameters to the media asset detail information, also includes the mapped media asset information.
其中,替换信息可以在服务器400为映射媒资信息增加被替换媒资参数生成替换信息以后,使用替换信息代替媒资详情信息,用于生成媒资详情界面。如图13所示,在一些实施例中,服务器400可以按照特定的数据结构生成替换参数,即在为媒资详情信息增加被替换媒资参数时,服务器400可以先获取映射媒资信息,再从映射媒资信息中提取来源信息,其中,来源信息包括映射媒资的媒资ID、媒资类型、映射方向以及操作数据等。提取来源信息后,服务器400可以再将来源信息按照预设数据结构组合成被替换媒资参数,从而将被替换媒资参数写入媒资详情信息。Wherein, the replacement information may be used to generate the media asset details interface by using the replacement information instead of the media asset detail information after the server 400 adds the replaced media asset parameters to the mapped media asset information to generate the replacement information. As shown in Figure 13, in some embodiments, the server 400 can generate replacement parameters according to a specific data structure, that is, when adding the replaced media asset parameters for the media asset detailed information, the server 400 can first obtain the mapped media asset information, and then Source information is extracted from the mapped media asset information, where the source information includes the media asset ID of the mapped media asset, the type of the media asset, the mapping direction, and the operation data. After extracting the source information, the server 400 can combine the source information into the replaced media asset parameters according to the preset data structure, so as to write the replaced media asset parameters into the media asset detailed information.
例如,服务器400的运营商可以预先设定“媒资B(QY媒资平台视频)详情+被替换媒资A(自建媒资平台课程)参数”的替换信息结构,即:"replace_media_relation",包括以下参数段,如"id"表示媒资ID,可以用"long"数值,如46170表示映射媒资A;还包括"content_type"表示媒资类型,可以用"integer"参数表示各种媒资类型,如视频类媒资为1001,教育类媒资为2001。以及"direction"表示映射方向,可以使用"integer"代表映射方向,即0表示from来源,1表示to转换目标。For example, the operator of the server 400 can pre-set the replacement information structure of "media resource B (QY media resource platform video) details + replaced media resource A (self-built media resource platform course) parameters", namely: "replace_media_relation", Include the following parameter segments, such as "id" to indicate the ID of the media asset, and a "long" value can be used, such as 46170 to indicate the mapping of the media asset A; it also includes "content_type" to indicate the type of the media asset, and the "integer" parameter can be used to indicate various media assets Type, such as 1001 for video media assets and 2001 for educational media assets. And "direction" represents the mapping direction, you can use "integer" to represent the mapping direction, that is, 0 represents the from source, and 1 represents the to conversion target.
因此,当服务器400基于目标媒资B和映射媒资A生成替换信息时,为目标媒资B增加的被替换参数可以为:"replace_media_relation":"id":46170,媒资A;"conte nt_type":2001,教育类媒资;"direction":0。Therefore, when the server 400 generates replacement information based on the target media asset B and the mapped media asset A, the replaced parameters added for the target media asset B may be: "replace_media_relation": "id": 46170, media asset A; "content_type ": 2001, educational media assets; "direction": 0.
除上述用于表示关联关系的被替换媒资参数参数外,为媒资详情信息增加的媒资信息还可以包括其他用于表征用户针对映射媒资所执行操作的相关信息。例如,可以为媒资详情信息中增加“mapping From Infos”参数项,该参数项可以通过"product Code"指示产品类型,即"integer"参数表示产品类型,如影视类为1,少儿类为21。还可以通过"sceneCode"指示场景类型,即"string"表示场景类型,如少儿视频为license video,少儿课程为video等。还可以通过"result Code"指示操作结果,即该参数项的"integer"表示操作结果,如0表示操作成功,1表示操作失败,3表示发生迁移等。In addition to the above-mentioned replaced media asset parameter parameters used to represent the association relationship, the media asset information added to the media asset detailed information may also include other related information used to characterize the operations performed by the user on the mapped media asset. For example, a "mapping From Infos" parameter item can be added to the media asset details information, and the parameter item can indicate the product type through "product Code", that is, the "integer" parameter indicates the product type, such as 1 for film and television, and 21 for children's . You can also use "sceneCode" to indicate the scene type, that is, "string" indicates the scene type, such as license video for children's videos, video for children's courses, etc. You can also use "result Code" to indicate the operation result, that is, the "integer" of the parameter item indicates the operation result, such as 0 indicates that the operation is successful, 1 indicates that the operation failed, 3 indicates that migration occurred, etc.
根据上述数据结构为媒资详情信息增加被替换媒资参数,以生成替换信息后,服务器400可以向显示设备200返回替换信息。显示设备200则根据替换信息显示媒资详情界面。由于显示的媒资详情界面是基于替换信息生成,并且替换信息中包含映射媒资相关内容,因此媒资详情界面中也包含映射媒资信息。After adding the replaced media asset parameters to the media asset detailed information according to the above data structure to generate the replacement information, the server 400 may return the replacement information to the display device 200 . The display device 200 displays the media resource details interface according to the replacement information. Since the displayed media asset details interface is generated based on the replacement information, and the replacement information includes content related to mapped media assets, the media asset details interface also includes mapped media assets information.
例如,在用户使用显示设备200在基于自建媒资平台期间收藏了媒资A,则在媒资平台版本更新为QY媒资平台后,用户控制显示设备200请求媒资B的媒资详情界面时,服务器400可以将已收藏媒资A对应的操作结果写入媒资B的媒资详情信息,生成替换信息,并将替换信息发送给显示设备200。显示设备200在接收到替换信息后,可以对替换信息中的内容进行提取,并根据提取的内容生成媒资详情界面。由于替换信息中包括媒资A的已收藏操作结果,因此在显示媒资B的媒资详情界面时,界面中的收藏选项直接显示为“已收藏”的状态,实现媒资关联映射。For example, when the user uses the display device 200 to collect media asset A during the self-built media asset platform, after the media asset platform version is updated to the QY media asset platform, the user controls the display device 200 to request the media asset details interface of media asset B , the server 400 may write the operation result corresponding to the bookmarked media asset A into the media asset detail information of the media asset B, generate replacement information, and send the replacement information to the display device 200 . After receiving the replacement information, the display device 200 may extract the content in the replacement information, and generate a media resource details interface according to the extracted content. Since the replacement information includes the collection operation result of media asset A, when the media asset details interface of media asset B is displayed, the collection option in the interface is directly displayed as "collected" to realize media asset association mapping.
由以上技术方案可知,上述实施例提供的媒资映射方法可以在显示设备200请求目标媒资的媒资详情界面时,由服务器400查询媒资详情信息和映射媒资,并为媒资详情信息添加与映射媒资相关的被替换媒资参数,从而使目标媒资可以继承映射媒资的相关参数,实现对收藏操作、播放进度等数据的保留。因此,用户无需针对相同内容的媒资重复执行操作动作,提高用户体验。It can be seen from the above technical solution that the media asset mapping method provided by the above embodiment can let the server 400 query the media asset detailed information and map the media asset when the display device 200 requests the media asset details interface of the target media asset, and provide the media asset detailed information Add the replaced media asset parameters related to the mapped media asset, so that the target media asset can inherit the relevant parameters of the mapped media asset, and realize the preservation of collection operations, playback progress and other data. Therefore, the user does not need to repeatedly perform operations on media assets of the same content, thereby improving user experience.
由于连接服务器400的显示设备200数量众多,而不同的显示设备200具有不同的硬件配置,因此,部分显示设备200只支持旧版本的媒资平台,而部分显示设备200支持旧版本的媒资平台也支持新版本的媒资平台。而上述媒资映射方法的目的在于不同版本媒资平台在进行切换时,可以在新版本平台提供的相同内容媒资项目中,提供旧版本平台记录的相关内容。即媒资映射方法仅适用于对于旧版本平台和新版本平台均支持的显示设备200。Due to the large number of display devices 200 connected to the server 400, and different display devices 200 have different hardware configurations, some display devices 200 only support the old version of the media asset platform, and some display devices 200 support the old version of the media asset platform It also supports the new version of the media assets platform. The purpose of the above-mentioned media asset mapping method is to provide relevant content recorded by the old version platform in the same content media asset item provided by the new version platform when different versions of the media asset platform are switched. That is, the media asset mapping method is only applicable to the display device 200 that supports both the old version platform and the new version platform.
对此,如图14所示,在一些实施例中,服务器400可以在接收到显示设备200发送的操作请求后,对显示设备200的新旧版本支持情况进行检测,即在查询目标媒资的媒资详情信息后,服务器400可以从操作请求中提取显示设备200的识别信息。显示设备200的识别信息是指能够标识显示设备200的信息,包括设备名称、mac地址、网络地址等。服务器400可以在显示设备200首次连接时,向显示设备200发送识别信息获取命令,显示设备200则在接收到识别信息获取命令后,将设备名称、mac地址、网络地址等信息反馈给服务器400,以使服务器400可以存储显示设备200的识别信息。而在检测目标媒资项目的关联媒资项目时,服务器400可以从存储的数据中直接提取当前显示设备200的识别信息。For this, as shown in FIG. 14 , in some embodiments, after receiving the operation request sent by the display device 200, the server 400 can detect the support status of the old and new versions of the display device 200, that is, when querying the media After providing the detailed information, the server 400 may extract the identification information of the display device 200 from the operation request. The identification information of the display device 200 refers to information capable of identifying the display device 200 , including a device name, a mac address, a network address, and the like. The server 400 can send an identification information acquisition command to the display device 200 when the display device 200 is connected for the first time, and the display device 200 will feed back information such as the device name, mac address, and network address to the server 400 after receiving the identification information acquisition command. In order to enable the server 400 to store the identification information of the display device 200 . When detecting the associated media asset item of the target media asset item, the server 400 may directly extract the identification information of the current display device 200 from the stored data.
在获得识别信息后,服务器400可以根据识别信息查询显示设备200的机型版本。显然,不同的显示设备200可能归属于相同的机型版本,则对应的平台支持情况通常是相同的。例如,服务器400获取的识别信息可以为:XX-XX-XX-XX-XX-XX,即mac地址,则服务器400在获取该识别信息后,可以根据识别信息查询该显示设备200的机型版本,即:65E3X-PRO××UI12.1。After obtaining the identification information, the server 400 may query the model version of the display device 200 according to the identification information. Obviously, different display devices 200 may belong to the same model version, and the corresponding platform support conditions are usually the same. For example, the identification information obtained by the server 400 can be: XX-XX-XX-XX-XX-XX, that is, the mac address, then the server 400 can query the model version of the display device 200 according to the identification information after obtaining the identification information , ie: 65E3X-PRO××UI12.1.
在查询机型版本后,服务器400可以提取该进行版本的运维更新计划,以检测机型版本支持的媒资平台,即确定当前机型版本所支持的媒资平台是原始版本平台还是新版本平台。在当前机型应用版本支持切换新版本平台时,则表示当前显示设备200支持媒资映射方式显示媒资详情界面,因此可以执行为媒资详情信息增加被替换媒资参数以及后续步骤,完成媒资映射操作。After querying the model version, the server 400 can extract the operation and maintenance update plan of the current version to detect the media asset platform supported by the model version, that is, to determine whether the media asset platform supported by the current model version is the original version platform or a new version platform. When the application version of the current model supports switching to the new version platform, it means that the current display device 200 supports the media asset mapping method to display the media asset details interface, so it can be performed to add the replaced media asset parameters and follow-up steps for the media asset details information to complete the media asset mapping mode. Resource mapping operation.
在一些实施例中,通过显示设备200的识别信息确定当前机型应用版本支持切换新版本平台时,服务器400还可以在为媒资详情信息增加被替换媒资参数前,对映射媒资在旧版本平台中的上线状态进行检测,如果映射媒资在旧版本平台中的上线状态为在线状态,即映射媒资在旧版本平台中未被下线或未被过滤,服务器400仍然能够通过旧平台获取映射媒资信息,则可以继续为媒资详情信息增加被替换媒资参数。In some embodiments, when it is determined through the identification information of the display device 200 that the application version of the current model supports switching to the new version platform, the server 400 may also map the media assets in the old version before adding the replaced media asset parameters to the media asset detailed information If the online status of the mapped media assets on the old version platform is online, that is, the mapped media assets have not been offline or filtered on the old version platform, the server 400 can still pass through the old platform After obtaining the mapped media asset information, you can continue to add the replaced media asset parameters for the media asset detail information.
如果映射媒资在旧版本平台中的上线状态为下线状态,即映射媒资已下线或者被过滤,服务器400不能够再通过媒资映射的方式,在新版本媒资的详情界面中展示旧版本对应的内容,因此服务器400可以通过媒资迁移的方式,将旧版本相关媒资内容更新为新版本媒资内容,即服务器400可以生成媒资迁移信息,并向显示设备200下发媒资迁移信息,以使显示设备200根据迁移标识显示媒资详情信息。其中,媒资迁移信息包括根据预设迁移数据结构设置的迁移标识。If the online status of the mapped media asset in the old version platform is offline, that is, the mapped media asset has been offline or filtered, the server 400 can no longer display it in the new version of the media asset details interface through the media asset mapping method The content corresponding to the old version, so the server 400 can update the media asset content of the old version to the new version of the media asset content by means of media asset migration, that is, the server 400 can generate media asset migration information, and send the media asset to the display device 200 transfer information, so that the display device 200 displays the detailed information of media assets according to the migration identifier. Wherein, the media asset migration information includes a migration identifier set according to a preset migration data structure.
在一些实施例中,在当前机型应用版本不支持切换新版本平台时,服务器400还可以通过检测映射媒资在旧版本平台中的上线状态,并根据上线状态显示最终的媒资详情界面。即对于机型版本不支持新版本平台的情况,由于显示设备200无法从新版本平台获取目标媒资项目相关数据,因此为了能够保证播放过程的正确运行,服务器400可以获取映射媒资在旧版本平台的上线状态,如果目标媒资的上线状态为在线状态,即映射媒资项目在旧版本平台中没有下线或被过滤,则可以在旧版本平台中提取映射媒资的媒资详情,再向显示设备200反馈目标媒资的媒资详情。In some embodiments, when the application version of the current model does not support switching to the new version platform, the server 400 can also detect the online status of the mapped media assets on the old version platform, and display the final media asset details interface according to the online status. That is, if the model version does not support the new version platform, since the display device 200 cannot obtain the relevant data of the target media asset item from the new version platform, in order to ensure the correct operation of the playback process, the server 400 can obtain the mapped media asset on the old version platform. If the online status of the target media asset is online, that is, the mapped media asset project is not offline or filtered in the old version platform, you can extract the media asset details of the mapped media asset in the old version platform, and then submit the The display device 200 feeds back the media asset details of the target media asset.
显示设备200则在接收到媒资详情信息后,可以根据旧版本平台提供的媒资详情数据进行界面渲染。由于同一媒资在旧版本平台和新版本平台中的媒资详情信息不同,因此显示设备200针对同一内容的媒资项目,在基于旧版本平台获取的媒资详情信息与基于新版本平台获取的媒资详情信息可能存在部分差异。因此,显示设备200根据媒资详情信息渲染的媒资详情界面也存在部分差异。例如,视频内容相同的两个媒资项目《××世界第二季》和《××世界第2季》,对应的媒资名称和媒资类型不同,即在自建媒资平台的媒资类型为2001教育类;而在QY平台的媒资类型为1001视频类。After receiving the media asset details information, the display device 200 can perform interface rendering according to the media asset details data provided by the platform of the old version. Because the same media assets have different media asset details information on the old version platform and the new version platform, the display device 200, for the media asset item of the same content, the media asset detailed information obtained based on the old version platform and the media asset detailed information obtained based on the new version platform There may be some discrepancies in media asset details. Therefore, there are some differences in the media asset detail interface rendered by the display device 200 according to the media asset detail information. For example, the two media asset projects "XX World Season 2" and "XX World Season 2" with the same video content have different names and types of media assets. The type is 2001 education; and the type of media assets on the QY platform is 1001 video.
而如果目标媒资的上线状态为已下线或被过滤状态,即显示设备200已经无法再通过旧版本媒资平台获取媒资项目相关的数据,因此服务器400可以向显示设备200反馈下线消息,以使显示设备200可以根据下线消息显示提示消息或提示界面。And if the online status of the target media asset is offline or filtered, that is, the display device 200 can no longer obtain data related to the media asset project through the old version of the media asset platform, so the server 400 can feed back the offline message to the display device 200 , so that the display device 200 can display a prompt message or a prompt interface according to the offline message.
由以上技术方案可知,在上述实施例中,服务器400可以通过对映射媒资项目、显示设备200的机型版本以及上线状态等信息进行检测,使服务器400可以根据检测结果判断当前显示设备200播放的媒资项目是否需要进行媒资映射,并根据不同的判断结果,执行相应的信息下发方式,以满足用户的播放需求。It can be seen from the above technical solution that in the above embodiment, the server 400 can detect information such as the mapped media asset item, the model version of the display device 200, and the online status, so that the server 400 can judge the current display device 200 according to the detection result. Whether the media asset project needs to be mapped to media assets, and according to different judgment results, implement the corresponding information delivery method to meet the user's playback needs.
由于上述实施例中提供的媒资映射方法可以在媒资平台切换后,在新平台提供的媒资项目对应媒资详情界面中包含旧版本平台中的收藏操作、播放进度等相关内容,这些内容还可以根据用户基于媒资详情界面中执行的交互操作不断更新。例如,用户可以在显示“已收藏”选项的媒资详情界面中,再次点击收藏选项,控制取消收藏,则媒资详情界面中的收藏选项状态将从“已收藏”变更为“收藏”。同时,相应的操作可以被服务器400再次记录,并更新存储状态,从而满足后续媒资映射方法的应用。Since the media asset mapping method provided in the above embodiment can include related content such as collection operations and playback progress in the old version platform in the media asset details interface provided by the new platform after the media asset platform is switched, these contents It can also be continuously updated according to the interactive operations performed by the user based on the media resource details interface. For example, the user can click on the favorite option again in the media asset details interface displaying the "Favorites" option to control the cancellation of favorites, and the status of the favorite option in the media asset details interface will be changed from "Favorites" to "Favorites". At the same time, the corresponding operation can be recorded again by the server 400, and the storage state can be updated, so as to meet the application of the subsequent media asset mapping method.
因此,如图15所示,在一些实施例中,服务器400还可以在显示设备200显示媒资详情界面后,实时获取显示设备输入的交互请求。所述交互请求同样可以按照上述实施例中提供的通过控制装置100、触控交互、语音交互等方式输入显示设备200。Therefore, as shown in FIG. 15 , in some embodiments, the server 400 may also acquire the interaction request input by the display device in real time after the display device 200 displays the media resource details interface. The interaction request can also be input to the display device 200 through the control device 100 , touch interaction, voice interaction and other means provided in the above embodiments.
显示设备200再根据用户的交互动作以及当前显示的用户界面中的具体画面布置状态,生成交互请求,并将交互请求发送给服务器400。例如,当用户交互动作为点击用户详情界面中的收藏选项时,显示设备200可以根据该点击动作,以及当前显示的媒资详情界面中收藏选项为“已收藏”的状态,确定用户的交互内容为“取消收藏”,从而生成包含交互内容为“取消收藏”的交互请求。The display device 200 then generates an interaction request according to the user's interaction action and the specific screen layout state in the currently displayed user interface, and sends the interaction request to the server 400 . For example, when the user interaction action is to click the favorite option in the user details interface, the display device 200 may determine the user's interaction content according to the click action and the state that the favorite option in the currently displayed media resource details interface is "favorite". is "Unfavorite", thus generating an interaction request containing the interactive content "Unfavorite".
服务器400在接收到显示设备200发送的交互请求后,可以响应于交互请求,从交互请求中提取交互的具体内容,并根据交互内容,计算交互结果。例如,当交互请求中包含的交互内容为“取消收藏”时,服务器400可以根据该交互内容,将收藏相关数据表项中对应的参数值由“1(已收藏)”更改为“0(未收藏)”,获得对应的交互结果。After receiving the interaction request sent by the display device 200, the server 400 may respond to the interaction request, extract specific content of the interaction from the interaction request, and calculate an interaction result according to the interaction content. For example, when the interaction content included in the interaction request is "unfavorite", the server 400 may change the corresponding parameter value in the collection-related data entry from "1 (favorite)" to "0 (unfavorite)" according to the interaction content. Collection)" to get the corresponding interaction result.
在计算交互结果后,服务器400还根据交互结果修改被替换媒资参数,即针对替换信息中的被替换媒资参数部分进行修改,使被替换媒资参数更改为与交互结果相适应的参数值,再向显示设备200下发修改后的被替换媒资参数,以更新媒资详情界面中的操作标识。例如,将媒资详情界面中的收藏选项显示内容从“已收藏”更改为“收藏”。同时,服务器400还可以存储修改后的被替换媒资参数,以后后续调用。After calculating the interaction result, the server 400 also modifies the replaced media asset parameter according to the interaction result, that is, modifies the replaced media asset parameter in the replacement information, so that the replaced media asset parameter is changed to a parameter value suitable for the interaction result , and then send the modified media asset parameters to the display device 200 to update the operation identifier in the media asset details interface. For example, change the collection option display content from "Favorite" to "Favorite" in the media asset details interface. At the same time, the server 400 can also store the modified parameters of the replaced media assets for subsequent calling.
基于上述媒资映射方法,在本申请的部分实施例中,还提供一种服务器400,包括存储模块410、通信模块420以及控制模块430。其中,存储模块410被配置为存储媒资项目数据;通信模块420被配置为与显示设备200建立通信连接;如图16所示,控制模块430被配置为执行以下程序步骤:Based on the above media asset mapping method, in some embodiments of the present application, a server 400 is also provided, including a storage module 410 , a communication module 420 and a control module 430 . Wherein, the storage module 410 is configured to store media asset item data; the communication module 420 is configured to establish a communication connection with the display device 200; as shown in FIG. 16 , the control module 430 is configured to execute the following program steps:
获取所述显示设备输入的用于展示媒资详情界面的操作请求;Obtaining an operation request input by the display device for displaying a media resource details interface;
响应于所述操作请求,查询目标媒资的媒资详情信息;In response to the operation request, query the media asset detailed information of the target media asset;
为所述媒资详情信息增加被替换媒资参数,以生成替换信息,所述被替换媒资参数包括与所述目标媒资存在关联关系的映射媒资信息;Adding a replaced media asset parameter to the media asset detail information to generate replacement information, the replaced media asset parameter including mapping media asset information associated with the target media asset;
向所述显示设备返回所述替换信息,以使所述显示设备显示的媒资详情界面中包含所述映射媒资信息。Returning the replacement information to the display device, so that the media asset details interface displayed on the display device includes the mapped media asset information.
为了使服务器400能够实施上述实施例中提供的媒资映射方法,在一些实施例中,还可以基于服务器400的系统软件架构,在服务器400中配置多个功能模块,每个功能模块可以专门用于处理特定的数据。例如,服务器400中可以配置有面向终端模块,用于与显示设备200之间进行指令和数据交换;内容模块,用于为媒资项目添加被替换媒资参数;运营模块,用于为媒资项目建立关联关系,并向内容模块传递关联关系,以使内容模块可以将被替换媒资参数写入媒资参数中;基础业务模块,用于判断显示设备200的平台支持信息。In order to enable the server 400 to implement the media asset mapping method provided in the above embodiments, in some embodiments, based on the system software architecture of the server 400, multiple functional modules may be configured in the server 400, and each functional module may be dedicated to for processing specific data. For example, the server 400 may be configured with a terminal-oriented module for exchanging instructions and data with the display device 200; a content module for adding replaced media asset parameters for the media asset item; The project establishes an association relationship, and transmits the association relationship to the content module, so that the content module can write the replaced media asset parameter into the media asset parameter; the basic business module is used to determine the platform support information of the display device 200 .
基于上述功能模块,服务器400可以在显示设备200播放媒资项目时,调用各个功能模块完成媒资详情界面展示。例如,如图17所示,显示设备200请求QY媒资平台中的媒资B详情页后,服务器400可以先调用基础业务模块获取机型版本能力,如果当前显示设备200的机型版本能力为支持新版本平台,则面向终端模块再向内容模块反馈要求媒资B详情信息的请求,以触发内容模块检测媒资B在QY媒资平台中是否可用,如果可用,则检测媒资B是否存在具有关联关系的媒资A。并在确定存在关联媒资A存在后,获取运营模块编排的关联关系信息,以获取被替换媒资参数。Based on the above functional modules, the server 400 can call each functional module to display the media asset details interface when the display device 200 plays the media asset item. For example, as shown in Figure 17, after the display device 200 requests the media asset B details page in the QY media asset platform, the server 400 can first call the basic business module to obtain the model version capability. If the model version capability of the current display device 200 is To support the new version of the platform, the terminal module will feed back the request for the detailed information of media asset B to the content module, so as to trigger the content module to detect whether media asset B is available in the QY media asset platform, and if it is available, then detect whether media asset B exists Media asset A with an associated relationship. And after it is determined that there is an associated media asset A, the associated relationship information compiled by the operation module is obtained to obtain the parameters of the replaced media asset.
内容模块再为媒资B对应的媒资详情添加被替换媒资参数,生成替换信息,反馈给面向终端模块,面向终端再对替换参数进行计算、处理,以生成能够被显示设备200识别的数据反馈给显示设备200,以使显示设备200可以显示媒资详情界面。The content module then adds the replaced media asset parameters to the media asset details corresponding to the media asset B, generates replacement information, and feeds it back to the terminal-oriented module, and then calculates and processes the replacement parameters for the terminal-oriented module to generate data that can be recognized by the display device 200 Feedback is given to the display device 200, so that the display device 200 can display the interface of media resource details.
与上述实施例提供的服务器400相配合的,如图18所示,在一些实施例中还提供一种显示设备200,包括:显示器260、通信器220以及控制器250。其中,所述显示器260被配置为显示用户界面,包括历史记录界面;所述通信器220被配置为与服务器400建立通信连接;所述控制器250被配置为执行以下程序步骤:In cooperation with the server 400 provided in the above embodiments, as shown in FIG. 18 , in some embodiments, a display device 200 is also provided, including: a display 260 , a communicator 220 and a controller 250 . Wherein, the display 260 is configured to display a user interface, including a history record interface; the communicator 220 is configured to establish a communication connection with the server 400; the controller 250 is configured to perform the following program steps:
获取用户输入的用于显示媒资详情界面的控制指令;Obtain the control command input by the user for displaying the interface of media resource details;
响应于所述控制指令,向所述服务器发送操作请求;sending an operation request to the server in response to the control instruction;
接收所述服务器针对所述操作请求返回的替换信息,所述替换信息通过媒资详情信息增加被替换媒资参数生成,所述媒资详情信息为所述服务器根据所述操作请求查询获得的目标媒资信息;所述被替换媒资参数包括与目标媒资存在关联关系的映射媒资信息;Receiving the replacement information returned by the server for the operation request, the replacement information is generated by adding the replaced media asset parameters to the media asset detail information, and the media asset detail information is the target obtained by the server according to the query of the operation request Media asset information; the replaced media asset parameters include mapping media asset information associated with the target media asset;
根据所述替换信息控制所述显示器显示媒资详情界面,所述媒资详情界面中包含所述映射媒资信息。Controlling the display to display a media asset details interface according to the replacement information, the media asset details interface including the mapped media asset information.
可见,上述实施例中提供的显示设备200可以在用户控制其显示媒资详情界面时,通过向服务器发送操作请求,触发服务器400反馈替换信息,并根据替换信息渲染生成媒资详情界面进行显示。由于替换信息中包含映射媒资相关的信息,因此可以显示的媒资详情界面中展示基于旧版本媒资平台的操作记录等信息。It can be seen that the display device 200 provided in the above embodiment can trigger the server 400 to feed back replacement information by sending an operation request to the server when the user controls it to display the media asset details interface, and render and generate a media asset details interface for display according to the replacement information. Since the replacement information includes information related to mapping media assets, the displayed media asset details interface can display information such as operation records based on the old version of the media asset platform.
例如,用户基于旧版本媒资平台收藏映射媒资《媒资A》,并请求显示与《媒资A》具有关联关系的目标媒资《媒资B》的媒资详情界面时,显示设备200可以从服务器400反馈的替换信息字段中,根据添加的字段"replace_media_relation"中的被替换媒资的标记,去获取被替换媒资的操作数据,从而在显示的媒资详情界面中《媒资B》的收藏标签也为“已收藏”状态。For example, when the user collects and maps the media asset "Media Asset A" based on the old version of the media asset platform, and requests to display the media asset details interface of the target media asset "Media Asset B" that is associated with "Media Asset A", the display device 200 From the replacement information field fed back by the server 400, according to the tag of the replaced media asset in the added field "replace_media_relation", the operation data of the replaced media asset can be obtained, so that in the displayed media asset details interface "media asset B "Favorites tab is also in the "Favorites" state.
为了使显示设备200显示的媒资详情界面中能够包含被替换媒资的操作数据,在一些实施例中,显示设备200还可以通过特定的同步触发机制,与服务器400进行自动更新。例如,在显示设备200每次开机时,显示设备200可以通过操作系统中内置的同步程序,对用户历史记录和收藏记录相关的操作数据和服务器400做同步,从旧版本媒资平台获取操作数据并缓存。并且,在用户控制显示设备200显示媒资详情界面时,再根据替换信息中读取到的字段"replace_media_relation"中的被替换媒资的标记,去缓存中查找对应被替换媒资的历史操作,再根据这些历史操作修改媒资详情界面中的内容,即增加媒资收藏标记,或者根据映射媒资的播放历史时间点设置当前媒资的播放起始时间等。In order to enable the media asset details interface displayed by the display device 200 to include the operation data of the replaced media asset, in some embodiments, the display device 200 can also automatically update with the server 400 through a specific synchronization trigger mechanism. For example, when the display device 200 is turned on each time, the display device 200 can synchronize the operation data related to the user's history record and collection record with the server 400 through the synchronization program built in the operating system, and obtain the operation data from the old version of the media asset platform and cache. And, when the user controls the display device 200 to display the media asset details interface, then according to the tag of the replaced media asset in the field "replace_media_relation" read in the replacement information, go to the cache to find the historical operation corresponding to the replaced media asset, Then modify the content in the media asset details interface according to these historical operations, that is, add the media asset collection mark, or set the playback start time of the current media asset according to the playing history time point of the mapped media asset.
在一些实施例中,替换信息中可以不直接包含映射媒资的操作数据,相关的操作数据仍然存储在旧版本媒资平台中。当显示设备200获取替换信息后,显示设备200可以先读取替换信息,再根据替换信息中记载的与映射媒资相关的数据内容,向旧版本媒资平台对应的服务器400发起查询请求,从而在服务器400中获得操作数据。In some embodiments, the replacement information may not directly contain the operation data of the mapped media asset, and the relevant operation data is still stored in the old version of the media asset platform. After the display device 200 obtains the replacement information, the display device 200 can first read the replacement information, and then send a query request to the server 400 corresponding to the old version of the media asset platform according to the data content related to the mapped media assets recorded in the replacement information, thereby Operational data is obtained in server 400 .
例如,显示设备200按照上述实施例提供的方式请求QY媒资平台中《媒资B》的媒资详情界面时,显示设备200可以通过上述实施例中提供的方式,在服务器400中获取替换信息后,根据"replace_media_relation"中的被替换媒资的标记,即自建媒资平台中《媒资A》的媒资名称、媒资ID等识别信息,再去服务器400请求操作数据,服务器400则在接收到请求后,在自建媒资平台中查询是否收藏、播放进度等操作数据,再向显示设备200反馈查询到的操作数据,使显示设备200可以根据操作数据进行媒资详情界面中对应选项内容的调整。For example, when the display device 200 requests the media asset details interface of "Media Asset B" in the QY media asset platform according to the method provided in the above embodiment, the display device 200 can obtain the replacement information from the server 400 through the method provided in the above embodiment Finally, according to the mark of the replaced media asset in "replace_media_relation", that is, the identification information such as the media asset name and media asset ID of "Media Asset A" in the self-built media asset platform, go to the server 400 to request the operation data, and the server 400 then After receiving the request, query operation data such as whether to collect or not, play progress, etc. in the self-built media asset platform, and then feed back the queried operation data to the display device 200, so that the display device 200 can correspond to the media asset details interface according to the operation data Adjustment of option content.
由以上技术方案可知,本申请提供的显示设备可以在用户输入控制指令控制显示媒资详情界面时,向服务器400发送操作请求,以触发服务器400查询媒资详情信息,同时获取与目标媒资存在关联关系的映射媒资信息。并且通过为媒资详情信息增加被替换媒资参数生成替换信息。再将替换信息发送给显示设备200。显示设备200再根据替换信息显示媒资详情界面。显示设备200显示的媒资详情界面中可以包含映射媒资信息,实现对媒资平台切换前的相关内容进行展示,缓解媒资平台在更新后丢失部分信息的问题。It can be seen from the above technical solutions that the display device provided by the present application can send an operation request to the server 400 when the user inputs a control command to control the display of the media asset details interface, so as to trigger the server 400 to query the media asset details information, and at the same time obtain the target media asset. The mapping media asset information of the association relationship. And the replacement information is generated by adding the replaced media asset parameters to the media asset detailed information. Then the replacement information is sent to the display device 200 . The display device 200 then displays the media resource details interface according to the replacement information. The media asset details interface displayed by the display device 200 may include mapped media asset information, so as to display relevant content before the media asset platform is switched, and alleviate the problem of missing some information after the media asset platform is updated.
本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。The similar parts between the embodiments provided in the present application can be referred to each other, and the specific implementations provided above are only a few examples under the general concept of the present application, and do not constitute a limitation of the protection scope of the present application. For those skilled in the art, any other implementations expanded based on the proposal of the present application without creative work shall fall within the scope of protection of the present application.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111362206.5A CN114040225B (en) | 2021-11-17 | 2021-11-17 | Server, display equipment and media asset mapping method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111362206.5A CN114040225B (en) | 2021-11-17 | 2021-11-17 | Server, display equipment and media asset mapping method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114040225A CN114040225A (en) | 2022-02-11 |
CN114040225B true CN114040225B (en) | 2023-08-11 |
Family
ID=80137930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111362206.5A Active CN114040225B (en) | 2021-11-17 | 2021-11-17 | Server, display equipment and media asset mapping method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114040225B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174997B (en) * | 2022-06-29 | 2023-11-28 | Vidaa国际控股(荷兰)公司 | Display device and media asset recommendation method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705267A (en) * | 2004-05-25 | 2005-12-07 | 联想(北京)有限公司 | Method for using server resources by client via a network |
FI20065137A0 (en) * | 2006-02-27 | 2006-02-27 | Nokia Corp | Multimedia Sharing |
CN101699860A (en) * | 2009-10-21 | 2010-04-28 | 南京邮电大学 | Implement method for mixing network TV stream media server of peer-to-peer computing network |
CN103414772A (en) * | 2013-08-09 | 2013-11-27 | 百灵时代传媒集团有限公司 | Cloud resource updating method and device applied to mobile equipment |
CN103489432A (en) * | 2013-08-30 | 2014-01-01 | 小米科技有限责任公司 | Electronic device and resource display method |
CN107229527A (en) * | 2017-05-25 | 2017-10-03 | 北京小米移动软件有限公司 | Information resources collecting method, device and computer-readable recording medium |
CN110751532A (en) * | 2019-05-09 | 2020-02-04 | 北京嘀嘀无限科技发展有限公司 | Resource allocation method and device |
CN113489700A (en) * | 2021-06-28 | 2021-10-08 | 聚好看科技股份有限公司 | Method, server and terminal equipment for acquiring media asset data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10944707B2 (en) * | 2014-09-26 | 2021-03-09 | Line Corporation | Method, system and recording medium for providing video contents in social platform and file distribution system |
-
2021
- 2021-11-17 CN CN202111362206.5A patent/CN114040225B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1705267A (en) * | 2004-05-25 | 2005-12-07 | 联想(北京)有限公司 | Method for using server resources by client via a network |
FI20065137A0 (en) * | 2006-02-27 | 2006-02-27 | Nokia Corp | Multimedia Sharing |
CN101699860A (en) * | 2009-10-21 | 2010-04-28 | 南京邮电大学 | Implement method for mixing network TV stream media server of peer-to-peer computing network |
CN103414772A (en) * | 2013-08-09 | 2013-11-27 | 百灵时代传媒集团有限公司 | Cloud resource updating method and device applied to mobile equipment |
CN103489432A (en) * | 2013-08-30 | 2014-01-01 | 小米科技有限责任公司 | Electronic device and resource display method |
CN107229527A (en) * | 2017-05-25 | 2017-10-03 | 北京小米移动软件有限公司 | Information resources collecting method, device and computer-readable recording medium |
CN110751532A (en) * | 2019-05-09 | 2020-02-04 | 北京嘀嘀无限科技发展有限公司 | Resource allocation method and device |
CN113489700A (en) * | 2021-06-28 | 2021-10-08 | 聚好看科技股份有限公司 | Method, server and terminal equipment for acquiring media asset data |
Non-Patent Citations (1)
Title |
---|
《虚拟化云环境下面向容错的任务调度与资源优化方法研究》;王吉;《中国优秀硕士学位论文全文数据库》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114040225A (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111669621A (en) | A kind of media asset data distribution method, server and display device | |
CN113766329B (en) | Play request processing method and display device | |
WO2021189697A1 (en) | Video display method, terminal, and server | |
CN112165641A (en) | Display device | |
CN111949782A (en) | Information recommendation method and service equipment | |
CN112380420A (en) | Searching method and display device | |
CN112653910B (en) | Display device, server and control method for television program recommendation | |
CN114040225B (en) | Server, display equipment and media asset mapping method | |
CN114489532B (en) | Terminal equipment and method of linkage between terminal equipment and display device | |
CN112073787B (en) | Display device and home page display method | |
CN111984167B (en) | Quick naming method and display device | |
CN114915818B (en) | A method for pushing media assets and an intelligent terminal | |
CN116137667B (en) | Server, display equipment and media asset migration method | |
CN114915810B (en) | Media resource pushing method and intelligent terminal | |
CN114143580B (en) | Display equipment and handle control pattern display method | |
CN114363679B (en) | Display equipment, server and media asset playing method | |
CN114173176B (en) | A server, a display device, and a media asset filtering method | |
CN117255218A (en) | Display equipment and video playing method | |
CN113449185A (en) | Information reminding method and server | |
CN115767196B (en) | Display equipment and media asset playing method | |
WO2022166349A1 (en) | Media asset push method and smart terminal | |
CN117812398A (en) | Display equipment and full-system channel switching method | |
CN117812399A (en) | Display device and channel editing method | |
CN119420966A (en) | Display device and video playback method | |
CN117812350A (en) | Display equipment and media recording 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 | ||
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 |