




























技术领域technical field
本申请涉及互联网技术领域,特别涉及一种信息显示方法、装置、存储介质及设备。The present application relates to the field of Internet technologies, and in particular, to an information display method, device, storage medium and device.
背景技术Background technique
随着互联网技术的快速发展,应用客户端内的运营活动越来越多样化,比如,应用客户端内的彩蛋活动便是一种有效的运营手段。其中,彩蛋是指在应用客户端内基于用户输入而主动触发的一种隐藏动态效果,能够使用户群体在人机交互过程中感受到愉悦。With the rapid development of Internet technology, the operation activities in the application client are more and more diversified. For example, the easter egg activity in the application client is an effective operation method. Among them, the easter egg refers to a hidden dynamic effect that is actively triggered in the application client based on user input, which can make the user group feel happy in the process of human-computer interaction.
由于彩蛋活动的多样性和趣味性,是影响用户参与的重要因素,为此,如何优化信息显示,突破彩蛋显示样式固定单一的局限,实现以新的互动形式来提升人机互动效果,便成为了本领域技术人员亟待解决的一个技术难题。Because the diversity and fun of easter egg activities are important factors that affect user participation, how to optimize information display, break through the limitation of a single display style of easter eggs, and achieve a new interactive form to enhance the effect of human-computer interaction has become a A technical problem to be solved urgently by those skilled in the art is solved.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种信息显示方法、装置、存储介质及设备,能够为用户呈现内容丰富且具趣味性的彩蛋,实现了以新的互动形式来提升人机互动效果。所述技术方案如下:The embodiments of the present application provide an information display method, device, storage medium and device, which can present rich and interesting easter eggs to users, and realize a new interactive form to improve the effect of human-computer interaction. The technical solution is as follows:
一方面,提供了一种信息显示方法,所述方法包括:In one aspect, an information display method is provided, the method comprising:
响应于用户输入数据中包括动画触发信息,在互动界面上显示第一动画和第二动画;其中,所述第一动画是用于引导出所述第二动画的前置动画;所述第二动画用于呈现视觉元素向第一边界移动;In response to the animation triggering information included in the user input data, a first animation and a second animation are displayed on the interactive interface; wherein, the first animation is a pre-animation used to guide the second animation; the second animation The animation is used to present the movement of the visual element to the first boundary;
响应于针对所述视觉元素的第一触发操作,进行页面跳转并显示与所述动画触发信息匹配的新页面。In response to the first trigger operation for the visual element, a page jump is performed and a new page matching the animation trigger information is displayed.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
显示所述虚拟发送物件由第四边界逐渐显示后,沿着由所述第四边界指向所述第二边界的方向逐渐移动并发放所述视觉元素,直至到达所述第二边界逐渐隐藏的动态效果。After displaying that the virtual sending object is gradually displayed from the fourth boundary, it gradually moves along the direction from the fourth boundary to the second boundary and releases the visual element until it reaches the dynamic state that the second boundary is gradually hidden Effect.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
显示所述虚拟收集物件由第五边界逐渐显示后,沿着由所述第五边界指向所述第三边界的方向逐渐移动并逐一收集所述视觉元素,直至到达所述第三边界逐渐隐藏的动态效果。After displaying that the virtual collection object is gradually displayed from the fifth boundary, it gradually moves along the direction from the fifth boundary to the third boundary and collects the visual elements one by one, until it reaches the part where the third boundary is gradually hidden. dynamic effect.
在一些实施例中,所述响应于所述用户输入数据中包括所述动画触发信息,获取参与当前互动的N个用户账号,包括:In some embodiments, acquiring N user accounts participating in the current interaction in response to the animation triggering information included in the user input data includes:
响应于所述用户输入数据中包括所述动画触发信息,向服务器发送请求消息,所述请求消息中携带目标消息的消息ID;其中,所述请求消息用于指示所述服务器从参与互动的全部用户账号中选择N个用户账号,并向参与互动的各个用户账号下发响应消息;所述响应消息携带所述N个用户账号的账号ID;In response to the user input data including the animation trigger information, a request message is sent to the server, where the request message carries the message ID of the target message; wherein, the request message is used to instruct the server from all participants in the interaction. Selecting N user accounts from the user accounts, and delivering a response message to each user account participating in the interaction; the response message carries the account IDs of the N user accounts;
在接收到所述响应消息后,获取所述N个用户账号对应的N个用户标识。After receiving the response message, N user identifiers corresponding to the N user accounts are acquired.
在一些实施例中,所述响应消息中还携带目标消息的消息ID;所述在互动界面上显示第一动画和第二动画,包括:In some embodiments, the response message also carries the message ID of the target message; the displaying the first animation and the second animation on the interactive interface includes:
在接收到所述响应消息后,确定所述消息ID对应的目标用户标识;After receiving the response message, determine the target user identifier corresponding to the message ID;
基于所述消息ID对应的目标用户标识的显示位置,显示所述第一动画。The first animation is displayed based on the display position of the target user identifier corresponding to the message ID.
在一些实施例中,所述第一动画采用会话层坐标系,所述第一动画的执行位置坐标与所述目标消息的坐标相关,且所述第一动画跟随屏幕滑动而滑动;所述第二动画采用互动界面坐标系。In some embodiments, the first animation adopts a session layer coordinate system, the coordinates of the execution position of the first animation are related to the coordinates of the target message, and the first animation slides along with the screen; The second animation adopts the interactive interface coordinate system.
另一方面,提供了一种信息显示装置,所述装置包括:In another aspect, an information display device is provided, the device comprising:
第一显示模块,被配置为响应于用户输入数据中包括动画触发信息,在互动界面上显示第一动画和第二动画;其中,所述第一动画是用于引导出所述第二动画的前置动画;所述第二动画用于呈现视觉元素向第一边界移动;The first display module is configured to display the first animation and the second animation on the interactive interface in response to the animation trigger information included in the user input data; wherein the first animation is used to guide the second animation front animation; the second animation is used to present the movement of the visual element to the first boundary;
第二显示模块,被配置为响应于针对所述视觉元素的第一触发操作,进行页面跳转并显示与所述动画触发信息匹配的新页面。The second display module is configured to perform a page jump and display a new page matching the animation trigger information in response to the first trigger operation on the visual element.
在一些实施例中,所述动画触发信息包括:文本形式的关键词、音频形式的关键词和特定表情;In some embodiments, the animation trigger information includes: keywords in text form, keywords in audio form, and specific expressions;
所述视觉元素在所述互动界面上的移动样式可变;所述移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种。The movement style of the visual element on the interactive interface is variable; the movement style includes one or more of a movement speed, a movement end position, a size, and a movement track.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further comprises:
处理模块,被配置为响应于所述用户输入数据中包括所述动画触发信息,获取输入所述动画触发信息的目标用户账号;获取所述目标用户账号对应的目标用户标识,将所述目标用户标识与所述动画触发信息对应的视觉元素绑定;The processing module is configured to, in response to the user input data including the animation trigger information, obtain a target user account for inputting the animation trigger information; obtain a target user identifier corresponding to the target user account, and assign the target user identifying the visual element binding corresponding to the animation trigger information;
所述第一显示模块,被配置为在所述互动界面上显示贴附有所述目标用户标识的视觉元素向所述第一边界移动。The first display module is configured to display on the interactive interface that the visual element attached with the target user identification moves toward the first boundary.
在一些实施例中,所述处理模块,还被配置为响应于所述用户输入数据中包括所述动画触发信息,获取参与当前互动的N个用户账号,N为不小于2的正整数;获取所述N个用户账号对应的N个用户标识,将所述N个用户标识与所述动画触发信息对应的视觉元素绑定;In some embodiments, the processing module is further configured to, in response to the user input data including the animation trigger information, obtain N user accounts participating in the current interaction, where N is a positive integer not less than 2; obtain The N user identities corresponding to the N user accounts, bind the N user identities to the visual elements corresponding to the animation trigger information;
所述第一显示模块,还被配置为在所述互动界面上显示N个贴附有不同用户标识的视觉元素向所述第一边界移动。The first display module is further configured to display, on the interactive interface, N visual elements attached with different user identities moving toward the first boundary.
在一些实施例中,所述第一显示模块,还被配置为:In some embodiments, the first display module is further configured to:
响应于所述视觉元素移动至所述第一边界,所述视觉元素终止移动,在所述第一边界处显示终止移动的所述视觉元素;in response to the visual element moving to the first boundary, the visual element terminating movement, displaying the visual element terminating movement at the first boundary;
或,所述视觉元素为M个;响应于所述视觉元素移动至所述第一边界,隐藏显示M个视觉元素中的部分视觉元素,另一部分视觉元素终止移动,在所述第一边界处显示终止移动的另一部分视觉元素,M为不小于2的正整数。Or, the number of visual elements is M; in response to the visual elements moving to the first boundary, part of the visual elements in the M visual elements are hidden and displayed, and another part of the visual elements terminates movement, at the first boundary Display another part of the visual element that terminates the movement, M is a positive integer not less than 2.
在一些实施例中,所述第二动画还用于呈现虚拟发放物件向第二边界移动并发放所述视觉元素;In some embodiments, the second animation is further used to present the virtual dispensing object moving to the second boundary and dispensing the visual element;
其中,所述虚拟发放物件在所述互动界面上的移动样式可变;所述移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种。Wherein, the movement pattern of the virtual dispensing object on the interactive interface is variable; the movement pattern includes one or more of movement speed, movement termination position, size and movement trajectory.
在一些实施例中,所述第二动画还用于呈现虚拟收集物件向第三边界移动并逐一收集移动中的所述视觉元素;In some embodiments, the second animation is further used to present the virtual collection object moving to the third boundary and to collect the moving visual elements one by one;
其中,所述虚拟收集物件在所述互动界面上的移动样式可变。Wherein, the movement style of the virtual collection object on the interactive interface is variable.
在一些实施例中,所述视觉元素的个数为M个,且移动中的视觉元素具有不同的移动样式;所述移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种;In some embodiments, the number of the visual elements is M, and the moving visual elements have different movement styles; the movement styles include one or more of a movement speed, a movement end position, a size, and a movement track. variety;
其中,所述移动中的所述视觉元素具有不同的移动样式,包括:Wherein, the visual elements in the movement have different movement styles, including:
M个视觉元素中的部分视觉元素在移动过程中具有不同的移动样式;或,Some of the M visual elements have different movement styles during the movement; or,
所述M个视觉元素中不同的视觉元素在移动过程中具有不同的移动样式。Different visual elements among the M visual elements have different moving styles during the moving process.
在一些实施例中,所述第一显示模块,还被配置为基于目标位置显示所述第一动画,所述目标位置是目标消息对应的目标用户标识的显示位置,所述目标消息中包括所述动画触发信息。In some embodiments, the first display module is further configured to display the first animation based on a target position, where the target position is a display position of a target user identifier corresponding to a target message, and the target message includes all The animation trigger information is described.
在一些实施例中,所述第二显示模块,还被配置为:In some embodiments, the second display module is further configured to:
响应于移动中的所述视觉元素未与虚拟障碍物发生碰撞,且所述视觉元素在所述第一边界终止移动,在获取到针对所述视觉元素的第一触发操作后,进行页面跳转并显示所述视觉元素对应的新页面;或,In response to that the moving visual element does not collide with the virtual obstacle, and the visual element stops moving at the first boundary, after acquiring the first trigger operation for the visual element, perform a page jump and display a new page corresponding to the visual element; or,
响应于移动中的所述视觉元素落入虚拟收集物件,在获取到针对所述视觉元素的第一触发操作后,进行页面跳转并显示所述视觉元素对应的新页面。In response to the moving visual element falling into the virtual collection object, after acquiring the first trigger operation for the visual element, a page jump is performed and a new page corresponding to the visual element is displayed.
在一些实施例中,所述第一显示模块,还被配置为:In some embodiments, the first display module is further configured to:
在显示第二动画的过程中,响应于针对移动中的所述视觉元素的第二触发操作,暂停显示所述第二动画;其中,在暂停显示所述第二动画过程中,所述视觉元素暂停移动;In the process of displaying the second animation, in response to a second trigger operation for the moving visual element, the display of the second animation is suspended; wherein, in the process of pausing the display of the second animation, the visual element suspend movement;
响应于针对暂停移动的所述视觉元素的第三触发操作,继续显示所述第二动画。Continuing to display the second animation in response to a third trigger operation for the visual element that paused movement.
在一些实施例中,所述处理模块,还被配置为:In some embodiments, the processing module is further configured to:
响应于所述用户输入数据中包括所述动画触发信息,随机获取参与当前互动的N个用户账号;或,In response to the user input data including the animation trigger information, randomly acquiring N user accounts participating in the current interaction; or,
响应于所述用户输入数据中包括所述动画触发信息,获取输入所述动画触发信息的N个用户账号。In response to the user input data including the animation trigger information, N user accounts that input the animation trigger information are acquired.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
第三显示模块,被配置为在所述视觉元素的移动过程中,在所述互动界面上显示虚拟控制区域;其中,所述虚拟控制区域中包括至少两个调整选项,所述调整选项用于对移动中的所述视觉元素的移动样式进行调整;The third display module is configured to display a virtual control area on the interactive interface during the movement of the visual element; wherein, the virtual control area includes at least two adjustment options, and the adjustment options are used for adjusting the mobile style of the visual element in motion;
调整模块,被配置为响应于对所述至少两个调整选项中任意一个调整选项的选中操作,基于选中的调整选项指示的调整方式和输入的调整参数,调整移动中的所述视觉元素的移动样式;An adjustment module configured to, in response to a selection operation of any one of the at least two adjustment options, adjust the movement of the visual element in motion based on the adjustment method indicated by the selected adjustment option and the input adjustment parameter style;
同步模块,被配置为将所述调整方式和所述调整参数同步至参与互动的其他用户账号。The synchronization module is configured to synchronize the adjustment method and the adjustment parameter to other user accounts participating in the interaction.
在一些实施例中,所述第二显示模块,被配置为:In some embodiments, the second display module is configured to:
响应于针对所述视觉元素的第一触发操作,跳转至目标应用程序并通过所述目标应用程序显示所述新页面;或,In response to a first trigger operation for the visual element, jump to a target application and display the new page through the target application; or,
响应于针对所述视觉元素的第一触发操作,进行应用内页面跳转并显示所述新页面;In response to the first trigger operation for the visual element, performing an in-app page jump and displaying the new page;
其中,所述新页面包括以下任意一项:Wherein, the new page includes any one of the following:
所述新页面为与所述动画触发信息相关的礼品赠送页面;The new page is a gift giving page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的内容搜索页面;The new page is a content search page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的活动详情页面;The new page is an activity details page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的物品购买页面;The new page is an item purchase page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的游戏页面。The new page is a game page related to the animation trigger information.
在一些实施例中,多个用户账号以群组形式参与互动;所述第二显示模块,被配置为响应于针对所述视觉元素的第一触发操作,跳转至游戏应用程序并将当前登录的第一用户账号添加至目标阵营,通过所述游戏应用程序显示所述目标阵营中的队员;其中,所述目标阵营中还包括所述群组中的其他用户账号。In some embodiments, multiple user accounts participate in the interaction in a group form; the second display module is configured to jump to the game application and log in the current login in response to the first trigger operation on the visual element The first user account of the target camp is added to the target camp, and the players in the target camp are displayed through the game application program; wherein, the target camp also includes other user accounts in the group.
在一些实施例中,所述第二显示模块,被配置为响应于针对所述视觉元素的第一触发操作,跳转至游戏应用程序,通过所述游戏应用程序显示游戏组队页面。In some embodiments, the second display module is configured to jump to a game application in response to a first trigger operation on the visual element, and display a game team page through the game application.
在一些实施例中,所述第二显示模块,被配置为响应于对贴附有第一用户标识的视觉元素的第一触发操作,跳转至所述游戏应用程序并将所述第一用户账号添加至所述目标阵营,通过所述游戏应用程序显示所述目标阵营中的队员;所述第一用户标识与所述第一用户账号对应。In some embodiments, the second display module is configured to jump to the game application and display the first user in response to a first trigger operation on the visual element attached with the first user identification. The account is added to the target camp, and the players in the target camp are displayed through the game application program; the first user identifier corresponds to the first user account.
在一些实施例中,所述处理模块,还被配置为响应于所述用户输入数据中包括所述动画触发信息,向服务器发送请求消息,所述请求消息中携带目标消息的消息ID;其中,所述请求消息用于指示所述服务器从参与互动的全部用户账号中选择N个用户账号,并向参与互动的各个用户账号下发响应消息;所述响应消息携带所述N个用户账号的账号ID;在接收到所述响应消息后,获取所述N个用户账号对应的N个用户标识。In some embodiments, the processing module is further configured to, in response to the user input data including the animation trigger information, send a request message to the server, where the request message carries the message ID of the target message; wherein, The request message is used to instruct the server to select N user accounts from all the user accounts participating in the interaction, and deliver a response message to each user account participating in the interaction; the response message carries the accounts of the N user accounts. ID; after receiving the response message, obtain N user identifiers corresponding to the N user accounts.
在一些实施例中,所述响应消息中还携带目标消息的消息ID;所述第一显示模块,还被配置为在接收到所述响应消息后,确定所述消息ID对应的目标用户标识;基于所述消息ID对应的目标用户标识的显示位置,显示所述第一动画。In some embodiments, the response message further carries the message ID of the target message; the first display module is further configured to determine the target user identifier corresponding to the message ID after receiving the response message; The first animation is displayed based on the display position of the target user identifier corresponding to the message ID.
在一些实施例中,所述第一动画采用会话层坐标系,所述第一动画的执行位置坐标与所述目标消息的坐标相关,且所述第一动画跟随屏幕滑动而滑动;所述第二动画采用互动界面坐标系。In some embodiments, the first animation adopts a session layer coordinate system, the coordinates of the execution position of the first animation are related to the coordinates of the target message, and the first animation slides along with the screen; The second animation adopts the interactive interface coordinate system.
另一方面,提供了一种计算机设备,所述设备包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述至少一条程序代码由所述处理器加载并执行以实现上述的信息显示方法。In another aspect, a computer device is provided, the device includes a processor and a memory, the memory stores at least one piece of program code, the at least one piece of program code is loaded and executed by the processor to implement the above-mentioned information Display method.
另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行以实现上述的信息显示方法。In another aspect, a computer-readable storage medium is provided, wherein at least one piece of program code is stored in the storage medium, and the at least one piece of program code is loaded and executed by a processor to implement the above-mentioned information display method.
另一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机程序代码,该计算机程序代码存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该计算机程序代码,处理器执行该计算机程序代码,使得该计算机设备执行上述信息显示方法。In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer program code stored in a computer-readable storage medium from which a processor of a computer device readable storage The medium reads the computer program code, and the processor executes the computer program code, so that the computer device executes the above-mentioned information display method.
本申请实施例的彩蛋涉及三部分,首先显示用于引导出第二动画的第一动画,接着呈现视觉元素在互动界面上开始向第一边界移动的动态效果,且在动画播放完毕后还支持用户通过触发视觉元素进行页面跳转,这种新的互动方式内容丰富且具趣味性,实现了多样化的动画显示,提升了人机互动效果。另外,由于呈现的彩蛋动画跟用户输入强相关,因此能够很大程度上引起用户的共鸣,更具趣味性,进一步地提升了人机互动效果。另外,本申请实施例在动画播放完毕后还提供页面跳转能力,较为智能化,进一步地提升了人机互动效果。The easter egg in this embodiment of the present application involves three parts. First, the first animation used to guide the second animation is displayed, and then the dynamic effect of the visual element starting to move to the first boundary on the interactive interface is presented. After the animation is played, it also supports Users jump to pages by triggering visual elements. This new interactive method is rich in content and interesting, realizes a variety of animation displays, and improves the effect of human-computer interaction. In addition, since the presented easter egg animation is strongly related to user input, it can resonate with users to a large extent, be more interesting, and further enhance the effect of human-computer interaction. In addition, the embodiment of the present application also provides a page jump capability after the animation is played, which is more intelligent, and further improves the human-computer interaction effect.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请实施例提供的一种信息显示方法涉及的实施环境的示意图;1 is a schematic diagram of an implementation environment involved in an information display method provided by an embodiment of the present application;
图2是本申请实施例提供的一种信息显示方法的流程图;2 is a flowchart of an information display method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种信息显示方法的流程图;3 is a flowchart of another information display method provided by an embodiment of the present application;
图4是本申请实施例提供的一种互动界面的示意图;4 is a schematic diagram of an interactive interface provided by an embodiment of the present application;
图5是本申请实施例提供的另一种互动界面的示意图;5 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图6是本申请实施例提供的另一种互动界面的示意图;6 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图7是本申请实施例提供的另一种互动界面的示意图;7 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图8是本申请实施例提供的另一种互动界面的示意图;8 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图9是本申请实施例提供的另一种互动界面的示意图;9 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图10是本申请实施例提供的另一种互动界面的示意图;10 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图11是本申请实施例提供的另一种互动界面的示意图;11 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图12是本申请实施例提供的另一种互动界面的示意图;12 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图13是本申请实施例提供的另一种互动界面的示意图;13 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图14是本申请实施例提供的另一种互动界面的示意图;14 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图15是本申请实施例提供的另一种互动界面的示意图;15 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图16是本申请实施例提供的另一种互动界面的示意图;16 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图17是本申请实施例提供的另一种互动界面的示意图;17 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图18是本申请实施例提供的另一种互动界面的示意图;18 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图19是本申请实施例提供的另一种互动界面的示意图;19 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图20是本申请实施例提供的另一种互动界面的示意图;FIG. 20 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图21是本申请实施例提供的另一种互动界面的示意图;21 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图22是本申请实施例提供的另一种互动界面的示意图;FIG. 22 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图23是本申请实施例提供的另一种互动界面的示意图;23 is a schematic diagram of another interactive interface provided by an embodiment of the present application;
图24是本申请实施例提供的另一种信息显示方法的流程图;24 is a flowchart of another information display method provided by an embodiment of the present application;
图25是本申请实施例提供的一种不同层级之间的位置示意图;FIG. 25 is a schematic diagram of positions between different levels provided by an embodiment of the present application;
图26是本申请实施例提供的一种信息显示方法的整体执行流程示意图;26 is a schematic diagram of an overall execution flow of an information display method provided by an embodiment of the present application;
图27是本申请实施例提供的一种终端与服务器之间的交互示意图;FIG. 27 is a schematic diagram of interaction between a terminal and a server according to an embodiment of the present application;
图28是本申请实施例提供的一种信息显示装置的结构示意图;FIG. 28 is a schematic structural diagram of an information display device provided by an embodiment of the present application;
图29是本申请实施例提供的一种计算机设备的结构示意图。FIG. 29 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
本申请中术语“第一”、“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”、“第n”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。还应理解,尽管以下描述使用术语第一、第二等来描述各种元素,但这些元素不应受术语的限制。In this application, the terms "first", "second" and other words are used to distinguish the same items or similar items with basically the same function and function, it should be understood that "first", "second" and "nth" There is no logical or timing dependency between them, and the number and execution order are not limited. It will also be understood that, although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms.
这些术语只是用于将一个元素与另一个元素区别开。例如,在不脱离各种示例的范围的情况下,第一元素能够被称为第二元素,并且类似地,第二元素也能够被称为第一元素。第一元素和第二元素都可以是元素,并且在某些情况下,可以是单独且不同的元素。These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of various examples. Both the first element and the second element may be elements, and in some cases, may be separate and distinct elements.
其中,至少一个是指一个或一个以上,例如,至少一个元素可以是一个元素、两个元素、三个元素等任意大于等于一的整数个元素。而多个是指两个或者两个以上,例如,多个元素可以是两个元素、三个元素等任意大于等于二的整数个元素。Wherein, at least one refers to one or more than one, for example, at least one element may be any integer number of elements greater than or equal to one, such as one element, two elements, and three elements. The multiple refers to two or more than two, for example, the multiple elements may be any integer number of elements greater than or equal to two, such as two elements, three elements, and the like.
下面先对本申请实施例可能涉及到的一些名词术语进行解释说明。Some terms that may be involved in the embodiments of the present application are explained below first.
会话界面:指应用客户端为不同用户之间互动提供的聊天窗口或会话窗口。Conversational interface: refers to the chat window or conversation window provided by the application client for interaction between different users.
彩蛋:指应用客户端内一系列由用户主动触发的动画效果,既可以单纯作为隐藏特效,也可以作为互联网平台运的营手段。换言之,彩蛋是在应用客户端内由用户输入而主动触发的一种隐藏动态效果。Easter eggs: Refers to a series of animation effects in the application client that are actively triggered by users, which can be used simply as hidden special effects or as a means of operating the Internet platform. In other words, Easter eggs are a hidden dynamic effect that is actively triggered by user input in the application client.
关键词:在本申请实施例中特指由互联网平台设置的一系列能够触发彩蛋的词语。Keywords: In the embodiments of this application, it refers to a series of words set by the Internet platform that can trigger easter eggs.
下面对本申请实施例提供的信息显示方法涉及的实施环境进行介绍。The implementation environment involved in the information display method provided by the embodiments of the present application will be introduced below.
示例性地,参见图1,该实施环境包括:第一终端101、第二终端102和服务器103。For example, referring to FIG. 1 , the implementation environment includes: a
在一种可能的实现方式中,第一终端101和第二终端102可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能音箱、智能手表等,但并不局限于此。服务器103可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。第一终端101和第二终端102以及服务器103通过网络进行直接或间接地连接,本申请在此不做限制。In a possible implementation manner, the
可选地,第一终端101和第二终端102上均安装有目标应用客户端。在一些实施例中,目标应用客户端可以为独立运行的应用,比如游戏应用、直播应用或即时通讯应用等。其中,即时通讯应用支持单人或多人参与,支持用户发送语音、视频、图片和文字等。实质上,即时通讯应用为人与人之间提供了一个信息交互平台。这个信息交互平台具体是指一种通过社交关系和/或共同兴趣将人与人之间联系起来的网络架构,而用户通过即时通讯应用可以进行日常交流以及处理一些日常事务。第一终端101和第二终端102可以基于用户输入的账号信息登录该应用客户端,通过该应用客户端实现用户与终端之间的交互Optionally, a target application client is installed on both the
可选地,本申请实施例提供的动画方法,由上述第一终端101、第二终端102和服务器103联合执行,本申请在此不做限制。Optionally, the animation method provided in this embodiment of the present application is jointly executed by the
可选地,第一终端101的数量通常为一个,而第二终端102泛指多个终端中的一个,本领域技术人员能够知晓,上述第二终端102的数量能够更多,比如上述第二终端102为几十个或几百个,或者更多数量。Optionally, the number of the
可选地,上述的网络通常为因特网、但也能够是任何网络,包括但不限于局域网(Local Area Network,LAN)、城域网(Metropolitan Area Network,MAN)、广域网(WideArea Network,WAN)、移动、有线或者无线网络、专用网络或者虚拟专用网络的任何组合。在一些实施例中,使用包括超级文本标记语言(Hyper Text Markup Language,HTML)、可扩展标记语言(Extensible Markup Language,XML)等的技术和/或格式来代表通过网络交换的数据。此外还能够使用诸如安全套接字层(Secure Socket Layer,SSL)、传输层安全(Transport Layer Security,TLS)、虚拟专用网络(Virtual Private Network,VPN)、网际协议安全(Internet Protocol Security,IPsec)等常规加密技术来加密所有或者一些链路。在另一些实施例中,还能够使用定制和/或专用数据通信技术取代或者补充上述数据通信技术。Optionally, the above-mentioned network is usually the Internet, but can also be any network, including but not limited to Local Area Network (LAN), Metropolitan Area Network (MAN), Wide Area Network (WAN), Any combination of mobile, wired or wireless networks, private networks, or virtual private networks. In some embodiments, data exchanged over a network is represented using technologies and/or formats including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), and the like. In addition, it can also use methods such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) and other conventional encryption techniques to encrypt all or some of the links. In other embodiments, customized and/or dedicated data communication techniques can also be used in place of or in addition to the data communication techniques described above.
在另一些实施例中,本申请实施例提供的动画方法可以应用多种场景中。In other embodiments, the animation methods provided in the embodiments of the present application may be applied in various scenarios.
示例一、游戏场景Example 1. Game scene
针对游戏场景,本申请实施例可以实现游戏玩家主动触发彩蛋。例如,某一游戏阵营由5个游戏玩家组成,分别为游戏玩家A-E,假设游戏玩家A通过在互动区输入动画触发信息触发彩蛋,那么在游戏玩家A侧和加入该阵营的游戏玩家B-E侧会显示该彩蛋。For game scenarios, the embodiments of the present application can realize that game players actively trigger easter eggs. For example, a game camp consists of 5 game players, namely game players A-E. Suppose that game player A triggers the easter egg by entering animation trigger information in the interactive area. Show the egg.
可选地,动画触发信息包括但不限于:文本形式的关键词、音频形式的关键词和特定表情,本申请在此不做限制。Optionally, the animation trigger information includes but is not limited to: keywords in text form, keywords in audio form, and specific expressions, which are not limited in this application.
示例性地,在游戏场景下,上述关键词包括游戏道具名称,比如降落伞、信号枪或空投包,本申请在此不做限制。Exemplarily, in a game scenario, the above keywords include the names of game props, such as a parachute, a flare gun, or an airdrop package, which is not limited in this application.
示例二、即时通讯场景Example 2. Instant messaging scene
针对即时通讯场景,本申请实施例支持用户在同个人互动或在群组互动中通过输入动画触发信息来主动触发彩蛋。比如,用户在同个人互动时,输入“生日快乐”能够触发生日彩蛋。For an instant messaging scenario, the embodiment of the present application supports a user to actively trigger an easter egg by inputting animation trigger information during interaction with an individual or in a group interaction. For example, when a user interacts with a person, entering "Happy Birthday" can trigger a birthday egg.
示例三、直播场景Example 3, live broadcast scene
针对直播场景,本申请实施例可以实现主播用户或观众用户通过在直播间的互动区输入动画触发信息而触发彩蛋。可选地,在直播场景下,上述关键词包括虚拟礼物名称,本申请在此不做限制。For a live broadcast scenario, the embodiment of the present application can enable the host user or the audience user to trigger the easter egg by inputting animation trigger information in the interactive area of the live broadcast room. Optionally, in the live broadcast scenario, the above keywords include the virtual gift name, which is not limited in this application.
另外,无论针对何种场景,某一关键词是否能够触发彩蛋可能同时间相关。比如,在新年期间,用户输入“新年快乐”能够触发相应的新年彩蛋;又比如,在圣诞期间,用户输入“圣诞快乐”能够触发相应的圣诞彩蛋。但是在非新年期间,“新年快乐”不能触发相应的新年彩蛋;在非圣诞期间,“圣诞快乐”不能触发相应的圣诞彩蛋。即,互联网平台可以在重大节假日推出与节日相关的新彩蛋,从而促进更多的用户参与到活动中来。In addition, regardless of the scenario, whether a certain keyword can trigger an easter egg may be related to time. For example, during the New Year, the user inputs "Happy New Year" to trigger the corresponding New Year eggs; for another example, during the Christmas period, the user inputs "Merry Christmas" to trigger the corresponding Christmas eggs. However, during the non-New Year period, "Happy New Year" cannot trigger the corresponding New Year's eggs; during the non-Christmas period, "Merry Christmas" cannot trigger the corresponding Christmas eggs. That is, Internet platforms can launch new holiday-related Easter eggs on major holidays, thereby promoting more users to participate in the event.
下面通过以下实施例对本申请实施例提供的信息显示方法进行详细说明。The information display method provided by the embodiments of the present application will be described in detail below through the following embodiments.
图2是根据本申请实施例提供的一种信息显示方法的流程图,在本申请实施例中以该信息显示方法应用于第一终端101为例进行说明。参见图2,该信息显示方法包括以下步骤。FIG. 2 is a flowchart of an information display method provided according to an embodiment of the present application. In the embodiment of the present application, the information display method is applied to the
201、响应于用户输入数据中包括动画触发信息,在互动界面上显示第一动画和第二动画;其中,第一动画是用于引导出第二动画的前置动画;第二动画用于呈现视觉元素向第一边界移动。201. In response to the user input data including animation trigger information, display a first animation and a second animation on the interactive interface; wherein, the first animation is a pre-movement used to guide the second animation; the second animation is used to present The visual element moves towards the first boundary.
可选地,动画触发信息包括但不限于:文本形式的关键词、音频形式的关键词和特定表情,本申请在此不做限制。另外,关键词和特定表情可由开发人员预先配置,并支持后续过程中新增关键词或撤销一部分关键词,本申请在此不做限制。Optionally, the animation trigger information includes but is not limited to: keywords in text form, keywords in audio form, and specific expressions, which are not limited in this application. In addition, keywords and specific expressions can be pre-configured by developers, and support for adding keywords or revoking some keywords in the subsequent process, which is not limited in this application.
可选地,互动界面为终端上安装的目标应用客户端提供的界面。其中,互动界面是个人与个人之间、个人与群体之间进行互动的媒介。可选地,互动界面包括但不限于游戏应用提供的会话界面、即时通讯应用提供的会话界面、直播应用提供的会话界面,本申请在此不做限制。Optionally, the interactive interface is an interface provided by the target application client installed on the terminal. Among them, the interactive interface is the medium of interaction between individuals and between individuals and groups. Optionally, the interactive interface includes but is not limited to a conversation interface provided by a game application, a conversation interface provided by an instant messaging application, and a conversation interface provided by a live broadcast application, which is not limited in this application.
其中,视觉元素是指构成视觉对象的基本单元。可选地,视觉元素可以为食物形象、植物形象、动物形象或人物形象,本申请在此不做限制。Among them, the visual element refers to the basic unit that constitutes the visual object. Optionally, the visual element may be a food image, a plant image, an animal image or a character image, which is not limited in this application.
可选地,视觉元素与动画触发信息匹配。以动画触发信息为关键词为例,假设关键词为生日快乐,则相应的视觉元素可以是蛋糕;假设关键词为牛年快乐,则相应的视觉元素可以是牛。Optionally, the visual element matches the animation trigger information. Taking the animation trigger information as an example, assuming that the keyword is Happy Birthday, the corresponding visual element can be a cake; assuming that the keyword is Happy Year of the Ox, the corresponding visual element can be an ox.
在本申请实施例中,用户在打开互动界面后,终端根据用户输入的动画触发信息来产生对应的彩蛋动画。可选地,整个彩蛋动画包括三个部分,分别为第一动画、第二动画和跳转链接能力。In the embodiment of the present application, after the user opens the interactive interface, the terminal generates a corresponding easter egg animation according to the animation trigger information input by the user. Optionally, the whole easter egg animation includes three parts, namely the first animation, the second animation and the jump link capability.
可选地,第一动画也可称为前置动画,第一动画是用于引导出第二动画的前置动画,即第二动画由前置动画引导,在播放完毕前置动画后再显示第二动画。其中,第二动画用于呈现视觉元素逐渐向第一边界移动的动态效果。可选地,第一边界为互动界面的下边界,本申请在此不做限制。Optionally, the first animation can also be called a pre-animation, and the first animation is a pre-animation used to guide the second animation, that is, the second animation is guided by the pre-animation, and is displayed after the pre-animation is played. Second animation. The second animation is used to present a dynamic effect in which the visual element gradually moves to the first boundary. Optionally, the first boundary is the lower boundary of the interactive interface, which is not limited in this application.
可选地,以第一边界为互动界面的下边界,视觉元素由互动界面的上边界向下边界移动为例,则第二动画也被称为飘落动画,视觉元素也被称为飘落素材,换一种表达方式,在该种情况下,第二动画由前置动画引导,从互动界面上方飘落视觉元素,即呈现一种从界面上方开始飘落素材的动态效果。Optionally, taking the first boundary as the lower boundary of the interactive interface, and the visual element moving from the upper boundary of the interactive interface to the lower boundary as an example, the second animation is also called a falling animation, and the visual element is also called a falling material. In another way of expression, in this case, the second animation is guided by the preceding animation, and the visual elements fall from the top of the interactive interface, that is, a dynamic effect of materials falling from the top of the interface is presented.
可选地,第一动画与第二动画在内容上具有连贯性,即本申请实施例考虑到了先后显示的不同动画在故事情节上的叙事一致性。Optionally, the first animation and the second animation have consistency in content, that is, the embodiment of the present application takes into account the narrative consistency of different animations displayed successively in the storyline.
继续以第一边界为互动界面的下边界,视觉元素由互动界面的上边界向下边界移动为例,则整个彩蛋动画的主要效果包括:首先显示用于触发飘落素材的前置动画,接着飘落素材从互动界面上方开始飘落,以及最后的跳转链接能力。下面对跳转链接能力进行说明。Continue to take the first boundary as the lower boundary of the interactive interface, and the visual elements move from the upper boundary to the lower boundary of the interactive interface. The material starts to fall from the top of the interactive interface, and the final jump link ability. The jump link capability is described below.
202、响应于针对视觉元素的第一触发操作,进行页面跳转并显示与动画触发信息匹配的新页面。202. In response to the first trigger operation on the visual element, perform a page jump and display a new page matching the animation trigger information.
可选地,响应于针对视觉元素的第一触发操作,进行页面跳转并显示视觉元素对应的新页面,包括:响应于视觉元素移动至第一边界,在获取到针对视觉元素的第一触发操作后,进行页面跳转并显示视觉元素对应的新页面。Optionally, performing a page jump and displaying a new page corresponding to the visual element in response to the first triggering operation for the visual element, including: in response to the visual element moving to the first boundary, after obtaining the first triggering operation for the visual element. After the operation, a page jump is performed and a new page corresponding to the visual element is displayed.
可选地,第一触发操作可以为针对移动至第一边界且终止移动的视觉元素的单击操作、双击操作或长按操作,本申请在此不做限制。可选地,上述新页面为与动画触发信息相关的礼品赠送页面;或,上述新页面为与动画触发信息相关的内容搜索页面;或,上述新页面为与动画触发信息相关的活动详情页面;或,上述新页面为与动画触发信息相关的物品购买页面;或,上述新页面为与动画触发信息相关的游戏页面。Optionally, the first triggering operation may be a single-click operation, a double-click operation, or a long-press operation on the visual element that moves to the first boundary and terminates the movement, which is not limited in this application. Optionally, the above-mentioned new page is a gift giving page related to animation trigger information; or, the above-mentioned new page is a content search page related to animation trigger information; or, the above-mentioned new page is an activity details page related to animation trigger information; Or, the above-mentioned new page is an item purchase page related to animation trigger information; or, the above-mentioned new page is a game page related to animation trigger information.
本申请实施例的彩蛋动画涉及三部分,首先显示用于引导出第二动画的第一动画,接着呈现视觉元素在互动界面上开始向第一边界移动的动态效果,且在动画播放完毕后还支持用户通过触发视觉元素进行页面跳转,这种新的互动形式内容丰富更具趣味性,能够实现多样性地动画显示,进而提升了人机互动效果。另外,彩蛋动画的多样性,能够促进用户积极参与到活动中来,能够满足平台运营需求。另外,先后显示的不同动画在故事情节上具有叙事一致性,内容连贯,这进一步地确保了用户体验。另外,由于彩蛋动画跟用户输入强相关,因此能够很大程度上引起用户的共鸣,更具趣味性,进一步地提升了人机互动效果。另外,本申请实施例在动画播放完毕后还提供页面跳转能力,较为智能,进一步地提升了人机互动效果,也能很大程度上提高用户的参与度,进而提升彩蛋活动的传播性。综上所述,本申请实施例的彩蛋动画可以解决目前更具运营化的场景诉求,在面向垂类的用户时,可以更具针对性地为垂类用户提供强相关的彩蛋动画。The easter egg animation in this embodiment of the present application involves three parts. First, the first animation used to guide the second animation is displayed, and then the dynamic effect of the visual element starting to move to the first boundary on the interactive interface is presented. It supports users to jump to pages by triggering visual elements. This new interactive form has richer and more interesting content, and can realize diverse animation display, thereby improving the effect of human-computer interaction. In addition, the diversity of easter egg animation can promote users to actively participate in activities and meet the needs of platform operation. In addition, the different animations displayed one after the other have narrative consistency in the storyline, and the content is coherent, which further ensures the user experience. In addition, since the easter egg animation is strongly related to user input, it can resonate with users to a large extent, which is more interesting and further improves the effect of human-computer interaction. In addition, the embodiment of the present application also provides a page jump capability after the animation is played, which is more intelligent, further improves the human-computer interaction effect, and can also greatly improve the user's participation, thereby improving the spread of the easter egg event. To sum up, the easter egg animation of the embodiment of the present application can solve the current demands of more operational scenarios, and when facing vertical users, it can provide more relevant easter egg animations for vertical users in a more targeted manner.
上述图2对应的实施例仅示出了本申请的基本流程,下面基于一种具体实施方式,来对本申请提供的信息显示方法进行进一步阐述。The above-mentioned embodiment corresponding to FIG. 2 only shows the basic flow of the present application. The following describes the information display method provided by the present application based on a specific implementation manner.
图3是根据本申请实施例提供的一种信息显示方法的流程图,以该信息显示方法应用于第一终端101为例进行说明。参见图3,该信息显示方法包括以下步骤。FIG. 3 is a flowchart of an information display method provided according to an embodiment of the present application, which is described by taking the information display method applied to the
首先,触发显示用于引导出第二动画的前置动画(也称第一动画)。First, trigger the display of the preceding animation (also referred to as the first animation) for leading out the second animation.
301、获取用户输入数据;响应于用户输入数据中包括动画触发信息,在互动界面上显示第一动画,第一动画是用于引导出第二动画的前置动画。301. Acquire user input data; in response to the user input data including animation trigger information, display a first animation on the interactive interface, where the first animation is a pre-animation used to guide the second animation.
可选地,用户输入数据包括但不限于:文字、表情、图片、网页链接等;响应于用户输入数据中包括动画触发信息,便在互动界面上触发彩蛋动画。Optionally, the user input data includes, but is not limited to: text, expressions, pictures, web page links, etc.; in response to the user input data including animation trigger information, the easter egg animation is triggered on the interactive interface.
另外,获取到的用户输入数据既可以是本端用户通过第一终端输入的,也可以是经由服务器转发的参与当前互动的其他用户通过相应终端输入的,本申请对此不做限制。In addition, the acquired user input data may be input by the local user through the first terminal, or input by other users participating in the current interaction forwarded by the server through the corresponding terminal, which is not limited in this application.
在本申请实施例中,第一动画是用于引导出第二动画的前置动画,即第一动画先播放,在第一动画播放完毕后,再播放第二动画,换一种表达方式,通过第一动画引导出来第二动画,相应地,第一动画也可被称为引导动画。In the embodiment of the present application, the first animation is a pre-animation used to guide the second animation, that is, the first animation is played first, and after the first animation is played, the second animation is played again, in another way of expression, The second animation is guided through the first animation. Correspondingly, the first animation may also be referred to as a guiding animation.
可选地,可以配置第一动画的执行位置,比如第一动画的执行位置由开发人员配置,并通过服务器进行下发。Optionally, the execution position of the first animation may be configured, for example, the execution position of the first animation is configured by the developer and delivered through the server.
可选地,第一动画是包括故事情节的动画。参见图4和图5,以关键词包括“信号枪”,互动界面为会话界面为例,如图4所示,最后一条消息中包括了能够触发彩蛋的关键词“信号枪”,那么由于该关键词的输入,参与当前互动的4个用户的终端上均会触发相应的彩蛋。如图5所示,该彩蛋的前置动画为“会话界面上会出现一把信号枪,并向空中射出一枚信号弹,该信号弹会缓缓滑出界面上方”。Optionally, the first animation is an animation that includes a storyline. Referring to Figure 4 and Figure 5, take the keyword including "signal gun" and the interactive interface as a conversation interface as an example, as shown in Figure 4, the last message includes the keyword "signal gun" that can trigger easter eggs, then because the The input of keywords will trigger the corresponding Easter eggs on the terminals of the four users participating in the current interaction. As shown in Figure 5, the front animation of the easter egg is "a flare gun will appear on the conversation interface, and a flare will be fired into the air, and the flare will slowly slide out of the top of the interface".
可选地,在互动界面上显示第一动画,包括但不限于:基于目标位置显示第一动画;其中,目标位置是目标消息对应的目标用户标识的显示位置,该目标消息中包括动画触发信息。示例性地,上述用户标识可以为用户头像。Optionally, displaying the first animation on the interactive interface includes but is not limited to: displaying the first animation based on the target position; wherein the target position is the display position of the target user identifier corresponding to the target message, and the target message includes animation trigger information . Exemplarily, the above-mentioned user identification may be a user avatar.
以图4和图5为例,上述目标消息即指代当前会话界面上的最后一条消息“我刚刚差点赢了!还有一把信号枪放包里都没来得及用!”,目标用户标识即指代最后一条消息对应的用户头像。在图5中,第一动画的执行位置在最后一条消息对应的用户头像的左上方,即第一动画定位在最后一条消息对应的用户头像的左上方。需要说明的是,除了该用户头像的左上方之外,第一动画还可定位在该用户头像周围的任意位置,比如该用户头像的右上方,本申请在此不做限制。另外,第一动画的执行位置还可以是其他位置,比如目标消息周围的任意位置,例如目标消息的左上方或右上方,本申请在此不做限制。Taking Figure 4 and Figure 5 as examples, the above target message refers to the last message on the current session interface "I almost won! There is still a flare gun in the bag that I can't use in time!", the target user ID refers to User avatar corresponding to the last message. In FIG. 5 , the execution position of the first animation is at the upper left of the user avatar corresponding to the last message, that is, the first animation is positioned at the upper left of the user avatar corresponding to the last message. It should be noted that, in addition to the upper left of the user avatar, the first animation can also be positioned at any position around the user avatar, such as the upper right of the user avatar, which is not limited in this application. In addition, the execution position of the first animation may also be other positions, such as any position around the target message, such as the upper left or upper right of the target message, which is not limited in this application.
接下来,第一动画播放完毕后显示第二动画。Next, the second animation is displayed after the first animation is finished playing.
302、在第一动画播放完毕后在互动界面上显示第二动画;第二动画用于呈现视觉元素向第一边界移动。302. Display a second animation on the interactive interface after the first animation finishes playing; the second animation is used to present the visual element moving toward the first boundary.
可选地,先后显示的第一动画和第二动画在故事情节上具有叙事一致性,内容连贯。举例来说,以第一边界为互动界面的下边界,视觉元素由第六边界比如互动界面的上边界开始移动为例,在图5所示的前置动画“会话界面出现一把信号枪,并向空中射出一枚信号弹”播放完毕后,承接该前置动画,会继续显示第二动画,如图6至图9所示,由信号枪射出的信号弹引导,在界面上方会掉落一个空投包,即第二动画用于呈现空投包逐渐由上边界向下边界掉落的动态效果。Optionally, the first animation and the second animation displayed successively have narrative consistency in the storyline, and the content is coherent. For example, take the first boundary as the lower boundary of the interactive interface, and the visual element starts to move from the sixth boundary such as the upper boundary of the interactive interface. "Shoot a signal bomb into the air" after the playback is completed, continue to display the second animation, as shown in Figure 6 to Figure 9, guided by the signal bomb fired by the signal gun, an airdrop will drop at the top of the interface. The package, that is, the second animation is used to present the dynamic effect that the airdrop package gradually falls from the upper boundary to the lower boundary.
3021、视觉元素的附属物件随着视觉元素的移动而移动,且响应于视觉元素终止移动,隐藏显示附属物件。3021. The attachments of the visual element move with the movement of the visual element, and in response to the visual element terminating the movement, hide and display the attachments.
可选地,附属物件可以为视觉元素的载具。以图6至图9所示的空投包这一视觉元素来讲,相应的附属物件可以为降落伞。即,空投包通过搭载降落伞实现从空中降落。以视觉元素的移动终止位置为互动界面的下边界为例,则参见图6至图9,响应于该空投包到达下边界,则搭载该空投包的降落伞消失,仅剩下该空投包显示在下边界处。Optionally, the accessory can be a vehicle for visual elements. In terms of the visual element of the airdrop package shown in Figures 6 to 9, the corresponding accessory can be a parachute. That is, the airdrop package can be dropped from the air by carrying a parachute. Taking the moving end position of the visual element as the lower boundary of the interactive interface as an example, referring to Figures 6 to 9, in response to the airdrop package reaching the lower boundary, the parachute carrying the airdrop package disappears, and only the airdrop package is displayed below. at the border.
3022、视觉元素在互动界面上的移动样式可变。可选地,移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种。3022. The movement style of the visual element on the interactive interface is variable. Optionally, the movement pattern includes one or more of movement speed, movement termination position, size, and movement trajectory.
其中,移动终止位置是指视觉元素终止移动并停留在互动界面上的位置。可选地,视觉元素的移动样式由开发人员根据用户需求在后台进行配置,并通过服务器进行下发,本申请在此不做限制。可选地,视觉元素的移动样式也可由用户根据个人需求进行个性化配置,比如终端安装的目标应用客户端提供给用户可供修改视觉元素的移动样式的入口,本申请在此不做限制。The movement termination position refers to the position where the visual element terminates movement and stays on the interactive interface. Optionally, the mobile style of the visual element is configured by the developer in the background according to the user's requirements, and delivered through the server, which is not limited in this application. Optionally, the mobile style of the visual element can also be configured by the user according to personal needs, for example, the target application client installed on the terminal provides the user with an entry for modifying the mobile style of the visual element, which is not limited in this application.
3022-1、以视觉元素的移动终止位置为例,本申请实施例支持将视觉元素停留在互动界面的任意位置上,即视觉元素的移动终止位置可以为互动界面的任意位置。另外,本申请实施例提供的方法还包括:响应于视觉元素移动至第一边界,视觉元素终止移动,在第一边界处显示终止移动的视觉元素。以互动界面为会话界面为例,该移动终止位置可以为互动界面的下边界,即消息输入框的上方。如图6至图9所示,由信号枪射出的信号弹引导,在界面上方会掉落一个空投包,该空投包通过搭载降落伞实现从空中降落,响应于该空投包到达会话界面的下边界,该空投包终止移动并显示在下边界处。3022-1. Taking the movement termination position of the visual element as an example, this embodiment of the present application supports stopping the visual element at any position on the interactive interface, that is, the movement termination position of the visual element can be any position on the interactive interface. In addition, the method provided by the embodiment of the present application further includes: in response to the visual element moving to the first boundary, the visual element terminates the movement, and the visual element whose movement is terminated is displayed at the first boundary. Taking the interactive interface as the conversation interface as an example, the movement termination position may be the lower boundary of the interactive interface, that is, above the message input box. As shown in Fig. 6 to Fig. 9, guided by the signal projectile fired by the signal gun, an airdrop package will drop above the interface. The airdrop package can be dropped from the air by carrying a parachute. In response to the airdrop package reaching the lower boundary of the conversation interface, The airdrop package ends the movement and is displayed at the lower border.
3022-2、可选地,第二动画中包括的视觉元素为多个,且多个视觉元素终止移动时,一部分视觉元素会继续停留在移动终止位置处,而另外一部分视觉元素会隐藏显示,即消失在移动终止位置处。换一种表达方式,以M个视觉元素为例,M为正整数,且M≥2,本申请实施例提供的方法还包括:响应于M个视觉元素移动至第一边界,隐藏显示M个视觉元素中的部分视觉元素,另一部分视觉元素终止移动,在第一边界处显示终止移动的另一部分视觉元素。以互动界面为会话界面,第一边界为互动界面的的下边界,视觉元素的移动终止位置为下边界,视觉元素为空投包为例,如图10至图13所示,在多个空投包分别先后掉落至下边界后,只有一个空投包会停留在下边界处,剩余的空投包在抵达下边界后会缓缓滑出界面,消失在下边界。3022-2. Optionally, there are multiple visual elements included in the second animation, and when the multiple visual elements stop moving, a part of the visual elements will continue to stay at the position where the movement is terminated, and another part of the visual elements will be hidden and displayed, That is, it disappears at the movement end position. In another way of expression, taking M visual elements as an example, M is a positive integer, and M≥2, the method provided in this embodiment of the present application further includes: in response to the M visual elements moving to the first boundary, hiding and displaying M visual elements. A part of the visual elements among the visual elements, another part of the visual elements terminates the movement, and the other part of the visual elements which terminates the movement is displayed at the first boundary. Take the interactive interface as the conversation interface, the first boundary is the lower boundary of the interactive interface, the movement termination position of the visual element is the lower boundary, and the visual element is the airdrop package as an example, as shown in Figure 10 to Figure 13, in multiple airdrop packages After dropping to the lower boundary, only one airdrop package will stay at the lower boundary, and the remaining airdrop packages will slowly slide out of the interface and disappear into the lower boundary after reaching the lower boundary.
3022-3、以视觉元素的移动速度为例,则移动中的视觉元素可以具有不同的移动样式。可选地,假设第二动画中包括的视觉元素的个数为M个,则移动中的视觉元素具有不同的移动样式,包括但不限于下述任意一项:3022-3. Taking the moving speed of the visual element as an example, the moving visual element may have different moving styles. Optionally, assuming that the number of visual elements included in the second animation is M, the moving visual elements have different moving styles, including but not limited to any of the following:
M个视觉元素中的部分视觉元素在移动过程中具有不同的移动样式。比如,M1个视觉元素的移动样式相同,但是跟剩余的M2个视觉的移动样式不同,其中,M1和M2均为正整数,且M1和M2的和值等于M。示例性地,以互动界面为会话界面,视觉元素的移动终止位置为互动界面的下边界,视觉元素为空投包为例,如图10至图13所示,用户触发关键词“空投”,会从空中掉落多个空投包,这些空投包中仅有部分真空投包,比如1个,剩余的均为假空投包,其中,真空投包和假空投包的移动速度不同,比如真空投包的移动速度相对较慢。Some of the M visual elements have different movement styles during the movement. For example, the movement patterns of M1 visual elements are the same, but are different from the movement patterns of the remaining M2 visual elements, wherein M1 and M2 are both positive integers, and the sum of M1 and M2 is equal to M. Illustratively, taking the interactive interface as the conversation interface, the movement termination position of the visual element as the lower boundary of the interactive interface, and the visual element as the airdrop package as an example, as shown in Figures 10 to 13, when the user triggers the keyword "airdrop", the Multiple airdrop packages are dropped from the air. Among these airdrop packages, there are only some vacuum drop packages, such as 1, and the rest are fake airdrop packages. Among them, the movement speeds of vacuum drop packages and fake airdrop packages are different, such as vacuum drop packages. moves relatively slowly.
或,M个视觉元素中不同的视觉元素在移动过程中具有不同的移动样式;即,M个视觉元素中每个视觉元素的移动样式均不同。比如图10至图13中掉落的每个空投包的移动速度均不一样。Or, different visual elements among the M visual elements have different moving styles during the moving process; that is, the moving styles of each of the M visual elements are different. For example, the moving speed of each airdrop package dropped in Figure 10 to Figure 13 is different.
可选地,视觉元素在移动过程中既可以是匀速移动,也可以是变速移动,比如忽快忽慢移动,即同一视觉元素在移动中的不同时段具有不同的移动速度,本申请在此不做限制。Optionally, the visual element may move at a constant speed or at a variable speed during the moving process, such as moving quickly and then slowly, that is, the same visual element has different moving speeds in different periods of movement, which is not discussed in this application. make restrictions.
3023、视觉元素可以配置相关用户标识。3023. The visual element can be configured with a relevant user identifier.
3023-1、第二动画用于呈现贴附有目标用户标识的视觉元素逐渐向第一边界移动的动态效果;目标用户标识用于指示输入动画触发信息的目标用户账号。3023-1. The second animation is used to present a dynamic effect in which the visual element attached with the target user ID gradually moves toward the first boundary; the target user ID is used to indicate the target user account for inputting animation trigger information.
可选地,响应于用户输入数据中包括动画触发信息,获取输入动画触发信息的目标用户账号;获取目标用户账号对应的目标用户标识,将目标用户标识与动画触发信息对应的视觉元素绑定;在互动界面上显示贴附有目标用户标识的视觉元素向第一边界移动。Optionally, in response to the user input data including animation trigger information, obtain the target user account of the input animation trigger information; obtain the target user ID corresponding to the target user account, and bind the target user ID with the visual element corresponding to the animation trigger information; It is displayed on the interactive interface that the visual element affixed with the target user logo moves toward the first boundary.
以用户标识为用户头像,视觉元素为降落伞为例,假设互动界面为会话界面,第一边界为互动界面的下边界,视觉元素的移动终止位置为下边界,参见图14至图17,某一用户(对应于上述目标用户账号)触发关键词“刺激游戏”,则从空中飘落贴附有用户头像的降落伞,响应于降落伞抵达下边界,用户头像消失,变成空投箱停落于此。Taking the user ID as the user avatar and the visual element as the parachute as an example, assume that the interactive interface is a conversation interface, the first boundary is the lower boundary of the interactive interface, and the movement termination position of the visual element is the lower boundary. When the user (corresponding to the above target user account) triggers the keyword "exciting game", the parachute with the user's avatar attached to it falls from the air. In response to the parachute reaching the lower boundary, the user's avatar disappears and becomes an airdrop box and stops here.
可选地,本申请实施例提供的方法还包括:第二动画用于呈现贴附有目标用户标识的第一类视觉元素逐渐向第一边界移动的动态效果;响应于贴附有目标用户标识的第一类视觉元素终止移动,以第二类视觉元素替换目标用户标识显示在第二边界。针对该种情况,图14至图17中的降落伞即为第一类视觉元素,空投箱即为第二类视觉元素。Optionally, the method provided in this embodiment of the present application further includes: a second animation is used to present a dynamic effect in which the first type of visual elements attached with the target user identification gradually move toward the first boundary; The first type of visual element terminates the movement, and the target user identifier is replaced by the second type of visual element and displayed on the second boundary. For this situation, the parachute in Figures 14 to 17 is the first type of visual element, and the airdrop box is the second type of visual element.
3023-2、以视觉元素的个数为M个为例,则第二动画用于呈现N个贴附有不同用户标识的视觉元素逐渐向第一边界移动的动态效果,M和N均为正整数,且N不大于M,M≥2;其中,N个用户标识用于指示参与互动的N个用户账号。3023-2. Taking the number of visual elements as M as an example, the second animation is used to present the dynamic effect of N visual elements attached with different user logos gradually moving to the first boundary, and M and N are both positive. Integer, and N is not greater than M, and M≥2; wherein, the N user identifiers are used to indicate the N user accounts participating in the interaction.
可选地,响应于用户输入数据中包括动画触发信息,获取参与当前互动的N个用户账号,N为不小于2的正整数;获取N个用户账号对应的N个用户标识,将N个用户标识与动画触发信息对应的视觉元素绑定;在互动界面上显示N个贴附有不同用户标识的视觉元素向第一边界移动。Optionally, in response to the user input data including animation trigger information, obtain N user accounts participating in the current interaction, where N is a positive integer not less than 2; obtain N user IDs corresponding to the N user accounts, The logo is bound to the visual element corresponding to the animation trigger information; and the N visual elements attached with different user logos are displayed on the interactive interface to move toward the first boundary.
以用户标识为用户头像,视觉元素为降落伞为例,假设互动界面为会话界面,第一边界为互动界面的下边界,视觉元素的移动终止位置为下边界,参见图18至图22,则某一用户(对应于上述目标用户账号)触发关键词“刺激游戏”,从空中飘落N个贴附有不同用户头像的降落伞,响应于各个降落伞抵达下边界,N个用户头像消失,变成N个空投箱停落于此。可选地,N个用户头像可来自于加入同一会话群组的N个用户,本申请在此不做限制。Take the user ID as the user avatar and the visual element as the parachute as an example, assuming that the interactive interface is a conversation interface, the first boundary is the lower boundary of the interactive interface, and the movement termination position of the visual element is the lower boundary. See Figure 18 to Figure 22, then a certain A user (corresponding to the above target user account) triggers the keyword "stimulus game", and falls N parachutes with different user avatars from the air. In response to each parachute reaching the lower boundary, the N user avatars disappear and become N The drop box is parked here. Optionally, the N user avatars may be from N users who join the same conversation group, which is not limited in this application.
可选地,本申请实施例提供的方法还包括:第二动画用于呈现N个贴附有不同用户标识的第一类视觉元素逐渐向第一边界移动的动态效果;响应于N个贴附有不同用户标识的第一类视觉元素终止移动,以第二类视觉元素替换N个用户标识显示在第二边界。Optionally, the method provided by this embodiment of the present application further includes: a second animation is used to present a dynamic effect in which N first-type visual elements attached with different user identities gradually move toward the first boundary; The first type of visual elements with different user identities stop moving, and the N user identities are replaced by the second type of visual elements and displayed on the second boundary.
3024、第二动画还用于呈现虚拟发放物件逐渐向第二边界移动并发放视觉元素的动态效果;虚拟发放物件在互动界面上的移动样式可变。3024. The second animation is further used to present a dynamic effect in which the virtual distribution object gradually moves to the second boundary and issues visual elements; the movement style of the virtual distribution object on the interactive interface is variable.
可选地,第一边界与第二边界相互垂直,比如第一边界为互动界面的下边界,则第二边界为互动界面的右边界。显示虚拟发送物件由第四边界逐渐显示后,沿着由第四边界指向第二边界的方向逐渐移动并发放视觉元素,直至到达第二边界逐渐隐藏的动态效果。示例性地,以互动界面为会话界面,第四边界为互动界面的左边界,第二边界为互动界面的右边界,视觉元素的移动终止位置为下边界为例,则参见图10至图13,虚拟发送物件即为图11和图12中的飞机,在前置动画播放完毕后,一架飞机会由左边界逐渐显示,在界面顶部沿着水平方向飞过并放下空投包,直至到达右边界再逐渐消失。Optionally, the first border and the second border are perpendicular to each other, for example, the first border is the lower border of the interactive interface, and the second border is the right border of the interactive interface. After the displayed virtual sending object is gradually displayed from the fourth boundary, it gradually moves along the direction from the fourth boundary to the second boundary and emits visual elements until it reaches the dynamic effect that the second boundary is gradually hidden. Exemplarily, taking the interactive interface as the conversation interface, the fourth boundary as the left boundary of the interactive interface, the second boundary as the right boundary of the interactive interface, and the movement termination position of the visual element as the lower boundary as an example, see FIGS. 10 to 13 . , the virtual sending object is the aircraft in Figure 11 and Figure 12. After the front animation is played, an aircraft will gradually display from the left border, fly horizontally at the top of the interface and drop the airdrop package until it reaches the right The border gradually disappears.
3025、第二动画还用于呈现虚拟收集物件逐渐向第三边界移动并逐一收集移动中的视觉元素的动态效果;虚拟收集物件在互动界面上的移动样式可变。比如,虚拟收集物件不同时段在互动界面上的移动速度不同,比如进场时速度快,之后速度慢下来,在离场时再次加速。3025. The second animation is further used to present a dynamic effect in which the virtual collection object gradually moves to the third boundary and collects the moving visual elements one by one; the movement style of the virtual collection object on the interactive interface is variable. For example, virtual collection objects move at different speeds on the interactive interface at different times. For example, the speed is fast when entering the field, then slows down, and accelerates again when leaving the field.
可选地,第三边界既可以与第二边界相同,可以可不同,本申请在此不做限制。显示虚拟收集物件由第五边界逐渐显示后,沿着由第五边界指向第三边界的方向逐渐移动并逐一收集视觉元素,直至到达第五边界逐渐隐藏的动态效果。示例性地,以互动界面为会话界面,第五边界为互动界面的左边界,第三边界为互动界面的右边界,视觉元素的移动终止位置为下边界为例,则参见图18至图22,虚拟发送物件即为图18至图22中的车辆,在空投包掉落过程中,一辆轿车在下边界从左至右驶出一段距离后停住,之后依次接住掉落的空投包,然后重新启动驶出界面。Optionally, the third boundary may be the same as or different from the second boundary, which is not limited in this application. After the displayed virtual collection object is gradually displayed from the fifth boundary, it gradually moves along the direction from the fifth boundary to the third boundary and collects visual elements one by one, until reaching the dynamic effect of gradually concealing the fifth boundary. Exemplarily, taking the interactive interface as the conversation interface, the fifth boundary as the left boundary of the interactive interface, the third boundary as the right boundary of the interactive interface, and the movement termination position of the visual element as the lower boundary as an example, see FIGS. 18 to 22 . , the virtual sending object is the vehicle in Figure 18 to Figure 22. During the drop of the airdrop package, a car stops at the lower boundary after driving a distance from left to right, and then catches the dropped airdrop package in turn. Then restart the exit interface.
3026、在显示第二动画的过程中,响应于针对移动中的视觉元素的第二触发操作,暂停显示第二动画;其中,在暂停显示第二动画过程中,视觉元素暂停移动;响应于针对暂停移动的视觉元素的第三触发操作,继续显示第二动画。3026. In the process of displaying the second animation, in response to the second trigger operation for the moving visual element, pause the display of the second animation; wherein, in the process of pausing the display of the second animation, the visual element pauses to move; Pauses the third trigger action of the moving visual element and continues to display the second animation.
可选地,第二触发操作可以为不同于第一触发操作的任意操作,比如第二触发操作为针对移动中的视觉元素的点击操作,本申请在此不做限制。第三触发操作与第二触发操作不同,比如可以为对界面空白位置的点击操作,本申请在此不做限制。另外,还可以设置暂停显示控件和继续显示控件,通过控件来控制第二动画的暂停显示和继续显示,本申请在此不做限制。Optionally, the second trigger operation may be any operation different from the first trigger operation, for example, the second trigger operation is a click operation on a moving visual element, which is not limited in this application. The third trigger operation is different from the second trigger operation, for example, it may be a click operation on a blank position of the interface, which is not limited in this application. In addition, a pause display control and a resume display control may also be set, and the pause display and resume display of the second animation can be controlled by the controls, which is not limited in this application.
303、响应于针对视觉元素的第一触发操作,进行页面跳转并显示与动画触发信息匹配的新页面。303. In response to the first trigger operation on the visual element, perform a page jump and display a new page matching the animation trigger information.
可选地,上述新页面为h5页面。比如,上述新页面为与动画触发信息相关的礼品赠送页面,比如通过抽奖的方式向用户赠送各类游戏道具;或,上述新页面为与动画触发信息相关的内容搜索页面,比如页面跳转到以动画触发信息作为搜索词的内容搜索页面;或,上述新页面为与动画触发信息相关的活动详情页面,比如页面跳转到跟动画触发信息相关的赛事活动详情页面;或,上述新页面为与动画触发信息相关的物品购买页面,比如页面跳转到跟动画触发信息相关的物品购买页面,方便用户购买与动画触发信息相关的周边物品;或,上述新页面为与动画触发信息相关的游戏页面,比如游戏组队页面。Optionally, the above-mentioned new page is an h5 page. For example, the above-mentioned new page is a gift giving page related to animation trigger information, such as presenting various game props to users through lottery; or, the above-mentioned new page is a content search page related to animation trigger information, such as the page jumps to A content search page with animation trigger information as the search term; or, the above new page is an event details page related to animation trigger information, for example, the page jumps to an event event details page related to animation trigger information; or, the above new page is The item purchase page related to the animation trigger information, for example, the page jumps to the item purchase page related to the animation trigger information, which is convenient for users to purchase peripheral items related to the animation trigger information; or, the above new page is a game related to the animation trigger information Pages, such as the game team page.
示例性地,对比于图9和图23,以第一触发操作为针对终止移动的视觉元素的点击操作为例,则若用户点击了图9中显示在下边界处的空投包,则页面发生跳转,跳转到如图23所示的新页面。可选地,图23为与动画触发信息相关的礼品赠送页面,支持用户通过抽奖的方式来获得活动方赠送的游戏道具。即实现了以彩蛋方式向用户赠送礼品。Exemplarily, compared with FIG. 9 and FIG. 23 , taking the first trigger operation as the click operation for the visual element that terminates the movement as an example, if the user clicks the airdrop package displayed at the lower boundary in FIG. 9 , the page jumps. Go, jump to the new page as shown in Figure 23. Optionally, FIG. 23 is a gift giving page related to the animation trigger information, which supports the user to obtain game props presented by the activity party through a lottery. That is, gifts are presented to users in the form of easter eggs.
可选地,点击视觉元素触发页面跳转由开发人员在后台配置,并通过服务器进行下发,本申请在此不做限制。Optionally, clicking on a visual element to trigger a page jump is configured by the developer in the background and delivered through the server, which is not limited in this application.
本申请实施例的彩蛋动画涉及三部分,首先显示用于引导出第二动画的第一动画,接着呈现视觉元素在互动界面上开始向第一边界移动的动态效果,且在动画播放完毕后还支持用户通过触发视觉元素进行页面跳转,这种彩蛋动画内容丰富更具趣味性,能够实现多样性地动画显示,进而提升了人机互动效果。另外,彩蛋动画的多样性,能够促进用户积极参与到活动中来,能够满足平台运营需求。另外,先后显示的不同动画在故事情节上具有叙事一致性,内容连贯,这进一步地确保了用户体验。另外,由于彩蛋动画跟用户输入强相关,因此能够很大程度上引起用户的共鸣,更具趣味性。另外,本申请实施例在动画播放完毕后还提供页面跳转能力,较为智能,进一步地提升了人机互动效果,也能很大程度上提高用户的参与度,进而提升彩蛋活动的传播性。综上所述,本申请实施例的彩蛋动画可以解决目前更具运营化的场景诉求,在面向垂类的用户时,可以更具针对性地为垂类用户提供强相关的彩蛋动画。The easter egg animation in this embodiment of the present application involves three parts. First, the first animation used to guide the second animation is displayed, and then the dynamic effect of the visual element starting to move to the first boundary on the interactive interface is presented. Support users to jump to pages by triggering visual elements. This kind of easter egg animation content is rich and more interesting, and it can realize diverse animation display, thereby improving the effect of human-computer interaction. In addition, the diversity of easter egg animation can promote users to actively participate in activities and meet the needs of platform operation. In addition, the different animations displayed one after the other have narrative consistency in the storyline, and the content is coherent, which further ensures the user experience. In addition, since the easter egg animation is strongly related to user input, it can resonate with users to a large extent and is more interesting. In addition, the embodiment of the present application also provides a page jump capability after the animation is played, which is more intelligent, further improves the human-computer interaction effect, and can also greatly improve the user's participation, thereby improving the spread of the easter egg event. To sum up, the easter egg animation of the embodiment of the present application can solve the current demands of more operational scenarios, and when facing vertical users, it can provide more relevant easter egg animations for vertical users in a more targeted manner.
需要说明的是,上述图2和图3对应的实施例是站在第一终端的角度进行阐述的,相应地,第二终端侧的彩蛋实现方式与图2和图3对应的实施例同理,即可参考上述图2和图3对应的实施例,在第二终端侧实现彩蛋动画,本申请在此不再赘述。It should be noted that the above-mentioned embodiments corresponding to FIG. 2 and FIG. 3 are described from the perspective of the first terminal. Correspondingly, the implementation of Easter eggs on the second terminal side is the same as the embodiments corresponding to FIG. 2 and FIG. 3 . , the Easter egg animation can be implemented on the second terminal side with reference to the embodiments corresponding to FIG. 2 and FIG. 3 , which will not be repeated in this application.
可选地,多个用户账号以群组形式参与互动,本申请实施例提供的信息显示方案还包括如下实施方式。Optionally, multiple user accounts participate in the interaction in the form of a group, and the information display solution provided by the embodiment of the present application further includes the following implementation manners.
示例一、响应于该群组中的N个用户账号输入相同的动画触发信息,终端同屏显示N个贴附有不同用户标识的视觉元素向第一边界移动。Example 1: In response to N user accounts in the group inputting the same animation trigger information, the terminal displays on the same screen that N visual elements attached with different user IDs move toward the first boundary.
其中,该群组中每个用户账号对应的终端均显示一致的画面。Wherein, the terminals corresponding to each user account in the group display a consistent screen.
即,本申请实施例提供的方法还包括:响应于用户输入数据中包括动画触发信息,获取输入该动画触发信息的N个用户账号,N为不小于2的正整数;获取N个用户账号对应的N个用户标识,将N个用户标识与该动画触发信息对应的视觉元素绑定;在互动界面上显示N个贴附有不同用户标识的视觉元素向第一边界移动。That is, the method provided by the embodiment of the present application further includes: in response to the user input data including animation trigger information, acquiring N user accounts for inputting the animation trigger information, where N is a positive integer not less than 2; acquiring N user accounts corresponding to The N user IDs are bound, and the N user IDs are bound to the visual elements corresponding to the animation trigger information; the N visual elements attached with different user IDs are displayed on the interactive interface to move toward the first boundary.
以用户标识为用户头像,动画触发信息为关键词,视觉元素为降落伞,第一边界为互动界面的下边界为例,则响应于该群组中有N个用户账号均输入了相同的关键词,则同屏显示N个贴附有不同用户头像的降落伞向下边界移动。Taking the user ID as the user avatar, the animation trigger information as the keyword, the visual element as the parachute, and the first boundary as the lower boundary of the interactive interface, for example, in response to N user accounts in the group inputting the same keyword , then the same screen displays N parachutes attached with different user avatars moving to the lower boundary.
示例二、本申请实施例还支持用户手动调整视觉元素的移动样式。Example 2: The embodiment of the present application also supports the user to manually adjust the movement style of the visual element.
即,本申请实施例提供的方法还包括:在互动界面上显示虚拟控制区域,通过该虚拟控制区域来控制视觉元素的移动样式;其中,该虚拟控制区域中包括至少两个调整选项,该至少两个调整选项用于对视觉元素的移动样式进行调整;响应于对至少两个调整选项中任意一个调整选项的选中操作,基于选中的调整选项指示的调整方式和用户输入的调整参数,调整视觉元素的移动样式。That is, the method provided by the embodiment of the present application further includes: displaying a virtual control area on the interactive interface, and controlling the movement style of the visual element through the virtual control area; wherein, the virtual control area includes at least two adjustment options, and the at least two adjustment options are included in the virtual control area. The two adjustment options are used to adjust the movement style of the visual element; in response to a selection operation of any one of the at least two adjustment options, the visual adjustment is adjusted based on the adjustment method indicated by the selected adjustment option and the adjustment parameters input by the user. The mobile style of the element.
可选地,该至少两个调整选项包括但不限于:移动速度调整选项、移动终止位置调整选项、大小调整选项和移动轨迹调整选项。Optionally, the at least two adjustment options include but are not limited to: a movement speed adjustment option, a movement termination position adjustment option, a size adjustment option, and a movement track adjustment option.
可选地,每个调整选项均对应一个输入项和操作项;其中,该输入项支持用户手动输入调整参数;而该操作项由滑块和滑动条组成,用户通过控制滑块在滑动条上滑动来输入调整参数,本申请在此不做限制。Optionally, each adjustment option corresponds to an input item and an operation item; wherein, the input item supports the user to manually input adjustment parameters; and the operation item is composed of a slider and a slider, and the user controls the slider on the slider. Swipe to input adjustment parameters, which is not limited in this application.
可选地,用户可以通过控件点击操作或手势操作唤出该虚拟控制区域,比如预先设置一个虚拟控件或一个滑动手势,以此来唤出该虚拟控制区域,本申请在此不做限制。Optionally, the user can call out the virtual control area through a control click operation or gesture operation, for example, a virtual control or a sliding gesture is preset to call up the virtual control area, which is not limited in this application.
可选地,该群组中每个用户账号对视觉元素的移动样式控制,都会同步到该群组中的其他用户账号侧进行显示,这类似于短暂的多人在线游戏。即,本申请实施例还包括:将调整方式和调整参数同步至该群组中的其他用户账号。Optionally, the movement style control of visual elements by each user account in the group will be synchronized to other user accounts in the group for display, which is similar to a short-lived multiplayer online game. That is, the embodiment of the present application further includes: synchronizing the adjustment method and the adjustment parameter to other user accounts in the group.
示例三、视觉元素可以被触发。Example 3. Visual elements can be triggered.
在本申请实施例中,视觉元素在满足一定的条件下能够被触发,比如视觉元素可以被点击或拖动,本申请在此不做限制。In this embodiment of the present application, the visual element can be triggered under certain conditions, for example, the visual element can be clicked or dragged, which is not limited in this application.
情形1、在视觉元素移动的过程中,用户可以拖动视觉元素,以避免移动中的视觉元素与设置的虚拟障碍物发生碰撞;响应于移动中的视觉元素未与虚拟障碍物发生碰撞,且视觉元素在第一边界终止移动,终止移动的视觉元素可以继续被触发,比如响应于针对终止移动的视觉元素的第一触发操作,进行页面跳转并显示视觉元素对应的新页面。Situation 1. During the movement of the visual element, the user can drag the visual element to avoid the collision between the moving visual element and the set virtual obstacle; in response to the moving visual element not colliding with the virtual obstacle, and The visual element stops moving at the first boundary, and the moving visual element can continue to be triggered. For example, in response to a first triggering operation for the moving visual element, a page jump is performed and a new page corresponding to the visual element is displayed.
可选地,虚拟障碍物可以为虚拟弹药,用户可以控制视觉元素躲避开虚拟弹药,以使视觉元素顺利到达第一边界;比如,在空投包下落过程中,用户可以控制下落的空投包躲避开正在上升的虚拟子弹,以使空投包顺利到达下边界,空投包停留在下边界后,响应于针对终止移动的空投包的点击操作,进行页面跳转并显示新页面。Optionally, the virtual obstacle can be virtual ammunition, and the user can control the visual element to avoid the virtual ammunition, so that the visual element can reach the first boundary smoothly; for example, during the falling process of the airdrop package, the user can control the falling airdrop package to avoid the virtual ammunition. The rising virtual bullet makes the airdrop package reach the lower boundary smoothly. After the airdrop package stays at the lower boundary, the page jumps and a new page is displayed in response to the click operation on the airdrop package that terminates the movement.
情形2、响应于移动中的视觉元素落入虚拟收集物件,在获取到针对视觉元素的第一触发操作后,进行页面跳转并显示视觉元素对应的新页面。Scenario 2: In response to the moving visual element falling into the virtual collection object, after obtaining the first trigger operation for the visual element, perform a page jump and display a new page corresponding to the visual element.
示例性地,虚拟收集物件包括但不限于车辆等用于放置视觉元素的虚拟工具。可选地,在视觉元素移动的过程中,用户可以拖动视觉元素,以控制视觉元素落入到虚拟收集物件中,本申请在此不做限制。Illustratively, virtual collection objects include, but are not limited to, vehicles and other virtual tools for placing visual elements. Optionally, during the movement of the visual element, the user can drag the visual element to control the visual element to fall into the virtual collection object, which is not limited in this application.
示例四、通过触发视觉元素可以快速完成游戏组队。Example 4. The game team can be quickly completed by triggering visual elements.
可选地,页面跳转既可为应用内页面跳转也可以为跨应用跳转。即,响应于针对视觉元素的第一触发操作,进行页面跳转并显示与动画触发信息匹配的新页面,包括但不限于:响应于针对视觉元素的第一触发操作,跳转至目标应用程序并通过目标应用程序显示新页面;或,响应于针对视觉元素的第一触发操作,进行应用内页面跳转并显示新页面。Optionally, the page jump can be either an in-app page jump or a cross-application jump. That is, in response to the first trigger operation on the visual element, perform page jump and display a new page matching the animation trigger information, including but not limited to: jumping to the target application in response to the first trigger operation on the visual element and display the new page through the target application; or, in response to the first triggering operation on the visual element, perform a page jump in the application and display the new page.
另外,本申请实施例支持用户通过点击移动中的视觉元素的方式,来跟该群组内的其他用户一起完成跨APP的游戏组队。可选地,跨APP的游戏组队方式包括但不限于如下两种情形。In addition, the embodiment of the present application supports the user to complete a cross-APP game team together with other users in the group by clicking on a moving visual element. Optionally, the cross-APP game team formation method includes but is not limited to the following two situations.
情形1、响应于针对视觉元素的第一触发操作,终端跳转至游戏应用程序并将当前登录的第一用户账号添加至目标阵营,通过游戏应用程序显示目标阵营中的队员;其中,目标阵营中还包括群组中的其他用户账号。Scenario 1. In response to the first trigger operation for the visual element, the terminal jumps to the game application and adds the currently logged-in first user account to the target camp, and displays the players in the target camp through the game application; wherein, the target camp Also includes other user accounts in the group.
需要说明的是,此处的终端泛指该群组中任意一个用户使用的终端。It should be noted that the terminal here generally refers to a terminal used by any user in the group.
可选地,该群组中的每个用户都可以通过上述情形1所示的组队方式加入到同一游戏阵营。即,由于该群组中每个用户使用的终端上均显示相同的画面。因此,各个用户在各自的终端上通过对移动中的视觉元素执行第一触发操作,即可以实现该群组中的多个用户加入到同一游戏阵营。Optionally, each user in the group can join the same game camp by forming a team as shown in Scenario 1 above. That is, the same screen is displayed on the terminal used by each user in the group. Therefore, each user performs the first trigger operation on the moving visual element on their respective terminals, that is, multiple users in the group can join the same game camp.
可选地,上述其他用户账号既可以是通过执行上述情形1所示的组队方式加入目标阵营的跳转用户,也可以是通过正常途经打开游戏应用程序并有组队需求的该群组中的其他用户,本申请在此不做限制。Optionally, the above-mentioned other user accounts can be either jump users who join the target camp by performing the teaming method shown in the above situation 1, or can open the game application program through the normal way and have teaming needs in this group. other users, this application does not limit.
可选地,当且仅当本端用户对包括自身用户标识的视觉元素执行第一触发操作,才能加入到目标阵营。即,响应于对贴附有第一用户标识的视觉元素的第一触发操作,跳转至游戏应用程序并将第一用户账号添加至目标阵营,第一用户标识与第一用户账号对应。以用户标识为用户头像为例,当且仅当本端用户点击包括自己头像的视觉元素才能加入该群组中其他成员所在的游戏战队,本申请在此不做限制。Optionally, the local user can join the target camp if and only when the local user performs the first triggering operation on the visual element including the user's own user ID. That is, in response to the first trigger operation on the visual element affixed with the first user ID, jump to the game application and add the first user account to the target camp, the first user ID corresponding to the first user account. Taking the user ID as the user avatar as an example, if and only when the local user clicks on the visual element including his avatar, he can join the game team of other members of the group, which is not limited in this application.
情形2、响应于针对视觉元素的第一触发操作,跳转至游戏应用程序,通过游戏应用程序显示游戏组队页面。Scenario 2: In response to the first trigger operation on the visual element, jump to the game application, and display the game team page through the game application.
除了上述情形1所示的组队方式外,本申请实施例还支持用户对视觉元素执行第一触发操作后,直接跳转至游戏应用程序,并通过游戏应用程序来显示游戏组队页面,以便于用户通过游戏组队页面进行自由组队,以给用户更大的组队选择权,本申请在此不做限制。其中,该游戏组队页面中示出了多种组队方式,以及当前队员数未满的多个可以加入的游戏阵营,本申请在此不做限制。In addition to the teaming method shown in the above situation 1, the embodiment of the present application also supports the user to directly jump to the game application after performing the first trigger operation on the visual element, and display the game teaming page through the game application, so as to Since the user can freely form a team through the game teaming page, so as to give the user a greater right to form a team, this application does not limit it. Among them, the game teaming page shows a variety of teaming methods, and a plurality of game camps that the current number of players is not full can join, which is not limited in this application.
在另一些实施例中,参见图24,上述步骤3023-2中对于N个用户标识的选择和N个贴附有不同用户标识的视觉元素的生成,可以通过如下步骤实现。In other embodiments, referring to FIG. 24 , the selection of N user identities and the generation of N visual elements attached with different user identities in the above step 3023-2 may be implemented through the following steps.
2401、响应于用户输入数据中包括动画触发信息,第一终端向服务器发送请求消息;其中,该请求消息中携带目标消息的消息ID;该目标消息中包括该动画触发信息。2401. In response to the user input data including animation trigger information, the first terminal sends a request message to the server; wherein the request message carries the message ID of the target message; the target message includes the animation trigger information.
其中,目标用户账号在本申请实施例中指向使用第一终端的用户。在本申请实施例中,第一终端作为主动触发端,在检测到用户输入动画触发信息后,会告知服务器,以通知服务器已检测到动画触发信息,并告知目标消息的消息ID,也称massageID。Wherein, the target user account refers to the user who uses the first terminal in the embodiment of the present application. In the embodiment of the present application, the first terminal, as the active trigger terminal, will notify the server after detecting the animation trigger information input by the user, so as to notify the server that the animation trigger information has been detected, and notify the message ID of the target message, also called messageID .
2402、服务器从参与互动的全部用户账号中选择N个用户账号,并向第一终端和第二终端下发响应消息;该响应消息携带N个用户账号的账号ID。2402. The server selects N user accounts from all the user accounts participating in the interaction, and sends a response message to the first terminal and the second terminal; the response message carries the account IDs of the N user accounts.
以群组会话为例,则参与互动的全部用户账号即为加入到该群组会话中的全部群成员。可选地,服务器可以随机选择N个用户账号或按照设置的规则选择N个用户账号,本申请在此不做限制。Taking a group conversation as an example, all user accounts participating in the interaction are all group members who joined the group conversation. Optionally, the server may randomly select N user accounts or select N user accounts according to a set rule, which is not limited in this application.
在本申请实施例中,第一终端作为主动触发端对应全部用户账号中的目标用户账号,而剩余的每个用户账号各自对应一个第二终端,即第二终端的数量为多个,其中,第二终端在本申请实施例中作为被动触发端。In the embodiment of the present application, the first terminal as the active trigger terminal corresponds to the target user account in all user accounts, and each of the remaining user accounts corresponds to a second terminal, that is, the number of second terminals is multiple, wherein, The second terminal is used as a passive trigger terminal in this embodiment of the present application.
2403、第一终端和第二终端在接收到响应消息后,获取N个用户账号对应的N个用户标识,在视觉元素素材库中确定与动画触发信息匹配的视觉元素;基于N个用户标识和确定的视觉元素,生成N个贴附有不同用户标识的视觉元素。2403. After receiving the response message, the first terminal and the second terminal obtain N user IDs corresponding to the N user accounts, and determine the visual elements matching the animation trigger information in the visual element material library; based on the N user IDs and The determined visual elements are generated, and N visual elements attached with different user logos are generated.
其中,视觉元素素材库用于存储各类视觉元素。视觉元素素材库可以保存在终端本地。可选地,服务器下发的响应消息中还携带目标消息的消息ID,以便于第一终端和第二终端定位前置动画的执行位置。相应地,上述步骤301包括但不限于:第一终端和第二终端确定该消息ID对应的用户标识;基于该消息ID对应的用户标识的显示位置,显示第一动画。也即,哪条消息触发了彩蛋,前置动画的执行位置便与该条消息的显示位置相关,详细来说,前置动画的执行位置与该条消息对应的用户标识显示位置相关。以用户标识为用户头像为例,则前置动画的执行位置与该条消息对应的用户头像显示位置相关。Among them, the visual element material library is used to store various visual elements. The visual element material library can be saved locally on the terminal. Optionally, the response message sent by the server also carries the message ID of the target message, so that the first terminal and the second terminal can locate the execution position of the pre-movement animation. Correspondingly, the
参见图25,其示出了互动界面层、动画层和会话层之间的层级关系。以互动界面为会话界面为例,则互动界面层也可称为聊天窗口层。在一些实施例中,由于前置动画的执行位置与目标消息对应的用户标识显示位置相关,所以前置动画采用会话层坐标系,且第一动画的执行位置坐标与目标消息的坐标相关,且第一动画跟随屏幕滑动而滑动,即后续随着消息在互动界面的不断滑动,前置动画也会随着该用户头像所在的消息前置滑动;而由于第二动画的显示范围以互动界面为界,所以第二动画采用互动界面坐标系。Referring to FIG. 25, it shows the hierarchical relationship among the interactive interface layer, animation layer and session layer. Taking the interactive interface as the conversation interface as an example, the interactive interface layer may also be called the chat window layer. In some embodiments, since the execution position of the pre-animation is related to the display position of the user ID corresponding to the target message, the pre-animation adopts the session layer coordinate system, and the execution position coordinates of the first animation are related to the coordinates of the target message, and The first animation slides as the screen slides, that is, with the continuous sliding of the message on the interactive interface, the front animation will also slide forward with the message where the user's avatar is located; and because the display range of the second animation is based on the interactive interface. bounds, so the second animation adopts the interactive interface coordinate system.
本申请实施例通过终端与服务器的交互,能够使得参与当前互动的各个用户侧均显示一致的彩蛋动画。In this embodiment of the present application, through the interaction between the terminal and the server, each user side participating in the current interaction can display a consistent easter egg animation.
下面以互动形式为基于即时通讯应用的群组会话,动画触发信息为关键词,用户标识为用户头像为例,对本申请实施例提供的信息显示方法的整体执行流程进行介绍。参见图26,该流程包括:The following describes the overall execution flow of the information display method provided by the embodiment of the present application by taking the interactive form as an instant messaging application-based group conversation, the animation trigger information as the keyword, and the user ID as the user avatar as an example. Referring to Figure 26, the process includes:
2601、获取用户输入数据;响应于用户输入数据中包括关键词,第一终端向服务器发送请求消息;其中,该请求消息中携带目标消息的消息ID;该目标消息中包括该关键词。2601. Acquire user input data; in response to the user input data including the keyword, the first terminal sends a request message to the server; wherein the request message carries the message ID of the target message; the target message includes the keyword.
2602、服务器向第二终端下发响应消息;该响应消息携带目标消息的消息ID。2602. The server delivers a response message to the second terminal; the response message carries the message ID of the target message.
在本申请实施例中,第一终端作为主动触发端,而第二终端的数量为多个,且二终端在本申请实施例中作为被动触发端。In the embodiment of the present application, the first terminal is used as the active trigger terminal, and the number of the second terminal is multiple, and the two terminals are used as the passive trigger terminal in the embodiment of the present application.
2603、第一终端和第二终端确定该消息ID对应的用户头像;基于该消息ID对应的用户头像显示位置,在会话界面上显示第一动画,第一动画是用于引导出第二动画的前置动画。2603. The first terminal and the second terminal determine the user avatar corresponding to the message ID; based on the display position of the user avatar corresponding to the message ID, display a first animation on the conversation interface, where the first animation is used to guide the second animation Front animation.
2604、第一终端和第二终端在第一动画播放完毕后在会话界面上显示第二动画;第二动画用于呈现视觉元素向第一边界移动。2604. The first terminal and the second terminal display a second animation on the session interface after the first animation is played; the second animation is used to present the visual element moving toward the first boundary.
可选地,以视觉元素的个数为M个为例,则第二动画用于呈现N个贴附有不同用户头像的视觉元素逐渐向第一边界移动;其中,N个用户头像用于指示加入会话群组的N个群成员。示例性地,该响应消息中还携带N个群成员的memberID。相应地,第一终端和第二终端在接收到响应消息后,获取N个memberID对应的N个用户头像,在视觉元素素材库中确定与关键词匹配的视觉元素;基于N个用户头像和确定的视觉元素,生成N个贴附有不同用户头像的视觉元素。Optionally, taking the number of visual elements as M as an example, the second animation is used to present N visual elements attached with different user avatars gradually moving toward the first boundary; wherein, the N user avatars are used to indicate N group members who joined the conversation group. Exemplarily, the response message also carries the memberIDs of the N group members. Correspondingly, after receiving the response message, the first terminal and the second terminal obtain N user avatars corresponding to the N memberIDs, and determine the visual elements matching the keywords in the visual element material library; to generate N visual elements attached with different user avatars.
2605、响应于针对终止移动的视觉元素的第一触发操作,第一终端和第二终端进行页面跳转并显示与用户输入的关键词匹配的新页面。2605. In response to the first triggering operation for the visual element whose movement is terminated, the first terminal and the second terminal perform page jumping and display a new page matching the keyword input by the user.
示例性地,上述步骤2601至步骤2604的交互过程可以通过图27描述。Exemplarily, the interaction process of the above steps 2601 to 2604 can be described with reference to FIG. 27 .
本申请实施例的彩蛋动画涉及三部分,首先显示用于引导出第二动画的第一动画,接着呈现视觉元素在互动界面上开始按照某个方向移动的动态效果,且在动画播放完毕后还支持用户通过触发视觉元素进行页面跳转,这种彩蛋动画内容丰富更具趣味性,能够实现多样性地动画显示,进而提升了人机互动效果。另外,彩蛋动画的多样性,能够促进用户积极参与到活动中来,能够满足平台运营需求。另外,先后显示的不同动画在故事情节上具有叙事一致性,内容连贯,这进一步地确保了用户体验。另外,由于彩蛋动画跟用户输入强相关,因此能够很大程度上引起用户的共鸣,更具趣味性。另外,本申请实施例在动画播放完毕后还提供页面跳转能力,较为智能,进一步地提升了人机互动效果,也能很大程度上提高用户的参与度,进而提升彩蛋活动的传播性。综上所述,本申请实施例的彩蛋动画可以解决目前更具运营化的场景诉求,在面向垂类的用户时,可以更具针对性地为垂类用户提供强相关的彩蛋动画。The easter egg animation in this embodiment of the present application involves three parts. First, the first animation used to guide the second animation is displayed, and then the dynamic effect of the visual element starting to move in a certain direction on the interactive interface is presented, and after the animation is played, the animation is displayed. It supports users to jump to pages by triggering visual elements. This kind of easter egg animation content is rich and more interesting, and it can realize diverse animation display, thereby improving the effect of human-computer interaction. In addition, the diversity of easter egg animation can promote users to actively participate in activities and meet the needs of platform operation. In addition, the different animations displayed one after the other have narrative consistency in the storyline, and the content is coherent, which further ensures the user experience. In addition, since the easter egg animation is strongly related to user input, it can resonate with users to a large extent and is more interesting. In addition, the embodiment of the present application also provides a page jump capability after the animation is played, which is more intelligent, further improves the human-computer interaction effect, and can also greatly improve the user's participation, thereby improving the spread of the easter egg event. To sum up, the easter egg animation of the embodiment of the present application can solve the current demands of more operational scenarios, and when facing vertical users, it can provide more relevant easter egg animations for vertical users in a more targeted manner.
图28是本申请实施例提供的一种信息显示装置的结构示意图。参见图28,该装置包括:FIG. 28 is a schematic structural diagram of an information display device provided by an embodiment of the present application. Referring to Figure 28, the device includes:
第一显示模块2801,被配置为响应于用户输入数据中包括动画触发信息,在互动界面上显示第一动画和第二动画;其中,所述第一动画是用于引导出所述第二动画的前置动画;所述第二动画用于呈现视觉元素向第一边界移动;The first display module 2801 is configured to display the first animation and the second animation on the interactive interface in response to the animation trigger information included in the user input data; wherein the first animation is used to guide the second animation The pre-movement animation; the second animation is used to present the movement of the visual element to the first boundary;
第二显示模块2802,被配置为响应于针对所述视觉元素的第一触发操作,进行页面跳转并显示与所述动画触发信息匹配的新页面。The second display module 2802 is configured to perform a page jump and display a new page matching the animation trigger information in response to the first trigger operation on the visual element.
在一些实施例中,所述动画触发信息包括:文本形式的关键词、音频形式的关键词和特定表情;In some embodiments, the animation trigger information includes: keywords in text form, keywords in audio form, and specific expressions;
所述视觉元素在所述互动界面上的移动样式可变;所述移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种。The movement style of the visual element on the interactive interface is variable; the movement style includes one or more of a movement speed, a movement end position, a size, and a movement track.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further comprises:
处理模块,被配置为响应于所述用户输入数据中包括所述动画触发信息,获取输入所述动画触发信息的目标用户账号;获取所述目标用户账号对应的目标用户标识,将所述目标用户标识与所述动画触发信息对应的视觉元素绑定;The processing module is configured to, in response to the user input data including the animation trigger information, obtain a target user account for inputting the animation trigger information; obtain a target user identifier corresponding to the target user account, and assign the target user identifying the visual element binding corresponding to the animation trigger information;
所述第一显示模块,被配置为在所述互动界面上显示贴附有所述目标用户标识的视觉元素向所述第一边界移动。The first display module is configured to display on the interactive interface that the visual element attached with the target user identification moves toward the first boundary.
在一些实施例中,所述处理模块,还被配置为响应于所述用户输入数据中包括所述动画触发信息,获取参与当前互动的N个用户账号,N为不小于2的正整数;获取所述N个用户账号对应的N个用户标识,将所述N个用户标识与所述动画触发信息对应的视觉元素绑定;In some embodiments, the processing module is further configured to, in response to the user input data including the animation trigger information, obtain N user accounts participating in the current interaction, where N is a positive integer not less than 2; obtain The N user identities corresponding to the N user accounts, bind the N user identities to the visual elements corresponding to the animation trigger information;
所述第一显示模块,还被配置为在所述互动界面上显示N个贴附有不同用户标识的视觉元素向所述第一边界移动。The first display module is further configured to display, on the interactive interface, N visual elements attached with different user identities moving toward the first boundary.
在一些实施例中,所述第一显示模块,还被配置为:In some embodiments, the first display module is further configured to:
响应于所述视觉元素移动至所述第一边界,所述视觉元素终止移动,在所述第一边界处显示终止移动的所述视觉元素;in response to the visual element moving to the first boundary, the visual element terminating movement, displaying the visual element terminating movement at the first boundary;
或,所述视觉元素为M个;响应于所述视觉元素移动至所述第一边界,隐藏显示M个视觉元素中的部分视觉元素,另一部分视觉元素终止移动,在所述第一边界处显示终止移动的另一部分视觉元素。Or, the number of visual elements is M; in response to the visual elements moving to the first boundary, part of the visual elements in the M visual elements are hidden and displayed, and another part of the visual elements terminates movement, at the first boundary Displays another part of the visual element that terminates the movement.
在一些实施例中,所述第二动画还用于呈现虚拟发放物件向第二边界移动并发放所述视觉元素;In some embodiments, the second animation is further used to present the virtual dispensing object moving to the second boundary and dispensing the visual element;
其中,所述虚拟发放物件在所述互动界面上的移动样式可变;所述移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种。Wherein, the movement pattern of the virtual dispensing object on the interactive interface is variable; the movement pattern includes one or more of movement speed, movement termination position, size and movement trajectory.
在一些实施例中,所述第二动画还用于呈现虚拟收集物件向第三边界移动并逐一收集移动中的所述视觉元素;In some embodiments, the second animation is further used to present the virtual collection object moving to the third boundary and to collect the moving visual elements one by one;
其中,所述虚拟收集物件在所述互动界面上的移动样式可变。Wherein, the movement style of the virtual collection object on the interactive interface is variable.
在一些实施例中,所述视觉元素的个数为M个,且移动中的视觉元素具有不同的移动样式;所述移动样式包括移动速度、移动终止位置、大小和移动轨迹中的一种或多种;In some embodiments, the number of the visual elements is M, and the moving visual elements have different movement styles; the movement styles include one or more of a movement speed, a movement end position, a size, and a movement track. variety;
其中,所述移动中的视觉元素具有不同的移动样式,包括:Wherein, the moving visual elements have different moving styles, including:
M个视觉元素中的部分视觉元素在移动过程中具有不同的移动样式;或,Some of the M visual elements have different movement styles during the movement; or,
所述M个视觉元素中不同的视觉元素在移动过程中具有不同的移动样式。Different visual elements among the M visual elements have different moving styles during the moving process.
在一些实施例中,所述第一显示模块,还被配置为基于目标位置显示所述第一动画,所述目标位置是目标消息对应的目标用户标识的显示位置,所述目标消息中包括所述动画触发信息。In some embodiments, the first display module is further configured to display the first animation based on a target position, where the target position is a display position of a target user identifier corresponding to a target message, and the target message includes all The animation trigger information is described.
在一些实施例中,所述第二显示模块,还被配置为:In some embodiments, the second display module is further configured to:
响应于移动中的所述视觉元素未与虚拟障碍物发生碰撞,且所述视觉元素在所述第一边界终止移动,在获取到针对所述视觉元素的第一触发操作后,进行页面跳转并显示所述视觉元素对应的新页面;或,In response to that the moving visual element does not collide with the virtual obstacle, and the visual element stops moving at the first boundary, after acquiring the first trigger operation for the visual element, perform a page jump and display a new page corresponding to the visual element; or,
响应于移动中的所述视觉元素落入虚拟收集物件,在获取到针对所述视觉元素的第一触发操作后,进行页面跳转并显示所述视觉元素对应的新页面。In response to the moving visual element falling into the virtual collection object, after acquiring the first trigger operation for the visual element, a page jump is performed and a new page corresponding to the visual element is displayed.
在一些实施例中,所述第一显示模块,还被配置为:In some embodiments, the first display module is further configured to:
在显示第二动画的过程中,响应于针对移动中的所述视觉元素的第二触发操作,暂停显示所述第二动画;其中,在暂停显示所述第二动画过程中,所述视觉元素暂停移动;In the process of displaying the second animation, in response to a second trigger operation for the moving visual element, the display of the second animation is suspended; wherein, in the process of pausing the display of the second animation, the visual element suspend movement;
响应于针对暂停移动的所述视觉元素的第三触发操作,继续显示所述第二动画。Continuing to display the second animation in response to a third trigger operation for the visual element that paused movement.
在一些实施例中,所述处理模块,还被配置为:In some embodiments, the processing module is further configured to:
响应于所述用户输入数据中包括所述动画触发信息,随机获取参与当前互动的N个用户账号;或,In response to the user input data including the animation trigger information, randomly acquiring N user accounts participating in the current interaction; or,
响应于所述用户输入数据中包括所述动画触发信息,获取输入所述动画触发信息的N个用户账号。In response to the user input data including the animation trigger information, N user accounts that input the animation trigger information are acquired.
在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:
第三显示模块,被配置为在所述视觉元素的移动过程中,在所述互动界面上显示虚拟控制区域;其中,所述虚拟控制区域中包括至少两个调整选项,所述调整选项用于对移动中的所述视觉元素的移动样式进行调整;The third display module is configured to display a virtual control area on the interactive interface during the movement of the visual element; wherein, the virtual control area includes at least two adjustment options, and the adjustment options are used for adjusting the mobile style of the visual element in motion;
调整模块,被配置为响应于对所述至少两个调整选项中任意一个调整选项的选中操作,基于选中的调整选项指示的调整方式和输入的调整参数,调整移动中的所述视觉元素的移动样式;An adjustment module configured to, in response to a selection operation of any one of the at least two adjustment options, adjust the movement of the visual element in motion based on the adjustment method indicated by the selected adjustment option and the input adjustment parameter style;
同步模块,被配置为将所述调整方式和所述调整参数同步至参与互动的其他用户账号。The synchronization module is configured to synchronize the adjustment method and the adjustment parameter to other user accounts participating in the interaction.
在一些实施例中,所述第二显示模块,被配置为:In some embodiments, the second display module is configured to:
响应于针对所述视觉元素的第一触发操作,跳转至目标应用程序并通过所述目标应用程序显示所述新页面;或,In response to a first trigger operation for the visual element, jump to a target application and display the new page through the target application; or,
响应于针对所述视觉元素的第一触发操作,进行应用内页面跳转并显示所述新页面;In response to the first trigger operation for the visual element, performing an in-app page jump and displaying the new page;
其中,所述新页面包括以下任意一项:Wherein, the new page includes any one of the following:
所述新页面为与所述动画触发信息相关的礼品赠送页面;The new page is a gift giving page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的内容搜索页面;The new page is a content search page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的活动详情页面;The new page is an activity details page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的物品购买页面;The new page is an item purchase page related to the animation trigger information;
所述新页面为与所述动画触发信息相关的游戏页面。The new page is a game page related to the animation trigger information.
在一些实施例中,多个用户账号以群组形式参与互动;所述第二显示模块,被配置为响应于针对所述视觉元素的第一触发操作,跳转至游戏应用程序并将当前登录的第一用户账号添加至目标阵营,通过所述游戏应用程序显示所述目标阵营中的队员;其中,所述目标阵营中还包括所述群组中的其他用户账号。In some embodiments, multiple user accounts participate in the interaction in a group form; the second display module is configured to jump to the game application and log in the current login in response to the first trigger operation on the visual element The first user account of the target camp is added to the target camp, and the players in the target camp are displayed through the game application program; wherein, the target camp also includes other user accounts in the group.
在一些实施例中,所述第二显示模块,被配置为响应于针对所述视觉元素的第一触发操作,跳转至游戏应用程序,通过所述游戏应用程序显示游戏组队页面。In some embodiments, the second display module is configured to jump to a game application in response to a first trigger operation on the visual element, and display a game team page through the game application.
在一些实施例中,所述第二显示模块,被配置为响应于对贴附有第一用户标识的视觉元素的第一触发操作,跳转至所述游戏应用程序并将所述第一用户账号添加至所述目标阵营,通过所述游戏应用程序显示所述目标阵营中的队员;所述第一用户标识与所述第一用户账号对应。In some embodiments, the second display module is configured to jump to the game application and display the first user in response to a first trigger operation on the visual element attached with the first user identification. The account is added to the target camp, and the players in the target camp are displayed through the game application program; the first user identifier corresponds to the first user account.
在一些实施例中,所述处理模块,还被配置为响应于所述用户输入数据中包括所述动画触发信息,向服务器发送请求消息,所述请求消息中携带目标消息的消息ID;其中,所述请求消息用于指示所述服务器从参与互动的全部用户账号中选择N个用户账号,并向参与互动的各个用户账号下发响应消息;所述响应消息携带所述N个用户账号的账号ID;在接收到所述响应消息后,获取所述N个用户账号对应的N个用户标识。In some embodiments, the processing module is further configured to, in response to the user input data including the animation trigger information, send a request message to the server, where the request message carries the message ID of the target message; wherein, The request message is used to instruct the server to select N user accounts from all the user accounts participating in the interaction, and deliver a response message to each user account participating in the interaction; the response message carries the accounts of the N user accounts. ID; after receiving the response message, obtain N user identifiers corresponding to the N user accounts.
在一些实施例中,所述响应消息中还携带目标消息的消息ID;所述用户标识为用户头像;所述第一显示模块,还被配置为在接收到所述响应消息后,确定所述消息ID对应的目标用户标识;基于所述消息ID对应的目标用户标识的显示位置,显示所述第一动画。In some embodiments, the response message further carries the message ID of the target message; the user identifier is a user avatar; the first display module is further configured to, after receiving the response message, determine the The target user identifier corresponding to the message ID; the first animation is displayed based on the display position of the target user identifier corresponding to the message ID.
在一些实施例中,所述第一动画采用会话层坐标系,所述第一动画的执行位置坐标与所述目标消息的坐标相关,且所述第一动画跟随屏幕滑动而滑动;所述第二动画采用互动界面坐标系。In some embodiments, the first animation adopts a session layer coordinate system, the coordinates of the execution position of the first animation are related to the coordinates of the target message, and the first animation slides along with the screen; The second animation adopts the interactive interface coordinate system.
本申请实施例的彩蛋涉及三部分,首先显示用于引导出第二动画的第一动画,接着呈现视觉元素在互动界面上开始按照某个方向移动的动态效果,且在动画播放完毕后还支持用户通过触发视觉元素进行页面跳转,这种彩蛋呈现方式内容丰富且具趣味性,实现了多样化地动画显示,提升了人机互动效果。另外,先后显示的第一动画和第二动画在内容上连贯,这种叙事性的连贯设计,进一步地提升了人机互动效果。另外,由于呈现的彩蛋跟用户输入强相关,因此能够很大程度上引起用户的共鸣,更具趣味性。另外,本申请实施例在动画播放完毕后还提供页面跳转能力,较为智能化,进一步地提升了人机互动效果。The easter egg in this embodiment of the present application involves three parts. First, the first animation used to guide the second animation is displayed, and then the dynamic effect of the visual element starting to move in a certain direction on the interactive interface is presented. After the animation is played, it also supports Users can jump to pages by triggering visual elements. This way of presenting easter eggs is rich in content and interesting, realizes diversified animation display, and improves the effect of human-computer interaction. In addition, the first animation and the second animation displayed successively are coherent in content. This narrative coherent design further enhances the effect of human-computer interaction. In addition, since the presented Easter eggs are strongly related to user input, they can resonate with users to a large extent and are more interesting. In addition, the embodiment of the present application also provides a page jump capability after the animation is played, which is more intelligent, and further improves the human-computer interaction effect.
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, which will not be repeated here.
需要说明的是:上述实施例提供的信息显示装置在显示信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的信息显示装置与信息显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the information display device provided in the above embodiment displays information, only the division of the above functional modules is used as an example for illustration. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information display device and the information display method provided by the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
图29示出了本申请一个示例性实施例提供的计算机设备2900的结构框图。可选地,该计算机设备可以表现为终端。通常,计算机设备2900包括有:处理器2901和存储器2902。FIG. 29 shows a structural block diagram of a
处理器2901可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器2901可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器2901也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器2901可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器2901还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The
存储器2902可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器2902还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器2902中的非暂态的计算机可读存储介质用于存储至少一个程序代码,该至少一个程序代码用于被处理器2901所执行以实现本申请中方法实施例提供的信息显示方法。
在一些实施例中,计算机设备2900还可选包括有:外围设备接口2903和至少一个外围设备。处理器2901、存储器2902和外围设备接口2903之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口2903相连。具体地,外围设备包括:射频电路2904、显示屏2905、摄像头组件2906、音频电路2907、定位组件2908和电源2909中的至少一种。In some embodiments, the
外围设备接口2903可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器2901和存储器2902。在一些实施例中,处理器2901、存储器2902和外围设备接口2903被集成在同一芯片或电路板上;在一些其他实施例中,处理器2901、存储器2902和外围设备接口2903中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The
射频电路2904用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路2904通过电磁信号与通信网络以及其他通信设备进行通信。射频电路2904将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路2904包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路2904可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路2904还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The
显示屏2905用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏2905是触摸显示屏时,显示屏2905还具有采集在显示屏2905的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器2901进行处理。此时,显示屏2905还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏2905可以为一个,设置在计算机设备2900的前面板;在另一些实施例中,显示屏2905可以为M个,分别设置在计算机设备2900的不同表面或呈折叠设计;在另一些实施例中,显示屏2905可以是柔性显示屏,设置在计算机设备2900的弯曲表面上或折叠面上。甚至,显示屏2905还可以设置成非矩形的不规则图形,也即异形屏。显示屏2905可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(OrganicLight-Emitting Diode,有机发光二极管)等材质制备。The
摄像头组件2906用于采集图像或视频。可选地,摄像头组件2906包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为M个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件2906还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The
音频电路2907可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器2901进行处理,或者输入至射频电路2904以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在计算机设备2900的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器2901或射频电路2904的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路2907还可以包括耳机插孔。
定位组件2908用于定位计算机设备2900的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件2908可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。The
电源2909用于为计算机设备2900中的各个组件进行供电。电源2909可以是交流电、直流电、一次性电池或可充电电池。当电源2909包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,计算机设备2900还包括有一个或多个传感器2910。该一个或多个传感器2910包括但不限于:加速度传感器2911、陀螺仪传感器2912、压力传感器2913、指纹传感器2914、光学传感器2915以及接近传感器2916。In some embodiments,
加速度传感器2911可以检测以计算机设备2900建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器2911可以用于检测重力加速度在三个坐标轴上的分量。处理器2901可以根据加速度传感器2911采集的重力加速度信号,控制显示屏2905以横向视图或纵向视图进行用户界面的显示。加速度传感器2911还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 2911 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the
陀螺仪传感器2912可以检测计算机设备2900的机体方向及转动角度,陀螺仪传感器2912可以与加速度传感器2911协同采集用户对计算机设备2900的3D动作。处理器2901根据陀螺仪传感器2912采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 2912 can detect the body direction and rotation angle of the
压力传感器2913可以设置在计算机设备2900的侧边框和/或显示屏2905的下层。当压力传感器2913设置在计算机设备2900的侧边框时,可以检测用户对计算机设备2900的握持信号,由处理器2901根据压力传感器2913采集的握持信号进行左右手识别或快捷操作。当压力传感器2913设置在显示屏2905的下层时,由处理器2901根据用户对显示屏2905的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 2913 may be disposed on the side frame of the
指纹传感器2914用于采集用户的指纹,由处理器2901根据指纹传感器2914采集到的指纹识别用户的身份,或者,由指纹传感器2914根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器2901授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器2914可以被设置在计算机设备2900的正面、背面或侧面。当计算机设备2900上设置有物理按键或厂商Logo时,指纹传感器2914可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 2914 is used to collect the user's fingerprint, and the
光学传感器2915用于采集环境光强度。在一个实施例中,处理器2901可以根据光学传感器2915采集的环境光强度,控制显示屏2905的显示亮度。具体地,当环境光强度较高时,调高显示屏2905的显示亮度;当环境光强度较低时,调低显示屏2905的显示亮度。在另一个实施例中,处理器2901还可以根据光学传感器2915采集的环境光强度,动态调整摄像头组件2906的拍摄参数。Optical sensor 2915 is used to collect ambient light intensity. In one embodiment, the
接近传感器2916,也称距离传感器,通常设置在计算机设备2900的前面板。接近传感器2916用于采集用户与计算机设备2900的正面之间的距离。在一个实施例中,当接近传感器2916检测到用户与计算机设备2900的正面之间的距离逐渐变小时,由处理器2901控制显示屏2905从亮屏状态切换为息屏状态;当接近传感器2916检测到用户与计算机设备2900的正面之间的距离逐渐变大时,由处理器2901控制显示屏2905从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图29中示出的结构并不构成对计算机设备2900的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 29 does not constitute a limitation on the
在示例性实施例中,还提供了一种计算机可读存储介质,例如包括程序代码的存储器,上述程序代码可由计算机设备中的处理器执行以完成上述实施例中的信息显示方法。例如,所述计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、光盘只读存储器(Compact Disc Read-OnlyMemory,CD-ROM)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a computer-readable storage medium, such as a memory including program codes, is also provided, and the program codes can be executed by a processor in a computer device to complete the information display method in the foregoing embodiments. For example, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM) , tapes, floppy disks and optical data storage devices.
在示例性实施例中,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机程序代码,该计算机程序代码存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该计算机程序代码,处理器执行该计算机程序代码,使得该计算机设备执行上述信息显示方法。In an exemplary embodiment, there is also provided a computer program product or computer program comprising computer program code stored in a computer readable storage medium, the processor of the computer device from A computer-readable storage medium reads the computer program code, and the processor executes the computer program code, so that the computer device executes the above-mentioned information display method.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110227561.5ACN114984574B (en) | 2021-03-01 | 2021-03-01 | Information display method, device, storage medium and equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110227561.5ACN114984574B (en) | 2021-03-01 | 2021-03-01 | Information display method, device, storage medium and equipment |
| Publication Number | Publication Date |
|---|---|
| CN114984574Atrue CN114984574A (en) | 2022-09-02 |
| CN114984574B CN114984574B (en) | 2025-06-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110227561.5AActiveCN114984574B (en) | 2021-03-01 | 2021-03-01 | Information display method, device, storage medium and equipment |
| Country | Link |
|---|---|
| CN (1) | CN114984574B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024131605A1 (en)* | 2022-12-23 | 2024-06-27 | 北京字跳网络技术有限公司 | Interaction method and apparatus, electronic device, and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060205517A1 (en)* | 2005-03-08 | 2006-09-14 | Malabuyo Paolo V | Systems and methods for providing a system level user interface in a multimedia console |
| US20150205894A1 (en)* | 2014-01-22 | 2015-07-23 | Ron Faris | Systems and methods of socially-driven product offerings |
| CN110519611A (en)* | 2019-08-23 | 2019-11-29 | 腾讯科技(深圳)有限公司 | Living broadcast interactive method, apparatus, electronic equipment and storage medium |
| CN111643899A (en)* | 2020-05-22 | 2020-09-11 | 腾讯数码(天津)有限公司 | Virtual article display method and device, electronic equipment and storage medium |
| CN111672099A (en)* | 2020-05-28 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Information display method, device, equipment and storage medium in virtual scene |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060205517A1 (en)* | 2005-03-08 | 2006-09-14 | Malabuyo Paolo V | Systems and methods for providing a system level user interface in a multimedia console |
| US20150205894A1 (en)* | 2014-01-22 | 2015-07-23 | Ron Faris | Systems and methods of socially-driven product offerings |
| CN110519611A (en)* | 2019-08-23 | 2019-11-29 | 腾讯科技(深圳)有限公司 | Living broadcast interactive method, apparatus, electronic equipment and storage medium |
| CN111643899A (en)* | 2020-05-22 | 2020-09-11 | 腾讯数码(天津)有限公司 | Virtual article display method and device, electronic equipment and storage medium |
| CN111672099A (en)* | 2020-05-28 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Information display method, device, equipment and storage medium in virtual scene |
| Title |
|---|
| "Deeplink最全解析", pages 1 - 8, Retrieved from the Internet <URL:https://blog.csdn.net/generallizhong/article/details/107344704#:~:text=Deferred%20D#:~:text=Deferred%20D>* |
| "微信里面输入使命召唤有,彩蛋", Retrieved from the Internet <URL:https://www.ixigua.com/6910192422689440268?wid_try=1>* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024131605A1 (en)* | 2022-12-23 | 2024-06-27 | 北京字跳网络技术有限公司 | Interaction method and apparatus, electronic device, and storage medium |
| Publication number | Publication date |
|---|---|
| CN114984574B (en) | 2025-06-20 |
| Publication | Publication Date | Title |
|---|---|---|
| JP6383478B2 (en) | System and method for interactive experience, and controller for the same | |
| CN112261481B (en) | Interactive video creating method, device and equipment and readable storage medium | |
| CN108984087B (en) | Social interaction method and device based on three-dimensional virtual image | |
| CN112717423B (en) | Live broadcast method, device, equipment and storage medium for game match | |
| CN111050189B (en) | Live broadcast method, apparatus, device and storage medium | |
| JP2015507773A5 (en) | ||
| US12282990B2 (en) | Contact information presentation | |
| CN114272618A (en) | Interactive method, device, electronic device and storage medium based on virtual character | |
| CN114288654A (en) | Live interactive method, apparatus, device, storage medium and computer program product | |
| TWI817208B (en) | Method and apparatus for determining selected target, computer device, non-transitory computer-readable storage medium, and computer program product | |
| CN113171613A (en) | Team-forming and game-checking method, device, equipment and storage medium | |
| CN114405013A (en) | Method, device and equipment for communication between different teams in same pair | |
| WO2022237076A1 (en) | Method and apparatus for controlling avatar, and device and computer-readable storage medium | |
| CN110971502B (en) | Method, device, equipment and storage medium for displaying sound message in application program | |
| CN111589168B (en) | Instant messaging method, device, equipment and medium | |
| US20220254082A1 (en) | Method of character animation based on extraction of triggers from an av stream | |
| CN114984574A (en) | Information display method, device, storage medium and equipment | |
| CN116801063A (en) | Interaction method, device, equipment and medium based on virtual live broadcasting room | |
| HK40073678A (en) | Information display method and apparatus, storage medium, and device | |
| HK40038194A (en) | Method and apparatus for creating interactive video, device and readable storage medium | |
| HK40038194B (en) | Method and apparatus for creating interactive video, device and readable storage medium | |
| CN120168954A (en) | Social interaction method, device, equipment and medium based on recall information | |
| WO2023246207A1 (en) | Interface display method and apparatus, and device and medium | |
| HK40027412A (en) | Instant messaging method and apparatus, device and medium | |
| HK40027412B (en) | Instant messaging method and apparatus, device and medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code | Ref country code:HK Ref legal event code:DE Ref document number:40073678 Country of ref document:HK | |
| GR01 | Patent grant | ||
| GR01 | Patent grant |