HK40048695B - Interactive image management method based on live broadcast, device, equipment and storage medium - Google Patents
Interactive image management method based on live broadcast, device, equipment and storage medium Download PDFInfo
- Publication number
- HK40048695B HK40048695B HK42021038166.1A HK42021038166A HK40048695B HK 40048695 B HK40048695 B HK 40048695B HK 42021038166 A HK42021038166 A HK 42021038166A HK 40048695 B HK40048695 B HK 40048695B
- Authority
- HK
- Hong Kong
- Prior art keywords
- image
- target
- interactive
- creation
- control
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及计算机技术领域,具体涉及一种基于直播的互动图像管理方法、装置、设备和存储介质。This application relates to the field of computer technology, and specifically to a live-stream-based interactive image management method, apparatus, device, and storage medium.
背景技术Background Technology
网络直播延续了互联网的优势,成为一种具有丰富的交互方式的网络社交例如,主播可以通过直播画面与直播间内的用户进行互动,此外,直播间的用户之间也可以通过使用文本与互动图像来进行消息互动。Live streaming continues the advantages of the internet, becoming a form of online social interaction with rich interactive methods. For example, the host can interact with users in the live stream through the live screen. In addition, users in the live stream can also interact with each other by using text and interactive images.
在对相关技术的研究和实践过程中,本申请的发明人发现,为了提高直播间中消息互动的趣味性与信息传递的有效性,主播可以创建自定义的互动图像,例如,自定义表情,但目前对于直播中互动图像的管理,仍有待改进。In the process of researching and practicing related technologies, the inventors of this application discovered that in order to improve the fun of message interaction and the effectiveness of information transmission in live streaming rooms, the anchor can create custom interactive images, such as custom emoticons. However, the management of interactive images in live streaming still needs to be improved.
发明内容Summary of the Invention
本申请实施例提供一种基于直播的互动图像管理方法、装置、设备和存储介质,可以通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理。This application provides a live-stream-based interactive image management method, apparatus, device, and storage medium. It can effectively manage interactive images used in live streams by managing the permissions of the broadcaster to create interactive images and the scope of use of the created interactive images.
本申请实施例提供一种基于直播的互动图像管理方法,包括:This application provides an interactive image management method based on live streaming, including:
展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;Display the target streamer's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control;
响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;In response to a trigger operation on the image creation trigger control, and when the target broadcaster's permission level meets a preset level, an image creation page is displayed, wherein the image creation page includes an image creation control;
响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。In response to an image creation operation on the image creation control, a target interactive image for the target broadcaster is created, wherein the usage rights of the target interactive image include the user being the target broadcaster and the usage scope being the live broadcast room of the target broadcaster.
相应的,本申请实施例还提供另一种基于直播的互动图像管理方法,包括:Accordingly, embodiments of this application also provide another interactive image management method based on live streaming, including:
展示观众用户在直播客户端的直播互动页面,其中,所述直播互动页面包括目标直播间的消息互动区域,所述目标直播间的主播为目标主播;The live interaction page of the live streaming client is displayed to the audience. The live interaction page includes a message interaction area for the target live streaming room, and the host of the target live streaming room is the target host.
基于针对所述消息互动区域的图像选择触发操作,展示图像选择区域,其中,所述图像选择区域包括所述目标主播的互动图像;Based on the image selection trigger operation for the message interaction area, the image selection area is displayed, wherein the image selection area includes the interactive image of the target anchor;
响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限,其中,所述使用权限包括使用者为所述观众用户、以及使用范围为所述目标主播的直播间。In response to an operation to obtain usage rights for a target interactive image, the usage rights for the target interactive image are obtained, wherein the usage rights include the user being the audience user and the scope of use being the live broadcast room of the target broadcaster.
相应的,本申请实施例还提供一种基于直播的互动图像管理装置,包括:Accordingly, embodiments of this application also provide an interactive image management device based on live streaming, including:
操作页面展示单元,用于展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;The operation page display unit is used to display the target anchor's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control;
创建页面展示单元,用于响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;A page display unit is created to display an image creation page in response to a trigger operation of the image creation trigger control, and when the target anchor's permission level meets a preset level. The image creation page includes an image creation control.
互动图像创建单元,用于响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。An interactive image creation unit is configured to create a target interactive image for the target broadcaster in response to an image creation operation of the image creation control, wherein the usage rights of the target interactive image include the user being the target broadcaster and the usage scope being the live broadcast room of the target broadcaster.
在一实施例中,所述图像创建控件包括多个图像上传控件,每个所述图像上传控件对应上传图像的一种属性要求;所述互动图像创建单元,包括:In one embodiment, the image creation control includes multiple image upload controls, each image upload control corresponding to a certain attribute requirement of the uploaded image; the interactive image creation unit includes:
第一上传子单元,用于响应于针对所述图像上传控件的图像上传操作,上传满足所述图像上传控件对应属性要求的图像,以上传多个具有不同图像属性的原始图像;The first upload subunit is used to respond to the image upload operation of the image upload control and upload an image that meets the attribute requirements of the image upload control, so as to upload multiple original images with different image attributes;
第一创建子单元,用于响应于针对所述图像创建页面的创建完成操作,基于上传的多个原始图像创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有不同图像属性的互动图像。The first creation subunit is configured to, in response to a creation completion operation for the image creation page, create a target interactive image for the target anchor based on multiple uploaded original images, wherein the target interactive image includes multiple interactive images with different image attributes.
在一实施例中,所述图像创建控件包括多个图像上传控件,所述多个图像上传控件的属性要求包括相同图像属性类型下的属性要求;所述互动图像创建单元,包括:In one embodiment, the image creation control includes multiple image upload controls, and the attribute requirements of the multiple image upload controls include attribute requirements under the same image attribute type; the interactive image creation unit includes:
第二上传子单元,用于响应于针对所述图像上传控件的图像上传操作,上传满足所述图像上传控件对应属性要求的图像,以上传多个满足相同图像属性类型下属性要求的原始图像;The second upload subunit is used to respond to the image upload operation of the image upload control and upload an image that meets the attribute requirements of the image upload control, so as to upload multiple original images that meet the attribute requirements under the same image attribute type;
第二创建子单元,用于响应于针对所述图像创建页面的创建完成操作,基于上传的多个原始图像创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。The second creation subunit is used to create a target interactive image of the target anchor based on multiple uploaded original images in response to the creation completion operation of the image creation page. The target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
在一实施例中,所述图像创建控件包括多个图像上传控件,所述多个图像上传控件分别对应图像尺寸类型下的不同尺寸要求;所述互动图像创建单元,包括:In one embodiment, the image creation control includes multiple image upload controls, each corresponding to different size requirements under an image size type; the interactive image creation unit includes:
第三上传子单元,用于响应于针对所述图像上传控件的图像上传操作,上传所述图像上传控件对应尺寸要求的图像,以上传多个满足不同尺寸要求的原始图像;The third upload subunit is used to respond to the image upload operation of the image upload control and upload the image corresponding to the size requirement of the image upload control, so as to upload multiple original images that meet different size requirements;
第三创建子单元,用于响应于针对所述图像创建页面的创建完成操作,基于上传的多个原始图像创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个不同尺寸要求的互动图像。The third creation subunit is used to create a target interactive image of the target anchor based on multiple uploaded original images in response to the creation completion operation of the image creation page, wherein the target interactive image includes multiple interactive images with different size requirements.
在一实施例中,所述图像创建页面还包括图像属性适配控件;所述互动图像创建单元,包括:In one embodiment, the image creation page further includes an image attribute adaptation control; the interactive image creation unit includes:
配置页面展示子单元,用于响应于针对所述图像属性适配控件的触发操作,展示图像属性适配模式下的图像配置页面,其中,所述图像配置页面包括图像添加控件,所述图像添加控件用于生成多个具有相同图像属性类型下不同图像属性取值的互动图像;The configuration page display sub-unit is used to display the image configuration page in image attribute adaptation mode in response to the trigger operation of the image attribute adaptation control. The image configuration page includes an image addition control, which is used to generate multiple interactive images with different image attribute values under the same image attribute type.
第四创建子单元,用于响应于针对所述图像添加控件的图像添加操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。The fourth creation subunit is used to create the target interactive image of the target anchor in response to the image addition operation of the image addition control, wherein the target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
在一实施例中,所述第四创建子单元,用于:In one embodiment, the fourth creation subunit is used for:
响应于针对所述图像添加控件的图像添加操作,获取添加的原始图像,其中,所述原始图像为所述图像属性类型下的图像;基于所述添加的原始图像,创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有所述图像属性类型下不同图像属性取值的互动图像。In response to an image addition operation for the image addition control, the original image to be added is obtained, wherein the original image is an image under the image attribute type; based on the added original image, a target interactive image for the target anchor is created, wherein the target interactive image includes multiple interactive images with different image attribute values under the image attribute type.
在一实施例中,所述图像创建页面还包括图像代码设置区域,所述图像代码设置区域包括图像代码输入控件;所述互动图像创建单元,包括:In one embodiment, the image creation page further includes an image code setting area, which includes an image code input control; the interactive image creation unit includes:
代码获取子单元,用于响应于针对所述图像代码输入控件的输入操作,获取输入的图像代码;The code acquisition subunit is used to acquire the input image code in response to an input operation on the image code input control;
第五创建子单元,用于响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像为所述图像代码对应的互动图像。The fifth creation subunit is used to create a target interactive image of the target anchor in response to an image creation operation of the image creation control, wherein the target interactive image is the interactive image corresponding to the image code.
在一实施例中,所述互动图像创建单元,还包括:In one embodiment, the interactive image creation unit further includes:
数据生成子单元,用于基于所述创建的目标互动图像,生成待校验的图像数据,其中,所述待校验的图像数据包括所述目标互动图像的图像代码;A data generation subunit is used to generate image data to be verified based on the created target interactive image, wherein the image data to be verified includes the image code of the target interactive image;
数据校验子单元,用于向服务器发送所述待校验的图像数据,以触发服务器基于所述目标主播的权限等级,对所述待校验的图像数据进行校验;The data verification subunit is used to send the image data to be verified to the server, so as to trigger the server to verify the image data to be verified based on the permission level of the target anchor.
结果确定子单元,用于基于所述校验结果,确定所述目标互动图像的创建结果。The result determination subunit is used to determine the creation result of the target interactive image based on the verification result.
在一实施例中,所述图像创建页面还包括至少一个图像预览模式下的图像预览区域,所述基于直播的互动图像管理装置,还包括:In one embodiment, the image creation page further includes at least one image preview area in image preview mode, and the live-stream-based interactive image management device further includes:
互动图像预览单元,用于基于创建的目标互动图像,在所述图像预览区域展示对应图像预览模式下的目标互动图像。An interactive image preview unit is used to display the target interactive image in the image preview area under the corresponding image preview mode, based on the created target interactive image.
在一实施例中,所述创建页面展示单元,包括:In one embodiment, the page display creation unit includes:
信息获取子单元,用于获取所述目标主播在所述直播客户端的用户属性信息与历史行为信息;An information acquisition subunit is used to acquire the target streamer's user attribute information and historical behavior information on the live streaming client.
等级确定子单元,用于基于所述用户属性信息与所述历史行为信息,确定所述目标主播当前的权限等级;The level determination subunit is used to determine the current permission level of the target anchor based on the user attribute information and the historical behavior information;
创建页面展示子单元,用于响应于针对所述图像创建触发控件的图像创建触发操作,且所述目标主播的用户等级满足预设等级时,展示图像创建页面。A page display subunit is created to display the image creation page in response to the image creation trigger operation of the image creation trigger control, and when the user level of the target anchor meets the preset level.
相应的,本申请实施例还提供一种基于直播的互动图像管理装置,包括:Accordingly, embodiments of this application also provide an interactive image management device based on live streaming, including:
互动页面展示单元,用于展示观众用户在直播客户端的直播互动页面,其中,所述直播互动页面包括目标直播间的消息互动区域,所述目标直播间的主播为目标主播;An interactive page display unit is used to display the live interactive page of the audience user on the live streaming client, wherein the live interactive page includes a message interaction area of the target live streaming room, and the host of the target live streaming room is the target host;
选择区域展示单元,用于基于针对所述消息互动区域的图像选择触发操作,展示图像选择区域,其中,所述图像选择区域包括所述目标主播的互动图像;The selection area display unit is used to display an image selection area based on an image selection trigger operation targeting the message interaction area, wherein the image selection area includes the interactive image of the target anchor;
使用权限获取单元,用于响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限,其中,所述使用权限包括使用者为所述观众用户、以及使用范围为所述目标主播的直播间。The permission acquisition unit is used to acquire the permission for the target interactive image in response to the permission acquisition operation for the target interactive image, wherein the permission includes the user being the audience user and the scope of use being the live broadcast room of the target anchor.
在一实施例中,所述使用权限获取单元,包括:In one embodiment, the permission acquisition unit includes:
转移控件展示子单元,用于响应于针对所述目标互动图像的使用权限获取操作,展示虚拟资源转移控件;The transfer control display subunit is used to display a virtual resource transfer control in response to an operation that requests access to the target interactive image;
虚拟资源转移子单元,用于响应于针对所述虚拟资源转移控件的虚拟资源转移操作,触发对所述观众用户的虚拟资源账号转移进行虚拟资源转移;The virtual resource transfer subunit is used to trigger the virtual resource transfer of the viewer user's virtual resource account in response to the virtual resource transfer operation of the virtual resource transfer control;
使用权限获取子单元,用于若检测到虚拟资源转移成功,获取所述目标互动图像的使用权限。The permission acquisition subunit is used to acquire the usage permission of the target interactive image if the transfer of virtual resources is detected to be successful.
相应的,本申请实施例还提供一种存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如本申请实施例所示的直播互动图像的创建方法和直播互动图像的获取方法中的步骤。Accordingly, this application also provides a storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps in the method for creating and acquiring live interactive images as shown in the embodiments of this application.
相应的,本申请实施例还提供一种计算机设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如本申请实施例所示的直播互动图像的创建方法和直播互动图像的获取方法中的步骤。Accordingly, this application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in the method for creating and acquiring live interactive images as shown in the embodiments of this application.
本申请实施例可以展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;响应于针对所述图像创建触发控件的图像创建触发操作,且所述目标主播的用户等级满足预设等级时,展示图像创建页面;响应于针对所述图像创建页面的图像创建操作,创建所述目标主播的自定义图像,其中,所述自定义图像的使用范围包括目标主播的直播间。This application embodiment can display the user operation page of the target anchor on the live streaming client, wherein the user operation page includes an image creation trigger control; in response to the image creation trigger operation of the image creation trigger control, and when the user level of the target anchor meets the preset level, the image creation page is displayed; in response to the image creation operation of the image creation page, a custom image of the target anchor is created, wherein the scope of use of the custom image includes the target anchor's live streaming room.
该方案在支持主播创建互动图像的基础上,通过对主播的权限等级进行判断,来确定主播当前是否具有创建互动图像的权限,因此,该方案可以通过主播的权限等级来对主播创建互动图像进行管理。并且,该方案还会进一步地管理所创建的互动图像的使用范围,具体地,该使用范围为包括使用者为该互动图像的创建主播、以及使用范围为创建主播的直播间,这样的话,该方案能够对互动图像的使用与传播进行有效的管理,而且还有效地保护了主播对于其创建的互动图像的权益。因此,该方案能够通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理,进而使得直播资源,例如主播资源、互动图像、以及基于直播间创建的社区资源等,能高效地发挥作用。This solution, while supporting broadcasters in creating interactive images, determines their permission level to decide whether they have the necessary authorization. Therefore, it manages interactive image creation based on broadcaster permission levels. Furthermore, the solution manages the scope of use of these created interactive images, specifically including the broadcaster who created the image and the live stream room where the image was created. This effectively manages the use and dissemination of interactive images and protects the rights of broadcasters to their creations. Thus, by managing broadcaster permissions and the scope of use of these images, the solution effectively manages interactive images used in live streams, ensuring that live stream resources, such as broadcaster resources, interactive images, and community resources created within the live stream room, can be utilized efficiently.
附图说明Attached Figure Description
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
图1是本申请实施例提供的基于直播的互动图像管理方法的场景示意图;Figure 1 is a schematic diagram of a scenario for an interactive image management method based on live streaming provided in an embodiment of this application;
图2是本申请实施例提供的基于直播的互动图像管理方法的流程图;Figure 2 is a flowchart of the interactive image management method based on live streaming provided in an embodiment of this application;
图3是本申请实施例提供的基于直播的互动图像管理方法的页面示意图;Figure 3 is a schematic diagram of the page of the interactive image management method based on live streaming provided in an embodiment of this application;
图4是本申请实施例提供的基于直播的互动图像管理方法的另一页面示意图;Figure 4 is another page diagram of the interactive image management method based on live streaming provided in the embodiments of this application;
图5是本申请实施例提供的基于直播的互动图像管理方法的另一页面示意图;Figure 5 is another page diagram of the interactive image management method based on live streaming provided in the embodiments of this application;
图6是本申请实施例提供的基于直播的互动图像管理方法的另一页面示意图;Figure 6 is another page diagram of the interactive image management method based on live streaming provided in the embodiments of this application;
图7是本申请实施例提供的基于直播的互动图像管理方法的另一页面示意图;Figure 7 is another page diagram of the interactive image management method based on live streaming provided in the embodiments of this application;
图8是本申请实施例提供的基于直播的互动图像管理方法的校验流程示意图;Figure 8 is a schematic diagram of the verification process of the interactive image management method based on live streaming provided in the embodiments of this application;
图9是本申请实施例提供的基于直播的互动图像管理方法的另一流程示意图;Figure 9 is another flowchart illustrating the interactive image management method based on live streaming provided in an embodiment of this application;
图10是本申请实施例提供的基于直播的互动图像管理方法的另一页面示意图;Figure 10 is another page diagram of the interactive image management method based on live streaming provided in the embodiments of this application;
图11是本申请实施例提供的基于直播的互动图像管理方法的另一页面示意图;Figure 11 is another page diagram of the interactive image management method based on live streaming provided in the embodiments of this application;
图12是本申请实施例提供的基于直播的互动图像管理方法的校验流程示意图;Figure 12 is a schematic diagram of the verification process of the interactive image management method based on live streaming provided in an embodiment of this application;
图13是本申请实施例提供的基于直播的互动图像管理装置的结构示意图;Figure 13 is a schematic diagram of the structure of the interactive image management device based on live streaming provided in an embodiment of this application;
图14是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 14 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图15是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 15 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图16是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 16 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图17是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 17 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图18是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 18 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图19是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 19 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图20是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 20 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图21是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 21 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图22是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 22 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图23是本申请实施例提供的基于直播的互动图像管理装置的另一结构示意图;Figure 23 is another structural schematic diagram of the interactive image management device based on live streaming provided in an embodiment of this application;
图24是本申请实施例提供的计算机设备的结构示意图。Figure 24 is a schematic diagram of the structure of the computer device provided in an embodiment of this application.
具体实施方式Detailed Implementation
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
本申请实施例提供一种基于直播的互动图像管理方法、装置、设备和存储介质。具体地,本申请实施例提供适用于第一计算机设备的基于直播的互动图像管理装置(为了区分可以称为第一图像管理装置),以及适用于第二计算机设备的基于直播的图像管理装置(为了区分可以称为第二图像管理装置)。其中,第一计算机设备可以为终端等设备,该终端可以为手机、平板电脑、笔记本电脑等设备。第二计算机设备可以为终端等设备,该终端可以为手机、平板电脑、笔记本电脑等设备。This application provides a live-stream-based interactive image management method, apparatus, device, and storage medium. Specifically, this application provides a live-stream-based interactive image management apparatus (which may be referred to as a first image management apparatus for distinction) suitable for a first computer device, and a live-stream-based image management apparatus (which may be referred to as a second image management apparatus for distinction) suitable for a second computer device. The first computer device can be a terminal or similar device, such as a mobile phone, tablet computer, or laptop computer. The second computer device can also be a terminal or similar device, such as a mobile phone, tablet computer, or laptop computer.
比如,第一图像管理设备可以在第一终端中,第二图像管理设备可以在第二终端中,其中,第一终端与第二终端可以是同一终端,也可以是不同终端。For example, the first image management device can be in the first terminal, and the second image management device can be in the second terminal. The first terminal and the second terminal can be the same terminal or different terminals.
本申请实施例将以第一计算机设备为第一终端,第二计算机设备为第二终端为例,来介绍基于直播的互动图像管理方法。This application will use a first computer device as the first terminal and a second computer device as the second terminal as an example to introduce a live-stream-based interactive image management method.
参考图1,本申请实施例提供了基于直播的互动图像管理系统包括第一终端10和第二终端20等;第一终端10与第二终端20之间通过网络连接,比如,通过有线或无线网络连接等,其中,图像管理装置集成在终端中,比如,以客户端的形式集成在终端中。Referring to Figure 1, this application embodiment provides a live-stream-based interactive image management system including a first terminal 10 and a second terminal 20, etc.; the first terminal 10 and the second terminal 20 are connected via a network, such as a wired or wireless network, etc., wherein the image management device is integrated in the terminal, for example, in the form of a client.
其中,第一终端10,可以用于展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。The first terminal 10 can be used to display the user operation page of the target anchor on the live streaming client. The user operation page includes an image creation trigger control. In response to a trigger operation on the image creation trigger control and when the target anchor's permission level meets a preset level, an image creation page is displayed. The image creation page includes an image creation control. In response to an image creation operation on the image creation control, a target interactive image of the target anchor is created. The usage permissions of the target interactive image include the user being the target anchor and the usage scope being the target anchor's live streaming room.
可选地,第一终端10可以通过向服务器发送所述自定义图像,以使得第二终端20可以从服务器处获取目标主播所创建的互动图像。Optionally, the first terminal 10 can send the custom image to the server so that the second terminal 20 can obtain the interactive image created by the target broadcaster from the server.
其中,第二终端20可以用于展示观众用户在直播客户端的直播互动页面,其中,所述直播互动页面包括目标直播间的消息互动区域,所述目标直播间的主播为目标主播;基于针对所述消息互动区域的图像选择触发操作,展示图像选择区域,其中,所述图像选择区域包括所述目标主播的互动图像;响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限,其中,所述使用权限包括使用者为所述观众用户、以及使用范围为所述目标主播的直播间。The second terminal 20 can be used to display the live interaction page of the viewer on the live streaming client. The live interaction page includes a message interaction area for the target live streaming room, and the host of the target live streaming room is the target host. Based on the image selection trigger operation for the message interaction area, an image selection area is displayed, which includes the interactive image of the target host. In response to the access permission acquisition operation for the target interactive image, the access permission for the target interactive image is acquired, wherein the access permission includes the user being the viewer and the scope of use being the live streaming room of the target host.
进一步地,第二终端20可以响应于针对所述目标互动图像的图像发送操作,向所述目标直播间中成员用户的直播客户端发送互动消息,其中,所述互动消息包括所述目标互动图像,所述目标直播间为主播为所述目标主播的直播间。Furthermore, the second terminal 20 can respond to an image sending operation for the target interactive image by sending an interactive message to the live streaming client of a member user in the target live streaming room, wherein the interactive message includes the target interactive image, and the target live streaming room is a live streaming room where the streamer is the target streamer.
以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
本实施例将从第一图像管理装置的角度进行描述,该第一图像管理装置具体可以集成在终端中。This embodiment will be described from the perspective of a first image management device, which can be integrated into a terminal.
为便于理解本实施例的内容,对本实施例中出现的一些用语进行解释:To facilitate understanding of this embodiment, some terms used in this embodiment are explained:
其中,直播为通过一定设备采集开播方数据,并对开播放数据进行一系列处理,如通过视频编码压缩成可观看可传输的视频流,并将处理后的数据输出至观看用户端的技术。直播的种类可以有多种,例如,直播可以包括课堂直播、节目直播、购物直播、游戏直播等。Live streaming involves collecting data from the broadcaster using certain equipment, processing the data (such as compressing it into a viewable and transmittable video stream through video encoding), and then outputting the processed data to the viewing user's device. There are various types of live streaming, including classroom broadcasts, program broadcasts, shopping broadcasts, and game broadcasts.
其中,主播是指在直播中负责参与一系列策划、编辑、录制、制作、观众互动等工作的用户,例如,主播可以为在直播中担当主持工作的用户。在实际应用中,主播可以使用电脑或者手机同步直播自己在做的事情,观众可以通过网站或者应用观看,对于喜欢的主播或者内容可以进行互动。In this context, a streamer refers to a user who is responsible for a series of tasks during a live stream, including planning, editing, recording, production, and audience interaction. For example, a streamer can act as the host during a live stream. In practice, streamers can use a computer or mobile phone to simultaneously broadcast what they are doing, and viewers can watch through websites or applications, interacting with their favorite streamers or content.
其中,直播间是指由主播开通或组建的直播节目,主播可以在直播间中进行直播,以及与观众进行互动,例如,主播可以通过直播画面与观众进行互动,也可以通过发送包括文本,图像等内容的消息与观众进行互动。A live streaming room refers to a live streaming program opened or set up by a host. The host can broadcast live in the live streaming room and interact with the audience. For example, the host can interact with the audience through the live streaming screen, or by sending messages including text and images.
其中,互动图像为在直播场景中供用户进行互动的图像,例如,互动图像可以包括在消息会话中向会话对象表达信息的图像,如表达情绪、语言的图像,譬如,互动图像可以包括表情等。互动图像的图像类型可以有多种,比如可以包括静态图像、或者动态图像。譬如,互动图像可以包括静态表情、动态表情等。Interactive images are images used by users to interact with during live streaming. For example, interactive images can include images used to convey information to other users in a messaging session, such as images expressing emotions or language; for instance, interactive images can include emoticons. Interactive images can be of various types, including static images and animated images. For example, interactive images can include static emoticons and animated emoticons.
本申请实施例提供的一种基于直播的图像管理方法,该方法可以由终端的处理器执行,如图2所示,该基于直播的图像管理方法的具体流程可以如下:This application provides a live-stream-based image management method, which can be executed by a terminal's processor. As shown in Figure 2, the specific flow of this live-stream-based image management method is as follows:
101、展示目标主播在直播客户端的用户操作页面,其中,该用户操作页面包括图像创建触发控件。101. Display the target streamer's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control.
其中,用户操作页面为供主播进行用户操作的页面,主播可以在用户操作页面中针对直播客户端进行相关操作,例如,主播可以在用户操作页面中开启直播,设置和查看直播信息,创建并管理互动图像,等等。The user operation page is a page for broadcasters to perform user operations. Broadcasters can perform relevant operations on the live streaming client on the user operation page. For example, broadcasters can start a live stream, set and view live stream information, create and manage interactive images, and so on.
其中,用户操作页面的形式可以有多种,例如,参考图3,用户操作页面1001可以包括多个区域,例如,可以包括左侧的页面导航清单列表,以及右侧的内容呈现区域1002。The user operation page can take many forms. For example, referring to Figure 3, the user operation page 1001 can include multiple areas, such as a page navigation list on the left and a content presentation area 1002 on the right.
在一实施例中,参考图3,终端可以展示目标主播在直播客户端的用户操作页面1001,其中,该用户操作页面1001中可以包括有图像创建触发控件1003。In one embodiment, referring to FIG3, the terminal may display the target anchor's user operation page 1001 on the live streaming client, wherein the user operation page 1001 may include an image creation trigger control 1003.
其中,图像创建触发控件为用于触发进行互动图像创建的控件,例如,在一实施例中,参考图3,可以通过触发图像创建触发控件1003,在用户操作页面1001右侧的内容呈现区域1002中呈现用于创建互动图像的相关内容。The image creation trigger control is a control used to trigger the creation of interactive images. For example, in one embodiment, referring to FIG3, the relevant content for creating interactive images can be presented in the content presentation area 1002 on the right side of the user operation page 1001 by triggering the image creation trigger control 1003.
值得注意的是,关于本实施例中的控件的表现形式,本申请不对此作限制,控件的表现形式可以为图标、输入框以及按钮等形式,后面也不再作赘述It is worth noting that this application does not limit the form of the controls in this embodiment. The forms of the controls can be icons, input boxes, buttons, etc., which will not be described in detail below.
102、响应于针对图像创建触发控件的触发操作,且目标主播的权限等级满足预设等级时,展示图像创建页面,其中,该图像创建页面包括图像创建控件。102. In response to a trigger operation on an image creation trigger control, and when the target broadcaster's permission level meets a preset level, an image creation page is displayed, wherein the image creation page includes an image creation control.
其中,权限等级为描述主播权限的等级信息,具体地,主播所拥有的主播权限可以随着权限等级的变化而变化,例如,当主播的权限等级提高时,主播可以对应获取更多或者不同的主播权限。The permission level describes the level of permissions a streamer possesses. Specifically, the permissions a streamer has can change as the permission level changes. For example, when a streamer's permission level increases, the streamer can obtain more or different streamer permissions.
在一实施例中,权限等级可以为描述主播创建互动图像的等级信息,具体地,可以针对不同的权限等级设置有不同的互动图像创建权限,例如,随着权限等级的提高,主播所能创建的互动图像的数量也随之提高;又如,随着权限等级的提高,主播所创建的互动图像的有效期也随之延长;又如,随着权限等级的提高,主播能够为其所创建的互动图像添加专属标志,如图像装饰标志等;又如,随着权限等级的提高,能够赋予主播所创建的互动图像以更多信息;等等。In one embodiment, the permission level can be information describing the level of interactive images created by the broadcaster. Specifically, different interactive image creation permissions can be set for different permission levels. For example, as the permission level increases, the number of interactive images that the broadcaster can create also increases; as the permission level increases, the validity period of the interactive images created by the broadcaster also increases; as the permission level increases, the broadcaster can add exclusive tags to the interactive images he/she creates, such as image decoration tags; as the permission level increases, more information can be given to the interactive images created by the broadcaster; and so on.
在本申请中,预设等级可以基于业务需求进行设置,本申请不对此作限制。In this application, the preset level can be set based on business needs, and this application does not impose any restrictions on it.
值得注意的是,本申请中触发操作的表现形式,可以是特定的触控操作,如单击操作、长按操作、双击操作、以及滑动操作等等,还可以是通过语音的方式触发的;可选的,触发操作还可以是一系列操作的组合,本实施例对此没有限制,后面也不对此作赘述。It is worth noting that the triggering operation in this application can be a specific touch operation, such as a single click, long press, double click, or swipe, or it can be triggered by voice. Optionally, the triggering operation can also be a combination of a series of operations. This embodiment does not limit this, and it will not be elaborated on hereafter.
其中,图像创建页面为供主播进行互动图像创建的页面。例如,主播可以通过图像创建页面上传互动图像的原始页面以创建互动图像;又如,主播可以通过图像创建页面对已有的互动图像进行编辑以对该互动图像进行更新,或者基于该互动图像创建新的互动图像;等等。The image creation page is for broadcasters to create interactive images. For example, broadcasters can upload the original page of an interactive image to create an interactive image; broadcasters can also edit existing interactive images to update them, or create new interactive images based on them; and so on.
图像创建页面可以是在用户操作页面中显示的;也可以是独立于用户操作页面显示的,例如图像创建页面和用户操作页面分屏显示,又如,可以将图像创建页面以浮层的方式显示于用户操作页面的上方,如此,图像创建页面具有透明度,不会完全遮挡用户操作页面。The image creation page can be displayed within the user operation page; or it can be displayed independently of the user operation page, such as a split-screen display of the image creation page and the user operation page. Alternatively, the image creation page can be displayed as a floating layer above the user operation page, in which case the image creation page has transparency and will not completely obscure the user operation page.
由于展示图像创建页面时,将主播的权限等级考虑进去,因此,并不是响应于针对图像创建触发控件的触发操作,即展示图像创建页面,而是还要对主播的权限等级进行判断。判断主播权限等级的方式可以有多种,例如,可以基于主播的在直播客户端的用户属性信息与历史行为信息来确定主播当前的权限等级,这样的话,即可动态地对主播的权限等级进行调整,具体地,步骤“响应于针对图像创建触发控件的触发操作,且目标主播的权限等级满足预设等级时,展示图像创建页面”,可以包括:Because the broadcaster's permission level is taken into account when displaying the image creation page, the process doesn't simply respond to a trigger operation on the image creation trigger control, i.e., displaying the image creation page. Instead, the broadcaster's permission level must be determined. There are several ways to determine the broadcaster's permission level. For example, it can be determined based on the broadcaster's user attributes and historical behavior information on the live streaming client. This allows for dynamic adjustment of the broadcaster's permission level. Specifically, the step "display the image creation page when responding to a trigger operation on the image creation trigger control and the target broadcaster's permission level meets the preset level" can include:
获取目标主播在直播客户端的用户属性信息与历史行为信息;Obtain the target streamer's user attribute information and historical behavior information on the live streaming client;
基于用户属性信息与历史行为信息,确定目标主播当前的权限等级;Based on user attribute information and historical behavior information, determine the current permission level of the target streamer;
响应于针对图像创建触发控件的图像创建触发操作,且目标主播的用户等级满足预设等级时,展示图像创建页面。When an image creation trigger operation is initiated in response to an image creation trigger control, and the target broadcaster's user level meets the preset level, the image creation page is displayed.
其中,用户属性信息为描述主播在直播客户端中用户属性的相关信息,例如,用户属性可以包括用户性别,用户年龄,用户教育背景,用户国籍等基本属性信息;用户属性还可以包括与直播相关的属性信息,例如,主播等级,主播粉丝数量等。Among them, user attribute information describes the user attributes of the streamer in the live streaming client. For example, user attributes may include basic attribute information such as user gender, user age, user education background, and user nationality; user attributes may also include attribute information related to live streaming, such as streamer level and number of streamer fans.
其中,历史行为信息为描述主播在直播客户端中历史行为的相关信息,例如,历史行为可以包括注册行为,直播时长,直播频率,主播与粉丝互动次数,主播违规操作等。Among them, historical behavior information refers to relevant information describing the streamer's historical behavior in the live streaming client. For example, historical behavior may include registration behavior, live streaming duration, live streaming frequency, number of times the streamer interacts with fans, and streamer violations.
可以基于主播的用户属性信息与历史行为信息来设置不同的权限等级,这样的话,在获取目标主播在直播客户端的用户属性信息与历史行为信息后,即可以基于该用户属性信息与历史行为信息,来确定该目标主播当前的权限等级。进一步地,即可响应于针对图像创建触发控件的图像创建触发操作,且目标主播的用户等级满足预设等级时,展示图像创建页面。Different permission levels can be set based on the streamer's user attributes and historical behavior information. This means that after obtaining the target streamer's user attributes and historical behavior information on the live streaming client, the streamer's current permission level can be determined based on this information. Furthermore, in response to an image creation trigger operation by an image creation trigger control, and when the target streamer's user level meets the preset level, the image creation page can be displayed.
在一实施例中,步骤“响应于针对图像创建触发控件的触发操作,且目标主播的权限等级满足预设等级时,展示图像创建页面”,可以包括:In one embodiment, the step "displaying the image creation page in response to a trigger operation on the image creation trigger control, and when the target broadcaster's permission level meets a preset level" may include:
响应于针对图像创建触发控件的触发操作,展示图像管理页面,其中,所述图像管理页面包括图像新增控件;In response to a trigger operation that creates a trigger control for an image, an image management page is displayed, wherein the image management page includes an image addition control;
响应于针对图像新增控件的触发操作,且目标主播的权限等级满足预设等级时,展示图像创建页面。When a new control is added to an image, and the target broadcaster's permission level meets the preset level, the image creation page is displayed.
其中,图像管理页面为供主播对直播中的互动图像进行管理的页面,例如,主播可以通过图像管理页面针对互动图像进行增加操作,删除操作,更改操作,与查看操作等。The image management page is for broadcasters to manage interactive images during live streams. For example, broadcasters can add, delete, modify, and view interactive images through the image management page.
其中,图像管理页面可以是在用户操作页面中显示的;也可以是独立于用户操作页面显示的,例如图像管理页面和用户操作页面分屏显示,又如可以将图像管理页面以浮层的方式显示于用户操作页面的上方,如此,图像管理页面具有透明度,不会完全遮挡用户操作页面。The image management page can be displayed within the user operation page, or it can be displayed independently of the user operation page. For example, the image management page and the user operation page can be displayed in a split-screen manner. Alternatively, the image management page can be displayed as a floating layer above the user operation page, so that the image management page has transparency and will not completely obscure the user operation page.
在一实施例中,参考图3,可以响应于针对图像创建触发控件1003的触发操作,在用户操作页面1001中展示图像管理页面。In one embodiment, referring to FIG3, an image management page can be displayed on the user operation page 1001 in response to a trigger operation of the image creation trigger control 1003.
其中,图像新增控件为用于供主播创建互动图像的控件。在一实施例中,若目标主播的权限等级满足预设等级,可以将图像新增控件设置为可用状态(例如,可被点击状态;又如,能够响应的状态),这样的话,即可响应于针对图像新增控件的触发操作,且目标主播的权限等级满足预设等级时,展示图像创建页面。The image creation control is a control used by the broadcaster to create interactive images. In one embodiment, if the target broadcaster's permission level meets a preset level, the image creation control can be set to an available state (e.g., a clickable state; or, for example, a responsive state). In this way, the image creation page can be displayed in response to a trigger operation on the image creation control, provided that the target broadcaster's permission level meets the preset level.
其中,图像创建页面可以是在图像管理页面中显示的;也可以是独立于图像管理作页面显示的,例如图像创建页面和图像管理页面分屏显示,又如可以将图像创建页面以浮层的方式显示于图像管理页面的上方,如此,图像创建页面具有透明度,不会完全遮挡图像管理页面。The image creation page can be displayed within the image management page, or it can be displayed independently of the image management page. For example, the image creation page and the image management page can be displayed in a split-screen manner. Alternatively, the image creation page can be displayed as a floating layer above the image management page, so that the image creation page has transparency and will not completely obscure the image management page.
在一实施例中,参考图4,用户操作页面1004可以包括有1005所示的图像创建触发控件,在主播点击图像创建触发控件1005后,可以展示1006所示的图像管理页面,其中,图像管理页面1006包括图像新增控件1007。In one embodiment, referring to FIG4, the user operation page 1004 may include an image creation trigger control as shown in FIG4 1005. After the host clicks the image creation trigger control 1005, the image management page shown in FIG4 1006 can be displayed, wherein the image management page 1006 includes an image addition control 1007.
在一实施例中,参考图4,当主播点击图像新增控件1007,且该主播的权限等级满足预设等级时,可以展示图5所示的图像创建页面。In one embodiment, referring to FIG4, when the broadcaster clicks the image addition control 1007 and the broadcaster's permission level meets the preset level, the image creation page shown in FIG5 can be displayed.
103、响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像,其中,该目标互动图像的使用权限包括使用者为该目标主播、以及使用范围为主播为该目标主播的直播间。103. In response to an image creation operation on an image creation control, create a target interactive image for the target broadcaster, wherein the usage permissions of the target interactive image include the user being the target broadcaster and the usage scope being the live broadcast room where the broadcaster is the target broadcaster.
其中,使用权限为描述使用互动图像的权限信息,具体地,在本申请中,互动图像的使用权限可以包括互动图像的使用者,以及互动图像的使用范围这两个方面的权限信息。The usage permission refers to the permission information describing the use of the interactive image. Specifically, in this application, the usage permission of the interactive image may include permission information regarding both the user of the interactive image and the scope of use of the interactive image.
在一实施例中,目标主播可以使用其创建的目标互动图像,并且,可以在该目标主播的直播间内使用该目标互动图像,值得注意的是,目标主播的直播间指的是,由该目标主播创建的直播间,或者得到该目标主播授权的直播间。In one embodiment, the target broadcaster can use the target interactive image it creates, and can use the target interactive image in the target broadcaster's live broadcast room. It is worth noting that the target broadcaster's live broadcast room refers to a live broadcast room created by the target broadcaster or a live broadcast room authorized by the target broadcaster.
响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像的方式可以有多种,例如,由于直播中不同的场景会对互动图像的属性具有不同的属性要求,因此,图像创建控件可以包括多个图像上传控件,并且,每个图像上传控件对应上传图像的一种属性要求,这样的话,即可通过不同的图像上传控件来创建满足不同属性要求的互动图像,得到应用于不同直播场景的互动图像,具体地,步骤“响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像”,可以包括:In response to an image creation operation on the image creation control, there are multiple ways to create a target interactive image for the target broadcaster. For example, since different scenarios in a live broadcast will have different attribute requirements for the interactive image, the image creation control can include multiple image upload controls, and each image upload control corresponds to a certain attribute requirement of the uploaded image. In this way, interactive images that meet different attribute requirements can be created through different image upload controls, resulting in interactive images applicable to different live broadcast scenarios. Specifically, the step "In response to an image creation operation on the image creation control, create a target interactive image for the target broadcaster" can include:
响应于针对图像上传控件的图像上传操作,上传满足该图像上传控件对应属性要求的图像,以上传多个具有不同图像属性的原始图像;In response to an image upload operation for an image upload control, upload an image that meets the attribute requirements of the corresponding image upload control, so as to upload multiple original images with different image attributes;
响应于针对图像创建页面的创建完成操作,基于上传的多个原始图像创建目标主播的目标互动图像,其中,该目标互动图像包括多个具有不同图像属性的互动图像。In response to the completion operation of the image creation page, a target interactive image for the target anchor is created based on multiple uploaded original images, wherein the target interactive image includes multiple interactive images with different image attributes.
其中,图像属性用于描述图像的性质与特征,例如,常见的图像属性可以包括图像尺寸,图像格式,等;此外,还可以针对互动表情的特性,设置针对互动表情的属性,例如,图像背景,图像主题等。Image attributes are used to describe the properties and characteristics of an image. For example, common image attributes may include image size, image format, etc. In addition, attributes specific to interactive emoticons can be set based on their characteristics, such as image background, image theme, etc.
具体地,在本实施例中,可以响应于针对图像上传控件的图像上传操作,上传满足该图像上传控件对应属性要求的图像,以上传多个原始图像,这样的话,每个上传的原始图像满足一种属性要求;响应于针对图像创建页面的创建完成操作,基于上传的多个原始图像创建目标主播的目标互动图像,这样的话,创建的目标互动图像包括多个互动图像,每个互动图像满足一种属性要求。Specifically, in this embodiment, in response to an image upload operation on an image upload control, an image that meets the attribute requirements of the image upload control can be uploaded to upload multiple original images, so that each uploaded original image meets one attribute requirement; in response to a creation completion operation on an image creation page, a target interactive image for the target anchor can be created based on the multiple uploaded original images, so that the created target interactive image includes multiple interactive images, each of which meets one attribute requirement.
在一实施例中,互动图像可以为直播中使用的表情,参考图6,图6展示的图像创造页面中包括三个图像上传控件,其中,每个图像上传控件都对应上传图像的一种属性要求,具体地,图像上传控件1008对应于上传图像的尺寸要求,例如,该尺寸要求可以为要求上传的图像的尺寸为108像素*108像素;图像上传控件1009对应于上传图像的分辨率要求,例如,该分辨率要求可以为要求上传的图像的分辨率不低于72dpi(每英寸点数,英文为DotsPer Inch);图像上传控件10010对应于上传图像的格式要求,例如,该格式要求可以为要求上传的图像的格式为PNG(便携式网络图形,英文为Portable Network Graphics)。In one embodiment, the interactive image can be an emoticon used in live streaming. Referring to Figure 6, the image creation page shown in Figure 6 includes three image upload controls. Each image upload control corresponds to an attribute requirement of the uploaded image. Specifically, image upload control 1008 corresponds to the size requirement of the uploaded image, for example, the size requirement can be that the size of the uploaded image is 108 pixels * 108 pixels; image upload control 1009 corresponds to the resolution requirement of the uploaded image, for example, the resolution requirement can be that the resolution of the uploaded image is not less than 72 dpi (dots per inch); image upload control 10010 corresponds to the format requirement of the uploaded image, for example, the format requirement can be that the format of the uploaded image is PNG (Portable Network Graphics).
在一实施例中,参考图6,在创建表情时,主播可以预先准备好满足尺寸要求的原始图像,满足分辨率要求的原始图像,以及满足格式要求的原始图像,并将满足尺寸要求的原始图像拖拽到图像上传控件1008处,将满足分辨率要求的原始图像拖拽到图像上传控件1009处,并将满足格式要求的原始图像拖拽到图像上传控件10010处,以分别上传满足尺寸要求、分辨率要求、以及格式要求的原始图像。In one embodiment, referring to FIG6, when creating an emoticon, the broadcaster can prepare in advance an original image that meets the size requirements, an original image that meets the resolution requirements, and an original image that meets the format requirements. The broadcaster can then drag the original image that meets the size requirements to the image upload control 1008, the original image that meets the resolution requirements to the image upload control 1009, and the original image that meets the format requirements to the image upload control 10010, so as to upload the original images that meet the size requirements, resolution requirements, and format requirements respectively.
进一步地,即可响应于针对图像创建页面的创建完成操作,基于上传的多个原始图像创建目标主播的目标互动图像,得到包括多个具有不同图像属性的互动图像。例如,参考图6,在主播通过点击10011所示的应用控件后,终端即可基于上传的多个原始图像创建该主播的目标互动图像,其中,该目标互动图像具体可以包括:满足尺寸要求的互动图像,满足分辨率要求的互动图像,以及满足格式要求的互动图像。Furthermore, in response to the completion operation of the image creation page, a target interactive image for the target anchor can be created based on the uploaded original images, resulting in multiple interactive images with different image attributes. For example, referring to Figure 6, after the anchor clicks the application control shown in 10011, the terminal can create the anchor's target interactive image based on the uploaded original images. Specifically, the target interactive image may include: an interactive image that meets the size requirements, an interactive image that meets the resolution requirements, and an interactive image that meets the format requirements.
在一实施例中,考虑到直播中不同的直播场景,会对互动图像在相同图像属性类型下的图像属性取值有不同的要求,例如,以互动图像为表情,且图像属性类型为图像尺寸为例,在直播中,不同的直播场景对呈现的表情的尺寸要求不同,例如,有时候需要呈现表情的缩略图,有时候需要呈现表情的大图。因此,图像创建控件包括多个图像上传控件,并且多个图像上传控件的属性要求包括相同图像属性类型下的属性要求,这样的话,即可通过多个图像上传控件,来上传满足相同图像属性类型下不同图像属性取值的原始图像,从而生成满足相同图像属性类型下不同图像属性取值的互动图像,具体地,步骤“响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像”,可以包括:In one embodiment, considering that different live streaming scenarios may have different requirements for the image attribute values of interactive images under the same image attribute type, for example, taking an interactive image as an emoticon and the image attribute type as image size, different live streaming scenarios have different requirements for the size of the emoticon to be presented. For example, sometimes a thumbnail of the emoticon needs to be presented, and sometimes a large image of the emoticon needs to be presented. Therefore, the image creation control includes multiple image upload controls, and the attribute requirements of the multiple image upload controls include the attribute requirements under the same image attribute type. In this way, original images that meet different image attribute values under the same image attribute type can be uploaded through multiple image upload controls, thereby generating interactive images that meet different image attribute values under the same image attribute type. Specifically, the step "in response to the image creation operation of the image creation control, create the target interactive image of the target anchor" may include:
响应于针对图像上传控件的图像上传操作,上传满足该图像上传控件对应属性要求的图像,以上传多个满足相同图像属性类型下属性要求的原始图像;In response to an image upload operation for an image upload control, upload an image that meets the attribute requirements of the corresponding image upload control, so as to upload multiple original images that meet the attribute requirements under the same image attribute type;
响应于针对图像创建页面的创建完成操作,基于上传的多个原始图像创建目标主播的目标互动图像,其中,该目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。In response to the completion operation of the image creation page, a target interactive image for the target anchor is created based on multiple uploaded original images. The target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
其中,图像属性类型为图像属性所属的类型,因此,针对图像属性的不同情况,则对应地具有不同的图像属性类型。例如,常见的图像属性类型可以包括图像尺寸,图像格式等;此外,还可以针对互动表情的特性,设置针对互动表情的属性,例如,图像背景,图像主题等。The image attribute type refers to the category to which an image attribute belongs. Therefore, different image attribute types correspond to different situations. For example, common image attribute types may include image size, image format, etc. In addition, attributes specific to interactive emoticons can be set, such as image background, image theme, etc.
在一实施例中,图像创建控件可以包括三个图像上传控件,其中,每个图像上传控件对于上传图像的属性要求,为相同图像属性类型下的属性要求。例如,这三个图像上传控件对上传图像的属性要求,都为图像分辨率方面的要求;又如,这三个图像上传控件对上传图像的属性要求,都为图像格式方面的要求;等等。这样的话,即可上传多个满足相同图像属性类型下属性要求的原始图像,例如,上传的多个原始图像都为满足图像分辨率方面相关要求的原始图像,又如,上传的多个原始图像都为满足图像格式方面相关要求的原始图像。In one embodiment, the image creation control may include three image upload controls, wherein each image upload control has the same attribute requirements for the uploaded image, which are attribute requirements of the same image attribute type. For example, all three image upload controls may have image resolution requirements; or they may have image format requirements; and so on. In this way, multiple original images that meet the attribute requirements of the same image attribute type can be uploaded. For example, multiple uploaded original images may all meet the image resolution requirements, or multiple uploaded original images may all meet the image format requirements.
这样的话,即可响应于针对图像创建页面的创建完成操作,基于上传的多个原始图像创建目标主播的目标互动图像,其中,创建的目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。In this way, in response to the completion operation of the image creation page, a target interactive image for the target anchor can be created based on multiple uploaded original images. The created target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
在一实施例中,以图像创建控件包括多个图像上传控件,且多个图像上传控件分别对应图像尺寸类型下的不同尺寸要求为例,步骤“响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像”,可以包括:In one embodiment, taking an image creation control that includes multiple image upload controls, and each of the multiple image upload controls corresponding to different size requirements under an image size type as an example, the step "in response to an image creation operation on the image creation control, create a target interactive image for the target broadcaster" may include:
响应于针对图像上传控件的图像上传操作,上传该图像上传控件对应尺寸要求的图像,以上传多个满足不同尺寸要求的原始图像;In response to an image upload operation for the image upload control, upload an image that meets the size requirements of the image upload control, so as to upload multiple original images that meet different size requirements;
响应于针对图像创建页面的创建完成操作,基于上传的多个原始图像创建目标主播的目标互动图像,其中,该目标互动图像包括多个不同尺寸要求的互动图像。In response to the completion operation of the image creation page, a target interactive image for the target anchor is created based on multiple uploaded original images, wherein the target interactive image includes multiple interactive images with different size requirements.
例如,参考图5,在图5所示的图像创建页面中,图像创建控件包括三个图像上传控件,且每个图像上传控件分别对应图像尺寸类型下的不同尺寸要求,具体地,图像上传控件10012对上传图像的尺寸要求为,要求上传108像素×108像素大小的图像;图像上传控件10013对上传图像的尺寸要求为,要求上传72像素×72像素大小的图像;图像上传控件10014对上传图像的尺寸要求为,要求上传36像素×36像素大小的图像。For example, referring to Figure 5, in the image creation page shown in Figure 5, the image creation control includes three image upload controls, and each image upload control corresponds to different size requirements under the image size type. Specifically, image upload control 10012 requires the uploaded image to be 108 pixels × 108 pixels; image upload control 10013 requires the uploaded image to be 72 pixels × 72 pixels; and image upload control 10014 requires the uploaded image to be 36 pixels × 36 pixels.
在一实施例中,以互动图像为表情为例,参考图5,主播可以将108像素×108像素的表情原始图像拖拽到图像上传控件10012,将72像素×72像素的表情原始图像拖拽到图像上传控件10013,并将36像素×36像素的表情原始图像拖拽到图像上传控件10014,来上传满足不同尺寸要求的表情原始图像。进一步地,主播可以点击10011所示的应用控件来创建该主播的目标表情,其中,创建的目标表情包括大小分别为108像素×108像素,72像素×72像素,以及36像素×36像素的表情。In one embodiment, taking an interactive image as an emoticon as an example, referring to Figure 5, the broadcaster can drag a 108-pixel × 108-pixel original emoticon image to image upload control 10012, a 72-pixel × 72-pixel original emoticon image to image upload control 10013, and a 36-pixel × 36-pixel original emoticon image to image upload control 10014 to upload original emoticon images that meet different size requirements. Further, the broadcaster can click the application control shown in 10011 to create the broadcaster's target emoticon, wherein the created target emoticon includes emoticons with sizes of 108 pixels × 108 pixels, 72 pixels × 72 pixels, and 36 pixels × 36 pixels, respectively.
值得注意的是,图像创建页面中还可以包括注意事项展示区域,例如,参考图5,图5所示的图像创建页面中包括10015所示的注意事项展示区域,该区域中可以包括注意事项,用以辅助主播上传满足条件的原始图像。It is worth noting that the image creation page may also include a notice display area. For example, referring to Figure 5, the image creation page shown in Figure 5 includes a notice display area as shown in 10015. This area may include notices to help the broadcaster upload original images that meet the requirements.
在一实施例中,考虑到主播要上传具有相同图像属性类型下不同图像属性取值的原始图像时,需要操作多次,因此,可以设置图像属性适配模式用于提高主播创建互动表情的效率。例如,图像创建页面还包括图像属性适配控件,则具体地,步骤“响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像”,可以包括:In one embodiment, considering that a broadcaster needs to perform multiple operations to upload original images with different image attribute values under the same image attribute type, an image attribute adaptation mode can be set to improve the efficiency of the broadcaster in creating interactive emoticons. For example, if the image creation page also includes an image attribute adaptation control, then specifically, the step "in response to an image creation operation on the image creation control, create a target interactive image for the target broadcaster" may include:
响应于针对图像属性适配控件的触发操作,展示图像属性适配模式下的图像配置页面,其中,该图像配置页面包括图像添加控件,该图像添加控件用于生成多个具有相同图像属性类型下不同图像属性取值的互动图像;In response to a trigger operation on the image attribute adaptation control, the image configuration page in image attribute adaptation mode is displayed. The image configuration page includes an image addition control, which is used to generate multiple interactive images with different image attribute values under the same image attribute type.
响应于针对图像添加控件的图像添加操作,创建目标主播的目标互动图像,其中,该目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。In response to an image addition operation on an image addition control, a target interactive image for the target anchor is created, wherein the target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
其中,图像属性适配指根据图像的原始属性取值,生成属性取值区别于原始属性取值的图像,以使得改变后的属性取值满足预设条件。例如,以图像属性为图像尺寸为例,那么,可以通过图像属性适配来获得不同尺寸取值的图像。Image attribute adaptation refers to generating an image with different attribute values from the original image, based on the original attribute values, so that the modified attribute values meet preset conditions. For example, taking image size as an image attribute, image attribute adaptation can be used to obtain images with different size values.
其中,图像属性适配模式指的是对图像进行图像属性适配的模式,例如,以图像属性为图像尺寸为例,图像属性适配模式指的是对图像进行图像尺寸适配的模式。Among them, image attribute adaptation mode refers to the mode of adapting image attributes. For example, taking image size as an image attribute, image attribute adaptation mode refers to the mode of adapting image size.
在一实施例中,可以以互动图像为表情,图像属性类型为图像尺寸为例,参考图5,主播可以通过触发图5所示的图像创建页面中的图像属性适配控件10016,来展示图7所示的图像配置页面,其中,该图像配置页面包括10017所示的图像添加控件,该图像添加控件可以用于生成互动图像,其中,生成的每个互动图像满足一种尺寸要求。In one embodiment, taking an interactive image as an emoticon and an image attribute type as image size as an example, referring to Figure 5, the broadcaster can trigger the image attribute adaptation control 10016 in the image creation page shown in Figure 5 to display the image configuration page shown in Figure 7. The image configuration page includes the image addition control shown in Figure 10017, which can be used to generate interactive images, wherein each generated interactive image meets a size requirement.
进一步地,可以响应于针对图像添加控件的图像添加操作,创建目标主播的目标互动图像,其中,该目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。例如,参考图7,主播可以将108像素×108像素的表情原始图像拖拽到图像添加控件10017,并通过点击图7中10011所示的应用控件来创建该主播的目标表情,其中,创建的目标表情包括多个表情,每个表情具有不同的尺寸取值。Furthermore, in response to an image addition operation on the image addition control, a target interactive image for the target anchor can be created. This target interactive image includes multiple interactive images with different image attribute values under the same image attribute type. For example, referring to Figure 7, the anchor can drag a 108-pixel × 108-pixel original expression image to the image addition control 10017, and create the anchor's target expression by clicking the application control shown in Figure 7 (10011). The created target expression includes multiple expressions, each with a different size value.
在图像属性适配模式下,步骤“响应于针对图像添加控件的图像添加操作,创建目标主播的目标互动图像”,可以包括:In image attribute adaptation mode, the step "Create target interactive image for target anchor in response to image addition operation for adding control to image" may include:
响应于针对图像添加控件的图像添加操作,获取添加的原始图像,其中,该原始图像为该图像属性类型下的图像;In response to an image addition operation on the image addition control, the original image to be added is obtained, wherein the original image is an image under the image attribute type;
基于添加的原始图像,创建目标主播的目标互动图像,其中,该目标互动图像包括多个具有该图像属性类型下不同图像属性取值的互动图像。Based on the added original image, a target interactive image for the target anchor is created, wherein the target interactive image includes multiple interactive images with different image attribute values under the image attribute type.
在一实施例中,以互动图像为表情,且图像属性类型为图像尺寸为例,参考图7,主播将108像素×108像素的表情原始图像拖拽到图像添加控件10017后,终端即可获取主播添加的108像素×108像素的表情原始图像。进一步地,终端可以通过对该表情原始图像作尺寸适配,生成包括尺寸大小为108像素×108像素的表情,尺寸大小为72像素×72像素的表情,以及36像素×36像素表情,这样的话,即可通过主播添加的原始表情图像,生成具有不同尺寸取值的表情。In one embodiment, taking an interactive image as an emoticon and the image attribute type as image size as an example, referring to Figure 7, after the broadcaster drags a 108-pixel × 108-pixel original emoticon image to the image adding control 10017, the terminal can obtain the 108-pixel × 108-pixel original emoticon image added by the broadcaster. Furthermore, the terminal can generate emoticons with sizes including 108-pixel × 108-pixel, 72-pixel × 72-pixel, and 36-pixel × 36-pixel by adapting the size of the original emoticon image. In this way, emoticons with different size values can be generated from the original emoticon image added by the broadcaster.
又如,以互动图像为表情,且图像属性类型为图像分辨率为例,主播将A分辨率的表情原始图像拖拽到图像添加控件后,终端即可获取主播添加的A分辨率下的表情原始图像。进一步地,终端可以通过对该表情原始图像作分辨率适配,生成包括A分辨率及其他分辨率的表情,这样的话,即可通过主播添加的原始表情图像,生成具有不同分辨率取值的表情。For example, taking an interactive image as an emoticon, and the image attribute type as image resolution, after the broadcaster drags the original emoticon image at resolution A to the image addition control, the terminal can obtain the original emoticon image at resolution A added by the broadcaster. Furthermore, the terminal can generate emoticons including resolution A and other resolutions by adapting the resolution of the original emoticon image. In this way, emoticons with different resolution values can be generated from the original emoticon image added by the broadcaster.
在一实施例中,为了拓展互动图像的输入方式的多样性,用户除了可以通过图像面板如表情面板,来将想要使用的互动表情输入到输入控件如输入框中,还可以通过直接在输入框中输入该互动图像对应的代码来实现,因此,在主播创建目标互动图像时,图像创建页面还可以包括图像代码设置区域,该图像代码设置区域可以包括图像代码输入控件,具体地,步骤“响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像”,可以包括:In one embodiment, to expand the diversity of input methods for interactive images, users can input desired interactive emoticons into input controls such as input boxes via an image panel such as an emoticon panel, or they can directly input the code corresponding to the interactive image into the input box. Therefore, when the broadcaster creates the target interactive image, the image creation page can also include an image code setting area, which can include an image code input control. Specifically, the step "in response to an image creation operation on the image creation control, create the target interactive image for the target broadcaster" can include:
响应于针对图像代码输入控件的输入操作,获取输入的图像代码;In response to an input operation on the image code input control, obtain the input image code;
响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像,其中,该目标互动图像为该图像代码对应的互动图像。In response to an image creation operation on the image creation control, a target interactive image is created for the target anchor, wherein the target interactive image is the interactive image corresponding to the image code.
其中,互动图像的图像代码为用于标识互动图像的信息,例如,在应用中,用户可以通过输入图像代码来标识其想输入的互动图像,相应地,终端可以根据该图像代码来确定用户所想要输入的互动图像,从而实现快捷输入互动图像。The image code of an interactive image is information used to identify the interactive image. For example, in an application, a user can identify the interactive image they want to input by entering the image code. Correspondingly, the terminal can determine the interactive image that the user wants to input based on the image code, thereby enabling quick input of interactive images.
图像代码的形式可以有多种,例如,可以为字符串的形式,在实际应用中,可以对图像代码的长度,所包含的字符串的类型等作限制。Image codes can take many forms, such as strings. In practical applications, restrictions can be placed on the length of the image code and the type of strings it contains.
在一实施例中,以互动图像为表情为例,参考图5,图5所示的图像创建页面可以包括10018所示的图像代码输入控件,主播可以在该图像代码输入控件输入图像代码“Abc”,相应地,终端可以获取主播输入的图像代码,并响应于针对图像创建控件的图像创建操作,创建该主播的目标表情,其中,该创建的目标表情对应的图像代码即为“Abc”。In one embodiment, taking an interactive image as an emoticon as an example, referring to FIG5, the image creation page shown in FIG5 may include an image code input control as shown in FIG518. The host can input the image code "Abc" into the image code input control. Correspondingly, the terminal can obtain the image code input by the host and, in response to the image creation operation of the image creation control, create the host's target emoticon. The image code corresponding to the created target emoticon is "Abc".
在一实施例中,在步骤“响应于针对图像创建控件的图像创建操作,创建目标主播的目标互动图像”后,基于直播的互动图像管理方法还可以包括:In one embodiment, after the step of "creating a target interactive image for the target anchor in response to an image creation operation on an image creation control", the live-stream-based interactive image management method may further include:
基于创建的目标互动图像,生成待校验的图像数据,其中,该待校验的图像数据包括该目标互动图像的图像代码;Based on the created target interactive image, image data to be verified is generated, wherein the image data to be verified includes the image code of the target interactive image;
向服务器发送待校验的图像数据,以触发服务器基于目标主播的权限等级,对该待校验的图像数据进行校验;Send the image data to be verified to the server to trigger the server to verify the image data based on the target broadcaster's permission level;
基于校验结果,确定目标互动图像的创建结果。Based on the verification results, the creation result of the target interactive image is determined.
其中,主播通过终端创建互动图像如表情后,直播平台的管理员可以对主播所创建的互动图像进行校验,例如,校验内容可以包括该主播是否具有创建互动图像的权限,该创建的互动图像是否符合相关规则等,此外,还可以将互动表情与其对应的图像代码进行存储,以便后续的使用。Once the streamer creates interactive images, such as emoticons, through the terminal, the administrator of the live streaming platform can verify the interactive images created by the streamer. For example, the verification content may include whether the streamer has the permission to create interactive images, whether the created interactive images comply with relevant rules, etc. In addition, the interactive emoticons and their corresponding image codes can be stored for later use.
在一实施例中,以互动图像为表情为例,参考图8,主播端的终端可以基于主播所创建的目标表情,生成待校验的图像数据,具体地,该待校验图像数据中可以包括主播上传的表情图像、以及主播对该目标表情设置的图像代码,即表情代码。主播侧的终端可以向服务器发送加表情的请求,表情管理服务收到请求后,可以检测主播权限和表情代码的合法性,通过检查后提交审核系统。进一步地,管理员可以浏览审核系统内容,通过或者拒绝新表情。In one embodiment, taking interactive images as emoticons as an example, referring to Figure 8, the broadcaster's terminal can generate image data to be verified based on the target emoticon created by the broadcaster. Specifically, the image data to be verified may include the emoticon image uploaded by the broadcaster and the image code set by the broadcaster for the target emoticon, i.e., the emoticon code. The broadcaster's terminal can send a request to the server to add an emoticon. After receiving the request, the emoticon management service can check the broadcaster's permissions and the legality of the emoticon code, and submit it to the review system after passing the check. Furthermore, the administrator can browse the content of the review system and approve or reject new emoticons.
作为示例,可以以主播A创建自定义表情emotex为例做具体阐述。主播A可以选择本地图片传送到内容分发网络(Content Delivery Network,CDN),得到统一资源定位符(Uniform Resource Locator,URL)。主播A的终端即可提交表情信息给表情管理服务器,例如,以JS对象简谱(JavaScript Object Notation,JSON)格式举例:{“emoteID”:”emotex”,”url”:”www.xyz.com/emotex.png”}。表情管理服务器可以检查主播A权限,例如主播等级,直播时长,历史违规行为等。并检测表情符号有无禁用字词,有无冲突等。进一步地,表情管理服务器把主播表情信息提交给内容审核系统,供管理员通过,而表情被内容审核服务通过后,表情服务器可以保存表情信息到数据库。As an example, let's take the creation of a custom emotex by broadcaster A as an illustration. Broadcaster A can choose to send a local image to a Content Delivery Network (CDN) to obtain a Uniform Resource Locator (URL). Broadcaster A's terminal can then submit the emotex information to the emotex management server, for example, in JavaScript Object Notation (JSON) format: {"emoteID":"emotex","url":"www.xyz.com/emotex.png"}. The emotex management server can check broadcaster A's permissions, such as broadcaster level, live broadcast duration, and historical violations. It also checks for prohibited words and conflicts in the emotex. Furthermore, the emotex management server submits the broadcaster's emotex information to the content review system for administrator approval. After the emotex is approved by the content review service, the emotex server can save the emotex information to the database.
在一实施例中,为了使主播在创建互动图像时,可以预览到互动图像在不同模式下的呈现,可以在图像创建页面设置至少一个图像预览模式下的图像预览区域,因此,基于直播的互动图像管理方法还可以包括:In one embodiment, to allow the broadcaster to preview the interactive image in different modes when creating it, at least one image preview area in the image creation page can be set up for each preview mode. Therefore, the live-streaming-based interactive image management method may further include:
响应于针对图像创建控件的图像创建操作,在图像预览区域展示对应图像预览模式下的目标互动图像,其中,该目标互动图像为该图像创建操作所创建的互动图像。In response to an image creation operation on the image creation control, a target interactive image in the corresponding image preview mode is displayed in the image preview area, wherein the target interactive image is the interactive image created by the image creation operation.
其中,图像预览模式为对互动图像进行预览的模式,例如,图像预览模式可以包括在浅色模式下对互动图像进行预览,还可以包括在深色模式下对互动图像进行预览;又如,图像预览模式可以包括在静态模式下对互动图像进行预览,还可以包括在动态模式下对互动图像进行预览;又如,图像预览模式可以包括针对不同图像属性对互动图像进行预览,例如,图像预览模式可以包括针对图像尺寸对互动图像进行预览,还可以包括针对图像尺寸对互动图像进行预览,还可以包括针对图像背景对互动图像进行预览,还可以包括针对图像主题对互动图像进行预览等;又如,图像预览模式可以包括针对同一图像属性的不同属性取值,对互动图像进行预览,例如,图像预览模式可以包括针对不同图像尺寸取值对互动互相进行预览,还可以包括针对不同图像尺寸取值对互动图像进行预览,还可以包括针对不同图像背景设置对互动图像进行预览,还可以包括针对不同图像主题设置对互动图像进行预览等。The image preview mode is a mode for previewing interactive images. For example, the image preview mode can include previewing interactive images in light mode or dark mode; it can also include previewing interactive images in static mode or dynamic mode; it can also include previewing interactive images based on different image attributes, such as previewing interactive images based on image size, background, or theme; and it can also include previewing interactive images based on different attribute values of the same image attribute, such as previewing interactive images based on different image size values, different image size values, different image background settings, or different image theme settings.
在一实施例中,以互动图像为表情为例,参考图5,图5所示的图像创建页面可以包括10019所示的图像预览区域,该图像预览区域可以用于预览浅色模式与深色模式下的表情的呈现效果。In one embodiment, taking an interactive image as an emoticon as an example, referring to FIG5, the image creation page shown in FIG5 may include the image preview area shown in 10019, which can be used to preview the presentation effect of the emoticon in light mode and dark mode.
由上可知,本实施例可以展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。As can be seen from the above, this embodiment can display the user operation page of the target anchor on the live streaming client, wherein the user operation page includes an image creation trigger control; in response to the trigger operation of the image creation trigger control, and when the target anchor's permission level meets the preset level, the image creation page is displayed, wherein the image creation page includes an image creation control; in response to the image creation operation of the image creation control, the target interactive image of the target anchor is created, wherein the usage permission of the target interactive image includes the user being the target anchor and the usage scope being the target anchor's live streaming room.
该方案在支持主播创建互动图像的基础上,通过对主播的权限等级进行判断,来确定主播当前是否具有创建互动图像的权限,因此,该方案可以通过主播的权限等级来对主播创建互动图像进行管理。并且,该方案还会进一步地管理所创建的互动图像的使用范围,具体地,该使用范围为包括使用者为该互动图像的创建主播、以及使用范围为主播为该创建主播的直播间,这样的话,该方案能够对互动图像的使用与传播进行有效的管理,而且还有效地保护了主播对于其创建的互动图像的权益。因此,该方案能够通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理,进而使得直播资源,例如主播资源、互动图像、以及基于直播间创建的社区资源等,能高效地发挥作用。This solution, while supporting broadcasters in creating interactive images, determines their permission level to decide whether they have the necessary authorization. Therefore, it manages interactive image creation based on broadcaster permission levels. Furthermore, it manages the scope of use for these created interactive images, specifically including the user as the broadcaster who created the image and the broadcaster's live stream room. This effectively manages the use and dissemination of interactive images and protects the broadcaster's rights to their creations. Thus, by managing broadcaster permissions and the scope of use, this solution effectively manages interactive images used in live streams, ensuring that live stream resources, such as broadcaster resources, interactive images, and community resources created within the live stream room, function efficiently.
并且,在主播创建互动图像时提供了多种快捷的创建方式,例如,主播只需上传一张互动图像的原始图像,即可生成适应平台的多个互动表情。同时,主播也可以对之前的表情进行管理与统计,有助于主播了解到粉丝对其创建的互动图像的喜好。另外,对于主播创建的互动图像,该方案除了在主播侧终端会对主播的权限等级进行校验以外,还加强了在服务器端的校验,使得从主播侧提高了针对直播的互动图像的管理。Furthermore, the system offers several quick ways for broadcasters to create interactive images. For example, broadcasters only need to upload the original image of an interactive image to generate multiple interactive emoticons adapted to the platform. Broadcasters can also manage and track previous emoticons, helping them understand fan preferences for their created interactive images. In addition to verifying the broadcaster's permission level on the broadcaster's terminal, the solution also strengthens server-side verification for broadcast-created interactive images, improving the management of interactive images for live streams from the broadcaster's perspective.
根据上面实施例所描述的方法,以下将举例进一步详细说明。Based on the method described in the above embodiments, the following examples will provide further detailed explanations.
在本实施例中,将以第一图像管理装置具体集成在第一终端、第二图像管理装置具体集成在第二终端为例进行说明。In this embodiment, the first image management device is specifically integrated into the first terminal and the second image management device is specifically integrated into the second terminal as an example for explanation.
如图9所示,一种基于直播的互动图像管理方法,具体流程如下:As shown in Figure 9, a live-stream-based interactive image management method follows the specific process:
201、第一终端展示目标主播在直播客户端的用户操作页面,其中,该用户操作页面包括图像创建触发控件。201. The first terminal displays the target anchor's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control.
例如,以互动图像为表情为例,参考图4,第一终端可以展示目标主播在直播客户端的用户操作页面1004,其中,该用户操作页面可以包括1005所示的图像创建触发控件。For example, taking interactive images as emoticons, referring to Figure 4, the first terminal can display the target anchor's user operation page 1004 on the live streaming client, wherein the user operation page may include the image creation trigger control shown in 1005.
值得注意的是,关于本实施例中的控件的表现形式,本申请不对此作限制,控件的表现形式可以为图标、输入框以及按钮等形式,后面也不再作赘述。It is worth noting that this application does not limit the form of the control in this embodiment. The form of the control can be an icon, an input box, or a button, etc., which will not be described in detail below.
此外,本申请中触发操作的表现形式,可以是特定的触控操作,如单击操作、长按操作、双击操作、以及滑动操作等等,还可以是通过语音的方式触发的;可选的,触发操作还可以是一系列操作的组合,本实施例对此没有限制,后面也不对此作赘述。Furthermore, the triggering operation in this application can be a specific touch operation, such as a single click, long press, double click, or swipe, or it can be triggered by voice. Optionally, the triggering operation can also be a combination of a series of operations. This embodiment does not limit this, and it will not be elaborated on hereafter.
202、第一终端响应于针对图像创建触发控件的触发操作,且目标主播的权限等级满足预设等级时,展示图像创建页面,其中,该图像创建页面包括图像创建控件。202. When the first terminal responds to the trigger operation of the image creation trigger control and the target broadcaster's permission level meets the preset level, the image creation page is displayed, wherein the image creation page includes an image creation control.
例如,目标主播可以通过点击图4中1005所示的图像创建触发控件,且当该目标主播的权限等级满足预设等级时,展示1006所示的图像管理页面,该图像管理页面中可以包括1007所示的图像新增控件。此外,主播还可以在图像管理页面中对其创建的表情进行管理,例如,图像管理页面1006中可以包括表情信息列表,其中,表情信息列表可以由多条表情信息组成,主播可以查看表情的缩略图、表情对应的图像代码、表情的发送次数、表情当前的状态等,还可以对创建的表情进行编辑,例如,更改表情代码,删除表情,调整表情信息在表情信息列表中的位置等。For example, a target broadcaster can create a trigger control by clicking the image shown in Figure 4 (1005). When the target broadcaster's permission level meets the preset level, the image management page shown in Figure 1006 is displayed. This image management page can include the image addition control shown in Figure 1007. Furthermore, the broadcaster can manage the emoticons they create on the image management page. For example, the image management page 1006 can include an emoticon information list, which can consist of multiple emoticon entries. The broadcaster can view the emoticon thumbnail, the corresponding image code, the number of times the emoticon has been sent, the current status of the emoticon, etc., and can also edit the created emoticons, such as changing the emoticon code, deleting emoticons, and adjusting the position of the emoticon information in the emoticon information list.
参考图4,目标主播点击图像新增控件1007,且目标主播的权限等级满足预设等级时,第一终端可以显示图5所示的图像创建页面,其中,该图像创建页面可以包括10012,10013与10014所示的图像创建控件。Referring to Figure 4, when the target broadcaster clicks on the image creation control 1007 and the target broadcaster's permission level meets the preset level, the first terminal can display the image creation page shown in Figure 5. The image creation page may include the image creation controls shown in 10012, 10013 and 10014.
203、第一终端响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为主播为该目标主播的直播间。203. The first terminal responds to the image creation operation of the image creation control and creates the target interactive image of the target anchor, wherein the usage rights of the target interactive image include the user being the target anchor and the usage scope being the live broadcast room where the anchor is the target anchor.
例如,参考图4,目标主播可以通过将表情的原始图像拖拽到图5中的图像创建控件中,以创建该目标主播的目标表情,其中,该目标表情的使用权限包括:使用者为该目标主播,以及使用范围为该目标主播的直播间。For example, referring to Figure 4, the target streamer can create the target emoticon by dragging and dropping the original image of the emoticon into the image creation control in Figure 5. The usage permissions of the target emoticon include: the user is the target streamer, and the usage scope is the target streamer's live broadcast room.
204、第一终端基于创建的目标互动图像,生成待校验的图像数据,并向服务器发送待校验的图像数据,以触发服务器基于目标主播的权限等级,对待校验的图像数据进行校验。204. The first terminal generates image data to be verified based on the created target interactive image and sends the image data to be verified to the server, so as to trigger the server to verify the image data to be verified based on the target broadcaster's permission level.
205、第一终端获取服务器发送的校验结果,并基于该校验结果,确定目标互动图像的创建结果。205. The first terminal obtains the verification result sent by the server and determines the creation result of the target interactive image based on the verification result.
例如,若校验结果为校验通过,则可以确定目标表情的创建结果为创建成更,否则,可以确定目标标签的创建结果为创建失败。For example, if the verification result is "verification passed", then the creation result of the target emoticon can be determined as "created successfully"; otherwise, the creation result of the target tag can be determined as "creation failed".
在一实施例中,参考图4,第一终端可以在1006所示的图像管理页面中,基于校验结果更新表情的状态,例如,若表情的校验结果为校验通过,可以将该表情的状态更新为“使用中”;若表情的校验结果为校验失败,可以将该表情的状态更新为“审核未通过”;若表情的校验结果还未确定,可以将该表情的状态更新为“审核中”;等等。In one embodiment, referring to FIG4, the first terminal can update the status of the expression based on the verification result in the image management page shown in 1006. For example, if the verification result of the expression is that the verification is passed, the status of the expression can be updated to "in use"; if the verification result of the expression is that the verification is failed, the status of the expression can be updated to "not approved"; if the verification result of the expression is not yet determined, the status of the expression can be updated to "under review"; and so on.
206、第二终端展示观众用户在直播客户端的直播互动页面,其中,该直播互动页面包括目标直播间的消息互动区域,该目标直播间的主播为目标主播。206. The second terminal displays the live interaction page of the viewer user on the live streaming client, wherein the live interaction page includes a message interaction area for the target live streaming room, and the host of the target live streaming room is the target host.
其中,观众用户为与主播相对的用户,观众用于可以通过直播客户端加入主播的直播间,进而观看由该主播提供的直播画面,并在直播间内与该主播以及其他观众用户进行消息互动。Among them, viewers are users who are opposite to the streamer. Viewers can join the streamer's live room through the live streaming client, watch the live broadcast provided by the streamer, and interact with the streamer and other viewers in the live room.
其中,直播互动页面为供观众用户进行直播互动的页面,例如,参考图10,第二终端可以展示观众用户在直播客户端的直播互动页面2001,其中,该直播互动页面可以包括目标直播间的消息互动区域2002,观众用户可以在消息互动区域2002中与直播间内的用户进行消息互动。The live interactive page is a page for viewers to interact with the live stream. For example, referring to Figure 10, the second terminal can display the live interactive page 2001 of the live streaming client for viewers. The live interactive page can include the message interaction area 2002 of the target live stream room, where viewers can interact with users in the live stream room.
值得注意的是,在一些实施例中,消息互动区域还可以包括2003所示的直播画面区域,其中,用户可以通过弹幕或滚动消息的形式,在直播画面区域中与直播间内的用户进行消息互动。It is worth noting that in some embodiments, the message interaction area may also include the live screen area shown in 2003, in which users can interact with users in the live screen area through bullet comments or scrolling messages.
207、第二终端基于针对消息互动区域的图像选择触发操作,展示图像选择区域,其中,该图像选择区域包括目标主播的互动图像。207. The second terminal displays an image selection area based on the image selection trigger operation of the message interaction area, wherein the image selection area includes the interactive image of the target anchor.
其中,图像选择区域为供观众用户选择互动图像的区域,例如,以互动图像为表情,目标主播为张三为例,参考图10,图像选择区2004中可以包括直播平台提供的免费表情,也可以包括张三所创建的表情,其中,对于观众用户未具有使用权限的表情可以设置有所示的待解锁标志20012,对于观众用户目前具有使用权限的表情可以不设置有待解锁标志。The image selection area is a region where viewers can select interactive images. For example, taking emoticons as the interactive image and Zhang San as the target anchor, referring to Figure 10, the image selection area 2004 can include free emoticons provided by the live streaming platform, or emoticons created by Zhang San. Emoticons that viewers do not have permission to use can be marked with an unlocking flag 20012, while emoticons that viewers currently have permission to use can be left unmarked.
第二终端基于针对消息互动区域的图像选择触发操作,展示图像选择区域的方式可以有多种,例如,直播互动页面可以包括消息创建触发控件,该消息创建触发控件可以用于供用户创建消息,具体地,步骤“基于针对消息互动区域的图像选择触发操作,展示图像选择区域”可以包括:The second terminal can display the image selection area in various ways based on the image selection trigger operation for the message interaction area. For example, the live interaction page may include a message creation trigger control, which can be used by users to create messages. Specifically, the step "displaying the image selection area based on the image selection trigger operation for the message interaction area" may include:
响应于针对消息创建触发控件的触发操作,展示消息创建区域,其中,该消息创建区域包括图像选择触发控件;In response to a trigger operation on a message creation trigger control, a message creation area is displayed, wherein the message creation area includes an image selection trigger control;
响应于针对图像选择触发控件的触发操作,展示图像选择区域。In response to a trigger action on the image selection trigger control, the image selection area is displayed.
在一实施例中,参考图10,2001所的直播互动页面中包括有2005所示的消息创建触发控件,观众用户点击该消息创建触发控件后,第二终端可以展示2006所示的消息创建区域,其中,该消息创建区域可以包括2007所示的图像选择触发控件。观众用户点击该图像选择触发控件后,第二终端可以展示2004所示的图像选择区域。In one embodiment, referring to Figure 10, the live interactive page shown in 2001 includes a message creation trigger control as shown in 2005. After a viewer clicks on the message creation trigger control, the second terminal can display the message creation area shown in 2006. This message creation area may include the image selection trigger control shown in 2007. After a viewer clicks on the image selection trigger control, the second terminal can display the image selection area shown in 2004.
208、第二终端响应于针对目标互动图像的使用权限获取操作,获取该目标互动图像的使用权限,其中,该使用权限包括使用者为该观众用户、以及使用范围为主播为该目标主播的直播间。208. The second terminal responds to the operation of obtaining the usage rights of the target interactive image, and obtains the usage rights of the target interactive image, wherein the usage rights include the user being the viewer and the scope of use being the live broadcast room where the broadcaster is the target broadcaster.
其中,使用权限为描述使用互动图像的权限信息,具体地,在本申请中,互动图像的使用权限可以包括互动图像的使用者,以及互动图像的使用范围这两个方面的权限信息。The usage permission refers to the permission information describing the use of the interactive image. Specifically, in this application, the usage permission of the interactive image may include permission information regarding both the user of the interactive image and the scope of use of the interactive image.
在一实施例中,观众用户在获取目标主播所创建的目标互动图像的使用权限后,该观众用户即可在该目标主播的直播间内使用该目标互动图像。In one embodiment, after obtaining permission to use the target interactive image created by the target streamer, the viewer can use the target interactive image in the target streamer's live broadcast room.
获取目标互动图像的使用权限的方式可以有多种,例如,可以通过虚拟资源转移的方式获取,具体地,步骤“响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限”,可以包括:There are several ways to obtain usage rights to a target interactive image. For example, it can be obtained through virtual resource transfer. Specifically, the step "in response to the operation of obtaining usage rights to the target interactive image, obtain the usage rights to the target interactive image" can include:
响应于针对目标互动图像的使用权限获取操作,展示虚拟资源转移控件;In response to an operation that requests access to a target interactive image, a virtual resource transfer control is displayed;
响应于针对虚拟资源转移控件的虚拟资源转移操作,触发对观众用户的虚拟资源账号转移进行虚拟资源转移;In response to a virtual resource transfer operation targeting the virtual resource transfer control, trigger a virtual resource transfer for the viewer's virtual resource account.
若检测到虚拟资源转移成功,获取目标互动图像的使用权限。If the transfer of virtual resources is detected to be successful, access to the target interactive image will be granted.
其中,虚拟资源为与现实资源相对的资源类型,随着互联网和数字化的发展,能够基于人们对现实资源的认识和使用,进一步地抽象出对应的虚拟资源,例如,虚拟资源可以为运用数据库、程序编辑而成的信息资源;譬如,可以为对现实货币进行价值转换得到的货币记录,等等。Virtual resources are a type of resource that is the opposite of real resources. With the development of the Internet and digitalization, virtual resources can be further abstracted based on people's understanding and use of real resources. For example, virtual resources can be information resources created using databases and programs; for instance, they can be monetary records obtained by converting real currency into value, and so on.
其中,虚拟资源的转移方法可以有多种,例如,当虚拟资源为与现实货币等值的数额记录,或为与现实货币具有转换关系的数额记录时,可以通过对相应的虚拟资源账号转移对应数额记录的现实货币来实现;又如,若虚拟资源可以为与区块链货币等额的数额记录,或为与区块链货币具有转换关系的数额记录时,可以通过对相应的虚拟资源账号转移对应数额记录的区块链货币来实现;等等。There are various methods for transferring virtual resources. For example, when a virtual resource is a record of an amount equivalent to or convertible with real currency, it can be transferred to the corresponding virtual resource account by transferring the corresponding amount of real currency. Similarly, if a virtual resource is a record of an amount equivalent to or convertible with blockchain currency, it can be transferred to the corresponding virtual resource account by transferring the corresponding amount of blockchain currency. And so on.
在一实施例中,步骤“响应于针对目标互动图像的使用权限获取操作,展示虚拟资源转移控件”可以包括:In one embodiment, the step "displaying a virtual resource transfer control in response to an operation to obtain access rights to a target interactive image" may include:
响应于针对目标互动图像的图像选择操作,展示权限获取区域,其中,该权限获取区域包括至少一个权限获取控件,每个权限获取控件用于获取该目标互动图像在不同使用期限内的使用权限;In response to an image selection operation for a target interactive image, a permission acquisition area is displayed, wherein the permission acquisition area includes at least one permission acquisition control, each permission acquisition control being used to acquire usage permissions for the target interactive image within different usage periods;
响应于针对权限获取控件的触发操作,展示虚拟资源转移控件。In response to a triggered action on the permission acquisition control, display the virtual resource transfer control.
其中,权限获取区域可以提供用户不同的权限获取方案,例如,可以针对目标互动图像在不同使用期限内的使用权限,设置不同的权限获取控件,以使得观众用户可以通过不同的权限获取控件,来获取目标互动图像在不同使用期限内的使用权限。The permission acquisition area can provide users with different permission acquisition schemes. For example, different permission acquisition controls can be set for the use of the target interactive image within different usage periods, so that viewers can obtain the use of the target interactive image within different usage periods through different permission acquisition controls.
其中,使用期限为观众用户可使用目标互动图像的期限,具体地,使用期限可以为观众用户可以在该目标互动图像的创建主播的直播间内使用该目标互动图像的期限。The usage period refers to the period during which viewers can use the target interactive image. Specifically, the usage period can be the period during which viewers can use the target interactive image within the live stream room of the broadcaster who created the target interactive image.
在一实施例中,以互动图像为表情,目标主播为张三,目标互动图像为图11中的目标表情2008为例,参考图11,在观众用户点击目标表情2008后,第二终端可以展示2009所示的权限获取区域,其中,该权限获取区域中包括两个权限获取控件,并且,每个权限获取控件用于获取目标表情在不同使用期限内的使用权限,具体地,权限获取控件20010用于获取目标表情在24小时内的使用权限,权限获取控件20011用于获取目标表情在其他使用期限内的使用权限。In one embodiment, taking the interactive image as an emoticon, the target anchor as Zhang San, and the target interactive image as the target emoticon 2008 in Figure 11 as an example, referring to Figure 11, after the viewer clicks on the target emoticon 2008, the second terminal can display the permission acquisition area shown in 2009. The permission acquisition area includes two permission acquisition controls, and each permission acquisition control is used to acquire the usage permission of the target emoticon within different usage periods. Specifically, permission acquisition control 20010 is used to acquire the usage permission of the target emoticon within 24 hours, and permission acquisition control 20011 is used to acquire the usage permission of the target emoticon within other usage periods.
在一实施例中,针对目标互动图像的不同使用权限,可以设置需要不同的虚拟资源,例如,参考图11,对于目标表情的使用期限为24小时的例子,可以设置需要800虚拟资源;对于目标表情的使用期限为1个月,3个月或者其他使用期限方案的例子,可以提供观众用户“订阅”的功能,并针对不同的使用期限方案对应设置需要不同的虚拟资源。In one embodiment, different virtual resources can be set for different usage rights of the target interactive image. For example, referring to Figure 11, for an example where the usage period of the target emoticon is 24 hours, 800 virtual resources can be set; for an example where the usage period of the target emoticon is 1 month, 3 months or other usage period schemes, a "subscription" function can be provided for the audience user, and different virtual resources can be set for different usage period schemes.
因此,第二终端可以响应于针对权限获取控件的触发操作,对应地展示虚拟资源转移控件,以便可以基于观众用户的选择转移对应的虚拟资源。Therefore, the second terminal can respond to the triggering operation of the permission acquisition control and display the virtual resource transfer control accordingly, so that the corresponding virtual resources can be transferred based on the viewer's selection.
进一步地,第二终端即可响应于针对虚拟资源转移控件的虚拟资源转移操作,触发对观众用户的虚拟资源账号转移进行虚拟资源转移,并且,若检测到虚拟资源转移成功,获取目标互动图像的使用权限。Furthermore, the second terminal can respond to the virtual resource transfer operation of the virtual resource transfer control, trigger the virtual resource account transfer of the audience user, and if the virtual resource transfer is detected to be successful, obtain the usage rights of the target interactive image.
在一实施例中,参考图11,在观众用户选择2008所示的表情后,第二终端可以展示2009所示的权限获取区域,在观众用户点击权限获取控件2010后,第二终端即可展示虚拟资源转移控件,其中,该虚拟资源转移控件用于对该观众用户的虚拟资源账号转移800虚拟资源。当观众用户在虚拟资源转移控件上确定执行虚拟资源转移后,第二终端可以响应于针对虚拟资源转移控件的虚拟资源转移操作,触发对观众用户的虚拟资源账号扣取800虚拟资源转移,若检测到虚拟资源转移成功,则可以确定该观众用户获取该目标表情在24小时内的使用权限,且该使用权限为在张三的直播间内使用。In one embodiment, referring to Figure 11, after a viewer selects the emoticon shown in 2008, the second terminal can display the permission acquisition area shown in 2009. After the viewer clicks the permission acquisition control 2010, the second terminal can display a virtual resource transfer control, which is used to transfer 800 virtual resources to the viewer's virtual resource account. When the viewer confirms the virtual resource transfer on the virtual resource transfer control, the second terminal can respond to the virtual resource transfer operation on the virtual resource transfer control, triggering the deduction of 800 virtual resources from the viewer's virtual resource account. If the virtual resource transfer is detected as successful, it can be determined that the viewer has obtained the right to use the target emoticon for 24 hours, and this right is for use within Zhang San's live broadcast room.
在一实施例中,观众用户在获取目标互动图像的使用权限后,即可在目标直播间内通过发送包括该目标互动图像的消息会话,来使用该目标互动图像。例如,观众用户在生成消息内容时,可以通过消息输入控件,如输入框中输入目标互动图像与文本信息,从而生成待发送的消息内容。而输入目标互动图像的方式可以有多种,例如,可以通过在消息输入控件中输入目标互动图像的图像代码来实现。In one embodiment, after obtaining permission to use the target interactive image, a viewer can use the target interactive image by sending a message session containing the target interactive image within the target live stream room. For example, when generating message content, the viewer can input the target interactive image and text information through a message input control, such as an input box, to generate the message content to be sent. There are several ways to input the target interactive image; for example, it can be achieved by inputting the image code of the target interactive image in the message input control.
在一实施例中,考虑到为了加强对观众用户所具有的互动图像的使用权限进行更严谨的管理,可以在观众用户之间进行消息互动的时候,进一步地对消息内容中的互动图像的使用权限进行校验,具体地,基于直播的互动图像管理方法还可以包括:In one embodiment, considering the need for more stringent management of the interactive image usage rights of viewers, the usage rights of interactive images in the message content can be further verified when viewers interact with each other. Specifically, the live-streaming-based interactive image management method may further include:
基于观众用户的会话消息,生成待校验的会话数据,其中,该待校验会话数据包括至少一个互动图像的图像代码;Based on the audience user's conversation messages, generate conversation data to be verified, wherein the conversation data to be verified includes image code of at least one interactive image;
向服务器发送该待校验会话数据,以触发服务器基于该观众用户的用户权限信息对该互动图像进行权限校验,得到校验后会话数据,向目标直播间中成员用户的直播客户端发送该校验后会话数据,其中,该目标直播间为该观众用户发送会话数据的直播间。The session data to be verified is sent to the server to trigger the server to perform permission verification on the interactive image based on the user's permission information. After verification, the session data is sent to the live streaming client of the member user in the target live streaming room, where the target live streaming room is the live streaming room where the session data is sent by the user.
在一实施例中,以互动图像为表情为例,参考图12,观众用户侧的第二终端可以根据观众用户的输入产生会话消息,并发送到消息服务。消息服务收到该会话消息后,可以分析会话消息里的表情权限控制信息,并清理无权限的控制信息。最后把消息本体和权限信息推送给直播间内的成员用户的直播客户端,成员用户的直播客户端收到服务器推送的消息后,可以参考有无权限控制信息决定展示表情或屏蔽表情。In one embodiment, taking interactive images as emoticons as an example, referring to Figure 12, the second terminal on the viewer's side can generate a conversation message based on the viewer's input and send it to the message service. After receiving the conversation message, the message service can analyze the emoticon permission control information in the conversation message and clean up any unauthorized control information. Finally, the message body and permission information are pushed to the live streaming clients of the member users in the live streaming room. After receiving the message pushed by the server, the member users' live streaming clients can decide whether to display or block emoticons based on whether there is permission control information.
作为示例,可以以观众用户A在主播B的直播间发送主播所创建的表情为例作具体阐述。具体地,主播B拥有直播间,并且,主播B成功创建了两个表情,这两个表情的图像代码分别为emotex,emotey。用户A只拥有主播B的emotex表情的使用权限。此外,用户C也在主播B的直播间里,可接收直播间内的消息。As an example, let's consider a scenario where viewer A sends an emoticon created by streamer B in streamer B's livestream room. Specifically, streamer B owns the livestream room, and has successfully created two emoticons with image codes emotex and emotey, respectively. User A only has access to streamer B's emotex emoticon. Additionally, user C is also in streamer B's livestream room and can receive messages within the room.
值得注意的是,用户可以点击表情emotex的图片,客户端自动把表情对应的符号[:emotex]插入用户待发送的文本,或者,用户也可以在文本输入框直接输入表情符号[:emotey]。It's worth noting that users can click on the emotex image, and the client will automatically insert the corresponding symbol [:emotex] into the text the user wants to send. Alternatively, users can directly enter the emotex symbol [:emotey] in the text input box.
在该示例中,可以以用户A发送下面的文本为例:In this example, user A can send the following text:
[:emotex]foofoofoofoofoofoofoofoofoofoo[:emotey],bar[:emotez][:emotex]foofoofoofoofoofoofoofoofoofoo[:emotey],bar[:emotez]
用户A对应的第二终端可以产生一条消息发给服务器,内容如下(以JSON为例,不限于JSON)User A's corresponding second terminal can generate a message and send it to the server, with the following content (using JSON as an example, but not limited to JSON).
{{
“text”:”[:emotex]foofoofoofoofoofoofoofoofoofoo[:emotey],bar[:emotez]”,"text":"[:emotex]foofoofoofoofoofoofoofoofoofoo[:emotey],bar[:emotez]",
“emote_ext_info”:[“emotex”,”emotey”,”emotez”]"emote_ext_info":["emotex","emotey","emotez"]
}}
服务器在接收到该消息后,可以扫描emote_ext_info内容,并通过请求表情权限控制策略,确定emotex可以被用户A发送(用户A有权限),emotey不可以被用户A发送(用户A无权限),emotez不可以被用户A发送(主播B无此表情)。消息服务可对消息进行处理,得到处理后的消息内容如下:After receiving the message, the server can scan the `emote_ext_info` content and, by requesting the emoji permission control policy, determine that `emotex` can be sent by user A (user A has permission), `emotey` cannot be sent by user A (user A does not have permission), and `emotez` cannot be sent by user A (anchor B does not have this emoji). The message service can then process the message, obtaining the processed message content as follows:
{{
“text”:”[:emotex]foofoofoofoofoofoofoofoofoofoo[:emotey],bar[:emotez]”,"text":"[:emotex]foofoofoofoofoofoofoofoofoofoo[:emotey],bar[:emotez]",
“emote_ext_info”:[“emotex”]"emote_ext_info":["emotex"]
}}
进一步地,服务器把以上消息转发给直播间内的用户C的第二终端,用户C收到消息后,只正确显示了emotex的图片,而其他两个像表情格式的标识符不会被翻译为图片。Furthermore, the server forwards the above message to the second terminal of user C in the live broadcast room. After receiving the message, user C only correctly displays the emotex image, while the other two identifiers, which resemble emoticons, are not translated into images.
由上可知,本申请实施例在支持主播创建互动图像的基础上,通过对主播的权限等级进行判断,来确定主播当前是否具有创建互动图像的权限,因此,本申请实施例可以通过主播的权限等级来对主播创建互动图像进行管理。并且,本申请实施例还会进一步地管理所创建的互动图像的使用范围,具体地,该使用范围为包括使用者为该互动图像的创建主播、以及使用范围为主播为该创建主播的直播间,这样的话,本申请实施例能够对互动图像的使用与传播进行有效的管理,而且还有效地保护了主播对于其创建的互动图像的权益。As can be seen from the above, this embodiment of the application, based on supporting the creation of interactive images by broadcasters, determines whether the broadcaster currently has the permission to create interactive images by judging the broadcaster's permission level. Therefore, this embodiment of the application can manage the creation of interactive images by broadcasters through the broadcaster's permission level. Furthermore, this embodiment of the application also manages the scope of use of the created interactive images. Specifically, the scope of use includes the user being the broadcaster who created the interactive image, and the scope of use being the live broadcast room where the broadcaster created the interactive image. In this way, this embodiment of the application can effectively manage the use and dissemination of interactive images, and also effectively protect the rights and interests of broadcasters regarding the interactive images they create.
也就是说,本申请实施例能够通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理,进而使得直播资源,例如主播资源、互动图像、以及基于直播间创建的社区资源等,能高效地发挥作用。In other words, the embodiments of this application can effectively manage interactive images used in live streaming by managing the permissions of the anchor to create interactive images and the scope of use of the created interactive images, thereby enabling live streaming resources, such as anchor resources, interactive images, and community resources created based on the live streaming room, to play a role efficiently.
此外,在本申请实施例中,目标主播直播间内的观众用户,也可以在满足使用权限的条件下该目标主播创建的互动图像,对于使用权限的获取,则设置了虚拟资源转移以及订阅主播的方式,增强了主播直播间的可玩性,以及独特性。另外,本申请实施例中,将互动图像的权限信息与消息文本信息分离,使得服务端在处理权限信息时候,无需关心消息内容,提高了计算效率。Furthermore, in this embodiment, viewers within the target streamer's livestream room can also access interactive images created by the streamer, provided they meet the required permissions. For obtaining these permissions, methods such as virtual resource transfer and streamer subscription are implemented, enhancing the playability and uniqueness of the streamer's livestream room. Additionally, in this embodiment, the permission information for interactive images is separated from the message text information, allowing the server to process permission information without needing to concern itself with the message content, thus improving computational efficiency.
为了更好地实施以上方法,相应的,本申请实施例还提供一种基于直播的互动图像管理装置(即第一互动图像管理装置),其中,该第一互动图像管理装置可以集成在终端中。To better implement the above methods, this application also provides a live-stream-based interactive image management device (i.e., a first interactive image management device), which can be integrated into a terminal.
例如,如图13所示,该基于直播的互动图像管理装置可以包括操作页面展示单元301,创建页面展示单元302以及互动图像创建单元303,如下:For example, as shown in Figure 13, the live-stream-based interactive image management device may include an operation page display unit 301, a creation page display unit 302, and an interactive image creation unit 303, as follows:
操作页面展示单元301,用于展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;The operation page display unit 301 is used to display the target anchor's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control;
创建页面展示单元302,用于响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;The page creation display unit 302 is used to display an image creation page in response to a trigger operation of the image creation trigger control and when the permission level of the target anchor meets the preset level. The image creation page includes an image creation control.
互动图像创建单元303,用于响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。The interactive image creation unit 303 is used to create a target interactive image of the target anchor in response to an image creation operation of the image creation control, wherein the usage rights of the target interactive image include the user being the target anchor and the usage scope being the live broadcast room of the target anchor.
在一实施例中,参考图14,所述图像创建控件包括多个图像上传控件,每个所述图像上传控件对应上传图像的一种属性要求;所述互动图像创建单元303,可以包括:In one embodiment, referring to FIG14, the image creation control includes multiple image upload controls, each of which corresponds to an attribute requirement of the uploaded image; the interactive image creation unit 303 may include:
第一上传子单元3031,可以用于响应于针对所述图像上传控件的图像上传操作,上传满足所述图像上传控件对应属性要求的图像,以上传多个具有不同图像属性的原始图像;The first upload subunit 3031 can be used to respond to an image upload operation for the image upload control and upload an image that meets the attribute requirements of the image upload control, so as to upload multiple original images with different image attributes;
第一创建子单元3032,可以用于响应于针对所述图像创建页面的创建完成操作,基于上传的多个原始图像创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有不同图像属性的互动图像。The first creation subunit 3032 can be used to create a target interactive image of the target anchor based on multiple uploaded original images in response to a creation completion operation for the image creation page, wherein the target interactive image includes multiple interactive images with different image attributes.
在一实施例中,参考图15,所述图像创建控件包括多个图像上传控件,所述多个图像上传控件的属性要求包括相同图像属性类型下的属性要求;所述互动图像创建单元303,可以包括:In one embodiment, referring to FIG15, the image creation control includes multiple image upload controls, and the attribute requirements of the multiple image upload controls include attribute requirements under the same image attribute type; the interactive image creation unit 303 may include:
第二上传子单元3033,可以用于响应于针对所述图像上传控件的图像上传操作,上传满足所述图像上传控件对应属性要求的图像,以上传多个满足相同图像属性类型下属性要求的原始图像;The second upload subunit 3033 can be used to upload an image that meets the attribute requirements of the image upload control in response to the image upload operation of the image upload control, so as to upload multiple original images that meet the attribute requirements under the same image attribute type;
第二创建子单元3034,可以用于响应于针对所述图像创建页面的创建完成操作,基于上传的多个原始图像创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。The second creation subunit 3034 can be used to create a target interactive image of the target anchor based on multiple uploaded original images in response to the creation completion operation of the image creation page. The target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
在一实施例中,参考图16,所述图像创建控件包括多个图像上传控件,所述多个图像上传控件分别对应图像尺寸类型下的不同尺寸要求;所述互动图像创建单元303,可以包括:In one embodiment, referring to FIG16, the image creation control includes multiple image upload controls, each corresponding to different size requirements under an image size type; the interactive image creation unit 303 may include:
第三上传子单元3035,可以用于响应于针对所述图像上传控件的图像上传操作,上传所述图像上传控件对应尺寸要求的图像,以上传多个满足不同尺寸要求的原始图像;The third upload subunit 3035 can be used to upload an image corresponding to the size requirements of the image upload control in response to an image upload operation of the image upload control, so as to upload multiple original images that meet different size requirements;
第三创建子单元3036,可以用于响应于针对所述图像创建页面的创建完成操作,基于上传的多个原始图像创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个不同尺寸要求的互动图像。The third creation subunit 3036 can be used to create a target interactive image of the target anchor based on multiple uploaded original images in response to a creation completion operation for the image creation page, wherein the target interactive image includes multiple interactive images with different size requirements.
在一实施例中,参考图17,所述图像创建页面还包括图像属性适配控件;所述互动图像创建单元303,可以包括:In one embodiment, referring to FIG17, the image creation page further includes an image attribute adaptation control; the interactive image creation unit 303 may include:
配置页面展示子单元3037,可以用于响应于针对所述图像属性适配控件的触发操作,展示图像属性适配模式下的图像配置页面,其中,所述图像配置页面包括图像添加控件,所述图像添加控件用于生成多个具有相同图像属性类型下不同图像属性取值的互动图像;The configuration page display sub-unit 3037 can be used to respond to the trigger operation of the image attribute adaptation control and display the image configuration page in the image attribute adaptation mode. The image configuration page includes an image addition control, which is used to generate multiple interactive images with different image attribute values under the same image attribute type.
第四创建子单元3038,可以用于响应于针对所述图像添加控件的图像添加操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有相同图像属性类型下不同图像属性取值的互动图像。The fourth creation subunit 3038 can be used to create the target interactive image of the target anchor in response to the image addition operation of the image addition control, wherein the target interactive image includes multiple interactive images with different image attribute values under the same image attribute type.
在一实施例中,所述第四创建子单元3038,可以用于:In one embodiment, the fourth creation subunit 3038 can be used to:
响应于针对所述图像添加控件的图像添加操作,获取添加的原始图像,其中,所述原始图像为所述图像属性类型下的图像;基于所述添加的原始图像,创建所述目标主播的目标互动图像,其中,所述目标互动图像包括多个具有所述图像属性类型下不同图像属性取值的互动图像。In response to an image addition operation for the image addition control, the original image to be added is obtained, wherein the original image is an image under the image attribute type; based on the added original image, a target interactive image for the target anchor is created, wherein the target interactive image includes multiple interactive images with different image attribute values under the image attribute type.
在一实施例中,参考图18,所述图像创建页面还包括图像代码设置区域,所述图像代码设置区域包括图像代码输入控件;所述互动图像创建单元303,可以包括:In one embodiment, referring to FIG18, the image creation page further includes an image code setting area, which includes an image code input control; the interactive image creation unit 303 may include:
代码获取子单元3039,可以用于响应于针对所述图像代码输入控件的输入操作,获取输入的图像代码;The code acquisition subunit 3039 can be used to acquire the input image code in response to an input operation on the image code input control;
第五创建子单元30310,可以用于响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像为所述图像代码对应的互动图像。The fifth creation subunit 30310 can be used to create a target interactive image of the target anchor in response to an image creation operation of the image creation control, wherein the target interactive image is the interactive image corresponding to the image code.
在一实施例中,参考图19,所述互动图像创建单元303,还可以包括:In one embodiment, referring to FIG19, the interactive image creation unit 303 may further include:
数据生成子单元30311,可以用于基于所述创建的目标互动图像,生成待校验的图像数据,其中,所述待校验的图像数据包括所述目标互动图像的图像代码;The data generation subunit 30311 can be used to generate image data to be verified based on the created target interactive image, wherein the image data to be verified includes the image code of the target interactive image;
数据校验子单元30312,可以用于向服务器发送所述待校验的图像数据,以触发服务器基于所述目标主播的权限等级,对所述待校验的图像数据进行校验;The data verification subunit 30312 can be used to send the image data to be verified to the server to trigger the server to verify the image data to be verified based on the permission level of the target anchor.
结果确定子单元30313,可以用于基于所述校验结果,确定所述目标互动图像的创建结果。The result determination subunit 30313 can be used to determine the creation result of the target interactive image based on the verification result.
在一实施例中,参考图20,所述图像创建页面还包括至少一个图像预览模式下的图像预览区域,所述基于直播的互动图像管理装置,还可以包括:In one embodiment, referring to FIG20, the image creation page further includes at least one image preview area in image preview mode, and the live-stream-based interactive image management device may further include:
互动图像预览单元304,可以用于基于创建的目标互动图像,在所述图像预览区域展示对应图像预览模式下的目标互动图像。The interactive image preview unit 304 can be used to display the target interactive image in the image preview area under the corresponding image preview mode based on the created target interactive image.
在一实施例中,参考图21,所述创建页面展示单元302,可以包括:In one embodiment, referring to FIG21, the page display creation unit 302 may include:
信息获取子单元3021,可以用于获取所述目标主播在所述直播客户端的用户属性信息与历史行为信息;The information acquisition subunit 3021 can be used to acquire the target anchor's user attribute information and historical behavior information in the live streaming client;
等级确定子单元3022,可以用于基于所述用户属性信息与所述历史行为信息,确定所述目标主播当前的权限等级;The level determination subunit 3022 can be used to determine the current permission level of the target anchor based on the user attribute information and the historical behavior information;
创建页面展示子单元3023,可以用于响应于针对所述图像创建触发控件的图像创建触发操作,且所述目标主播的用户等级满足预设等级时,展示图像创建页面。The page display subunit 3023 can be used to display the image creation page in response to the image creation trigger operation of the image creation trigger control, and when the user level of the target anchor meets the preset level.
具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.
由上可知,本实施例的基于直播的互动图像管理装置中由操作页面展示单元301展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;由创建页面展示单元302响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;由互动图像创建单元303响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。As can be seen from the above, in the live-streaming-based interactive image management device of this embodiment, the operation page display unit 301 displays the user operation page of the target anchor on the live-streaming client, wherein the user operation page includes an image creation trigger control; the creation page display unit 302, in response to the trigger operation of the image creation trigger control and when the target anchor's permission level meets the preset level, displays an image creation page, wherein the image creation page includes an image creation control; and the interactive image creation unit 303, in response to the image creation operation of the image creation control, creates a target interactive image of the target anchor, wherein the usage permission of the target interactive image includes the user being the target anchor and the usage scope being the target anchor's live-streaming room.
该方案在支持主播创建互动图像的基础上,通过对主播的权限等级进行判断,来确定主播当前是否具有创建互动图像的权限,因此,该方案可以通过主播的权限等级来对主播创建互动图像进行管理。并且,该方案还会进一步地管理所创建的互动图像的使用范围,具体地,该使用范围为包括使用者为该互动图像的创建主播、以及使用范围为主播为该创建主播的直播间,这样的话,该方案能够对互动图像的使用与传播进行有效的管理,而且还有效地保护了主播对于其创建的互动图像的权益。因此,该方案能够通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理,进而使得直播资源,例如主播资源、互动图像、以及基于直播间创建的社区资源等,能高效地发挥作用。This solution, while supporting broadcasters in creating interactive images, determines their permission level to decide whether they have the necessary authorization. Therefore, it manages interactive image creation based on broadcaster permission levels. Furthermore, it manages the scope of use for these created interactive images, specifically including the user as the broadcaster who created the image and the broadcaster's live stream room. This effectively manages the use and dissemination of interactive images and protects the broadcaster's rights to their creations. Thus, by managing broadcaster permissions and the scope of use, this solution effectively manages interactive images used in live streams, ensuring that live stream resources, such as broadcaster resources, interactive images, and community resources created within the live stream room, function efficiently.
为了更好地实施以上方法,相应的,本申请实施例还提供一种基于直播的互动图像管理装置(即第二互动图像管理装置),其中,该第二互动图像管理装置可以集成在终端中。To better implement the above methods, this application also provides a live-stream-based interactive image management device (i.e., a second interactive image management device), which can be integrated into a terminal.
例如,如图22所示,该基于直播的互动图像管理装置可以包括互动页面展示单元401,选择区域展示单元402以及使用权限获取单元403,如下:For example, as shown in Figure 22, the live-stream-based interactive image management device may include an interactive page display unit 401, a selection area display unit 402, and a usage permission acquisition unit 403, as follows:
互动页面展示单元401,用于展示观众用户在直播客户端的直播互动页面,其中,所述直播互动页面包括目标直播间的消息互动区域,所述目标直播间的主播为目标主播;The interactive page display unit 401 is used to display the live interactive page of the audience user on the live client, wherein the live interactive page includes a message interaction area of the target live room and the host of the target live room is the target host;
选择区域展示单元402,用于基于针对所述消息互动区域的图像选择触发操作,展示图像选择区域,其中,所述图像选择区域包括所述目标主播的互动图像;The selection area display unit 402 is used to display an image selection area based on an image selection trigger operation for the message interaction area, wherein the image selection area includes the interactive image of the target anchor;
使用权限获取单元403,用于响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限,其中,所述使用权限包括使用者为所述观众用户、以及使用范围为所述目标主播的直播间。The permission acquisition unit 403 is used to acquire the permission for the target interactive image in response to the permission acquisition operation for the target interactive image, wherein the permission includes the user being the audience user and the scope of use being the live broadcast room of the target anchor.
在一实施例中,参考图23,所述使用权限获取单元403,可以包括:In one embodiment, referring to FIG23, the access permission acquisition unit 403 may include:
转移控件展示子单元4031,可以用于响应于针对所述目标互动图像的使用权限获取操作,展示虚拟资源转移控件;The transfer control display subunit 4031 can be used to display a virtual resource transfer control in response to an operation that requests access to the target interactive image.
虚拟资源转移子单元4032,可以用于响应于针对所述虚拟资源转移控件的虚拟资源转移操作,触发对所述观众用户的虚拟资源账号转移进行虚拟资源转移;The virtual resource transfer subunit 4032 can be used to trigger a virtual resource transfer of the viewer user's virtual resource account in response to a virtual resource transfer operation on the virtual resource transfer control;
使用权限获取子单元4033,可以用于若检测到虚拟资源转移成功,获取所述目标互动图像的使用权限。The permission acquisition subunit 4033 can be used to acquire the usage permission of the target interactive image if the transfer of virtual resources is detected to be successful.
该申请实施例可以由上可知,本申请实施例在支持主播创建互动图像的基础上,通过对主播的权限等级进行判断,来确定主播当前是否具有创建互动图像的权限,因此,本申请实施例可以通过主播的权限等级来对主播创建互动图像进行管理。并且,本申请实施例还会进一步地管理所创建的互动图像的使用范围,具体地,该使用范围为包括使用者为该互动图像的创建主播、以及使用范围为主播为该创建主播的直播间,这样的话,本申请实施例能够对互动图像的使用与传播进行有效的管理,而且还有效地保护了主播对于其创建的互动图像的权益。As can be seen from the above, this embodiment of the application, based on supporting the creation of interactive images by broadcasters, determines whether the broadcaster currently has the permission to create interactive images by judging the broadcaster's permission level. Therefore, this embodiment of the application can manage the creation of interactive images by broadcasters through their permission level. Furthermore, this embodiment of the application also manages the scope of use of the created interactive images. Specifically, the scope of use includes the user being the broadcaster who created the interactive image, and the scope of use being the live broadcast room where the broadcaster created the interactive image. In this way, this embodiment of the application can effectively manage the use and dissemination of interactive images, and also effectively protect the rights and interests of broadcasters regarding the interactive images they create.
也就是说,本申请实施例能够通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理,进而使得直播资源,例如主播资源、互动图像、以及基于直播间创建的社区资源等,能高效地发挥作用。In other words, the embodiments of this application can effectively manage interactive images used in live streaming by managing the permissions of the anchor to create interactive images and the scope of use of the created interactive images, thereby enabling live streaming resources, such as anchor resources, interactive images, and community resources created based on the live streaming room, to play a role efficiently.
此外,本申请实施例使得目标主播直播间内的观众用户,也可以在满足使用权限的条件下该目标主播创建的互动图像,增强了主播直播间的可玩性,以及独特性。Furthermore, the embodiments of this application enable viewers in the target streamer's live broadcast room to also interact with the interactive images created by the target streamer, provided that their usage permissions are met, thereby enhancing the playability and uniqueness of the streamer's live broadcast room.
此外,本申请实施例还提供一种计算机设备,该计算机设备可以为终端设备,如图24所示,其示出了本申请实施例所涉及的计算机设备的结构示意图,具体来讲:Furthermore, this application embodiment also provides a computer device, which can be a terminal device, as shown in FIG24, which illustrates a structural schematic diagram of the computer device involved in this application embodiment. Specifically:
该计算机设备可以包括有一个或一个以上计算机可读存储介质的存储器501、输入单元502、显示单元503、包括有一个或者一个以上处理核心的处理器504、以及电源505等部件。本领域技术人员可以理解,图24中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The computer device may include a memory 501 with one or more computer-readable storage media, an input unit 502, a display unit 503, a processor 504 including one or more processing cores, and a power supply 505, etc. Those skilled in the art will understand that the computer device structure shown in FIG24 does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
存储器501可用于存储软件程序以及模块,处理器504通过运行存储在存储器501的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器501可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据计算机设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器501可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器501还可以包括存储器控制器,以提供处理器504和输入单元502对存储器501的访问。The memory 501 can be used to store software programs and modules. The processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 501. The memory 501 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device (such as audio data, telephone directory, etc.). In addition, the memory 501 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 501 may also include a memory controller to provide access to the memory 501 for the processor 504 and the input unit 502.
输入单元502可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元502可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器504,并能接收处理器504发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元502还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Input unit 502 can be used to receive input numerical or character information, and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. Specifically, in one embodiment, input unit 502 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or touchpad, can collect user touch operations on or near it (e.g., user operations using fingers, styluses, or any suitable object or accessory on or near the touch-sensitive surface) and drive corresponding connection devices according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor 504, and can receive and execute commands from the processor 504. Furthermore, various types of touch-sensitive surfaces, such as resistive, capacitive, infrared, and surface acoustic wave, can be used. In addition to the touch-sensitive surface, input unit 502 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.
显示单元503可用于显示由用户输入的信息或提供给用户的信息以及计算机设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元503可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器504以确定触摸事件的类型,随后处理器504根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图24中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。Display unit 503 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of computer devices. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Display unit 503 may include a display panel, optionally configured as a liquid crystal display (LCD), organic light-emitting diode (OLED), or similar form. Further, a touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it transmits the information to processor 504 to determine the type of touch event. Subsequently, processor 504 provides corresponding visual output on the display panel according to the type of touch event. Although in Figure 24, the touch-sensitive surface and the display panel are implemented as two separate components to achieve input and output functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to achieve input and output functions.
处理器504是计算机设备的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器501内的软件程序和/或模块,以及调用存储在存储器501内的数据,执行计算机设备的各种功能和处理数据。可选的,处理器504可包括一个或多个处理核心;优选的,处理器504可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器504中。The processor 504 is the control center of the computer device, connecting various parts of the mobile phone through various interfaces and lines. It performs various functions and processes data by running or executing software programs and/or modules stored in the memory 501, and by calling data stored in the memory 501. Optionally, the processor 504 may include one or more processing cores; preferably, the processor 504 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 504.
计算机设备还包括给各个部件供电的电源505(比如电池),优选的,电源可以通过电源管理系统与处理器504逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源505还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The computer device also includes a power supply 505 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 504 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 505 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
尽管未示出,计算机设备还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,计算机设备中的处理器504会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器501中,并由处理器504来运行存储在存储器501中的应用程序,从而实现各种功能,如下:Although not shown, the computer device may also include a camera, Bluetooth module, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 504 in the computer device loads the executable files corresponding to the processes of one or more applications into the memory 501 according to the following instructions, and the processor 504 runs the applications stored in the memory 501 to realize various functions, as follows:
展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。The system displays the target streamer's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control; in response to a trigger operation on the image creation trigger control, and when the target streamer's permission level meets a preset level, an image creation page is displayed, wherein the image creation page includes an image creation control; in response to an image creation operation on the image creation control, a target interactive image of the target streamer is created, wherein the usage permissions of the target interactive image include the user being the target streamer and the usage scope being the target streamer's live streaming room.
或者or
展示观众用户在直播客户端的直播互动页面,其中,所述直播互动页面包括目标直播间的消息互动区域,所述目标直播间的主播为目标主播;基于针对所述消息互动区域的图像选择触发操作,展示图像选择区域,其中,所述图像选择区域包括所述目标主播的互动图像;响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限,其中,所述使用权限包括使用者为所述观众用户、以及使用范围为所述目标主播的直播间。The system displays a live interaction page for viewers on a live streaming client. This page includes a message interaction area for a target live stream, where the streamer is the target streamer. Based on an image selection trigger operation for the message interaction area, an image selection area is displayed, including interactive images of the target streamer. In response to a permission acquisition operation for the target interactive image, usage permissions for the target interactive image are acquired, where the usage permissions include the user being the viewer and the scope of use being the target streamer's live stream.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
由上可知,本实施例的计算机设备在支持主播创建互动图像的基础上,通过对主播的权限等级进行判断,来确定主播当前是否具有创建互动图像的权限,因此,本实施例的计算机设备可以通过主播的权限等级来对主播创建互动图像进行管理。并且,本实施例的计算机设备还会进一步地管理所创建的互动图像的使用范围,具体地,该使用范围为包括使用者为该互动图像的创建主播、以及使用范围为主播为该创建主播的直播间,这样的话,本实施例的计算机设备能够对互动图像的使用与传播进行有效的管理,而且还有效地保护了主播对于其创建的互动图像的权益。As can be seen from the above, the computer device in this embodiment, while supporting the creation of interactive images by the broadcaster, determines whether the broadcaster currently has the permission to create interactive images by judging the broadcaster's permission level. Therefore, the computer device in this embodiment can manage the creation of interactive images by the broadcaster based on the broadcaster's permission level. Furthermore, the computer device in this embodiment also manages the scope of use of the created interactive images. Specifically, the scope of use includes the user being the broadcaster who created the interactive image, and the scope of use being the live broadcast room where the broadcaster created the interactive image. In this way, the computer device in this embodiment can effectively manage the use and dissemination of interactive images, and also effectively protect the rights and interests of the broadcaster regarding the interactive images they create.
也就是说,本实施例的计算机设备能够通过对主播创建互动图像的权限,以及对所创建的互动图像的使用范围进行管理,来有效地对用于直播中的互动图像进行管理,进而使得直播资源,例如主播资源、互动图像、以及基于直播间创建的社区资源等,能高效地发挥作用。In other words, the computer device in this embodiment can effectively manage interactive images used in live streaming by managing the permissions of the anchor to create interactive images and the scope of use of the created interactive images, thereby enabling live streaming resources, such as anchor resources, interactive images, and community resources created based on the live streaming room, to play their role efficiently.
此外,本实施例的计算机设备使得目标主播直播间内的观众用户,也可以在满足使用权限的条件下该目标主播创建的互动图像,增强了主播直播间的可玩性,以及独特性。Furthermore, the computer equipment in this embodiment enables viewers in the target streamer's live broadcast room to access interactive images created by the target streamer, provided that their usage permissions are met, thereby enhancing the playability and uniqueness of the streamer's live broadcast room.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
为此,本申请实施例提供一种存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本申请实施例所提供的任一种基于直播的互动图像管理方法中的步骤。例如,该指令可以执行如下步骤:To this end, embodiments of this application provide a storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the live-stream-based interactive image management methods provided in embodiments of this application. For example, the instructions can execute the following steps:
展示目标主播在直播客户端的用户操作页面,其中,所述用户操作页面包括图像创建触发控件;响应于针对所述图像创建触发控件的触发操作,且所述目标主播的权限等级满足预设等级时,展示图像创建页面,其中,所述图像创建页面包括图像创建控件;响应于针对所述图像创建控件的图像创建操作,创建所述目标主播的目标互动图像,其中,所述目标互动图像的使用权限包括使用者为所述目标主播、以及使用范围为所述目标主播的直播间。The system displays the target streamer's user operation page on the live streaming client, wherein the user operation page includes an image creation trigger control; in response to a trigger operation on the image creation trigger control, and when the target streamer's permission level meets a preset level, an image creation page is displayed, wherein the image creation page includes an image creation control; in response to an image creation operation on the image creation control, a target interactive image of the target streamer is created, wherein the usage permissions of the target interactive image include the user being the target streamer and the usage scope being the target streamer's live streaming room.
或者or
展示观众用户在直播客户端的直播互动页面,其中,所述直播互动页面包括目标直播间的消息互动区域,所述目标直播间的主播为目标主播;基于针对所述消息互动区域的图像选择触发操作,展示图像选择区域,其中,所述图像选择区域包括所述目标主播的互动图像;响应于针对目标互动图像的使用权限获取操作,获取所述目标互动图像的使用权限,其中,所述使用权限包括使用者为所述观众用户、以及使用范围为所述目标主播的直播间。The system displays a live interaction page for viewers on a live streaming client. This page includes a message interaction area for a target live stream, where the streamer is the target streamer. Based on an image selection trigger operation for the message interaction area, an image selection area is displayed, including interactive images of the target streamer. In response to a permission acquisition operation for the target interactive image, usage permissions for the target interactive image are acquired, where the usage permissions include the user being the viewer and the scope of use being the target streamer's live stream.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一种基于直播的互动图像管理方法中的步骤,因此,可以实现本申请实施例所提供的任一种基于直播的互动图像管理方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the storage medium can execute the steps of any of the live-stream-based interactive image management methods provided in the embodiments of this application, the beneficial effects that any of the live-stream-based interactive image management methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述基于直播的互动图像管理方面的各种可选实现方式中提供的方法。According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations of the above-described live-stream-based interactive image management aspect.
以上对本申请实施例所提供的一种基于直播的互动图像管理方法、装置、设备和存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The foregoing has provided a detailed description of a live-stream-based interactive image management method, apparatus, device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims (16)
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK40048695A HK40048695A (en) | 2021-12-10 |
| HK40048695B true HK40048695B (en) | 2024-06-14 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12096094B2 (en) | Methods, systems, and media for providing personalized notifications to video viewers | |
| CN113157157B (en) | Live broadcast-based interactive image management method, device, equipment and storage medium | |
| US11871063B2 (en) | Intelligent multi-device content distribution based on internet protocol addressing | |
| US8707185B2 (en) | Dynamic information management system and method for content delivery and sharing in content-, metadata- and viewer-based, live social networking among users concurrently engaged in the same and/or similar content | |
| US8117281B2 (en) | Using internet content as a means to establish live social networks by linking internet users to each other who are simultaneously engaged in the same and/or similar content | |
| US20140351059A1 (en) | Interactive advertising | |
| US20170099239A1 (en) | System and method for updating information in an instant messaging application | |
| US20210227044A1 (en) | Relevant secondary-device content generation based onassociated internet protocol addressing | |
| US20170294212A1 (en) | Video creation, editing, and sharing for social media | |
| US20100122170A1 (en) | Systems and methods for interactive reading | |
| JP2004207951A (en) | Video browsing system | |
| JP2020188514A (en) | System, method and program for distributing video | |
| CN114500427A (en) | Method, apparatus and computer readable medium for transmitting advertisement message in chat group | |
| CN114968025B (en) | Method, device, storage medium and electronic device for publishing comment information | |
| HK40048695B (en) | Interactive image management method based on live broadcast, device, equipment and storage medium | |
| HK40048695A (en) | Interactive image management method based on live broadcast, device, equipment and storage medium | |
| EP3152726A1 (en) | Delivering content | |
| JP7375241B1 (en) | Content management system, content management method, content management program, and user terminal | |
| WO2025208297A1 (en) | Content presentation method and apparatus, and device and storage medium | |
| HK40038272B (en) | Method and device for processing live broadcast document | |
| CN111447468A (en) | Information sharing system, method and non-transitory machine readable medium |