Movatterモバイル変換


[0]ホーム

URL:


CN107734396B - A method, device and storage medium for playing multimedia resources - Google Patents

A method, device and storage medium for playing multimedia resources
Download PDF

Info

Publication number
CN107734396B
CN107734396BCN201710942354.1ACN201710942354ACN107734396BCN 107734396 BCN107734396 BCN 107734396BCN 201710942354 ACN201710942354 ACN 201710942354ACN 107734396 BCN107734396 BCN 107734396B
Authority
CN
China
Prior art keywords
data
specified
multimedia resource
application
multimedia
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
Application number
CN201710942354.1A
Other languages
Chinese (zh)
Other versions
CN107734396A (en
Inventor
刘帅君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MIGU Video Technology Co Ltd
Original Assignee
MIGU Video Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MIGU Video Technology Co LtdfiledCriticalMIGU Video Technology Co Ltd
Priority to CN201710942354.1ApriorityCriticalpatent/CN107734396B/en
Publication of CN107734396ApublicationCriticalpatent/CN107734396A/en
Application grantedgrantedCritical
Publication of CN107734396BpublicationCriticalpatent/CN107734396B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种多媒体资源播放方法,包括:多媒体应用开启后,获取指定数据和应用广告数据;播放所述指定数据和所述应用广告数据;监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;接收与被触发的所述指定数据对应的指定多媒体资源数据;所述应用广告数据播放完成后,播放所述指定多媒体资源数据。本发明还同时公开了一种多媒体资源播放装置、以及存储介质。

The invention discloses a method for playing multimedia resources, comprising: after the multimedia application is started, obtaining specified data and application advertisement data; playing the specified data and the application advertisement data; when the specified data played is detected to be triggered, Sending a first request message to the server, the first request message including the identification information of the triggered specified data; receiving specified multimedia resource data corresponding to the triggered specified data; playing the application advertisement data After completion, play the specified multimedia resource data. The invention also discloses a multimedia resource playing device and a storage medium at the same time.

Description

Translated fromChinese
一种多媒体资源播放方法、装置及存储介质A method, device and storage medium for playing multimedia resources

技术领域technical field

本发明涉及多媒体通信领域,尤其涉及一种多媒体资源播放方法、装置及存储介质。The present invention relates to the field of multimedia communication, in particular to a method, device and storage medium for playing multimedia resources.

背景技术Background technique

在现有技术中,用户可以通过多媒体应用软件来观看多媒体资源,例如,用户可以通过视频客户端,如咪咕直播客户端来观看视频,用户打开视频客户端,并对视频客户端展示的视频资源进行选择,然后,视频客户端可以根据用户的选择播放对应的视频。然而,用户在打开多媒体应用软件时,通常会先播放一段时间的广告,在广告播放完成后,多媒体应用软件才会进入到多媒体资源的展示界面,因此,用户需要等广告播放完成后,才能对多媒体应用软件展示的多媒体资源进行选择,延迟了用户的选择时间,这就导致用户对多媒体应用软件提供的多媒体资源的选择效率低,影响用户体验。In the prior art, users can watch multimedia resources through multimedia application software. For example, users can watch videos through a video client, such as Migu Live Client. The resources are selected, and then the video client can play the corresponding video according to the user's selection. However, when the user opens the multimedia application software, he usually plays the advertisement for a period of time first. After the advertisement is played, the multimedia application software will enter the display interface of the multimedia resource. The selection of the multimedia resources displayed by the multimedia application software delays the user's selection time, which leads to low efficiency for the user to select the multimedia resources provided by the multimedia application software and affects user experience.

发明内容Contents of the invention

有鉴于此,本发明实施例期望提供一种多媒体资源播放方法、装置及存储介质,能够提高用户对多媒体资源的选择效率,提升用户体验。In view of this, the embodiments of the present invention expect to provide a method, device, and storage medium for playing multimedia resources, which can improve the user's selection efficiency of multimedia resources and improve user experience.

为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present invention is achieved in this way:

本发明实施例提供一种多媒体资源播放方法,应用于终端,所述终端与服务器相连,所述方法包括:An embodiment of the present invention provides a method for playing multimedia resources, which is applied to a terminal, the terminal is connected to a server, and the method includes:

多媒体应用开启后,获取指定数据和应用广告数据;After the multimedia application is opened, the specified data and application advertisement data are obtained;

播放所述指定数据和所述应用广告数据;playing the specified data and the application advertisement data;

监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;When it is detected that the specified data to be played is triggered, send a first request message to the server, where the first request message includes identification information of the triggered specified data;

接收与被触发的所述指定数据对应的指定多媒体资源数据;receiving specified multimedia resource data corresponding to the triggered specified data;

所述应用广告数据播放完成后,播放所述指定多媒体资源数据。After the application advertisement data is played, the specified multimedia resource data is played.

上述方案中,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。In the above solution, the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

上述方案中,所述指定数据包括所述指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,所述播放所述指定数据包括以滚动条的形式播放所述指定数据;或者,In the above solution, when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data, the playing the specified data includes playing the specified data in the form of a scroll bar. data; or,

所述指定数据为所述指定多媒体资源数据中的图片数据时,所述播放所述指定数据包括以图片切换的形式播放所述指定数据。When the specified data is picture data in the specified multimedia resource data, the playing the specified data includes playing the specified data in a form of picture switching.

上述方案中,在所述多媒体应用开启之前,所述方法还包括:In the above solution, before the multimedia application is started, the method further includes:

监测到所述多媒体应用被触发时,开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。When it is detected that the multimedia application is triggered, start the multimedia application and generate an application start message, wherein the application start message includes user identification information, information requesting the specified data, and information requesting the application advertisement data .

上述方案中,所述播放所述指定数据和所述应用广告数据之后,所述方法还包括:In the above solution, after playing the specified data and the application advertisement data, the method further includes:

未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;When it is not detected that the specified data being played is triggered, a second request message is sent to the server, wherein the second request message includes information requesting multimedia resource data;

接收所述多媒体资源数据;receiving the multimedia resource data;

所述应用广告数据播放完成后,播放所述多媒体资源数据。After the application advertisement data is played, the multimedia resource data is played.

本发明实施例还提供一种多媒体资源播放方法,应用于服务器,所述服务器与终端相连,所述方法包括:The embodiment of the present invention also provides a method for playing multimedia resources, which is applied to a server, the server is connected to a terminal, and the method includes:

接收所述终端在多媒体应用开启后发送的用户标识信息;receiving user identification information sent by the terminal after the multimedia application is started;

根据所述用户标识信息获取指定数据和应用广告数据;Obtain specified data and application advertisement data according to the user identification information;

将所述指定数据和所述应用广告数据发送给所述终端;sending the specified data and the application advertisement data to the terminal;

接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;receiving a first request message sent by the terminal when monitoring that the specified data played is triggered, where the first request message includes identification information of the triggered specified data;

获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端。Acquiring specified multimedia resource data corresponding to the triggered specified data, and sending it to the terminal.

上述方案中,所述根据所述用户标识信息获取指定数据包括:In the above solution, the acquiring specified data according to the user identification information includes:

根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;Obtain historical operation records of the user on the multimedia application according to the user identification information;

根据所述历史操作记录确定指定多媒体资源数据;Determine specified multimedia resource data according to the historical operation record;

获取与所述指定多媒体资源数据对应的所述指定数据。Acquiring the specified data corresponding to the specified multimedia resource data.

上述方案中,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。In the above solution, the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

上述方案中,所述历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;In the above solution, the historical operation records include at least one of historical click records, historical sharing records, and historical comment records;

所述根据所述历史操作记录确定指定多媒体资源数据包括:The determining the specified multimedia resource data according to the historical operation record includes:

确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;Determine the multimedia resource data with the highest click rate in the historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest comment rate in the historical comment records;

基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The specified multimedia resource data is determined based on the determined multimedia resource data.

上述方案中,所述获取与所述指定多媒体资源数据对应的所述指定数据包括:In the above solution, the acquiring the specified data corresponding to the specified multimedia resource data includes:

获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。Obtain the name data, image data with the largest number of playbacks and/or barrages, barrage data with the most attention and/or appearances, and comment data with the most attention and/or appearances in the specified multimedia resource data at least one of .

上述方案中,所述将所述指定数据和所述应用广告数据发送给所述终端之后,所述方法还包括:In the above solution, after the specified data and the application advertisement data are sent to the terminal, the method further includes:

接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;receiving a second request message sent by the terminal when it is not monitored that the specified data to be played is triggered, where the second request message includes information requesting multimedia resource data;

获取所述多媒体资源数据,并发送给所述终端。Obtain the multimedia resource data and send it to the terminal.

本发明实施例还提供一种多媒体资源播放装置,应用于终端,所述终端与服务器相连,所述装置包括:获取模块、播放模块、第一监测模块、接收模块;其中,An embodiment of the present invention also provides a device for playing multimedia resources, which is applied to a terminal, and the terminal is connected to a server. The device includes: an acquisition module, a playback module, a first monitoring module, and a receiving module; wherein,

所述获取模块,用于多媒体应用开启后,获取指定数据和应用广告数据;The obtaining module is used to obtain specified data and application advertisement data after the multimedia application is started;

所述播放模块,用于播放所述指定数据和所述应用广告数据;The playing module is used to play the specified data and the application advertisement data;

所述第一监测模块,用于监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;The first monitoring module is configured to send a first request message to the server when it detects that the specified data to be played is triggered, and the first request message includes identification information of the triggered specified data;

所述接收模块,用于接收与被触发的所述指定数据对应的指定多媒体资源数据;The receiving module is configured to receive specified multimedia resource data corresponding to the triggered specified data;

所述播放模块,还用于所述应用广告数据播放完成后,播放所述指定多媒体资源数据。The playing module is further configured to play the specified multimedia resource data after the application advertisement data is played.

上述方案中,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。In the above solution, the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

上述方案中,所述播放模块,具体用于在所述指定数据包括所述指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,以滚动条的形式播放所述指定数据;或者,In the above solution, the playing module is specifically configured to play the specified data in the form of a scroll bar when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data. specify the data; or,

在所述指定数据为所述指定多媒体资源数据中的图片数据时,以图片切换的形式播放所述指定数据。When the specified data is picture data in the specified multimedia resource data, the specified data is played in the form of picture switching.

上述方案中,所述装置还包括第二监测模块、开启模块;其中,In the above solution, the device further includes a second monitoring module and an opening module; wherein,

所述第二监测模块,用于监测到所述多媒体应用被触发时,触发所述开启模块;The second monitoring module is configured to trigger the opening module when it detects that the multimedia application is triggered;

所述开启模块,用于开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。The opening module is configured to open the multimedia application and generate an application opening message, wherein the application opening message includes user identification information, information requesting the specified data, and information requesting the application advertisement data.

上述方案中,所述第一监测模块,还用于未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;In the above solution, the first monitoring module is further configured to send a second request message to the server when it is not monitored that the specified data to be played is triggered, wherein the second request message includes requesting multimedia resource data Information;

所述接收模块,还用于接收所述多媒体资源数据;The receiving module is also used to receive the multimedia resource data;

所述播放模块,还用于所述应用广告数据播放完成后,播放所述多媒体资源数据。The playing module is further configured to play the multimedia resource data after the application advertisement data is played.

本发明实施例还提供一种多媒体资源播放装置,应用于服务器,所述服务器与终端相连,所述装置包括:第一接收模块、第一获取模块、发送模块、第二接收模块和第二获取模块;其中,The embodiment of the present invention also provides a multimedia resource playing device, which is applied to a server, and the server is connected to a terminal, and the device includes: a first receiving module, a first obtaining module, a sending module, a second receiving module and a second obtaining module module; among them,

所述第一接收模块,用于接收所述终端在多媒体应用开启后发送的用户标识信息;The first receiving module is configured to receive user identification information sent by the terminal after the multimedia application is started;

所述第一获取模块,用于根据所述用户标识信息获取指定数据和应用广告数据;The first acquiring module is configured to acquire specified data and application advertisement data according to the user identification information;

所述发送模块,用于将所述指定数据和所述应用广告数据发送给所述终端;The sending module is configured to send the specified data and the application advertisement data to the terminal;

所述第二接收模块,用于接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;The second receiving module is configured to receive a first request message sent by the terminal when monitoring that the specified data played is triggered, the first request message includes identification information of the triggered specified data;

所述第二获取模块,用于获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端。The second acquiring module is configured to acquire designated multimedia resource data corresponding to the triggered designated data, and send the data to the terminal.

上述方案中,所述第一获取模块具体用于:In the above solution, the first acquisition module is specifically used for:

根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;Obtain historical operation records of the user on the multimedia application according to the user identification information;

根据所述历史操作记录确定指定多媒体资源数据;Determine specified multimedia resource data according to the historical operation record;

获取与所述指定多媒体资源数据对应的所述指定数据。Acquiring the specified data corresponding to the specified multimedia resource data.

上述方案中,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。In the above solution, the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

上述方案中,所述历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;In the above solution, the historical operation records include at least one of historical click records, historical sharing records, and historical comment records;

所述第一获取模块具体用于:确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;The first acquisition module is specifically used to: determine the multimedia resource data with the highest click rate in the historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest comment rate in the historical comment records ;

基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The specified multimedia resource data is determined based on the determined multimedia resource data.

上述方案中,所述第一获取模块具体用于:In the above solution, the first acquisition module is specifically used for:

获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。Obtain the name data, image data with the largest number of playbacks and/or barrages, barrage data with the most attention and/or appearances, and comment data with the most attention and/or appearances in the specified multimedia resource data at least one of .

上述方案中,所述第二接收模块,还用于接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;In the above solution, the second receiving module is further configured to receive a second request message sent by the terminal when the specified data that is not monitored to be played is triggered, wherein the second request message includes a request for multimedia resources data information;

所述第二获取模块,还用于获取所述多媒体资源数据,并发送给所述终端。The second acquiring module is further configured to acquire the multimedia resource data and send it to the terminal.

本发明实施例还提供一种存储介质,其上存储有可执行程序,所述可执行程序被处理器执行时实现前述任意一种多媒体资源播放方法所述步骤。An embodiment of the present invention also provides a storage medium on which an executable program is stored, and when the executable program is executed by a processor, the steps described in any one of the foregoing multimedia resource playing methods are implemented.

本发明实施例还提供一种多媒体资源播放装置,包括存储器、处理器及存储在存储器上并能够由所述处理器运行的可执行程序,所述处理器运行所述可执行程序时执行前述任意一种多媒体资源播放方法所述步骤。An embodiment of the present invention also provides a multimedia resource playback device, including a memory, a processor, and an executable program stored on the memory and capable of being run by the processor. When the processor runs the executable program, it executes any of the aforementioned The steps described in a method for playing multimedia resources.

本发明实施例还提供一种存储介质,其上存储有可执行程序,所述可执行程序被处理器执行时实现前述任意一种多媒体资源播放方法所述步骤。An embodiment of the present invention also provides a storage medium on which an executable program is stored, and when the executable program is executed by a processor, the steps described in any one of the foregoing multimedia resource playing methods are implemented.

本发明实施例还提供一种多媒体资源播放装置,包括存储器、处理器及存储在存储器上并能够由所述处理器运行的可执行程序,所述处理器运行所述可执行程序时执行前述任意一种多媒体资源播放方法所述步骤。An embodiment of the present invention also provides a multimedia resource playback device, including a memory, a processor, and an executable program stored on the memory and capable of being run by the processor. When the processor runs the executable program, it executes any of the aforementioned The steps described in a method for playing multimedia resources.

本发明实施例所提供的多媒体资源播放方法、装置及存储介质,多媒体应用开启后,获取指定数据和应用广告数据;播放所述指定数据和所述应用广告数据;监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;接收与被触发的所述指定数据对应的指定多媒体资源数据;所述应用广告数据播放完成后,播放所述指定多媒体资源数据。如此,能够提高用户对多媒体资源的选择效率,进而提升用户体验。In the multimedia resource playing method, device and storage medium provided by the embodiments of the present invention, after the multimedia application is started, specified data and application advertisement data are acquired; the specified data and the application advertisement data are played; the specified data played is monitored When triggered, send a first request message to the server, where the first request message includes the identification information of the triggered specified data; receive specified multimedia resource data corresponding to the triggered specified data; the After the application advertisement data is played, the specified multimedia resource data is played. In this way, the user's selection efficiency of multimedia resources can be improved, thereby improving user experience.

进一步的,广告播放的同时通过滚动条的形式或图片切换的形式播放指定数据,这样,用户可以在广告播放时间就进行指定数据的选择,以便广告数据播放完毕马上播放用户所需的多媒体资源数据,从而缩短了用户的选择时间和等待时间,从而提升了用户体验。Further, while the advertisement is played, the specified data is played in the form of a scroll bar or in the form of picture switching, so that the user can select the specified data at the time of the advertisement, so that the multimedia resource data required by the user can be played immediately after the advertisement data is played. , thereby shortening the user's selection time and waiting time, thereby improving user experience.

附图说明Description of drawings

图1为本发明实施例一提供的多媒体资源播放方法的实现流程示意图;FIG. 1 is a schematic diagram of an implementation flow of a method for playing multimedia resources provided by Embodiment 1 of the present invention;

图2为本发明实施例一提供的多媒体资源播放方法对应的实体交互图;FIG. 2 is an entity interaction diagram corresponding to the multimedia resource playing method provided in Embodiment 1 of the present invention;

图3为本发明实施例二提供的多媒体资源播放方法的实现流程示意图;FIG. 3 is a schematic diagram of the implementation flow of the multimedia resource playback method provided by Embodiment 2 of the present invention;

图4为本发明实施例三提供的多媒体资源播放方法的具体实现流程示意图;FIG. 4 is a schematic diagram of a specific implementation flow of a method for playing multimedia resources provided by Embodiment 3 of the present invention;

图5为本发明实施例四提供的多媒体资源播放方法的具体实现流程示意图;FIG. 5 is a schematic diagram of a specific implementation flow of a method for playing multimedia resources provided by Embodiment 4 of the present invention;

图6为本发明实施例五提供的多媒体资源播放装置的组成结构示意图;FIG. 6 is a schematic diagram of the composition and structure of a multimedia resource playback device provided in Embodiment 5 of the present invention;

图7为本发明实施例六提供的多媒体资源播放装置的硬件结构示意图;FIG. 7 is a schematic diagram of a hardware structure of a multimedia resource playing device provided in Embodiment 6 of the present invention;

图8为本发明实施例七提供的多媒体资源播放装置的组成结构示意图;FIG. 8 is a schematic diagram of the composition and structure of a multimedia resource playback device provided by Embodiment 7 of the present invention;

图9为本发明实施例八提供的多媒体资源播放装置的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of a device for playing multimedia resources provided by Embodiment 8 of the present invention.

具体实施方式Detailed ways

为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明。In order to understand the characteristics and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the present invention.

在本发明实施例中,所述终端可以包括但不限于:手机、平板、掌上电脑等电子设备。In the embodiment of the present invention, the terminal may include, but is not limited to, electronic devices such as mobile phones, tablets, and palmtop computers.

如图1所示,本发明实施例一中多媒体资源播放方法的实现流程示意图,本实施例应用于终端,且所述终端与服务器相连;如图1所示,本实施例的多媒体资源播放方法包括以下步骤:As shown in Figure 1, a schematic diagram of the implementation process of the multimedia resource playback method in Embodiment 1 of the present invention, this embodiment is applied to a terminal, and the terminal is connected to a server; as shown in Figure 1, the multimedia resource playback method of this embodiment Include the following steps:

步骤101:多媒体应用开启后,获取指定数据和应用广告数据。Step 101: Acquire specified data and application advertisement data after the multimedia application is started.

这里,指定数据和应用广告数据可以是从终端本地所获取的,也可以是该终端对应的服务器所发送的。Here, the specified data and the application advertisement data may be acquired locally from the terminal, or may be sent by a server corresponding to the terminal.

实际应用中,参看图2,用户可以通过终端上的多媒体应用来观看对应的多媒体资源,其中,用户在打开终端上的多媒体应用后,可以对该应用进行触发操作如点击操作,终端在监测到该多媒体应用被触发时,开启该多媒体应用,并生成应用开启消息,该应用开启消息包括用户标识信息、请求指定数据的信息以及请求应用广告数据的信息,并向终端对应的服务器发送该应用开启消息。In practical applications, referring to Figure 2, the user can watch the corresponding multimedia resources through the multimedia application on the terminal, wherein, after the user opens the multimedia application on the terminal, he can perform a trigger operation on the application such as a click operation, and the terminal detects that When the multimedia application is triggered, start the multimedia application and generate an application opening message, the application opening message includes user identification information, information requesting specified data, and information requesting application advertisement data, and sends the application opening message to the server corresponding to the terminal information.

服务器接收到该应用开启消息后,根据用户标识信息获取指定数据和应用广告数据,并发送给终端。After receiving the application opening message, the server acquires specified data and application advertisement data according to the user identification information, and sends them to the terminal.

具体地,服务器在接收到终端发送的应用开启消息后,可以从该应用开启消息中获取用户标识信息;并根据该用户标识信息来获取用户对该多媒体应用的历史操作记录,其中,历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;在获取用户的历史操作记录后,服务器可以根据用户的历史点击记录中点击率最高,和/或历史分享记录中分享率最高,和/或历史评论记录中评论率最高的多媒体资源数据来确定用户关注的内容;再根据所有使用该多媒体应用用户对该用户关注的内容的点击率最高,和/或分享率最高,和/或评论率最高的多媒体资源数据来确定指定多媒体资源数据;获取该指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种,将获取到的数据确定为指定数据,其中,关注可以指用户的点赞、收藏等。Specifically, after receiving the application opening message sent by the terminal, the server can obtain user identification information from the application opening message; and obtain the user's historical operation record of the multimedia application according to the user identification information, wherein the historical operation record Including at least one of historical click records, historical sharing records, and historical comment records; after obtaining the user's historical operation records, the server may according to the user's historical click records have the highest click rate, and/or the historical sharing records have the highest sharing rate, and/or the multimedia resource data with the highest comment rate in the historical comment records to determine the content that the user cares about; and then according to the highest click rate and/or the highest sharing rate of the content that the user is concerned about by all users using the multimedia application, and/or The multimedia resource data with the highest comment rate is used to determine the specified multimedia resource data; the name data, the picture data with the largest number of playback times and/or bullet chats, and the bullet chat data with the most attention and/or the highest number of occurrences in the specified multimedia resource data are obtained , At least one of the comment data with the most attention and/or the most occurrences, and determining the obtained data as the specified data, wherein the attention may refer to likes, favorites, etc. of the user.

这里,指定数据可以包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。Here, the specified data may include at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

例如,用户的历史点击记录中,存在较多的观看恐怖电影的点击记录,则可以确定用户较关注恐怖电影,用户的分享记录中,存在较多的是对外国电影的视频、影评等的分享,则可以确定用户较关注外国电影,用户的评论记录中,存在较多的是对当下热门内容的评论,则可以确定用户较关注当下热门内容,因此,根据用户的历史操作记录确定用户关注的内容包括恐怖电影、外国电影、当下热门内容;然后,可以获取所有使用该多媒体应用用户对该用户关注的恐怖电影、外国电影、当下热门内容的点击次数、分享次数、评论次数等,从获取的这些数据中确定用户关注的内容中最热门的多媒体资源数据,即对应的点击次数、分享次数以及评论次数最多的多媒体资源数据,则服务器可以将最热门的多媒体资源数据确定为指定多媒体资源数据,这里,可以将恐怖电影确定为指定多媒体资源数据;获取该恐怖电影中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种,这里获取到了恐怖电影的名称数据和关注次数较多的弹幕数据,则将获取到的这些数据确定为指定数据,其中,关注可以指用户的点赞、收藏等。For example, if there are many click records of watching horror movies in the user's historical click records, it can be determined that the user pays more attention to horror movies. , it can be determined that the user pays more attention to foreign movies. In the user's comment records, there are more comments on the current popular content, and it can be determined that the user is more concerned about the current popular content. The content includes horror movies, foreign movies, and current popular content; then, you can obtain the number of clicks, share times, and comment times of all horror movies, foreign movies, and current popular content that users who use the multimedia application pay attention to. Among the data, determine the most popular multimedia resource data in the content that the user cares about, that is, the corresponding multimedia resource data with the largest number of clicks, shares and comments, then the server can determine the most popular multimedia resource data as the designated multimedia resource data, Here, the horror movie can be determined as the specified multimedia resource data; obtain the name data, the picture data with the largest number of plays and/or bullet chats in the horror movie, the bullet chat data with the most attention and/or the most appearance times, and the data with the most attention And/or at least one of the comment data with the largest number of occurrences, if the name data of horror movies and the barrage data with more attention times are obtained here, these data obtained will be determined as specified data, wherein the attention can refer to User likes, favorites, etc.

步骤102:播放所述指定数据和所述应用广告数据。Step 102: Play the specified data and the application advertisement data.

这里,终端获取到指定数据和应用广告数据后,可以同时播放该指定数据和该应用广告数据。Here, after the terminal acquires the specified data and the application advertisement data, it can simultaneously play the specified data and the application advertisement data.

其中,当指定数据包括指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,终端以滚动条的形式播放所述指定数据;或者,当指定数据为指定多媒体资源数据中的图片数据时,终端以图片切换的形式播放所述指定数据。Wherein, when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data, the terminal plays the specified data in the form of a scroll bar; or, when the specified data is specified multimedia resource data When the picture data in the terminal is displayed, the terminal plays the specified data in the form of picture switching.

这里,同时对指定数据和应用广告数据进行播放,可以采用已有技术实现,故本实施例在此不再赘述。Here, playing the specified data and the application advertisement data at the same time can be realized by using the existing technology, so this embodiment will not repeat it here.

步骤103:监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息。Step 103: When it is detected that the specified data to be played is triggered, send a first request message to the server, where the first request message includes identification information of the triggered specified data.

具体地,终端在播放指定数据和应用广告数据时,可以对用户的触发操作进行监测,当监测到用户对指定数据执行触发操作如点击操作时,向服务器发送第一请求消息,该第一请求消息包括被触发的指定数据的标识信息,其中,所述指定数据的标识信息可以用于唯一标识所述指定数据,在一个示例中,所述指定数据的标识信息可以为所述指定数据本身。Specifically, when the terminal plays specified data and application advertisement data, it can monitor the user's trigger operation, and when it detects that the user performs a trigger operation on the specified data, such as a click operation, it sends a first request message to the server, and the first request The message includes identification information of the triggered specified data, where the identification information of the specified data may be used to uniquely identify the specified data, and in an example, the identification information of the specified data may be the specified data itself.

服务器接收到第一请求消息后,获取与被触发的指定数据对应的指定多媒体资源数据,并发送给终端。After receiving the first request message, the server acquires designated multimedia resource data corresponding to the triggered designated data, and sends it to the terminal.

例如,终端在播放指定数据和应用广告数据时,这里,假设播放的指定数据为恐怖电影A和外国电影B的名称数据、以及一些关注次数较多的弹幕数据,终端监测到用户点击了恐怖电影A的一个弹幕数据,则向服务器发送第一请求消息,该第一请求消息包括被点击的恐怖电影A的一个弹幕数据;服务器接收到第一请求消息后,获取与被点击的恐怖电影A的弹幕数据对应的相关多媒体资源数据,并将该多媒体资源数据发送给终端。For example, when the terminal is playing specified data and application advertisement data, here, assuming that the specified data to be played is the name data of horror movie A and foreign movie B, and some barrage data with a lot of attention, the terminal detects that the user clicks on the horror movie A barrage data of movie A then sends a first request message to the server, and the first request message includes a barrage data of the clicked horror movie A; after receiving the first request message, the server obtains the clicked horror Related multimedia resource data corresponding to the barrage data of movie A, and sending the multimedia resource data to the terminal.

步骤104:接收与被触发的所述指定数据对应的指定多媒体资源数据。Step 104: Receive specified multimedia resource data corresponding to the triggered specified data.

步骤105:所述应用广告数据播放完成后,播放所述指定多媒体资源数据。Step 105: Play the designated multimedia resource data after the application advertisement data is played.

实际应用中,终端未监测到播放的指定数据被触发时,向服务器发送第二请求消息,其中,第二请求消息包括请求多媒体资源数据的信息;服务器接收到第二请求消息后,获取多媒体资源数据,并发送给终端,这里多媒体资源数据可以为该多媒体应用的首页多媒体资源数据;终端接收多媒体资源数据,在应用广告数据播放完成后,播放该多媒体资源数据。In practical applications, when the terminal does not detect that the specified data to be played is triggered, it sends a second request message to the server, wherein the second request message includes information requesting multimedia resource data; after receiving the second request message, the server acquires the multimedia resource data, and send it to the terminal, where the multimedia resource data can be the homepage multimedia resource data of the multimedia application; the terminal receives the multimedia resource data, and plays the multimedia resource data after the application advertisement data is played.

下面对本发明实施例二多媒体资源播放方法的实现过程进行说明。The implementation process of the method for playing multimedia resources in Embodiment 2 of the present invention will be described below.

图3为本发明实施例二提供的多媒体资源播放方法的实现流程示意图,本实施例应用于服务器,且所述服务器与终端相连;如图3所示,本实施例的多媒体资源播放方法包括以下步骤:Figure 3 is a schematic diagram of the implementation process of the multimedia resource playback method provided by Embodiment 2 of the present invention. This embodiment is applied to a server, and the server is connected to the terminal; as shown in Figure 3, the multimedia resource playback method of this embodiment includes the following step:

步骤301:接收终端在多媒体应用开启后发送的用户标识信息。Step 301: Receive user identification information sent by the terminal after the multimedia application is started.

这里,接收终端在多媒体应用开启后发送的应用开启消息,所述应用开启消息包括用户标识信息、请求指定数据的信息以及请求应用广告数据的信息。Here, the application start message sent by the terminal after the multimedia application is started is received, and the application start message includes user identification information, information requesting specified data, and information requesting application advertisement data.

实际应用中,用户可以通过终端上的多媒体应用来观看对应的多媒体资源,其中,用户在打开终端上的多媒体应用后,可以对该应用进行触发操作如点击操作,终端在监测到该多媒体应用被触发时,开启该多媒体应用,并生成应用开启消息,该应用开启消息包括用户标识信息、请求指定数据的信息以及请求应用广告数据的信息,并向终端对应的服务器发送该应用开启消息。In practical application, the user can watch the corresponding multimedia resources through the multimedia application on the terminal. After the user opens the multimedia application on the terminal, he can perform a trigger operation such as a click operation on the application. When the terminal detects that the multimedia application is When triggered, start the multimedia application, generate an application start message, the application start message includes user identification information, information for requesting specified data, and information for requesting application advertisement data, and send the application start message to the server corresponding to the terminal.

步骤302:根据所述用户标识信息获取指定数据和应用广告数据。Step 302: Obtain specified data and application advertisement data according to the user identification information.

本步骤中,服务器接收到该应用开启消息后,根据用户标识信息获取指定数据和应用广告数据。In this step, after receiving the application opening message, the server obtains specified data and application advertisement data according to the user identification information.

具体地,服务器在接收到终端发送的应用开启消息后,可以从该应用开启消息中获取用户标识信息;并根据该用户标识信息来获取用户对该多媒体应用的历史操作记录,其中,历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;在获取用户的历史操作记录后,服务器可以根据用户的历史点击记录中点击率最高,和/或历史分享记录中分享率最高,和/或历史评论记录中评论率最高的多媒体资源数据来确定用户关注的内容;再根据所有使用该多媒体应用用户对该用户关注的内容的点击率最高,和/或分享率最高,和/或评论率最高的多媒体资源数据来确定指定多媒体资源数据;获取该指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种,将获取到的数据确定为指定数据,其中,关注可以指用户的点赞、收藏等。Specifically, after receiving the application opening message sent by the terminal, the server can obtain user identification information from the application opening message; and obtain the user's historical operation record of the multimedia application according to the user identification information, wherein the historical operation record Including at least one of historical click records, historical sharing records, and historical comment records; after obtaining the user's historical operation records, the server may according to the user's historical click records have the highest click rate, and/or the historical sharing records have the highest sharing rate, and/or the multimedia resource data with the highest comment rate in the historical comment records to determine the content that the user cares about; and then according to the highest click rate and/or the highest sharing rate of the content that the user is concerned about by all users using the multimedia application, and/or The multimedia resource data with the highest comment rate is used to determine the specified multimedia resource data; the name data, the picture data with the largest number of playback times and/or bullet chats, and the bullet chat data with the most attention and/or the highest number of occurrences in the specified multimedia resource data are obtained , At least one of the comment data with the most attention and/or the most occurrences, and determining the obtained data as the specified data, wherein the attention may refer to likes, favorites, etc. of the user.

这里,指定数据可以包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。Here, the specified data may include at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

例如,用户的历史点击记录中,存在较多的观看恐怖电影的点击记录,则可以确定用户较关注恐怖电影,用户的分享记录中,存在较多的是对外国电影的视频、影评等的分享,则可以确定用户较关注外国电影,用户的评论记录中,存在较多的是对当下热门内容的评论,则可以确定用户较关注当下热门内容,因此,根据用户的历史操作记录确定用户关注的内容包括恐怖电影、外国电影、当下热门内容;然后,可以获取所有使用该多媒体应用用户对该用户关注的恐怖电影、外国电影、当下热门内容的点击次数、分享次数、评论次数等,从获取的这些数据中确定用户关注的内容中最热门的多媒体资源数据,即对应的点击次数、分享次数以及评论次数最多的多媒体资源数据,则服务器可以将最热门的多媒体资源数据确定为指定多媒体资源数据,这里,可以将恐怖电影确定为指定多媒体资源数据;获取该恐怖电影中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种,这里获取到了恐怖电影的名称数据和关注次数较多的弹幕数据,则将获取到的这些数据确定为指定数据,其中,关注可以指用户的点赞、收藏等。For example, if there are many click records of watching horror movies in the user's historical click records, it can be determined that the user pays more attention to horror movies. , it can be determined that the user pays more attention to foreign movies. In the user's comment records, there are more comments on the current popular content, and it can be determined that the user is more concerned about the current popular content. The content includes horror movies, foreign movies, and current popular content; then, you can obtain the number of clicks, share times, and comment times of all horror movies, foreign movies, and current popular content that users who use the multimedia application pay attention to. Among the data, determine the most popular multimedia resource data in the content that the user cares about, that is, the corresponding multimedia resource data with the largest number of clicks, shares and comments, then the server can determine the most popular multimedia resource data as the designated multimedia resource data, Here, the horror movie can be determined as the specified multimedia resource data; obtain the name data, the picture data with the largest number of plays and/or bullet chats in the horror movie, the bullet chat data with the most attention and/or the most appearance times, and the data with the most attention And/or at least one of the comment data with the largest number of occurrences, if the name data of horror movies and the barrage data with more attention times are obtained here, these data obtained will be determined as specified data, wherein the attention can refer to User likes, favorites, etc.

步骤303:将所述指定数据和所述应用广告数据发送给所述终端。Step 303: Send the specified data and the application advertisement data to the terminal.

步骤304:接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息。Step 304: Receive a first request message sent by the terminal when it monitors that the specified data to be played is triggered, where the first request message includes identification information of the triggered specified data.

具体地,终端在播放指定数据和应用广告数据时,可以对用户的触发操作进行监测,当监测到用户对指定数据执行触发操作如点击操作时,向服务器发送第一请求消息,该第一请求消息包括被触发的指定数据的标识信息,其中,所述指定数据的标识信息可以用于唯一标识所述指定数据,在一个示例中,所述指定数据的标识信息可以为所述指定数据本身。Specifically, when the terminal plays specified data and application advertisement data, it can monitor the user's trigger operation, and when it detects that the user performs a trigger operation on the specified data, such as a click operation, it sends a first request message to the server, and the first request The message includes identification information of the triggered specified data, where the identification information of the specified data may be used to uniquely identify the specified data, and in an example, the identification information of the specified data may be the specified data itself.

步骤305:获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端。Step 305: Obtain designated multimedia resource data corresponding to the triggered designated data, and send it to the terminal.

本步骤中,服务器接收到第一请求消息后,获取与被触发的指定数据对应的指定多媒体资源数据,并发送给终端。In this step, after receiving the first request message, the server obtains the specified multimedia resource data corresponding to the triggered specified data, and sends it to the terminal.

例如,终端在播放指定数据和应用广告数据时,这里,假设播放的指定数据为恐怖电影A和外国电影B的名称数据、以及一些关注次数较多的弹幕数据,终端监测到用户点击了恐怖电影A的一个弹幕数据,则向服务器发送第一请求消息,该第一请求消息包括被点击的恐怖电影A的一个弹幕数据;服务器接收到第一请求消息后,获取与被点击的恐怖电影A的弹幕数据对应的相关多媒体资源数据,并将该多媒体资源数据发送给终端。For example, when the terminal is playing specified data and application advertisement data, here, assuming that the specified data to be played is the name data of horror movie A and foreign movie B, and some barrage data with a lot of attention, the terminal detects that the user clicks on the horror movie A barrage data of movie A then sends a first request message to the server, and the first request message includes a barrage data of the clicked horror movie A; after receiving the first request message, the server obtains the clicked horror Related multimedia resource data corresponding to the barrage data of movie A, and sending the multimedia resource data to the terminal.

实际应用中,终端未监测到播放的指定数据被触发时,向服务器发送第二请求消息,其中,第二请求消息包括请求多媒体资源数据的信息;服务器接收到第二请求消息后,获取多媒体资源数据,并发送给终端,这里,多媒体资源数据可以为该多媒体应用的首页多媒体资源数据;终端接收多媒体资源数据,在应用广告数据播放完成后,播放该多媒体资源数据。In practical applications, when the terminal does not detect that the specified data to be played is triggered, it sends a second request message to the server, wherein the second request message includes information requesting multimedia resource data; after receiving the second request message, the server acquires the multimedia resource data, and send it to the terminal. Here, the multimedia resource data may be the multimedia resource data of the homepage of the multimedia application; the terminal receives the multimedia resource data, and plays the multimedia resource data after the application advertisement data is played.

下面对本发明实施例三多媒体资源播放方法的具体实现过程进行说明。The specific implementation process of the method for playing multimedia resources in Embodiment 3 of the present invention will be described below.

图4为本发明实施例三提供的多媒体资源播放方法的具体实现流程示意图,本实施例中,终端与服务器进行交互,终端监测到播放的指定数据被触发;如图4所示,本实施例的多媒体资源播放方法包括以下步骤:FIG. 4 is a schematic diagram of a specific implementation flow of the multimedia resource playback method provided by Embodiment 3 of the present invention. In this embodiment, the terminal interacts with the server, and the terminal monitors that the specified data to be played is triggered; as shown in FIG. 4 , this embodiment The multimedia resource playback method includes the following steps:

步骤401:多媒体应用开启后,生成应用开启消息。Step 401: After the multimedia application is started, an application start message is generated.

实际应用中,用户可以通过终端上的多媒体应用来观看对应的多媒体资源,其中,用户在打开终端上的多媒体应用后,可以对该应用进行触发操作如点击操作,终端在监测到该多媒体应用被触发时,开启该多媒体应用,并生成应用开启消息,该应用开启消息包括用户标识信息、请求指定数据的信息以及请求应用广告数据的信息,并向终端对应的服务器发送该应用开启消息。In practical application, the user can watch the corresponding multimedia resources through the multimedia application on the terminal. After the user opens the multimedia application on the terminal, he can perform a trigger operation such as a click operation on the application. When the terminal detects that the multimedia application is When triggered, start the multimedia application, generate an application start message, the application start message includes user identification information, information for requesting specified data, and information for requesting application advertisement data, and send the application start message to the server corresponding to the terminal.

步骤402:发送应用开启消息。Step 402: Send an application opening message.

步骤403:从应用开启消息中获取用户标识信息,根据用户标识信息获取用户对该多媒体应用的历史操作记录。Step 403: Obtain user identification information from the application opening message, and obtain the user's historical operation records for the multimedia application according to the user identification information.

这里,历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个。Here, the historical operation records include at least one of historical click records, historical sharing records, and historical comment records.

步骤404:根据用户的历史操作记录确定用户关注的内容。Step 404: Determine the content that the user cares about according to the historical operation records of the user.

具体地,在获取用户的历史操作记录后,服务器可以根据用户的历史点击记录中点击率最高,和/或历史分享记录中分享率最高,和/或历史评论记录中评论率最高的多媒体资源数据来确定用户关注的内容。Specifically, after obtaining the user's historical operation records, the server may use the multimedia resource data with the highest click rate in the user's historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest commenting rate in the historical comment records. To determine what the user cares about.

步骤405:根据用户关注的内容确定指定多媒体资源数据。Step 405: Determine specified multimedia resource data according to the content concerned by the user.

具体地,服务器根据所有使用该多媒体应用用户对该用户关注的内容的点击率最高,和/或分享率最高,和/或评论率最高的多媒体资源数据来确定指定多媒体资源数据。Specifically, the server determines the specified multimedia resource data according to the multimedia resource data with the highest click rate, and/or highest share rate, and/or highest comment rate of the content concerned by all users using the multimedia application.

步骤406:获取与指定多媒体资源数据对应的指定数据,其中,指定数据可以包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。Step 406: Obtain specified data corresponding to the specified multimedia resource data, wherein the specified data may include at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

具体地,服务器获取该指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种,将获取到的数据确定为指定数据,其中,关注可以指用户的点赞、收藏等。Specifically, the server obtains the name data in the specified multimedia resource data, the picture data with the largest number of playbacks and/or bullet chats, the bullet chat data with the most attention and/or the highest number of occurrences, the most concerned and/or the most frequent bullet chat data At least one type of comment data, the obtained data is determined as specified data, wherein, attention may refer to likes, favorites, etc. of users.

步骤407:根据用户标识信息获取应用广告数据。Step 407: Obtain application advertisement data according to the user identification information.

步骤408:发送指定数据和应用广告数据。Step 408: Send the specified data and application advertisement data.

步骤409:获取指定数据和应用广告数据。Step 409: Obtain specified data and application advertisement data.

这里,指定数据和应用广告数据可以是从终端本地所获取的,也可以是该终端对应的服务器所发送的。Here, the specified data and the application advertisement data may be acquired locally from the terminal, or may be sent by a server corresponding to the terminal.

步骤410:播放指定数据和应用广告数据。Step 410: Play specified data and application advertisement data.

这里,终端获取到指定数据和应用广告数据后,可以同时播放该指定数据和该应用广告数据。Here, after the terminal acquires the specified data and the application advertisement data, it can simultaneously play the specified data and the application advertisement data.

其中,当指定数据包括指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,终端以滚动条的形式播放所述指定数据;或者,当指定数据为指定多媒体资源数据中的图片数据时,终端以图片切换的形式播放所述指定数据。Wherein, when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data, the terminal plays the specified data in the form of a scroll bar; or, when the specified data is specified multimedia resource data When the picture data in the terminal is displayed, the terminal plays the specified data in the form of picture switching.

这里,同时对指定数据和应用广告数据进行播放,可以采用已有技术实现,故本实施例在此不再赘述。Here, playing the specified data and the application advertisement data at the same time can be realized by using the existing technology, so this embodiment will not repeat it here.

步骤411:监测到播放的指定数据被触发时,生成第一请求消息,第一请求消息包括被触发的所述指定数据的标识信息。Step 411: When it is detected that the specified data to be played is triggered, a first request message is generated, and the first request message includes identification information of the triggered specified data.

具体地,终端在播放指定数据和应用广告数据时,可以对用户的触发操作进行监测,当监测到用户对指定数据执行触发操作如点击操作时,生成第一请求消息,第一请求消息包括被触发的所述指定数据的标识信息,其中,所述指定数据的标识信息可以用于唯一标识所述指定数据,在一个示例中,所述指定数据的标识信息可以为所述指定数据本身。Specifically, when the terminal is playing specified data and application advertisement data, it can monitor the user's trigger operation, and when it detects that the user performs a trigger operation on the specified data, such as a click operation, a first request message is generated, and the first request message includes the The identification information of the specified data that is triggered, wherein the identification information of the specified data may be used to uniquely identify the specified data, and in an example, the identification information of the specified data may be the specified data itself.

步骤412:发送第一请求消息。Step 412: Send a first request message.

终端将生成的第一请求消息发送给服务器。The terminal sends the generated first request message to the server.

步骤413:接收第一请求消息,获取与被触发的指定数据对应的指定多媒体资源数据。Step 413: Receive the first request message, and acquire the specified multimedia resource data corresponding to the triggered specified data.

步骤414:发送指定多媒体资源数据。Step 414: Send the designated multimedia resource data.

服务器将获取的与被触发的指定数据对应的指定多媒体资源数据发送给终端。The server sends the acquired specified multimedia resource data corresponding to the triggered specified data to the terminal.

步骤415:接收指定多媒体资源数据。Step 415: Receive specified multimedia resource data.

步骤416:应用广告数据播放完成后,播放指定多媒体资源数据。Step 416: Play the specified multimedia resource data after the application advertisement data is played.

下面对本发明实施例四多媒体资源播放方法的具体实现过程进行说明。The specific implementation process of the method for playing multimedia resources in Embodiment 4 of the present invention will be described below.

图5为本发明实施例四提供的多媒体资源播放方法的具体实现流程示意图,本实施例中,终端与服务器进行交互,终端未监测到播放的指定数据被触发;如图5所示,本实施例的多媒体资源播放方法包括以下步骤:FIG. 5 is a schematic diagram of a specific implementation process of the multimedia resource playback method provided by Embodiment 4 of the present invention. In this embodiment, the terminal interacts with the server, and the terminal does not detect that the specified data to be played is triggered; as shown in FIG. 5 , this implementation The multimedia resource playing method of example comprises the following steps:

步骤501:多媒体应用开启后,生成应用开启消息。Step 501: After the multimedia application is started, an application start message is generated.

实际应用中,用户可以通过终端上的多媒体应用来观看对应的多媒体资源,其中,用户在打开终端上的多媒体应用后,可以对该应用进行触发操作如点击操作,终端在监测到该多媒体应用被触发时,开启该多媒体应用,并生成应用开启消息,该应用开启消息包括用户标识信息、请求指定数据的信息以及请求应用广告数据的信息,并向终端对应的服务器发送该应用开启消息。In practical application, the user can watch the corresponding multimedia resources through the multimedia application on the terminal. After the user opens the multimedia application on the terminal, he can perform a trigger operation such as a click operation on the application. When the terminal detects that the multimedia application is When triggered, start the multimedia application, generate an application start message, the application start message includes user identification information, information for requesting specified data, and information for requesting application advertisement data, and send the application start message to the server corresponding to the terminal.

步骤502:发送应用开启消息。Step 502: Send an application opening message.

步骤503:从应用开启消息中获取用户标识信息,根据用户标识信息获取用户对该多媒体应用的历史操作记录。Step 503: Obtain user identification information from the application opening message, and obtain the user's historical operation records for the multimedia application according to the user identification information.

这里,历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个。Here, the historical operation records include at least one of historical click records, historical sharing records, and historical comment records.

步骤504:根据用户的历史操作记录确定用户关注的内容。Step 504: Determine the content that the user cares about according to the historical operation records of the user.

具体地,在获取用户的历史操作记录后,服务器可以根据用户的历史点击记录中点击率最高,和/或历史分享记录中分享率最高,和/或历史评论记录中评论率最高的多媒体资源数据来确定用户关注的内容。Specifically, after obtaining the user's historical operation records, the server may use the multimedia resource data with the highest click rate in the user's historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest commenting rate in the historical comment records. To determine what the user cares about.

步骤505:根据用户关注的内容确定指定多媒体资源数据。Step 505: Determine specified multimedia resource data according to the content concerned by the user.

具体地,服务器根据所有使用该多媒体应用用户对该用户关注的内容的点击率最高,和/或分享率最高,和/或评论率最高的多媒体资源数据来确定指定多媒体资源数据。Specifically, the server determines the specified multimedia resource data according to the multimedia resource data with the highest click rate, and/or highest share rate, and/or highest comment rate of the content concerned by all users using the multimedia application.

步骤506:获取与指定多媒体资源数据对应的指定数据,其中,指定数据可以包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。Step 506: Obtain specified data corresponding to the specified multimedia resource data, wherein the specified data may include at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

具体地,服务器获取该指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种,将获取到的数据确定为指定数据,其中,关注可以指用户的点赞、收藏等。Specifically, the server obtains the name data in the specified multimedia resource data, the picture data with the largest number of playbacks and/or bullet chats, the bullet chat data with the most attention and/or the highest number of occurrences, the most concerned and/or the most frequent bullet chat data At least one type of comment data, the obtained data is determined as specified data, wherein, attention may refer to likes, favorites, etc. of users.

步骤507:根据用户标识信息获取应用广告数据。Step 507: Obtain application advertisement data according to the user identification information.

步骤508:将获取的指定数据和应用广告数据发送给终端。Step 508: Send the obtained specified data and application advertisement data to the terminal.

步骤509:获取指定数据和应用广告数据。Step 509: Obtain specified data and application advertisement data.

这里,指定数据和应用广告数据可以是从终端本地所获取的,也可以是该终端对应的服务器所发送的。Here, the specified data and the application advertisement data may be acquired locally from the terminal, or may be sent by a server corresponding to the terminal.

步骤510:播放指定数据和应用广告数据。Step 510: Play specified data and application advertisement data.

这里,终端获取到指定数据和应用广告数据后,可以同时播放该指定数据和该应用广告数据。Here, after the terminal acquires the specified data and the application advertisement data, it can simultaneously play the specified data and the application advertisement data.

其中,当指定数据包括指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,终端以滚动条的形式播放所述指定数据;或者,当指定数据为指定多媒体资源数据中的图片数据时,终端以图片切换的形式播放所述指定数据。Wherein, when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data, the terminal plays the specified data in the form of a scroll bar; or, when the specified data is specified multimedia resource data When the picture data in the terminal is displayed, the terminal plays the specified data in the form of picture switching.

这里,同时对指定数据和应用广告数据进行播放,可以采用已有技术实现,故本实施例在此不再赘述。Here, playing the specified data and the application advertisement data at the same time can be realized by using the existing technology, so this embodiment will not repeat it here.

步骤511:未监测到播放的指定数据被触发时,生成第二请求消息,第二请求消息包括请求多媒体资源数据的信息。Step 511: When it is not detected that the specified data to be played is triggered, a second request message is generated, and the second request message includes information for requesting multimedia resource data.

具体地,终端未监测到播放的指定数据被触发时,生成第二请求消息,其中,第二请求消息包括请求多媒体资源数据的信息。Specifically, when the terminal does not detect that the specified data to be played is triggered, it generates a second request message, where the second request message includes information for requesting multimedia resource data.

步骤512:发送第二请求消息。Step 512: Send a second request message.

终端将生成的第二请求消息发送给服务器。The terminal sends the generated second request message to the server.

步骤513:接收第二请求消息,获取多媒体资源数据。Step 513: Receive the second request message, and acquire multimedia resource data.

服务器接收到第二请求消息后,获取多媒体资源数据,这里,多媒体资源数据可以为该多媒体应用的首页多媒体资源数据。After receiving the second request message, the server acquires the multimedia resource data. Here, the multimedia resource data may be the homepage multimedia resource data of the multimedia application.

步骤514:发送多媒体资源数据。Step 514: Send multimedia resource data.

服务器将获取的多媒体资源数据发送给终端。The server sends the acquired multimedia resource data to the terminal.

步骤515:接收多媒体资源数据。Step 515: Receive multimedia resource data.

步骤516:应用广告数据播放完成后,播放多媒体资源数据。Step 516: Play the multimedia resource data after the application advertisement data is played.

为实现上述方法,本发明实施例五还提供了一种多媒体资源播放装置,如图6所示,所述装置应用于终端,所述终端与服务器相连,所述装置包括:获取模块601、播放模块602、第一监测模块603、接收模块604;其中,In order to implement the above method, Embodiment 5 of the present invention also provides a device for playing multimedia resources. As shown in FIG. 6 , the device is applied to a terminal, and the terminal is connected to a server. Module 602, first monitoring module 603, receiving module 604; wherein,

所述获取模块601,用于多媒体应用开启后,获取指定数据和应用广告数据。The acquiring module 601 is configured to acquire specified data and application advertisement data after the multimedia application is started.

这里,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。Here, the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

所述播放模块602,用于播放所述指定数据和所述应用广告数据。The playing module 602 is configured to play the specified data and the application advertisement data.

其中,所述播放模块602,具体用于在所述指定数据包括所述指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,以滚动条的形式播放所述指定数据;或者,Wherein, the playing module 602 is specifically configured to play the specified data in the form of a scroll bar when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data. data; or,

在所述指定数据为所述指定多媒体资源数据中的图片数据时,以图片切换的形式播放所述指定数据。When the specified data is picture data in the specified multimedia resource data, the specified data is played in the form of picture switching.

所述第一监测模块603,用于监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息。The first monitoring module 603 is configured to send a first request message to the server when it detects that the specified data to be played is triggered, and the first request message includes identification information of the triggered specified data.

所述接收模块604,用于接收与被触发的所述指定数据对应的指定多媒体资源数据。The receiving module 604 is configured to receive specified multimedia resource data corresponding to the triggered specified data.

所述播放模块602,还用于所述应用广告数据播放完成后,播放所述指定多媒体资源数据。The playing module 602 is further configured to play the designated multimedia resource data after the application advertisement data is played.

所述装置还包括第二监测模块605、开启模块606;其中,The device also includes a second monitoring module 605 and an opening module 606; wherein,

所述第二监测模块605,用于监测到所述多媒体应用被触发时,触发所述开启模块。The second monitoring module 605 is configured to trigger the enabling module when detecting that the multimedia application is triggered.

所述开启模块606,用于开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。The opening module 606 is configured to open the multimedia application and generate an application opening message, wherein the application opening message includes user identification information, information requesting the specified data, and information requesting the application advertisement data.

所述第一监测模块603,还用于未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息。The first monitoring module 603 is further configured to send a second request message to the server when it is not detected that the specified data to be played is triggered, wherein the second request message includes information about requesting multimedia resource data.

所述接收模块604,还用于接收所述多媒体资源数据。The receiving module 604 is further configured to receive the multimedia resource data.

所述播放模块602,还用于所述应用广告数据播放完成后,播放所述多媒体资源数据。The playing module 602 is further configured to play the multimedia resource data after the application advertisement data is played.

在实际应用中,所述获取模块601、播放模块602、第一监测模块603、接收模块604、第二监测模块605、开启模块606均可由位于终端上的中央处理器(CPU,CentralProcessing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,Digital Signal Processor)、或现场可编程门阵列(FPGA,Field Programmable GateArray)等实现。In practical applications, the acquiring module 601, the playing module 602, the first monitoring module 603, the receiving module 604, the second monitoring module 605, and the opening module 606 can all be controlled by a central processing unit (CPU, Central Processing Unit) located on the terminal, Implementations such as a microprocessor (MPU, Micro Processor Unit), a digital signal processor (DSP, Digital Signal Processor), or a field programmable gate array (FPGA, Field Programmable GateArray).

需要说明的是:上述实施例提供的多媒体资源播放装置在进行多媒体资源播放时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的多媒体资源播放装置与多媒体资源播放方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the multimedia resource playing device provided in the above-mentioned embodiments plays multimedia resources, the division of the above-mentioned program modules is used as an example for illustration. In practical applications, the above-mentioned processing can be allocated to different program modules according to needs. Completion means that the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device for playing multimedia resources provided by the above-mentioned embodiments belongs to the same idea as the embodiment of the method for playing multimedia resources. For the specific implementation process, refer to the method embodiment for details, and will not be repeated here.

为实现上述方法,本发明实施例还提供了另一种多媒体资源播放装置,应用于终端侧,该装置包括存储器、处理器及存储在存储器上并能够由所述处理器运行的可执行程序,所述处理器运行所述可执行程序时,执行以下操作:In order to implement the above method, the embodiment of the present invention also provides another multimedia resource playing device, which is applied to the terminal side, and the device includes a memory, a processor, and an executable program stored on the memory and capable of being run by the processor, When the processor runs the executable program, the following operations are performed:

多媒体应用开启后,获取指定数据和应用广告数据;After the multimedia application is opened, the specified data and application advertisement data are obtained;

播放所述指定数据和所述应用广告数据;playing the specified data and the application advertisement data;

监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;When it is detected that the specified data to be played is triggered, send a first request message to the server, where the first request message includes identification information of the triggered specified data;

接收与被触发的所述指定数据对应的指定多媒体资源数据;receiving specified multimedia resource data corresponding to the triggered specified data;

所述应用广告数据播放完成后,播放所述指定多媒体资源数据。After the application advertisement data is played, the specified multimedia resource data is played.

所述处理器还用于运行所述可执行程序时,执行以下操作:The processor is also configured to perform the following operations when running the executable program:

监测到所述多媒体应用被触发时,开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。When it is detected that the multimedia application is triggered, start the multimedia application and generate an application start message, wherein the application start message includes user identification information, information requesting the specified data, and information requesting the application advertisement data .

所述处理器还用于运行所述可执行程序时,执行以下操作:The processor is also configured to perform the following operations when running the executable program:

未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;When it is not detected that the specified data being played is triggered, a second request message is sent to the server, wherein the second request message includes information requesting multimedia resource data;

接收所述多媒体资源数据;receiving the multimedia resource data;

所述应用广告数据播放完成后,播放所述多媒体资源数据。After the application advertisement data is played, the multimedia resource data is played.

下面以多媒体资源播放装置实施为用于多媒体资源播放的终端为例,对该多媒体资源播放装置的硬件结构做进一步说明。The hardware structure of the multimedia resource playing device will be further described below by taking the multimedia resource playing device implemented as a terminal for multimedia resource playing as an example.

图7给出了本发明实施例的多媒体资源播放装置的硬件结构示意图,应用于终端侧,图7所示的多媒体资源播放装置700包括:至少一个处理器701、存储器702、用户接口703和至少一个网络接口704。所述多媒体资源播放装置700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。FIG. 7 shows a schematic diagram of the hardware structure of a multimedia resource playing device according to an embodiment of the present invention, which is applied to the terminal side. The multimedia resource playing device 700 shown in FIG. 7 includes: at least one processor 701, a memory 702, a user interface 703 and at least one A network interface 704. Various components in the multimedia resource playing device 700 are coupled together through a bus system 705 . It can be understood that the bus system 705 is used to realize connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .

其中,用户接口703可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。Wherein, the user interface 703 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel or a touch screen, and the like.

可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。It can be understood that the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.

本发明实施例中的存储器702用于存储各种类型的数据以支持多媒体资源播放装置700的操作。这些数据的示例包括:用于在多媒体资源播放装置700上操作的任何计算机程序,如可执行程序7021,实现本发明实施例方法的程序可以包含在可执行程序7021中。The memory 702 in the embodiment of the present invention is used to store various types of data to support the operation of the multimedia resource playing apparatus 700 . Examples of these data include: any computer program for operating on the multimedia resource playing device 700 , such as an executable program 7021 , and the program for implementing the method of the embodiment of the present invention may be included in the executable program 7021 .

上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The aforementioned processor 701 may be a general processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 701 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 702. The processor 701 reads the information in the memory 702, and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,本发明实施例还提供了一种存储介质,应用于终端侧,该存储介质上存储有可执行程序,所述可执行程序被多媒体资源播放装置700的处理器701运行时,执行以下操作:In an exemplary embodiment, the embodiment of the present invention also provides a storage medium, which is applied to the terminal side, and an executable program is stored on the storage medium, and the executable program is run by the processor 701 of the multimedia resource playback device 700 , do the following:

多媒体应用开启后,获取指定数据和应用广告数据;After the multimedia application is opened, the specified data and application advertisement data are obtained;

播放所述指定数据和所述应用广告数据;playing the specified data and the application advertisement data;

监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;When it is detected that the specified data to be played is triggered, send a first request message to the server, where the first request message includes identification information of the triggered specified data;

接收与被触发的所述指定数据对应的指定多媒体资源数据;receiving specified multimedia resource data corresponding to the triggered specified data;

所述应用广告数据播放完成后,播放所述指定多媒体资源数据。After the application advertisement data is played, the specified multimedia resource data is played.

所述可执行程序被多媒体资源播放装置700的处理器701运行时,还执行以下操作:When the executable program is run by the processor 701 of the multimedia resource playing device 700, the following operations are also performed:

监测到所述多媒体应用被触发时,开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。When it is detected that the multimedia application is triggered, start the multimedia application and generate an application start message, wherein the application start message includes user identification information, information requesting the specified data, and information requesting the application advertisement data .

所述可执行程序被多媒体资源播放装置700的处理器701运行时,还执行以下操作:When the executable program is run by the processor 701 of the multimedia resource playing device 700, the following operations are also performed:

未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;When it is not detected that the specified data being played is triggered, a second request message is sent to the server, wherein the second request message includes information requesting multimedia resource data;

接收所述多媒体资源数据;receiving the multimedia resource data;

所述应用广告数据播放完成后,播放所述多媒体资源数据。After the application advertisement data is played, the multimedia resource data is played.

为实现上述方法,本发明实施例七还提供了一种多媒体资源播放装置,如图8所示,所述装置应用于服务器,所述服务器与终端相连,所述装置包括:第一接收模块801、第一获取模块802、发送模块803、第二接收模块804和第二获取模块805;其中,In order to implement the above method, Embodiment 7 of the present invention also provides a device for playing multimedia resources. As shown in FIG. 8 , the device is applied to a server, and the server is connected to a terminal. , the first acquiring module 802, the sending module 803, the second receiving module 804 and the second acquiring module 805; wherein,

所述第一接收模块801,用于接收所述终端在多媒体应用开启后发送的用户标识信息。The first receiving module 801 is configured to receive user identification information sent by the terminal after the multimedia application is started.

所述第一获取模块802,用于根据所述用户标识信息获取指定数据和应用广告数据。The first obtaining module 802 is configured to obtain specified data and application advertisement data according to the user identification information.

这里,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。Here, the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.

所述第一获取模块802具体用于:根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;根据所述历史操作记录确定指定多媒体资源数据;获取与所述指定多媒体资源数据对应的所述指定数据。The first acquiring module 802 is specifically configured to: acquire the historical operation record of the user on the multimedia application according to the user identification information; determine the specified multimedia resource data according to the historical operation record; acquire the specified multimedia resource data; Data corresponding to the specified data.

这里,所述历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;Here, the historical operation records include at least one of historical click records, historical sharing records, and historical comment records;

所述第一获取模块802具体用于:确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The first acquisition module 802 is specifically configured to: determine the multimedia resource with the highest click rate in the historical click records, and/or the highest sharing rate in the historical share records, and/or the highest comment rate in the historical comment records data; determining the specified multimedia resource data based on the determined multimedia resource data.

所述第一获取模块802具体用于:获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。The first acquiring module 802 is specifically used to: acquire name data, image data with the largest number of plays and/or bullet chats in the specified multimedia resource data, bullet chat data with the most attention and/or appearance times, attention At least one of the most and/or most frequently occurring comment data.

所述发送模块803,用于将所述指定数据和所述应用广告数据发送给所述终端。The sending module 803 is configured to send the designated data and the application advertisement data to the terminal.

所述第二接收模块804,用于接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息。The second receiving module 804 is configured to receive a first request message sent by the terminal when it detects that the specified data to be played is triggered, the first request message includes identification information of the triggered specified data .

所述第二获取模块805,用于获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端。The second obtaining module 805 is configured to obtain designated multimedia resource data corresponding to the triggered designated data, and send the data to the terminal.

所述第二接收模块805,还用于接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息。The second receiving module 805 is further configured to receive a second request message sent by the terminal when the specified data that is not monitored to be played is triggered, wherein the second request message includes information requesting multimedia resource data .

所述第二获取模块805,还用于获取所述多媒体资源数据,并发送给所述终端。The second acquiring module 805 is further configured to acquire the multimedia resource data and send it to the terminal.

在实际应用中,所述第一接收模块801、第一获取模块802、发送模块803、第二接收模块804和第二获取模块805均可由位于服务器上的CPU、MPU、DSP、或FPGA等实现。In practical applications, the first receiving module 801, the first obtaining module 802, the sending module 803, the second receiving module 804 and the second obtaining module 805 can all be implemented by CPU, MPU, DSP, or FPGA etc. located on the server .

需要说明的是:上述实施例提供的多媒体资源播放装置在进行多媒体资源播放时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的多媒体资源播放装置与多媒体资源播放方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the multimedia resource playing device provided in the above-mentioned embodiments plays multimedia resources, the division of the above-mentioned program modules is used as an example for illustration. In practical applications, the above-mentioned processing can be allocated to different program modules according to needs. Completion means that the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the device for playing multimedia resources provided by the above-mentioned embodiments belongs to the same idea as the embodiment of the method for playing multimedia resources. For the specific implementation process, refer to the method embodiment for details, and will not be repeated here.

为实现上述方法,本发明实施例还提供了另一种多媒体资源播放装置,应用于服务器侧,该装置包括存储器、处理器及存储在存储器上并能够由所述处理器运行的可执行程序,所述处理器运行所述可执行程序时,执行以下操作:In order to implement the above method, the embodiment of the present invention also provides another multimedia resource playing device, which is applied to the server side, and the device includes a memory, a processor, and an executable program stored on the memory and capable of being run by the processor, When the processor runs the executable program, the following operations are performed:

接收终端在多媒体应用开启后发送的用户标识信息;receiving the user identification information sent by the terminal after the multimedia application is started;

根据所述用户标识信息获取指定数据和应用广告数据;Obtain specified data and application advertisement data according to the user identification information;

将所述指定数据和所述应用广告数据发送给所述终端;sending the specified data and the application advertisement data to the terminal;

接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;receiving a first request message sent by the terminal when monitoring that the specified data played is triggered, where the first request message includes identification information of the triggered specified data;

获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端。Acquiring specified multimedia resource data corresponding to the triggered specified data, and sending it to the terminal.

所述处理器还用于运行所述可执行程序时,执行以下操作:The processor is also configured to perform the following operations when running the executable program:

根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;Obtain historical operation records of the user on the multimedia application according to the user identification information;

根据所述历史操作记录确定指定多媒体资源数据;Determine specified multimedia resource data according to the historical operation record;

获取与所述指定多媒体资源数据对应的所述指定数据。Acquiring the specified data corresponding to the specified multimedia resource data.

所述处理器还用于运行所述可执行程序时,执行以下操作:The processor is also configured to perform the following operations when running the executable program:

确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;Determine the multimedia resource data with the highest click rate in the historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest comment rate in the historical comment records;

基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The specified multimedia resource data is determined based on the determined multimedia resource data.

所述处理器还用于运行所述可执行程序时,执行以下操作:The processor is also configured to perform the following operations when running the executable program:

获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。Obtain the name data, image data with the largest number of playbacks and/or barrages, barrage data with the most attention and/or appearances, and comment data with the most attention and/or appearances in the specified multimedia resource data at least one of .

所述处理器还用于运行所述可执行程序时,执行以下操作:The processor is also configured to perform the following operations when running the executable program:

接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;receiving a second request message sent by the terminal when it is not monitored that the specified data to be played is triggered, where the second request message includes information requesting multimedia resource data;

获取所述多媒体资源数据,并发送给所述终端。Obtain the multimedia resource data and send it to the terminal.

下面以多媒体资源播放装置实施为用于多媒体资源播放的服务器为例,对该多媒体资源播放装置的硬件结构做进一步说明。The hardware structure of the multimedia resource playing device will be further described below by taking the multimedia resource playing device implemented as a server for multimedia resource playing as an example.

图9给出了本发明实施例的多媒体资源播放装置的硬件结构示意图,应用于服务器侧,图9所示的多媒体资源播放装置900包括:至少一个处理器901、存储器902和至少一个网络接口903。所述多媒体资源播放装置900中的各个组件通过总线系统904耦合在一起。可理解,总线系统904用于实现这些组件之间的连接通信。总线系统904除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统904。FIG. 9 shows a schematic diagram of the hardware structure of a multimedia resource playing device according to an embodiment of the present invention, which is applied to the server side. The multimedia resource playing device 900 shown in FIG. 9 includes: at least one processor 901, a memory 902 and at least one network interface 903 . Various components in the multimedia resource playing apparatus 900 are coupled together through a bus system 904 . It can be understood that the bus system 904 is used to realize connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 904 in FIG. 9 .

可以理解,存储器902可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。It can be understood that the memory 902 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.

本发明实施例中的存储器902用于存储各种类型的数据以支持多媒体资源播放装置900的操作。这些数据的示例包括:用于在多媒体资源播放装置900上操作的任何计算机程序,如可执行程序9021,实现本发明实施例方法的程序可以包含在可执行程序9021中。The memory 902 in the embodiment of the present invention is used to store various types of data to support the operation of the multimedia resource playing apparatus 900 . Examples of these data include: any computer program for operating on the multimedia resource playing device 900 , such as an executable program 9021 , and the program for implementing the method of the embodiment of the present invention may be included in the executable program 9021 .

上述本发明实施例揭示的方法可以应用于处理器901中,或者由处理器901实现。处理器901可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器901中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器901可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器901可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器902,处理器901读取存储器902中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 901 or implemented by the processor 901 . The processor 901 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 901 or instructions in the form of software. The aforementioned processor 901 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 901 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, the storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,本发明实施例还提供了一种存储介质,应用于服务器侧,该存储介质上存储有可执行程序,所述可执行程序被多媒体资源播放装置900的处理器901运行时,执行以下操作:In an exemplary embodiment, the embodiment of the present invention also provides a storage medium, which is applied to the server side, and an executable program is stored on the storage medium, and the executable program is run by the processor 901 of the multimedia resource playback device 900 , do the following:

接收终端在多媒体应用开启后发送的用户标识信息;receiving the user identification information sent by the terminal after the multimedia application is started;

根据所述用户标识信息获取指定数据和应用广告数据;Obtain specified data and application advertisement data according to the user identification information;

将所述指定数据和所述应用广告数据发送给所述终端;sending the specified data and the application advertisement data to the terminal;

接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;receiving a first request message sent by the terminal when monitoring that the specified data played is triggered, where the first request message includes identification information of the triggered specified data;

获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端。Acquiring specified multimedia resource data corresponding to the triggered specified data, and sending it to the terminal.

所述可执行程序被多媒体资源播放装置900的处理器901运行时,还执行以下操作:When the executable program is run by the processor 901 of the multimedia resource playing device 900, the following operations are also performed:

根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;Obtain historical operation records of the user on the multimedia application according to the user identification information;

根据所述历史操作记录确定指定多媒体资源数据;Determine specified multimedia resource data according to the historical operation record;

获取与所述指定多媒体资源数据对应的所述指定数据。Acquiring the specified data corresponding to the specified multimedia resource data.

所述可执行程序被多媒体资源播放装置900的处理器901运行时,还执行以下操作:When the executable program is run by the processor 901 of the multimedia resource playing device 900, the following operations are also performed:

确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;Determine the multimedia resource data with the highest click rate in the historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest comment rate in the historical comment records;

基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The specified multimedia resource data is determined based on the determined multimedia resource data.

所述可执行程序被多媒体资源播放装置900的处理器901运行时,还执行以下操作:When the executable program is run by the processor 901 of the multimedia resource playing device 900, the following operations are also performed:

获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。Obtain the name data, image data with the largest number of playbacks and/or barrages, barrage data with the most attention and/or appearances, and comment data with the most attention and/or appearances in the specified multimedia resource data at least one of .

所述可执行程序被多媒体资源播放装置900的处理器901运行时,还执行以下操作:When the executable program is run by the processor 901 of the multimedia resource playing device 900, the following operations are also performed:

接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;receiving a second request message sent by the terminal when it is not monitored that the specified data to be played is triggered, where the second request message includes information requesting multimedia resource data;

获取所述多媒体资源数据,并发送给所述终端。Obtain the multimedia resource data and send it to the terminal.

本发明实施例所提供的多媒体资源播放方法、装置及存储介质,多媒体应用开启后,获取指定数据和应用广告数据;播放所述指定数据和所述应用广告数据;监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;接收与被触发的所述指定数据对应的指定多媒体资源数据;所述应用广告数据播放完成后,播放所述指定多媒体资源数据。如此,能够提高用户对多媒体资源的选择效率,进而提升用户体验。In the multimedia resource playing method, device and storage medium provided by the embodiments of the present invention, after the multimedia application is started, specified data and application advertisement data are acquired; the specified data and the application advertisement data are played; the specified data played is monitored When triggered, send a first request message to the server, where the first request message includes the identification information of the triggered specified data; receive specified multimedia resource data corresponding to the triggered specified data; the After the application advertisement data is played, the specified multimedia resource data is played. In this way, the user's selection efficiency of multimedia resources can be improved, thereby improving user experience.

进一步的,广告播放的同时通过滚动条的形式或图片切换的形式播放指定数据,这样,用户可以在广告播放时间进行指定数据的选择,从而缩短了用户的选择时间。Further, when the advertisement is played, the specified data is played in the form of a scroll bar or in the form of picture switching, so that the user can select the specified data during the advertisement playing time, thereby shortening the user's selection time.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或可执行程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的可执行程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or executable program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of an executable program product embodied on one or more computer-usable storage media (including but not limited to magnetic disk storage, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和可执行程序产品的流程图和/或方框图来描述的。应理解可由可执行程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些可执行程序指令到通用计算机、专用计算机、嵌入式处理机或参考可编程数据处理设备的处理器以产生一个机器,使得通过计算机或参考可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and executable program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by executable program instructions. These executable program instructions can be provided to a general purpose computer, special purpose computer, embedded processor or processor of a reference programmable data processing device to produce a machine such that the instructions executed by the computer or a processor of a reference programmable data processing device produce Means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些可执行程序指令也可存储在能引导计算机或参考可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These executable program instructions may also be stored in a computer-readable memory capable of directing a computer or reference programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些可执行程序指令也可装载到计算机或参考可编程数据处理设备上,使得在计算机或参考可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或参考可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These executable program instructions can also be loaded onto a computer or reference programmable data processing device, causing a series of operational steps to be performed on the computer or reference programmable device to produce a computer-implemented process for execution on the computer or reference programmable device The instructions provide steps for implementing the functions specified in the procedure or procedures of the flowchart and/or the block or blocks of the block diagram.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention, and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the within the protection scope of the present invention.

Claims (26)

Translated fromChinese
1.一种多媒体资源播放方法,其特征在于,应用于终端,所述终端与服务器相连,所述方法包括:1. A method for playing multimedia resources, characterized in that it is applied to a terminal, and the terminal is connected to a server, and the method comprises:多媒体应用开启后,获取指定数据和应用广告数据;After the multimedia application is opened, the specified data and application advertisement data are obtained;播放所述指定数据和所述应用广告数据;playing the specified data and the application advertisement data;监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;When it is detected that the specified data to be played is triggered, send a first request message to the server, where the first request message includes identification information of the triggered specified data;接收与被触发的所述指定数据对应的指定多媒体资源数据;receiving specified multimedia resource data corresponding to the triggered specified data;所述应用广告数据播放完成后,播放所述指定多媒体资源数据。After the application advertisement data is played, the specified multimedia resource data is played.2.根据权利要求1所述的方法,其特征在于,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。2. The method according to claim 1, wherein the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.3.根据权利要求2所述的方法,其特征在于,所述指定数据包括所述指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,所述播放所述指定数据包括以滚动条的形式播放所述指定数据;或者,3. The method according to claim 2, wherein when the specified data includes at least one of name data, barrage data, and comment data in the specified multimedia resource data, the specified The data includes playing the specified data in the form of a scroll bar; or,所述指定数据为所述指定多媒体资源数据中的图片数据时,所述播放所述指定数据包括以图片切换的形式播放所述指定数据。When the specified data is picture data in the specified multimedia resource data, the playing the specified data includes playing the specified data in a form of picture switching.4.根据权利要求1所述的方法,其特征在于,在所述多媒体应用开启之前,所述方法还包括:4. The method according to claim 1, wherein before the multimedia application is started, the method further comprises:监测到所述多媒体应用被触发时,开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。When it is detected that the multimedia application is triggered, start the multimedia application and generate an application start message, wherein the application start message includes user identification information, information requesting the specified data, and information requesting the application advertisement data .5.根据权利要求1所述的方法,其特征在于,所述播放所述指定数据和所述应用广告数据之后,所述方法还包括:5. The method according to claim 1, characterized in that, after playing the specified data and the application advertisement data, the method further comprises:未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;When it is not detected that the specified data being played is triggered, a second request message is sent to the server, wherein the second request message includes information requesting multimedia resource data;接收所述多媒体资源数据;receiving the multimedia resource data;所述应用广告数据播放完成后,播放所述多媒体资源数据。After the application advertisement data is played, the multimedia resource data is played.6.一种多媒体资源播放方法,其特征在于,应用于服务器,所述服务器与终端相连,所述方法包括:6. A method for playing multimedia resources, characterized in that it is applied to a server, the server is connected to a terminal, and the method comprises:接收所述终端在多媒体应用开启后发送的用户标识信息;receiving user identification information sent by the terminal after the multimedia application is started;根据所述用户标识信息获取指定数据和应用广告数据;Obtain specified data and application advertisement data according to the user identification information;将所述指定数据和所述应用广告数据发送给所述终端,以使所述终端同时播放所述指定数据和所述应用广告数据;sending the specified data and the application advertisement data to the terminal, so that the terminal simultaneously plays the specified data and the application advertisement data;接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;receiving a first request message sent by the terminal when monitoring that the specified data played is triggered, where the first request message includes identification information of the triggered specified data;获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端,以使所述终端在所述应用广告数据播放完成后,播放所述指定多媒体资源数据。The specified multimedia resource data corresponding to the triggered specified data is acquired and sent to the terminal, so that the terminal plays the specified multimedia resource data after the application advertisement data is played.7.根据权利要求6所述的方法,其特征在于,所述根据所述用户标识信息获取指定数据包括:7. The method according to claim 6, wherein said obtaining specified data according to said user identification information comprises:根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;Obtain historical operation records of the user on the multimedia application according to the user identification information;根据所述历史操作记录确定指定多媒体资源数据;Determine specified multimedia resource data according to the historical operation record;获取与所述指定多媒体资源数据对应的所述指定数据。Acquiring the specified data corresponding to the specified multimedia resource data.8.根据权利要求6或7所述的方法,其特征在于,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。8. The method according to claim 6 or 7, wherein the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.9.根据权利要求7所述的方法,其特征在于,所述历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;9. The method according to claim 7, wherein the historical operation records include at least one of historical click records, historical sharing records, and historical comment records;所述根据所述历史操作记录确定指定多媒体资源数据包括:The determining the specified multimedia resource data according to the historical operation record includes:确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;Determine the multimedia resource data with the highest click rate in the historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest comment rate in the historical comment records;基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The specified multimedia resource data is determined based on the determined multimedia resource data.10.根据权利要求8所述的方法,其特征在于,所述获取与所述指定多媒体资源数据对应的所述指定数据包括:10. The method according to claim 8, wherein said obtaining the specified data corresponding to the specified multimedia resource data comprises:获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。Obtain the name data, image data with the largest number of playbacks and/or barrages, barrage data with the most attention and/or appearances, and comment data with the most attention and/or appearances in the specified multimedia resource data at least one of .11.根据权利要求6所述的方法,其特征在于,所述将所述指定数据和所述应用广告数据发送给所述终端之后,所述方法还包括:11. The method according to claim 6, wherein after the specified data and the application advertisement data are sent to the terminal, the method further comprises:接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;receiving a second request message sent by the terminal when it is not monitored that the specified data to be played is triggered, where the second request message includes information requesting multimedia resource data;获取所述多媒体资源数据,并发送给所述终端。Obtain the multimedia resource data and send it to the terminal.12.一种多媒体资源播放装置,其特征在于,应用于终端,所述终端与服务器相连,所述装置包括:获取模块、播放模块、第一监测模块、接收模块;其中,12. A multimedia resource playback device, characterized in that it is applied to a terminal, the terminal is connected to a server, and the device includes: an acquisition module, a playback module, a first monitoring module, and a receiving module; wherein,所述获取模块,用于多媒体应用开启后,获取指定数据和应用广告数据;The obtaining module is used to obtain specified data and application advertisement data after the multimedia application is started;所述播放模块,用于播放所述指定数据和所述应用广告数据;The playing module is used to play the specified data and the application advertisement data;所述第一监测模块,用于监测到播放的所述指定数据被触发时,向所述服务器发送第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;The first monitoring module is configured to send a first request message to the server when it detects that the specified data to be played is triggered, and the first request message includes identification information of the triggered specified data;所述接收模块,用于接收与被触发的所述指定数据对应的指定多媒体资源数据;The receiving module is configured to receive specified multimedia resource data corresponding to the triggered specified data;所述播放模块,还用于所述应用广告数据播放完成后,播放所述指定多媒体资源数据。The playing module is further configured to play the specified multimedia resource data after the application advertisement data is played.13.根据权利要求12所述的装置,其特征在于,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。13. The device according to claim 12, wherein the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.14.根据权利要求13所述的装置,其特征在于,所述播放模块,具体用于在所述指定数据包括所述指定多媒体资源数据中的名称数据、弹幕数据、评论数据中的至少一种时,以滚动条的形式播放所述指定数据;或者,14. The device according to claim 13, wherein the playing module is specifically configured to include at least one of name data, barrage data, and comment data in the specified multimedia resource data in the specified data. In this case, play the specified data in the form of a scroll bar; or,在所述指定数据为所述指定多媒体资源数据中的图片数据时,以图片切换的形式播放所述指定数据。When the specified data is picture data in the specified multimedia resource data, the specified data is played in the form of picture switching.15.根据权利要求12所述的装置,其特征在于,所述装置还包括第二监测模块、开启模块;其中,15. The device according to claim 12, further comprising a second monitoring module and an opening module; wherein,所述第二监测模块,用于监测到所述多媒体应用被触发时,触发所述开启模块;The second monitoring module is configured to trigger the opening module when it detects that the multimedia application is triggered;所述开启模块,用于开启所述多媒体应用,并生成应用开启消息,其中,所述应用开启消息包括用户标识信息、请求所述指定数据的信息以及请求所述应用广告数据的信息。The opening module is configured to open the multimedia application and generate an application opening message, wherein the application opening message includes user identification information, information requesting the specified data, and information requesting the application advertisement data.16.根据权利要求12所述的装置,其特征在于,所述第一监测模块,还用于未监测到播放的所述指定数据被触发时,向所述服务器发送第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;16. The device according to claim 12, wherein the first monitoring module is further configured to send a second request message to the server when it is not monitored that the specified data to be played is triggered, wherein, The second request message includes information requesting multimedia resource data;所述接收模块,还用于接收所述多媒体资源数据;The receiving module is also used to receive the multimedia resource data;所述播放模块,还用于所述应用广告数据播放完成后,播放所述多媒体资源数据。The playing module is further configured to play the multimedia resource data after the application advertisement data is played.17.一种多媒体资源播放装置,其特征在于,应用于服务器,所述服务器与终端相连,所述装置包括:第一接收模块、第一获取模块、发送模块、第二接收模块和第二获取模块;其中,17. A multimedia resource playing device, characterized in that it is applied to a server, the server is connected to a terminal, and the device includes: a first receiving module, a first acquiring module, a sending module, a second receiving module and a second acquiring module module; among them,所述第一接收模块,用于接收所述终端在多媒体应用开启后发送的用户标识信息;The first receiving module is configured to receive user identification information sent by the terminal after the multimedia application is started;所述第一获取模块,用于根据所述用户标识信息获取指定数据和应用广告数据;The first acquiring module is configured to acquire specified data and application advertisement data according to the user identification information;所述发送模块,用于将所述指定数据和所述应用广告数据发送给所述终端,以使所述终端同时播放所述指定数据和所述应用广告数据;The sending module is configured to send the specified data and the application advertisement data to the terminal, so that the terminal plays the specified data and the application advertisement data simultaneously;所述第二接收模块,用于接收所述终端在监测到播放的所述指定数据被触发时发送的第一请求消息,所述第一请求消息包括被触发的所述指定数据的标识信息;The second receiving module is configured to receive a first request message sent by the terminal when monitoring that the specified data played is triggered, the first request message includes identification information of the triggered specified data;所述第二获取模块,用于获取与被触发的所述指定数据对应的指定多媒体资源数据,并发送给所述终端,以使所述终端在所述应用广告数据播放完成后,播放所述指定多媒体资源数据。The second acquiring module is configured to acquire the specified multimedia resource data corresponding to the triggered specified data, and send the specified multimedia resource data to the terminal, so that the terminal can play the specified multimedia resource data after the application advertisement data is played. Specifies multimedia resource data.18.根据权利要求17所述的装置,其特征在于,所述第一获取模块具体用于:18. The device according to claim 17, wherein the first acquiring module is specifically configured to:根据所述用户标识信息获取所述用户对所述多媒体应用的历史操作记录;Obtain historical operation records of the user on the multimedia application according to the user identification information;根据所述历史操作记录确定指定多媒体资源数据;Determine specified multimedia resource data according to the historical operation record;获取与所述指定多媒体资源数据对应的所述指定数据。Acquiring the specified data corresponding to the specified multimedia resource data.19.根据权利要求17或18所述的装置,其特征在于,所述指定数据包括所述指定多媒体资源数据中的名称数据、图片数据、弹幕数据、评论数据中的至少一种。19. The device according to claim 17 or 18, wherein the specified data includes at least one of name data, picture data, barrage data, and comment data in the specified multimedia resource data.20.根据权利要求18所述的装置,其特征在于,所述历史操作记录包括历史点击记录、历史分享记录、历史评论记录中的至少一个;20. The device according to claim 18, wherein the historical operation records include at least one of historical click records, historical sharing records, and historical comment records;所述第一获取模块具体用于:确定所述历史点击记录中点击率最高,和/或所述历史分享记录中分享率最高,和/或所述历史评论记录中评论率最高的多媒体资源数据;The first acquisition module is specifically used to: determine the multimedia resource data with the highest click rate in the historical click records, and/or the highest sharing rate in the historical sharing records, and/or the highest comment rate in the historical comment records ;基于确定的所述多媒体资源数据确定所述指定多媒体资源数据。The specified multimedia resource data is determined based on the determined multimedia resource data.21.根据权利要求19所述的装置,其特征在于,所述第一获取模块具体用于:21. The device according to claim 19, wherein the first acquiring module is specifically configured to:获取所述指定多媒体资源数据中的名称数据、播放次数和/或弹幕数量最多的图片数据、关注最多和/或出现次数最多的弹幕数据、关注最多和/或出现次数最多的评论数据中的至少一种。Obtain the name data, image data with the largest number of playbacks and/or barrages, barrage data with the most attention and/or appearances, and comment data with the most attention and/or appearances in the specified multimedia resource data at least one of .22.根据权利要求17所述的装置,其特征在于,所述第二接收模块,还用于接收所述终端在未监测到播放的所述指定数据被触发时发送的第二请求消息,其中,所述第二请求消息包括请求多媒体资源数据的信息;22. The device according to claim 17, wherein the second receiving module is further configured to receive a second request message sent by the terminal when the specified data that is not monitored to be played is triggered, wherein , the second request message includes information requesting multimedia resource data;所述第二获取模块,还用于获取所述多媒体资源数据,并发送给所述终端。The second acquiring module is further configured to acquire the multimedia resource data and send it to the terminal.23.一种存储介质,其上存储有可执行程序,其特征在于,所述可执行程序被处理器执行时实现如权利要求1至5任一项所述多媒体资源播放方法的步骤。23. A storage medium, on which an executable program is stored, wherein when the executable program is executed by a processor, the steps of the multimedia resource playing method according to any one of claims 1 to 5 are realized.24.一种多媒体资源播放装置,包括存储器、处理器及存储在存储器上并能够由所述处理器运行的可执行程序,其特征在于,所述处理器运行所述可执行程序时执行如权利要求1至5任一项所述多媒体资源播放方法的步骤。24. A multimedia resource playback device, comprising a memory, a processor, and an executable program stored on the memory and capable of being run by the processor, characterized in that, when the processor runs the executable program, it executes the The steps of the multimedia resource playing method described in any one of 1 to 5 are required.25.一种存储介质,其上存储有可执行程序,其特征在于,所述可执行程序被处理器执行时实现如权利要求6至11任一项所述多媒体资源播放方法的步骤。25. A storage medium, on which an executable program is stored, wherein when the executable program is executed by a processor, the steps of the multimedia resource playing method according to any one of claims 6 to 11 are realized.26.一种多媒体资源播放装置,包括存储器、处理器及存储在存储器上并能够由所述处理器运行的可执行程序,其特征在于,所述处理器运行所述可执行程序时执行如权利要求6至11任一项所述多媒体资源播放方法的步骤。26. A multimedia resource playback device, comprising a memory, a processor, and an executable program stored on the memory and capable of being run by the processor, characterized in that, when the processor runs the executable program, it executes the The steps of the multimedia resource playing method described in any one of 6 to 11 are required.
CN201710942354.1A2017-10-112017-10-11 A method, device and storage medium for playing multimedia resourcesActiveCN107734396B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710942354.1ACN107734396B (en)2017-10-112017-10-11 A method, device and storage medium for playing multimedia resources

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710942354.1ACN107734396B (en)2017-10-112017-10-11 A method, device and storage medium for playing multimedia resources

Publications (2)

Publication NumberPublication Date
CN107734396A CN107734396A (en)2018-02-23
CN107734396Btrue CN107734396B (en)2019-09-03

Family

ID=61210868

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710942354.1AActiveCN107734396B (en)2017-10-112017-10-11 A method, device and storage medium for playing multimedia resources

Country Status (1)

CountryLink
CN (1)CN107734396B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110213307B (en)*2018-02-282021-12-21腾讯科技(深圳)有限公司Multimedia data pushing method and device, storage medium and equipment
CN111147886B (en)*2020-01-062021-12-03深圳市超维互动科技有限公司Multimedia file playing processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101383937A (en)*2007-09-062009-03-11华为技术有限公司 Method, system, server and terminal for playing video advertisement and text information
CN104618808A (en)*2014-05-042015-05-13腾讯科技(北京)有限公司Multimedia information processing method, client terminal and server
CN105072465A (en)*2015-08-272015-11-18北京搜狗科技发展有限公司Video play control method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6133912A (en)*1998-05-042000-10-17Montero; Frank J.Method of delivering information over a communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101383937A (en)*2007-09-062009-03-11华为技术有限公司 Method, system, server and terminal for playing video advertisement and text information
CN104618808A (en)*2014-05-042015-05-13腾讯科技(北京)有限公司Multimedia information processing method, client terminal and server
CN105072465A (en)*2015-08-272015-11-18北京搜狗科技发展有限公司Video play control method and electronic equipment

Also Published As

Publication numberPublication date
CN107734396A (en)2018-02-23

Similar Documents

PublicationPublication DateTitle
CN107770571B (en)Live broadcast room recommendation method and device and storage medium
CN107979772B (en)Method and apparatus for providing personalized user functionality in collaboration with shared and personal devices
CN113992934B (en)Multimedia information processing method, device, electronic equipment and storage medium
JP7551773B2 (en) Method, apparatus, device and medium for generating interaction records
CN106575147A (en) Techniques for selectively capturing visual media using a single interface element
US10515476B2 (en)Image fetching for timeline scrubbing of digital media
CN111901695B (en)Video content interception method, device and equipment and computer storage medium
CN107682650A (en)A kind of image processing method and device and storage medium
CN109089169A (en)Live broadcast room switching method and device and storage medium
CN116166359A (en) A data processing method, device, electronic device and storage medium
CN104780461B (en)A kind of video broadcasting method, mobile terminal and system
US20170017382A1 (en)System and method for interaction between touch points on a graphical display
CN107038201A (en)Display methods, device, terminal and the server of personal homepage
CN115550676A (en)Live broadcast reservation method, device, equipment, medium and product
CN107454470A (en) An information recommendation method and device and storage medium
WO2025130334A1 (en)Media content comment recommendation method and apparatus, and comment content display method and apparatus
CN107734396B (en) A method, device and storage medium for playing multimedia resources
TW201541993A (en)Playback of interconnected videos
TW201918075A (en)Methods for displaying and providing joint-performance atlas, client, and server
CN108882004B (en) Video recording method, device, equipment and storage medium
CN104185064B (en)media file identification method and device
CN103959803B (en) Personalized Video Content Consumption Using Shared Video Devices and Personal Devices
CN112689165B (en)Video playing method and device
CN104778002A (en)Text display method, mobile terminal and system
CN107547919A (en)A kind of video broadcasting method, device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp