Plot triggering method, device, terminal and medium in virtual relationship culture application

文档序号:576946 发布日期:2021-05-25 浏览:6次 中文

阅读说明:本技术 虚拟关系养成应用中的剧情触发方法、装置、终端及介质 (Plot triggering method, device, terminal and medium in virtual relationship culture application ) 是由 燕宁宁 徐梦瑶 郑燚 于 2021-02-25 设计创作,主要内容包括:本申请实施例公开了一种虚拟关系养成应用中的剧情触发方法、装置、终端及介质,属于人机交互技术领域。方法包括:显示虚拟关系养成应用中第一虚拟角色的社交分享主页,社交分享主页中显示有主页封面以及点赞控件,点赞控件用于触发虚拟关系养成应用中的第二虚拟角色对主页封面进行点赞;响应于对点赞控件的触发操作,在社交分享主页中显示点赞动画,并更新第二虚拟角色与第一虚拟角色之间的角色关系度;响应于角色关系度满足剧情触发条件,展示第二虚拟角色与第一虚拟角色之间的角色剧情。通过引入封面点赞机制,在丰富与虚拟角色互动形式的同时,简化了与虚拟角色之间的互动流程,有助于提高虚拟关系养成应用中角色剧情的推进速度。(The embodiment of the application discloses a scenario triggering method, device, terminal and medium in virtual relationship formation application, and belongs to the technical field of human-computer interaction. The method comprises the following steps: displaying a social sharing homepage of a first virtual role in the virtual relationship development application, wherein a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used for triggering a second virtual role in the virtual relationship development application to praise the homepage cover; responding to the trigger operation of the praise control, displaying praise animation in the social sharing homepage, and updating the role relationship degree between the second virtual role and the first virtual role; and displaying the role scenario between the second virtual role and the first virtual role in response to the fact that the role relationship degree meets the scenario triggering condition. By introducing a sealing praise mechanism, interaction with the virtual character is enriched, and meanwhile, the interaction process with the virtual character is simplified, and the promotion speed of the character scenario in the virtual relation culture application is improved.)

1. A scenario triggering method in a virtual relationship composition application, the method comprising:

displaying a social sharing homepage of a first virtual role in a virtual relationship development application, wherein a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used for triggering a second virtual role in the virtual relationship development application to praise the homepage cover;

in response to the triggering operation of the like control, displaying a like animation in the social sharing homepage, and updating the role relationship degree between the second virtual role and the first virtual role;

and displaying the role scenario between the second virtual role and the first virtual role in response to the fact that the role relationship degree meets scenario triggering conditions.

2. The method of claim 1, wherein the displaying a like animation in the social sharing homepage in response to the triggering operation of the like control comprises:

responding to the trigger operation of the praise control, and determining the trigger condition of a praise special effect, wherein the praise special effect has trigger probability;

in response to the like special effect not being triggered, displaying a first like animation in the social sharing homepage;

in response to the like special effect being triggered, displaying a like animation in the social sharing homepage, the like animation different from the like animation.

3. The method of claim 2, wherein the updating the degree of role relationship between the second virtual character and the first virtual character comprises:

determining a relationship degree updating value based on the trigger condition of the praise special effect;

updating the role degree of relationship between the second virtual role and the first virtual role based on the degree of relationship update value.

4. The method according to claim 3, wherein the determining, based on the trigger condition of the like special effect, a relationship degree update value corresponding to each trigger operation comprises:

in response to the praise special effect not being triggered, determining the relationship degree updating value as a first numerical value;

in response to the like special effect being triggered, determining the degree of relationship update value to be a second value, the second value being greater than the first value.

5. The method of claim 3, wherein updating the degree of relationship between the second virtual character and the first virtual character based on the updated value of the degree of relationship comprises:

determining a relationship degree updating mode corresponding to the homepage cover, wherein the relationship degree updating mode comprises the steps of increasing the role relationship degree by praise and reducing the role relationship degree by praise;

and updating the role relationship degree between the second virtual role and the first virtual role by adopting the relationship degree updating mode based on the relationship degree updating value.

6. The method of claim 3, further comprising:

responding to the trigger operation of the praise control, and displaying a relationship degree updating prompt notice in the social sharing homepage, wherein the relationship degree updating prompt notice comprises the relationship degree updating value and a relationship degree grade, and the relationship degree grade is determined based on the updated role relationship degree.

7. The method according to any one of claims 1 to 6, wherein the presenting the character scenario between the second virtual character and the first virtual character in response to the character relationship satisfying a scenario trigger condition comprises:

determining a level of relationship between the second virtual character and the first virtual character based on the character relationship;

and responding to the relation degree grade reaching a grade threshold value, determining that the scenario trigger condition is met, and displaying the role scenario between the second virtual role and the first virtual role.

8. The method of any of claims 1 to 6, wherein after displaying the social sharing home page of the first avatar in the virtual relationship foster application, the method further comprises:

responding to the trigger operation of the approval control, and determining the approval times of the second virtual character on the homepage cover within a preset time length;

setting the praise control to be in a triggerable state in response to the praise times not reaching the praise time upper limit;

and in response to the praise times reaching the praise time upper limit, setting the praise control to be in a non-triggerable state, wherein the praise control in the non-triggerable state does not respond to the trigger operation.

9. The method of claim 8, wherein after determining the number of endorsements of the second avatar to the home page cover within a predetermined duration in response to the act of triggering the endorsement control, the method further comprises:

acquiring the account type of the virtual relationship formation application login account, wherein the account type comprises a common account and a member account;

determining a third numerical value as the upper limit of the praise times in response to the account type being the common account;

and in response to the account type being the member account, determining a fourth numerical value as the upper limit of the number of praise times, wherein the fourth numerical value is greater than the third numerical value.

10. The method of any of claims 1 to 6, wherein prior to displaying the social sharing home page of the first avatar in the virtual relationship foster application, the method further comprises:

displaying a role interaction interface corresponding to the first virtual role, wherein the role interaction interface displays a degree of relationship between the second virtual role and the first virtual role and at least one interaction entry, different interaction entries are used for triggering the second virtual role to perform different types of interaction with the first virtual role, and at least one interaction entry comprises a social sharing homepage entry;

the social sharing homepage displaying the first virtual character in the virtual relationship foster application comprises:

and responding to the trigger operation of the social sharing homepage entrance, and displaying the social sharing homepage of the first virtual role.

11. The method of any of claims 1 to 6, further comprising:

displaying a control style setting interface, wherein the control style setting interface comprises at least one control style option of the like control;

and responding to the selection operation of a target control style option in at least one control style option, and applying a target control style corresponding to the target control style option to the praise control.

12. The method of claim 11, wherein the number of control style options in the control style setting interface is determined based on a level of relationship between the second avatar and the first avatar.

13. A scenario triggering apparatus in a virtual relationship growing application, the apparatus comprising:

the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a social sharing homepage of a first virtual role in a virtual relationship development application, a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used for triggering a second virtual role in the virtual relationship development application to praise the homepage cover;

the animation display module is used for responding to the triggering operation of the like control, displaying like animation in the social sharing homepage and updating the role relationship degree between the second virtual role and the first virtual role;

and the plot triggering module is used for responding to the situation that the role relationship degree meets the plot triggering condition and displaying the role plot between the second virtual role and the first virtual role.

14. A terminal, characterized in that the terminal comprises a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the scenario triggering method in the virtual relationship development application according to any one of claims 1 to 12.

15. A computer-readable storage medium, wherein at least one program is stored in the storage medium, and the at least one program is loaded and executed by a processor to implement the scenario triggering method in the virtual relationship growing application according to any one of claims 1 to 12.

Technical Field

The embodiment of the application relates to the technical field of human-computer interaction, in particular to a plot triggering method, a plot triggering device, a plot triggering terminal and a plot triggering medium in virtual relationship formation application.

Background

The virtual relationship development application is an application for developing a virtual relationship with a virtual character by interacting with the preset virtual character, wherein the virtual relationship with the virtual character comprises a friend relationship, a love relationship, a brother relationship, a teacher-apprentice relationship and the like.

In the related art, a user may interact with a virtual character by means of a conversation with the virtual character, a completion of a mainline task, a game, and the like, so as to train a virtual relationship with the virtual character, and further trigger a character scenario between the virtual character and the application.

However, in the related art, the interaction with the virtual character is single, and the interaction process is complicated, so that the promotion of the character scenario is slow.

Disclosure of Invention

The embodiment of the application provides a scenario triggering method, a scenario triggering device, a terminal and a scenario triggering medium in a virtual relationship culture application. The technical scheme is as follows:

in one aspect, an embodiment of the present application provides a scenario triggering method in a virtual relationship composition application, where the method includes:

displaying a social sharing homepage of a first virtual role in a virtual relationship development application, wherein a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used for triggering a second virtual role in the virtual relationship development application to praise the homepage cover;

in response to the triggering operation of the like control, displaying a like animation in the social sharing homepage, and updating the role relationship degree between the second virtual role and the first virtual role;

and displaying the role scenario between the second virtual role and the first virtual role in response to the fact that the role relationship degree meets scenario triggering conditions.

In another aspect, an embodiment of the present application provides a scenario triggering apparatus in a virtual relationship growing application, where the apparatus includes:

the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a social sharing homepage of a first virtual role in a virtual relationship development application, a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used for triggering a second virtual role in the virtual relationship development application to praise the homepage cover;

the animation display module is used for responding to the triggering operation of the like control, displaying like animation in the social sharing homepage and updating the role relationship degree between the second virtual role and the first virtual role;

and the plot triggering module is used for responding to the situation that the role relationship degree meets the plot triggering condition and displaying the role plot between the second virtual role and the first virtual role.

In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the scenario triggering method in the virtual relationship composition application according to the above aspect.

In another aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one program is stored, and the at least one program is loaded and executed by a processor to implement the scenario triggering method in the virtual relationship composition application according to the above aspect.

In another aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the plot triggering method in the virtual relationship composition application provided in the various alternative implementations of the above aspects.

The technical scheme provided by the embodiment of the application has the beneficial effects that at least:

in the embodiment of the application, a praise control is set in the social sharing homepage of the virtual character in the virtual relationship culture application, so that a user can trigger praise on the homepage cover of the social sharing homepage by clicking the praise control, the character relationship degree between the user and the virtual character is updated, and the character scenario between the user and the virtual character is displayed when the character relationship degree meets the scenario triggering condition; by introducing a sealing praise mechanism, interaction processes with virtual roles are simplified while interaction forms with the virtual roles are enriched, a user can cultivate virtual relationships with the virtual roles in a more diverse and simple manner, and the promotion speed of the role scenarios in virtual relationship culture application is improved.

Drawings

FIG. 1 is an interface diagram illustrating a home page facing process according to an exemplary embodiment of the present application;

fig. 2 is a schematic diagram of an implementation environment of a scenario triggering method in a virtual relationship composition application according to an exemplary embodiment of the present application;

FIG. 3 illustrates a flow chart of a scenario trigger method in a virtual relationship composition application provided by an exemplary embodiment of the present application;

FIG. 4 is an interface diagram illustrating a social sharing home page display process according to an exemplary embodiment of the present application;

FIG. 5 illustrates a flow chart of a scenario trigger method in a virtual relationship composition application provided by another exemplary embodiment of the present application;

FIG. 6 is a diagram illustrating a like animation with and without a like effect triggered in accordance with an illustrative embodiment of the present application;

FIG. 7 illustrates a flow chart of a scenario trigger method in a virtual relationship composition application provided by another exemplary embodiment of the present application;

fig. 8 is an interface diagram illustrating a praise effect in different relationship degree update manners according to an exemplary embodiment of the present application;

FIG. 9 is an interface diagram illustrating a notice of like times prompt in accordance with an exemplary embodiment of the present application;

FIG. 10 is a flow chart illustrating a process for upper limit detection of like times in accordance with an exemplary embodiment of the present application;

FIG. 11 is an interface diagram illustrating a home page facing approval process according to another exemplary embodiment of the present application;

fig. 12 is a block diagram illustrating a scenario trigger apparatus in a virtual relationship composition application according to an exemplary embodiment of the present application;

fig. 13 is a block diagram of a terminal according to an exemplary embodiment of the present application.

Detailed Description

To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

First, a brief description is given of terms referred to in the embodiments of the present application:

the virtual relationship is developed into an application: an application for developing virtual relationships with virtual characters by interacting with the virtual characters, in which a user (by controlling the virtual character corresponding to the user) can develop a preset type of virtual relationship or a custom type of virtual relationship with other virtual characters in the application, such as: cultivating friend relationships, love relationships, brother relationships, teacher-apprentice relationships and the like between the virtual roles, wherein the virtual roles form roles preset in the application for the virtual relationships (namely, the operations executed by the virtual roles are controlled by preset logic in the application); or, the virtual role is a role which is created by the user in the virtual relation culture application in a self-defining way. In the embodiment of the present application, a role preset in an application is created by taking a virtual role as a virtual relationship.

In some embodiments, the virtual relationship fosters that multiple virtual roles may be preset in the application. Illustratively, a story line 1, a story line 2 and a story line 3 are provided in the virtual relationship composition application, wherein the story line 1 provides an interactive function between the user and the virtual character a; the interaction function between the user and the virtual character B is provided in the story line 2; the interaction function between the user and the virtual character C is provided in the story line 3. Different virtual roles are provided for different story lines to interact with the user, and interaction diversity is improved.

Optionally, the virtual relationship formation application initially opens the interaction function between the user and each preset virtual character, or provides the interaction function between virtual characters corresponding to the levels to the user based on the role levels that the virtual characters controlled by the user reach in the virtual relationship formation application. Such as: when the character grade of the virtual character controlled by the user reaches 5 grades, the interactive function with the virtual character A is provided, and when the character grade of the virtual character controlled by the user reaches 10 grades, the interactive function with the virtual character B is provided. Different virtual roles are provided for different level requirements to interact with the user, and the interest level for promoting the user to carry out level promotion is improved.

Wherein, the interactive function with virtual role includes: messaging functions, voice call functions, task collaboration functions, and the like.

In the messaging function, a user sends a specified message to a virtual character based on a messaging instruction so as to receive a message replied by the virtual character based on the specified message, in some embodiments, a virtual relationship development program provides at least one candidate message option for the user, the user selects a target message from the at least one candidate message option to send to the virtual character, and receives the message replied by the virtual character based on the target message; or in a possible implementation manner, the user-defined message content is sent to the virtual role, so as to receive the message replied by the virtual role based on the user-defined message, wherein the virtual role side implements message reply after the server performs semantic analysis based on the user-defined message.

In the voice call function, a user and a virtual character carry out voice call, the user listens to voice content transmitted by the virtual character in a voice mode and replies in the voice mode, and the server side carries out semantic analysis based on the voice reply of the user and carries out voice reply in the reply mode of the virtual character by combining the analysis result.

In the task cooperation function, the user completes the task in the virtual relationship formation program, and in the task completion process, the virtual role can provide help to the user in the task process or ask the user for help, and the like, which is not limited in the embodiment of the present application.

Role relationship degree: the virtual relationship is developed into an index for measuring the degree of closeness of the relationship between virtual roles in the application, i.e., the degree of relationship between a virtual object controlled by a user and a virtual object preset in the application. The role relationship degree may be a trust degree, an affinity degree, a dependency degree, a trust degree, and the like, which is not limited in this embodiment.

In some embodiments, after the user interacts with the virtual character, the virtual relationship composition application updates the role relationship based on the interaction result, wherein the updating manner may include a forward updating (i.e., increasing the role relationship) and a reverse updating (i.e., decreasing the role relationship).

For example, when the virtual character performs messaging interaction, the candidate message options provided by the application include a correct message option and an incorrect message option, if the user selects the correct message option, the role relationship degree with the virtual character is improved, and if the user selects the incorrect message option, the role relationship degree with the virtual character is reduced.

Regarding the purpose of the role relationship degree, optionally, when the role relationship degree reaches a certain degree, the role scenario between the virtual role and the story line is triggered, so that scenario promotion is realized. The role scenario can be pushed in a way that a virtual role actively initiates interaction, or a specific virtual prop is provided, so that the role scenario is pushed in a way that the virtual prop actively initiates interaction to the virtual role, and the embodiment of the application is not limited.

In the related art, in order to develop a virtual relationship with a virtual character, a user needs to perform message sending and receiving, voice communication functions or task cooperation and the like with the virtual character, and the whole interaction process is complicated; and after the user interrupts the interaction midway, the whole interaction process needs to be restarted subsequently, so that the difficulty of cultivating the virtual relationship with the virtual character is high, the efficiency is low, the character plot is slowly promoted, and the increase of the user stickiness is not facilitated.

In the embodiment of the application, in addition to culturing the virtual relationship in a conventional interactive mode, a cover page praise mechanism is introduced, so that a user can culture the virtual relationship with the virtual role through simple praise operation, the interactive flow is simplified while the interactive form is enriched, the difficulty of culturing the virtual relationship with the virtual role is reduced, the efficiency is improved, the promotion speed of the role scenario is accelerated, and the increase of the user viscosity is facilitated.

Illustratively, as shown in fig. 1, a social sharing homepage 100 corresponding to the virtual character "zhang san" displays a homepage cover 101 and social sharing content 102 published by the virtual character "zhang san", where the homepage cover 101 and the social sharing content 102 are automatically generated by an application based on a plot progress. In order to facilitate the user to develop a virtual relationship with the virtual character "zhang san" through praise, a praise control 103 is further displayed in the social sharing homepage 100, and when the user triggers the praise control 103, an effect of praise on the homepage cover 101 is simulated, and a praise animation 104 is displayed. Moreover, the like control 103 supports multiple triggering, and a user can accelerate the cultivation progress of the virtual relationship between the user and the virtual role by triggering the like control 103 for multiple times, so that the promotion of the plot is accelerated.

Fig. 2 is a schematic diagram of an implementation environment of a scenario triggering method in a virtual relationship composition application according to an exemplary embodiment of the present application, as shown in fig. 2, the implementation environment includes: the terminal 210 and the server 220 are connected through a communication network 230, and the terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited herein.

The terminal 210 is an electronic device installed with a virtual relationship formation application, and the electronic device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent wearable device, and the like, which is not limited in this embodiment of the application.

The server 220 is a background server for the application formed by virtual relationship, and may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), and a big data and artificial intelligence platform.

In a possible application scenario, in the process that the terminal 210 runs the virtual relationship to form the application, a user may trigger to display a social sharing homepage corresponding to a certain virtual role through operation; further, the user can like the homepage cover of the social sharing homepage by clicking the like control in the social sharing homepage. In a possible implementation manner, the terminal 210 reports an event of praise generated by praise to the server 220, the server 220 determines whether the event of praise is compliant, if so, the terminal 210 is instructed to update the role relationship degree, and if not, corresponding prompt information is sent to the terminal 210. When the event compliance is complied with, the terminal 210 updates the role relationship degree with the virtual role, and displays the subsequent role scenario when the role relationship degree meets the scenario triggering condition.

In other possible embodiments, the process of determining whether the event of approval is compliant may also be performed at the terminal 210, which is not limited in this embodiment.

Optionally, when the virtual relationship is run to form the application, the application needs to log in by using the account, so that the application uploads application data corresponding to the account to the server 220, and the server 220 performs associated storage on the account and the application data; even if the terminal is replaced, the application data can be downloaded from the server 220, so that the application can be continuously used, and the virtual relationship needs to be re-cultivated due to application data loss is avoided.

Referring to fig. 3, a flowchart of a scenario triggering method in a virtual relationship composition application according to an exemplary embodiment of the present application is shown. The embodiment is described by taking the method as an example for a terminal in the implementation environment shown in fig. 2, and the method includes the following steps:

step 301, displaying a social sharing homepage of a first virtual role in the virtual relationship development application, where a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used to trigger a second virtual role in the virtual relationship development application to praise the homepage cover.

Optionally, the first virtual role is a virtual role preset in the virtual relationship development application, and the behavior of the first virtual role is controlled by a preset logic in the virtual relationship development application; the second virtual role is a virtual role preset in the application, or a virtual role created by user definition, for the virtual relationship, and the behavior (whole or partial) of the second virtual role is controlled by the user.

And in the process of establishing the virtual relationship into the application running process, the second virtual character interacts with the first virtual character under the control of the user, so that the virtual relationship with the first virtual character is established. The virtual relationship may be a friend relationship, a love relationship, a brother relationship, a teacher-apprentice relationship, or the like, which is not limited in this embodiment.

In order to simulate the cultivation process of interpersonal relationship between different characters in the real world more really, the virtual relationship development application in the embodiment of the application introduces a virtual terminal (used by a second virtual character), and the virtual terminal is used for simulating a terminal (such as a smart phone) used by a real character in the real world. The function of the virtual terminal simulates a real terminal, and through the virtual terminal, the second virtual character can perform interaction such as text communication, voice communication or video communication with the first virtual character, or can also view a social sharing homepage (such as a friend circle homepage) of the first virtual character through the virtual terminal.

Optionally, the social sharing homepage of the first virtual character displays social sharing content published by the first virtual character and a homepage cover, the social sharing content is automatically generated by an application along with the progress of the plot, and the homepage cover is a fixed cover or is automatically switched by the application.

In order to provide an interactive mode with simpler operation, in a possible implementation manner, a like control is displayed in the social sharing homepage, and the like control is used for realizing a like function of the homepage cover, namely, a user can trigger the second virtual character to like the homepage cover of the first virtual character by triggering the like control. Illustratively, as shown in FIG. 1, a like control 103 is displayed on the top level of the home page cover 101, indicating that the like control is used to trigger like-pointing for the home page cover.

Optionally, the approval control supports multiple triggering, that is, multiple triggering of the approval control may trigger multiple approvals for the homepage cover, so as to further improve the speed of establishing the virtual relationship between the virtual roles. For example, when the user clicks the like control twice, the user triggers the like of the homepage cover twice.

Step 302, responding to the trigger operation of the like control, displaying the like animation in the social sharing homepage, and updating the role relationship degree between the second virtual role and the first virtual role.

The trigger operation of the like control may be a click operation, a double click operation, a long press operation, a press operation, and the like, which is not limited in this embodiment.

In one possible implementation manner, when receiving the trigger operation of the approval control, the terminal displays approval animations on the periphery of the approval control in the social sharing homepage, indicates the approval control to receive the trigger operation, and completes approval of the homepage cover once. Of course, the praise animation may be displayed at other positions of the social sharing homepage, for example, the periphery of the avatar corresponding to the first virtual character in the social sharing homepage, which is not limited in this embodiment.

Optionally, the like animation is an animation related to the like control, that is, the like control corresponds to the like animation, for example, the like animation corresponding to the like control is "like what you go", and the like animation corresponding to the cat claw like control is "shake the cat claw"; or, the like animation is an animation related to the first virtual character, that is, when the like control approves a different first virtual character, the displayed like animation is different, for example, when the like control approves the first virtual character "zhangsi" the like animation containing zhangsi images is displayed, and when the like control approves the first virtual character "zhangsi" the like animation containing zhangsi images is displayed.

In a possible implementation manner, when the like animation is displayed, the terminal displays role relationship degree change prompting information on the social sharing homepage, where the display duration of the role relationship degree change prompting information is a preset duration (for example, 2s), the role relationship degree change prompting information may be displayed in a form of banner notification, and may be in a form of text, animation, picture, and the like, which is not limited in this embodiment.

Illustratively, as shown in fig. 1, when a click operation on the like control 103 is received, the terminal displays a like animation 104 above the like control 103.

In the embodiment of the application, the homepage endorsement is used as an interactive mode and has the function of cultivating the virtual relationship among the virtual characters as well as other interactive modes. In a possible implementation manner, the degree of closeness of the virtual relationship between the virtual roles is represented by a role relationship degree, and correspondingly, the terminal updates the role relationship degree between the second virtual role and the first virtual role while receiving the trigger operation of the thumbing-up control. The higher the role relationship degree is, the tighter the virtual relationship between the virtual roles is, the lower the role relationship degree is, and the farther the virtual relationship between the virtual roles is.

In some embodiments, when the virtual relationship is a love relationship, the role relationship degree may be a role goodness degree; when the virtual relationship is a friend relationship, the role relationship degree can be role intimacy; when the virtual relationship is a sibling relationship, the role relationship degree may be a role reliability degree, and the like, which is not limited in this embodiment.

Optionally, the updating manner of the role relationship degree includes forward updating and reverse updating, where the role relationship degree is increased during the forward updating (the relationship degree is increased on the basis of the current role relationship degree for updating), and the role relationship degree is decreased during the reverse updating (the relationship degree is decreased on the basis of the current role relationship degree for updating).

Optionally, when multiple touch operations on the like control are received, the terminal needs to perform multiple forward updates or multiple reverse updates on the role relationship.

And 303, responding to the situation triggering condition that the role relationship degree meets the situation triggering condition, and displaying the role situation between the second virtual role and the first virtual role.

In a possible implementation manner, the terminal detects whether the updated role relationship degree meets a scenario trigger condition, and if the scenario trigger condition is met, the terminal displays a corresponding role scenario. The scenario trigger condition may be a role relationship degree value condition (that is, the role relationship degree reaches a preset value), a role relationship degree grade condition (that is, the grade indicated by the role relationship degree reaches a preset grade), and the like, which is not limited in this embodiment.

Optionally, the role scenario may be displayed by controlling the first virtual role through a preset logic by the application, and may also be displayed by providing a virtual item to the second virtual role, so that the second virtual role triggers the role scenario to be displayed based on the virtual item, which is not limited in this embodiment.

In one possible implementation mode, the terminal determines the relationship degree grade between the second virtual character and the first virtual character based on the character relationship degree; and responding to the relation degree grade reaching the grade threshold value, determining that a scenario triggering condition is met, and displaying the role scenario between the second virtual role and the first virtual role.

And when the role relationship degree reaches a relationship degree threshold value, the relationship degree grade is correspondingly improved. Optionally, the role relationship degrees required to be improved for improving the unit relationship degree level (for example, one level) are the same, or the role relationship degrees required to be improved for improving the unit relationship degree level are improved along with the relationship degree level improvement. For example, the degree of improvement of the role relationship required for increasing from the first-level relationship degree to the second-level relationship degree is 100, and the degree of improvement of the role relationship required for increasing from the second-level relationship degree to the third-level relationship degree is 200. This embodiment is not limited to this.

When the relationship degree grade is improved due to the fact that the relationship degree grade is improved, and the improved relationship degree grade reaches a grade threshold value (namely reaches a specific relationship degree grade), the terminal determines that a scenario trigger condition is met, so that the role scenario corresponding to the relationship degree grade is displayed, wherein the virtual relationship is established in the application and is provided with the corresponding relationship between the relationship degree grade and the role scenario.

By adding the homepage front praise function in the virtual relationship culture application, the user can improve the role relationship degree with the virtual role by clicking the praise control, so that the increase speed of the role relationship degree is accelerated, and the promotion speed of the role plot is further improved.

To sum up, in the embodiment of the application, a like control is set in the social sharing homepage of the virtual character in the virtual relationship development application, so that a user can trigger like to like the homepage cover of the social sharing homepage by clicking the like control, thereby updating the role relationship degree with the virtual character, and further displaying the role scenario with the virtual character when the role relationship degree meets the scenario triggering condition; by introducing a sealing praise mechanism, interaction processes with virtual roles are simplified while interaction forms with the virtual roles are enriched, a user can cultivate virtual relationships with the virtual roles in a more diverse and simple manner, and the promotion speed of the role scenarios in virtual relationship culture application is improved.

Regarding the specific manner of triggering and displaying the social sharing homepage, in a possible implementation manner, the terminal displays a role interaction interface corresponding to the first virtual role, and the role interaction interface displays a degree of relationship between the second virtual role and the first virtual role and at least one interaction entry, wherein different interaction entries are used for triggering the second virtual role and the first virtual role to perform different types of interactions, and the at least one interaction entry includes the social sharing homepage entry. Correspondingly, when the trigger operation of the social sharing homepage entrance is received, the terminal displays the social sharing homepage of the first virtual role.

Optionally, the role interaction interface includes role information (such as a role avatar, a role name, and a role signature) of the first virtual role, a degree of relationship between the second virtual role and the first virtual role, and an interaction entry. The interaction portal may include, in addition to the social sharing homepage portal for entering the social sharing homepage, a message interaction portal (for triggering and displaying a chat interface to chat with the first virtual object), a voice interaction portal (for triggering and displaying a voice interface to perform a voice call with the first virtual object), a video interaction portal (for triggering and displaying a video interface to perform a video call with the first virtual object), and the like, which are not limited in this embodiment.

Optionally, when the trigger operation on the relationship level is received, the terminal displays the role relationship level required to be improved when the relationship level is promoted to the next relationship level, so that the user can interact with the virtual role in a targeted manner.

Schematically, as shown in fig. 4, character information 42 of the first virtual character, a degree of relationship level 43, a friend circle entry 44, and a chat entry 45 are displayed in the character interaction interface 41. When a trigger operation for the friend circle portal 44 is received, the terminal displays the social sharing homepage 46 of the first virtual character.

In one possible implementation mode, each triggering operation of the like control triggers the display of the same like animation, and the updating amplitude of the role relationship degree is consistent. In another possible implementation manner, each time the trigger operation of the like control triggers a special effect, and when the special effect is triggered, the terminal displays different like animations and greatly updates the role relationship degree, which is described below with an exemplary embodiment.

Referring to fig. 5, a flowchart of a scenario triggering method in a virtual relationship composition application according to another exemplary embodiment of the present application is shown. The embodiment is described by taking the method as an example for a terminal in the implementation environment shown in fig. 2, and the method includes the following steps:

step 501, displaying a social sharing homepage of a first virtual role in the virtual relationship development application, wherein a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is used for triggering a second virtual role in the virtual relationship development application to praise the homepage cover.

The step 301 may be referred to in the implementation manner of this step, and this embodiment is not described herein again.

Step 502, responding to the trigger operation of the praise control, and determining the trigger condition of the praise special effect, wherein the praise special effect has trigger probability.

In a possible implementation manner, the praise special effect is triggered with a certain probability for the trigger operation of the praise control, and correspondingly, when the trigger operation of the praise control is received, the terminal determines whether the trigger operation triggers the praise special effect or not based on the trigger probability of the praise special effect. If the like effect is not triggered, step 503 is executed, and if the like effect is triggered, step 504 is executed.

The like animation displayed when the like effect is triggered is different from the like animation displayed when the like effect is not triggered, and the updating amplitude of the angular color relation degree when the like effect is triggered is different from the updating amplitude of the angular color relation degree when the like effect is not triggered.

Optionally, the trigger probability of the like special effect is a fixed probability, for example, the trigger probability of the like special effect is fixed to 10%; or the triggering probability of the like special effect is a dynamic probability, for example, the triggering probability of the like special effect and the degree of relationship level are in a negative correlation, and a culture condition of a human-object relationship in the real world is simulated, that is, the promoting effect of the like special effect on the relationship culture is obvious at an initial stage of the relationship culture (for example, a stranger stage), the promoting effect of the like special effect on the relationship culture is not obvious at a later stage of the relationship culture (for example, an acquaintance stage), and the authenticity of the virtual relationship culture is improved, for example, when the degree of relationship level is level 1, the triggering probability of the like special effect is 50%, when the degree of relationship level is level 2, the triggering probability of the like special effect is 40%, and when the degree of relationship level is greater than or equal to level 3, the triggering probability of the like special.

Step 503, in response to the praise special effect not being triggered, displaying a first praise animation in the social sharing homepage.

Step 504, in response to the praise special effect being triggered, displaying a second praise animation in the social sharing homepage, wherein the first praise animation is different from the second praise animation.

In one possible implementation, two different sets of praise animations are set in the virtual relationship composition application, and the praise animation displayed in the social sharing homepage is dynamically determined based on the trigger condition of the praise special effect. When the praise special effect is not triggered, the terminal displays a first praise animation in the social sharing homepage; and when the praise special effect is triggered, the terminal displays a second praise animation in the social sharing homepage.

In some embodiments, the complexity of the second favorite animation is higher than that of the first favorite animation, or the duration of the second favorite animation is longer than that of the first favorite animation, or the significance of the second favorite animation is higher than that of the first favorite animation, wherein the complexity can be measured by the number of animation elements in the animation, and the significance can be measured by the animation display area, which is not limited by this embodiment.

Illustratively, as shown in fig. 6, when a user clicks a like control 601 in the social sharing home page 600, but does not trigger a like special effect, the terminal displays a first like animation 602 on the social sharing home page 600; when the user clicks the like control 601 in the social sharing homepage 600 and triggers the like special effect, the terminal displays a second like animation 603 on the social sharing homepage 600. The number of love hearts in the second like animation 603 is greater than that in the first like animation 602, and the color of love hearts in the second like animation 603 is greater than that in the first like animation 602.

And 505, determining a relationship degree updating value based on the trigger condition of the praise special effect.

The trigger condition of the praise special effect affects the updating amplitude of the relationship degree besides the displayed praise animation, so that the terminal needs to determine the relationship degree updating value based on the trigger condition of the praise special effect.

Optionally, the update amplitude of the angular color relation degree when the like special effect is triggered is greater than the update amplitude of the angular color relation degree when the like special effect is not triggered.

In a possible implementation manner, two different relationship degree update values are set in the virtual relationship composition application, and the relationship degree update value corresponding to the current praise operation is dynamically determined based on the trigger condition of the praise special effect. When the praise special effect is not triggered, the terminal determines that the relationship degree updating value is a first numerical value; when the praise special effect is triggered, the terminal determines that the degree of relationship updating value is a second numerical value, wherein the second numerical value is larger than the first numerical value.

For example, when the praise special effect is not triggered, the terminal determines that the relationship degree update value is 2 points; when the praise special effect is triggered, the terminal determines the relation degree update value of 5 points.

Optionally, in order to further prompt the user whether to trigger the special effect of like and the real-time role relationship degree with the first virtual role when the current operation of like triggers, in response to the trigger operation of like, the terminal displays a relationship degree update prompt notification in the social sharing homepage, where the relationship degree update prompt notification includes a relationship degree update value and a relationship degree level, and the relationship degree level is determined based on the updated role relationship degree.

Illustratively, as shown in fig. 6, in the case that the special effect of like is not triggered, the update value of the degree of relationship (i.e., the goodness) displayed in the notification 604 of the update prompt of the degree of relationship displayed in the social sharing homepage 600 is 2 points, and the current degree of relationship level is level 2 (lv.2); in the case of the trigger click for the special effect, the relationship update value (i.e., the goodness) displayed in the relationship update prompt notification 604 displayed in the social sharing homepage 600 is 5 points, and the current relationship level is level 2 (lv.2).

And step 506, updating the role relationship degree between the second virtual role and the first virtual role based on the relationship degree updating value.

In a possible implementation manner, the praise operation on the homepage cover is used for increasing the role relationship degree between the virtual roles, and correspondingly, the terminal increases the relationship degree updating value on the basis of the current role relationship degree to obtain the updated role relationship degree.

In a possible implementation manner, when receiving multiple trigger operations to the like control, the terminal repeatedly executes the above steps 502 to 506, and updates the role relationship degree between the second virtual role and the first virtual role in real time, or the terminal counts the number of trigger operations and updates the role relationship degree once based on the number of trigger operations after the trigger operations are finished.

And 507, responding to the situation triggering condition that the role relationship degree meets the situation triggering condition, and displaying the role situation between the second virtual role and the first virtual role.

The step 303 may be referred to in the implementation manner of this step, and this embodiment is not described herein again.

In other possible implementations, in response to that the role relationship degree satisfies the interaction function unlocking condition, the terminal unlocks an interaction manner between the second virtual role and the first virtual role, where the interaction manner may include a phone call, a short message, an email, a video call, and the like, which is not limited in this embodiment. For example, when the role relationship degree reaches the relationship degree level 2, the terminal opens the short message permission between the second virtual role and the first virtual role, and when the role relationship degree reaches the relationship degree level 3, the terminal opens the video call permission between the second virtual role and the first virtual role.

In the embodiment, different praise animations and relationship updating values are set for different special effect triggering conditions by setting a praise special effect triggering mechanism, so that different praise effects are presented when the trigger operation on the praise control is received, and praise fatigue caused by a single praise effect is avoided.

In the above embodiment, the description is given by taking an example in which the praise operation improves the role relationship degree. In order to improve the authenticity of the influence of praise on the role relationship degree between the virtual objects, the praise operation can improve the role relationship degree and possibly reduce the role relationship degree between the virtual roles, and in a possible implementation, on the basis of fig. 5, as shown in fig. 7, step 506 can be replaced by the following step.

Step 506A, determining a relationship degree updating mode corresponding to the homepage cover, wherein the relationship degree updating mode comprises the steps of praise increasing the role relationship degree and praise reducing the role relationship degree.

In one possible embodiment, the virtual relationship authoring application has at least two homepage covers and dynamically updates the homepage cover of the socially shared homepage. Wherein the different homepage covers are used to characterize an emotional state of the first virtual character. For example, a positive emotion (e.g., happy) characterizing the emotional state of the first avatar when the social sharing homepage displays the first homepage, and a negative emotion (e.g., sad) characterizing the emotional state of the first avatar when the social sharing homepage displays the second homepage. Accordingly, the terminal may dynamically update the homepage cover of the social sharing homepage based on the emotional state of the first virtual character in the current character scenario.

Optionally, for different homepage covers, the virtual relationship development application sets a corresponding relationship degree update mode for the homepage cover, where the relationship degree update mode includes praise for improving the role relationship degree and praise for reducing the role relationship degree.

In some embodiments, when the main page cover represents that the emotional state of the first virtual character is positive emotion, the terminal determines that the relationship degree updating mode corresponding to the main page cover is praise to improve the relationship degree of the character; when the emotion state of the main page cover representing the first virtual character is negative emotion, the terminal determines that the relationship degree updating mode corresponding to the main page cover is praise to reduce the relationship degree of the character.

Illustratively, as shown in fig. 8, when a user clicks a like control 801 in a social sharing homepage 800, the terminal determines, based on a first homepage cover 802, that a relationship degree update mode is like a like to improve role relationship degree; when the user clicks the like control 801 in the social sharing homepage 800, the terminal determines that the relationship degree updating mode is like the like, and the role relationship degree is reduced based on the second homepage cover 803.

In other possible embodiments, after the main page cover is approved, the relationship degree updating mode can be adjusted manually by the user. In some embodiments, in response to receiving the adjustment operation of the thumbturn control, the terminal adjusts the relationship degree updating mode corresponding to the home page cover.

For example, when the like control in the homepage cover is the positive heart-shaped like control, the relationship degree updating mode corresponding to the homepage cover improves the role relationship degree for like; when the adjustment operation of the praise control is received, the terminal adjusts the positive heart-shaped praise control into the inverted heart-shaped praise control, and updates the corresponding relation degree of the homepage cover to praise to reduce the role relation degree.

And step 506B, updating the role relationship degree between the second virtual role and the first virtual role by adopting a relationship degree updating mode based on the relationship degree updating value.

Further, the terminal updates the role relationship degree between the virtual roles in a relationship degree updating mode corresponding to the current homepage cover based on the determined relationship degree updating value, wherein when the relationship degree updating mode is used for improving the role relationship degree for praise, the terminal increases the relationship degree updating value on the basis of the current role relationship degree; and when the relationship degree updating mode is favorable for reducing the role relationship degree, the terminal subtracts the relationship degree updating value on the basis of the current role relationship degree.

Optionally, the relationship degree update prompt notification displayed in the social sharing homepage further includes a relationship degree update mode, so that the phenomenon that the role relationship degree between the user and the virtual role is greatly reduced due to improper praise operation of the user is avoided.

Illustratively, as shown in fig. 8, when the relationship update mode is to like to increase the relationship between the characters, the displayed relationship update prompt notification 804 includes "goodness + 2", and when the relationship update mode is to like to decrease the relationship between the characters, the displayed relationship update prompt notification 804 includes "goodness-2".

In this embodiment, the homepage cover in the social sharing homepage is replaced based on the emotional state of the virtual character, and when a seal approval operation is received, the role relationship between the virtual characters is increased or decreased based on the relationship degree update mode corresponding to the homepage cover, the role relationship degree is increased for the homepage seal approval representing positive emotion, the role relationship degree is decreased for the homepage seal approval representing negative emotion, and the authenticity of the virtual relationship is further cultured.

In order to avoid that the role relationship degree is improved by a user without limit through triggering the praise control, the application sets an upper limit of praise times for the praise operation of the homepage cover. In one possible implementation manner, in response to the triggering operation of the thumbs up control, the terminal determines the thumbs up times of the second virtual character on the home page cover within a preset time length.

The preset time period may be hours, days, weeks, months, etc., which is not limited in this embodiment. For example, the terminal acquires the number of times of approval for the home page cover for the second avatar in a day.

Optionally, the number of praise times is updated locally by the terminal, or the terminal updates the praise event by the server after reporting the praise event to the server.

Further, the terminal detects whether the number of praise times reaches the upper limit of the number of praise times. If the praise times do not reach the praise time upper limit, setting the praise control to be in a triggerable state; and if the praise times reach the upper limit of the praise times, setting the praise control to be in a non-triggerable state, wherein the praise control in the non-triggerable state does not respond to the trigger operation.

The process of detecting whether the number of praise times reaches the upper limit of the number of praise times may be executed locally by the terminal, or may be executed by the server, and the detection result is fed back to the terminal, which is not limited in this embodiment.

Illustratively, as shown in fig. 9, when the praise number reaches the upper limit of 10 praise numbers per day, the terminal sets the praise control 901 in the social sharing homepage 900 to a non-triggerable state, and displays a prompt popup 902, so that a subsequent user cannot praise the homepage cover by clicking the praise control 901.

In one possible implementation, the upper limit of the number of praise times corresponding to different accounts (for logging in the virtual relationship fulfillment application) is the same, for example, the upper limit of the number of praise times is 10 times/day. In another possible implementation, the upper limit of the number of praise corresponding to different accounts may be different.

Optionally, after determining the number of praise of the second virtual character to the homepage cover within the preset time, the terminal acquires the account type of the application login account formed by the virtual relationship, wherein the account type comprises a common account and a member account, and when the account type is the common account, the terminal determines a third numerical value as the upper limit of the number of praise; and when the account type is a member account, the terminal determines a fourth numerical value as the upper limit of the praise times, wherein the fourth numerical value is greater than the third numerical value.

For example, the general account has an upper limit of 10 praise times/day, while the member account has an upper limit of 20 praise times/day.

In some embodiments, the steps of determining the account type and detecting whether the upper limit of the number of praise is reached may be performed by the server, thereby avoiding the problem of unlimited praise due to terminal-side modification time. As shown in fig. 10, after the user approves on the terminal side, the terminal reports an approval event to the server side. And the server determines the upper limit of the praise times based on the account used by the terminal side for logging in the application. If the praise times of the current account reach the upper limit of the praise times, prompting the user through the terminal; and if the praise times of the current account do not reach the praise time upper limit, updating the role relationship degree between the virtual roles.

In order to further improve the interest of the praise process, the virtual relationship development application provides a plurality of control styles for the user to select, and the user can replace the control styles of the praise control in the social sharing homepage according to the requirement.

In a possible implementation manner, the terminal displays a control style setting interface, wherein the control style setting interface comprises at least one control style option of the like control, and different control style options correspond to different control styles of the like control.

Optionally, when a long press operation of a like control in the social sharing homepage is received, the terminal displays a control style setting interface, or when a trigger operation of a like control setting entry is received, the terminal displays the control style setting interface, and the trigger display mode of the control style setting interface is not limited in this embodiment.

In some embodiments, the like controls of different control styles only differ in appearance, or the like animations of the like controls after being triggered differ in appearance in addition to the differences in appearance.

Optionally, the number of control style options in the control style setting interface is determined based on the level of the degree of relationship between the second virtual character and the first virtual character, and the higher the level of the degree of relationship is, the more control style options can be selected.

Of course, the control style option may also be obtained by completing the interactive task, obtaining by reaching a specified achievement, or using a virtual resource replacement, which is not limited in this embodiment. For example, after a specific interaction task is completed, the terminal unlocks the control style option of the task, or when the accumulated number of praise reaches the praise number success (for example, 200 times), the terminal unlocks the control style option corresponding to the success, or unlocks the control style option in the gift package by purchasing the praise control style gift package by using the virtual gold coin.

Further, when a selection operation of a target control style option in the at least one control style option is received, the terminal applies a target control style corresponding to the target control style option to the like control.

Illustratively, as shown in fig. 11, the like control 1101 in the social sharing home page 1100 is adjusted from the original love style to the cat-paw style, and when the like control 1101 of the cat-paw style is clicked, a corresponding cat-paw animation is displayed.

Fig. 12 is a block diagram illustrating a structure of a scenario trigger apparatus in a virtual relationship composition application according to an exemplary embodiment of the present application, where the scenario trigger apparatus includes:

a first display module 1201, configured to display a social sharing homepage of a first virtual character in a virtual relationship development application, where a homepage cover and a praise control are displayed in the social sharing homepage, and the praise control is configured to trigger a second virtual character in the virtual relationship development application to praise the homepage cover;

an animation display module 1202, configured to display a like animation in the social sharing homepage in response to a triggering operation of the like control, and update the role relationship degree between the second virtual character and the first virtual character;

and a scenario triggering module 1203, configured to, in response to that the role relationship satisfies a scenario triggering condition, display a role scenario between the second virtual role and the first virtual role.

Optionally, the animation display module 1202 includes:

a special effect trigger determining unit, configured to determine, in response to a trigger operation on the like control, a trigger condition of a like special effect, where the like special effect has a trigger probability;

the first animation display unit is used for responding to the fact that the like special effect is not triggered, and displaying a like animation in the social sharing homepage;

and the second animation display unit is used for responding to the trigger of the praise special effect and displaying a second praise animation in the social sharing homepage, wherein the first praise animation is different from the second praise animation.

Optionally, the animation display module 1202 further includes:

an update value determining unit, configured to determine a relationship update value based on the trigger condition of the like special effect;

a relationship degree updating unit configured to update the role relationship degree between the second virtual role and the first virtual role based on the relationship degree update value.

Optionally, the update value determining unit is further configured to:

in response to the praise special effect not being triggered, determining the relationship degree updating value as a first numerical value;

in response to the like special effect being triggered, determining the degree of relationship update value to be a second value, the second value being greater than the first value.

Optionally, the relationship degree updating unit is further configured to:

determining a relationship degree updating mode corresponding to the homepage cover, wherein the relationship degree updating mode comprises the steps of increasing the role relationship degree by praise and reducing the role relationship degree by praise;

and updating the role relationship degree between the second virtual role and the first virtual role by adopting the relationship degree updating mode based on the relationship degree updating value.

Optionally, the apparatus further comprises:

and the notification display module is used for responding to the trigger operation of the praise control and displaying a relationship degree updating prompt notification in the social sharing homepage, wherein the relationship degree updating prompt notification comprises the relationship degree updating value and a relationship degree grade, and the relationship degree grade is determined based on the updated role relationship degree.

Optionally, the scenario trigger module 1203 is configured to:

determining a level of relationship between the second virtual character and the first virtual character based on the character relationship;

and responding to the relation degree grade reaching a grade threshold value, determining that the scenario trigger condition is met, and displaying the role scenario between the second virtual role and the first virtual role.

Optionally, the apparatus further comprises:

the number determining module is used for responding to the trigger operation of the approval control and determining the approval number of the second virtual character on the homepage cover within the preset time length;

the first state setting module is used for setting the praise control to be in a triggerable state in response to the praise times not reaching the praise time upper limit;

and the second state setting module is used for setting the praise control to be in a non-triggerable state in response to the praise times reaching the praise time upper limit, wherein the praise control in the non-triggerable state does not respond to the trigger operation.

Optionally, the apparatus further comprises:

the account type acquisition module is used for acquiring the account type of the application login account formed by the virtual relationship, wherein the account type comprises a common account and a member account;

a first determining module, configured to determine, in response to that the account type is the common account, a third numerical value as the upper limit of the number of praise;

and a second determining module, configured to determine, in response to the account type being the member account, a fourth numeric value as the upper limit of the number of praise, where the fourth numeric value is greater than the third numeric value.

Optionally, the apparatus:

the second display module is used for displaying a role interaction interface corresponding to the first virtual role, wherein the role interaction interface displays the degree of relationship between the second virtual role and the first virtual role and at least one interaction entry, different interaction entries are used for triggering the second virtual role and the first virtual role to perform different types of interaction, and at least one interaction entry comprises a social sharing homepage entry;

a first display module 1201 for:

and responding to the trigger operation of the social sharing homepage entrance, and displaying the social sharing homepage of the first virtual role.

Optionally, the apparatus further comprises:

the third display module is used for displaying a control style setting interface, and the control style setting interface comprises at least one control style option of the like control;

and the style application module is used for responding to the selection operation of a target control style option in at least one control style option and applying a target control style corresponding to the target control style option to the praise control.

Optionally, the number of the control style options in the control style setting interface is determined based on the level of the degree of relationship between the second virtual character and the first virtual character.

To sum up, in the embodiment of the application, a like control is set in the social sharing homepage of the virtual character in the virtual relationship development application, so that a user can trigger like to like the homepage cover of the social sharing homepage by clicking the like control, thereby updating the role relationship degree with the virtual character, and further displaying the role scenario with the virtual character when the role relationship degree meets the scenario triggering condition; by introducing a sealing praise mechanism, interaction processes with virtual roles are simplified while interaction forms with the virtual roles are enriched, a user can cultivate virtual relationships with the virtual roles in a more diverse and simple manner, and the promotion speed of the role scenarios in virtual relationship culture application is improved.

Referring to fig. 13, a block diagram of a terminal 1400 according to an exemplary embodiment of the present application is shown. The terminal 1400 may be a portable mobile terminal such as: the mobile phone comprises a smart phone, a tablet computer, a motion Picture Experts Group Audio Layer 3 (MP 3) player and a motion Picture Experts Group Audio Layer 4 (MP 4) player. Terminal 1400 can also be referred to by other names such as user equipment, portable terminal, and the like.

In general, terminal 1400 includes: a processor 1401, and a memory 1402.

Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1401 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Processor 1401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, processor 1401 may also include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.

Memory 1402 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one instruction for execution by processor 1401 to implement a method provided by embodiments of the present application.

In some embodiments, terminal 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a touch display 1405, a camera assembly 1406, audio circuitry 1407, a positioning assembly 1408, and a power supply 1409.

The peripheral device interface 1403 may be used to connect at least one Input/Output (I/O) related peripheral device to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

The Radio Frequency circuit 1404 is used for receiving and transmitting Radio Frequency (RF) signals, also called electromagnetic signals. The radio frequency circuitry 1404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or Wireless Fidelity (WiFi) networks. In some embodiments, the rf circuitry 1404 may also include Near Field Communication (NFC) related circuitry, which is not limited in this application.

The touch display 1405 is used to display a UI. The UI may include graphics, text, icons, video, and any combination thereof. The touch display 1405 also has the ability to capture touch signals at or above the surface of the touch display 1405. The touch signal may be input to the processor 1401 for processing as a control signal. The touch display 1405 is used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the touch display 1405 may be one, providing the front panel of the terminal 1400; in other embodiments, the touch display 1405 can be at least two, respectively disposed on different surfaces of the terminal 1400 or in a folded design; in still other embodiments, touch display 1405 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1400. Even the touch display 1405 can be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The touch Display 1405 can be made of Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or the like.

The camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a Virtual Reality (VR) shooting function. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.

Audio circuit 1407 is operative to provide an audio interface between the user and terminal 1400. The audio circuit 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing or inputting the electric signals to the radio frequency circuit 1404 to realize voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is then used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1407 may also include a headphone jack.

The positioning component 1408 serves to locate the current geographic position of the terminal 1400 for navigation or Location Based Service (LBS). The Positioning component 1408 may be a Positioning component based on the Global Positioning System (GPS) of the united states, the beidou System of china, or the galileo System of russia.

Power supply 1409 is used to power the various components of terminal 1400. The power source 1409 may be alternating current, direct current, disposable or rechargeable. When the power source 1409 comprises a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.

In some embodiments, terminal 1400 also includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.

The acceleration sensor 1411 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal 1400. For example, the acceleration sensor 1411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1401 can control the touch display 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.

The gyro sensor 1412 may detect a body direction and a rotation angle of the terminal 1400, and the gyro sensor 1412 and the acceleration sensor 1411 may cooperate to collect a 3D motion of the user on the terminal 1400. The processor 1401 can realize the following functions according to the data collected by the gyro sensor 1412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.

Pressure sensors 1413 may be disposed on the side bezel of terminal 1400 and/or underlying touch display 1405. When the pressure sensor 1413 is disposed at the side frame of the terminal 1400, a user's holding signal of the terminal 1400 can be detected, and left-right hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1413 is disposed at the lower layer of the touch display screen 1405, it is possible to control an operability control on the UI interface according to a pressure operation of the user on the touch display screen 1405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.

The fingerprint sensor 1414 is used for collecting a fingerprint of a user to identify the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 1401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. Fingerprint sensor 1414 may be disposed on the front, back, or side of terminal 1400. When a physical key or vendor Logo (Logo) is provided on the terminal 1400, the fingerprint sensor 1414 may be integrated with the physical key or vendor Logo.

The optical sensor 1415 is used to collect ambient light intensity. In one embodiment, processor 1401 can control the display brightness of touch display 1405 based on the ambient light intensity collected by optical sensor 1415. Specifically, when the ambient light intensity is high, the display luminance of the touch display 1405 is increased; when the ambient light intensity is low, the display brightness of the touch display 1405 is turned down. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera assembly 1406 according to the intensity of the ambient light collected by the optical sensor 1415.

Proximity sensors 1416, also known as distance sensors, are typically disposed on the front face of terminal 1400. The proximity sensor 1416 is used to collect the distance between the user and the front surface of the terminal 1400. In one embodiment, when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually decreased, processor 1401 controls touch display 1405 to switch from a bright screen state to a dark screen state; when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually increasing, processor 1401 controls touch display 1405 to switch from a breath-screen state to a bright-screen state.

Those skilled in the art will appreciate that the configuration shown in fig. 13 is not intended to be limiting with respect to terminal 1400 and that more or fewer components than those shown may be included, or that certain components may be combined, or that a different arrangement of components may be employed.

The embodiment of the present application further provides a computer-readable storage medium, which stores at least one instruction, where the at least one instruction is loaded and executed by the processor to implement the scenario triggering method in the virtual relationship composition application according to the above embodiments.

According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the plot triggering method in the virtual relationship composition application provided in the various optional implementation manners of the above aspects.

Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.

The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

29页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种目标跟踪的方法、装置及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类