[go: up one dir, main page]

CN118363687A - Social element display method, device, equipment, medium and program product - Google Patents

Social element display method, device, equipment, medium and program product Download PDF

Info

Publication number
CN118363687A
CN118363687A CN202310084698.9A CN202310084698A CN118363687A CN 118363687 A CN118363687 A CN 118363687A CN 202310084698 A CN202310084698 A CN 202310084698A CN 118363687 A CN118363687 A CN 118363687A
Authority
CN
China
Prior art keywords
social
virtual
virtual character
account
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310084698.9A
Other languages
Chinese (zh)
Inventor
陈腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202310084698.9A priority Critical patent/CN118363687A/en
Publication of CN118363687A publication Critical patent/CN118363687A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a social element display method, a social element display device, social element display equipment, a social element display medium and a social element display program product, and relates to the technical field of computers. The method comprises the following steps: displaying a first virtual character in a virtual social scene; receiving a movement control operation for a first virtual character; displaying a second virtual role corresponding to the second social account in the virtual social scene; and displaying the relation indicating element under the condition that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.

Description

Social element display method, device, equipment, medium and program product
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a social element display method, a social element display device, a social element display equipment, a social element display medium and a social element display program product.
Background
The virtual social scene is provided in the social application program, and the user can set the virtual roles displayed in the virtual social scene, and social interaction is performed between the virtual roles and other users.
In the related art, character names are displayed above different virtual characters, and a user can enter a social information introduction interface of the virtual character by clicking the character names and know other users through the social information introduction interface, so that whether the user communicates with the user further or not is judged.
However, in the social information acquisition method in the related art, the user needs to click into the social information introduction interface of each user to identify useful social information, and the acquisition efficiency of the social information is low.
Disclosure of Invention
The embodiment of the application provides a social element display method, a device, equipment, a medium and a program product, which can improve the acquisition efficiency of social information, and the technical scheme is as follows:
In one aspect, a social element display method is provided, the method including:
Displaying a first virtual role in a virtual social scene, wherein the first virtual role is a virtual role controlled by a current terminal and corresponds to a first social account number logged in by the current terminal;
Receiving a movement control operation of the first virtual character, wherein the movement control operation is used for controlling the first virtual character to move in the virtual social scene;
displaying a second virtual role corresponding to the second social account in the virtual social scene;
And displaying a relationship indicating element under the condition that the first virtual role and the second virtual role meet the first social distance requirement in the virtual social scene, wherein the relationship indicating element is used for indicating the association condition of the social association relationship between the first social account and the second social account through an element expression form.
In another aspect, there is provided a social element display apparatus, the apparatus comprising:
The display module is used for displaying a first virtual role in the virtual social scene, wherein the first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal;
The receiving module is used for receiving a movement control operation of the first virtual character, and the movement control operation is used for controlling the first virtual character to move in the virtual social scene;
The display module is further used for displaying a second virtual role corresponding to the second social account in the virtual social scene;
the display module is further configured to display a relationship indicating element when the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene, where the relationship indicating element is configured to indicate, through an element representation, a relationship condition of a social association relationship between the first social account and the second social account.
In another aspect, a computer device is provided, the computer device including a processor and a memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the social element display method as in any of the embodiments above.
In another aspect, a computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set loaded and executed by a processor to implement a social element display method as in any of the embodiments above is provided.
In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The 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 social element display method of any of the above embodiments.
The technical scheme provided by the embodiment of the application has the beneficial effects that at least:
By displaying the first virtual role and the second virtual role in the virtual social scene, when the first virtual role and the second virtual role meet the first social distance requirement, a relationship indicating element is displayed, and the relationship indicating element can express the association condition of the social association relationship between the first social account and the second social account through the corresponding element expression form. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an interface flow diagram of a social element display method provided by an exemplary embodiment of the present application;
FIG. 2 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a social element display method provided by an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a social element display method provided by another exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of a display of connection line elements provided by an exemplary embodiment of the present application;
FIG. 6 is a display schematic of a region element provided by an exemplary embodiment of the present application;
FIG. 7 is a schematic illustration of a display of dynamic balloon elements provided by an exemplary embodiment of the present application;
FIG. 8 is a flow chart of a social element display method provided by yet another exemplary embodiment of the present application;
FIG. 9 is a flowchart of a method for displaying connection line elements provided by an exemplary embodiment of the present application;
FIG. 10 is a flow chart of a social element display method provided by yet another exemplary embodiment of the present application;
FIG. 11 is a display schematic of an element control provided by an exemplary embodiment of the present application;
FIG. 12 is a schematic view showing angles between rays and connecting lines corresponding to a moving direction of a first virtual character according to an exemplary embodiment of the present application;
FIG. 13 is a schematic flow diagram of the operation of a social element display method provided by an exemplary embodiment of the present application;
FIG. 14 is a timing flow diagram of a social element display method provided by an exemplary embodiment of the present application;
FIG. 15 is a block diagram of a social element display device provided in accordance with an exemplary embodiment of the present application;
FIG. 16 is a block diagram of a social element display apparatus provided in another exemplary embodiment of the present application;
fig. 17 is a block diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of promoting an understanding of the principles and advantages of the application, reference will now be made in detail to the embodiments of the application, some but not all of which are illustrated in the accompanying drawings. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," and the like in this disclosure are used for distinguishing between similar elements or items having substantially the same function and function, and it should be understood that there is no logical or chronological dependency between the terms "first," "second," and no limitation on the amount or order of execution.
In the related art, character names are displayed above different virtual characters, and a user can enter a social information introduction interface of the virtual character by clicking the character names and know other users through the social information introduction interface, so that whether the user communicates with the user further or not is judged. However, in the social information acquisition method in the related art, the user needs to click into the social information introduction interface of each user to identify useful social information, and the acquisition efficiency of the social information is low.
Referring to fig. 1, a virtual social scene 100 is a screen displayed after a first social account logs in a social application program, an avatar corresponding to the first social account, that is, a first virtual character 101 is displayed in the virtual social scene 100, and a player can control the first virtual character 101 to perform activities in the virtual social scene.
Also displayed in the virtual social scene 100 are second virtual roles 102, 103, 104, 105, 106, 107, and 108, which correspond to different social accounts, respectively. The first virtual character 101 corresponds to a social range, and the social range can be realized by taking the first virtual character 101 as a center and presetting a first social distance as a circular range of radius; the social range can also be realized as a range corresponding to a terminal screen display area of the first social account login.
Taking a range corresponding to a terminal screen display area in which a social range is realized as a first social account login as an example, when there is a virtual character and a first virtual character 101 displayed on the same screen, a line starting from the first virtual character 101 is displayed, and a radial line centered on the first virtual character 101 is formed, and these lines connect the first virtual character 101 and the virtual character in the screen. As shown in fig. 1, when the first virtual character 101 and the second virtual characters 102, 103, 104, 105, 106, 107 and 108 are displayed on the same screen, a connection line between the first virtual character 101 and the second virtual character is displayed in the virtual social scene 110 as a relationship indicating element corresponding to each of the second virtual characters.
Optionally, illustrated with a connection line 109 between the first virtual character 101 and the second virtual character 102, the thickness of the connection line 109 represents the social affinity between the first virtual character 101 and the second virtual character 102, the thicker the connection line 109 the higher the social affinity between them; the color of the connection line 109 represents the type of social relationship between the first virtual character 101 and the second virtual character 102, such as: the color of the connection line 109 is realized as blue, which indicates that the first virtual character 101 and the second virtual character 102 are friendly; a tag element 111 is also displayed on the connection line 109, the tag element 111 being used to indicate that the first virtual character 101 and the second virtual character 102 belong to the same city.
Referring to fig. 2, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment comprises: the terminal device 210 and the server 220 are connected through a communication network 230, and the communication network 230 may be a wired network or a wireless network, which is not limited in the embodiment of the present application. Wherein the terminals 210 include a first terminal 211 and a second terminal 212, alternatively, the number of the second terminals 212 may be one or more, and only one second terminal 212 is shown in fig. 2 for illustration.
The first terminal 211 and the second terminal 212 include, but are not limited to, mobile phones, tablet computers, intelligent voice interaction devices, game hosts, wearable devices, multimedia playing devices, PCs (Personal Computer, personal computers), car terminals, intelligent home appliances, and other electronic devices.
A target application supporting displaying a virtual social scene is installed and operated in the first terminal 211, and the target application may be implemented as an application having social properties, such as an instant messaging application, a small video application, a game application, a meta space application, etc., which is not limited in the embodiment of the present application. The first terminal 211 has a first social account registered therein, and the first social account corresponds to a first virtual character displayed in the virtual social scene. The player corresponding to the first social account may control the first virtual character to perform an activity in the virtual social scene, the activity including at least one of adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and the like.
The second terminal 212 has the same target application installed and running therein as the first terminal 211, and the second terminal 212 has a second social account registered therein, the second social account corresponding to a second virtual character displayed in the virtual social scene.
Optionally, the first virtual character and the second virtual character are displayed in the same social scene; or the first virtual character and the second virtual character are displayed in different social scenes. Optionally, the first social account and the second social account are accounts with friend relations; or the first social account and the second social account are accounts without friend relation, namely strangers.
Alternatively, the server 220 is used to provide a background service for a target application installed in the first terminal 211 and the second terminal 212. Illustratively, when the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, the first terminal 211 may send a relationship indication element display request to the server 220, the server 220 receives the relationship indication display request, obtains the association condition of the social association relationship between the first terminal 211 and the second terminal 212, correspondingly generates relationship indication element display data, and sends the relationship indication element display data to the first terminal 211. The first terminal 211 receives the relationship instruction element display data and displays the corresponding relationship instruction element.
Optionally, before generating the relationship indication element display data, the server 220 needs to acquire social information corresponding to the first social account and the second social account, where the social information of the first terminal 211 may encapsulate the relationship indication display request, that is, the first terminal 211 may send the relationship indication element display request to the server 220 and send the social information corresponding to the first social account to the server 220 at the same time; or the first terminal 211 periodically transmits its corresponding social information to the server 220.
Optionally, the second terminal 212 responds to the social information acquisition request of the server 220 and sends the corresponding social information to the server 220; or the second terminal 212 periodically transmits its corresponding social information to the server 220.
It should be noted that the server 220 can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms.
Cloud Technology (Cloud Technology) refers to a hosting Technology that unifies serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied by the cloud computing business model, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing. Optionally, server 220 may also be implemented as a node in a blockchain system.
It should be noted that, before collecting relevant data (such as association condition of social association relationship) of a user and during collecting relevant data of a user, the application can display a prompt interface, a popup window or output voice prompt information, where the prompt interface, popup window or voice prompt information is used to prompt the user to collect relevant data currently, so that the application only starts to execute relevant steps of obtaining relevant data of the user after obtaining confirmation operation of the user on the prompt interface or popup window, otherwise (i.e. when no confirmation operation of the user on the prompt interface or popup window is obtained), ends relevant steps of obtaining relevant data of the user, i.e. does not obtain relevant data of the user. In other words, all user data collected by the present application is collected with the consent and authorization of the user, and the collection, use and processing of relevant user data requires compliance with relevant laws and regulations and standards of the relevant country and region.
In connection with the above description and implementation environment, fig. 3 is a flowchart of a social element display method according to an embodiment of the present application, where the method is applied to a terminal as shown in fig. 2 for illustration, and the method includes:
Step 301, a first virtual character in a virtual social scene is displayed.
The first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal.
The virtual social scene refers to a scene that a target application program (such as a social application program) installed in the terminal is displayed in a running time. The virtual social scene refers to a scene which is built for a virtual character to conduct social activities, and the virtual social scene can be a simulation environment of a real world, a semi-simulation and semi-fictional environment, or a pure fictional environment. The virtual social scene may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited by the embodiment of the present application.
The first virtual role is used for simulating a visual avatar of the first social account in the virtual social scene. The first avatar may be implemented as at least one of a avatar, and a cartoon character. Alternatively, when the virtual social scene is a three-dimensional virtual environment, the first virtual character may be a three-dimensional virtual model. Optionally, the first virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, the virtual character realizing different external figures by wearing different skins.
Alternatively, the number of the first virtual characters may be one or more. When the number of the first virtual roles is multiple, the first social account can respectively control the multiple first virtual roles to perform activities in the virtual social scene; illustratively, the first virtual character may be implemented as a virtual character and a virtual pet, and the first social account may simultaneously control the virtual character and the virtual pet to perform activities in the virtual social scene.
Step 302, a movement control operation for a first virtual character is received.
The movement control operation is used for controlling the first virtual character to move in the virtual social scene.
Optionally, the movement control operation is used to control the first virtual character to walk, run, jump, creeping, drive the virtual vehicle (e.g. virtual vehicle, virtual plane, virtual hot air balloon, etc.), dance, perform a specified action (e.g. specific heart), etc. in the social scene, which is not limited in the embodiment of the present application.
Optionally, the implementation manner of the movement control operation includes at least one of a single click operation, a double click operation, a sliding operation, a long press operation, a voice trigger operation, a gesture trigger operation, and the like.
Optionally, the virtual social scene refers to a virtual scene under the perspective of the first virtual character, that is, the scene view of the virtual social scene changes with the movement of the first virtual character. Alternatively, the above-described viewing angle is implemented as a first person viewing angle or a third person viewing angle.
The above-described view is described taking as an example a third person who realizes the view. Schematically, a scene picture of a virtual social scene is displayed in a terminal display screen, and is a 9*9 rectangular picture; the first virtual character is positioned in the center of the picture, the first virtual character corresponds to a visual angle range, and the visual angle range is a picture range 6*6 taking the first virtual character as the center; when the first virtual character moves within 3 units above the scene corresponding to the virtual social scene, the background scene (for example, map scene) of the virtual social scene is not changed, and when the first virtual character moves above the scene corresponding to the virtual social scene by more than 3 units, the background scene of the virtual social scene is changed, for example: half of the virtual buildings are displayed before movement, and all of the virtual buildings are displayed after movement.
Or the first virtual character is positioned at the central position of the scene, when the player controls the first virtual character to move, the scene displayed in the terminal display screen moves, and the first virtual character is always positioned at the central position of the scene.
Step 303, displaying a second virtual role corresponding to the second social account in the virtual social scene.
The second social account refers to accounts which are logged in the target application program except the first social account. Optionally, the second social account may be at least one of a friend account corresponding to the first social account and a stranger account corresponding to the first social account, which is not limited in the embodiment of the present application.
Optionally, the number of the second social accounts may be one or more; that is, a plurality of second virtual roles corresponding to the second social accounts respectively may be displayed in the virtual social scene.
Schematically, a first virtual role is displayed in a virtual social scene corresponding to the first social account; meanwhile, virtual roles corresponding to other social accounts are displayed.
Optionally, a second different virtual character is displayed in a different virtual social scene, and the display of the second virtual character is described below with respect to the different virtual social scene. Optionally, the virtual social scene includes at least one of:
1. the virtual social scene refers to a scene that all login accounts in the target application program conduct social activities.
Schematically, the virtual social scene can be realized as a virtual public activity center, and accounts logged in the target application program can enter the virtual social scene to communicate with other accounts; for the first social account, the second virtual role displayed in the virtual social scene includes a virtual role corresponding to a friend account logged in the target application program, a virtual role corresponding to a stranger account logged in the target application program, and the like.
2. Virtual social scenes refer to scenes in which accounts within a specified geographic range conduct social activities.
Optionally, the specified geographic range refers to a geographic range in which the first social account is actually located; or the specified geographic scope is a virtual geographic scope set by the first social account in the target application.
Schematically, if the actual login address of the first social account is the area a, the virtual social scene is realized as a virtual scene in which all accounts logged in the area a are social; for the first social account, the second virtual role displayed in the virtual scene comprises a virtual role corresponding to a friend account with a login address of A area and a virtual role corresponding to a stranger account with a login address of A area.
Or the first social account sets a social range as a virtual area B in the virtual world in the target application program, and the virtual social scene is a virtual scene of social contact of all accounts in the virtual area B; for the first social account, the second virtual role displayed in the virtual scene comprises a virtual role corresponding to a friend account which is active in the virtual area B and a virtual role corresponding to a stranger account which is active in the virtual area B.
3. Virtual social scenes refer to scenes in which an account is designated for social activities.
Alternatively, the player may set the object in the target application that he wants to social. Schematically, if the social object is set as the designated friend account, the virtual social scene may be implemented as a friend space, and the second virtual role displayed in the virtual social scene includes the virtual role corresponding to the designated friend account. Or setting the social object as a designated stranger account, such as: the social label of the first social account is "like running", and the appointed stranger account can be set as the stranger account which also has the social label of "like running"; the second virtual role displayed in the virtual social scene includes a virtual role corresponding to the designated stranger account.
It should be noted that the foregoing examples of the virtual social scene are merely illustrative, and the embodiments of the present application are not limited thereto.
Step 304, displaying a relationship indicating element under the condition that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene.
The first social distance requirement refers to a preset first social distance corresponding to the first virtual character, and if schematically, the distance between the second virtual character and the first virtual character is smaller than or equal to the first social distance corresponding to the first virtual character, it is determined that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene. Optionally, the first social distance requirement is a distance specified by the first social account on a setting interface of the target application; or the first social distance is a reasonable distance uniformly set by the developer for all accounts; or the first social distance is a distance determined according to a distance influence factor corresponding to the first social account.
Wherein the distance influencing factors corresponding to the first social account include at least one of the following:
1. Account number level. Optionally, the higher the account level of the first social account, the greater the first social distance corresponding to the first social account.
2. Account liveness. The account liveness refers to the liveness of the account participating in the activity in the target application program, optionally, the account liveness is determined according to the number of times the account actively initiates chat, the online time of the account, the number of times of account evaluation, the number of times of account publishing dynamics, and the like, which is not limited in the embodiment of the application. Optionally, the higher the account liveness of the first social account, the greater the first social distance corresponding to the first social account.
3. And (5) an account label. Optionally, the account label is a label related to the character of the player, which is schematically shown that if the first social account is provided with labels such as "favorite outdoor sports", "character open", etc., the first social distance corresponding to the first social account is larger; if the first social account is provided with the tags such as inward tags, static tags and the like, the first social distance corresponding to the first social account is smaller.
4. The type of virtual social scene corresponding to the account number. Optionally, the virtual social scene includes different types of social scenes, such as: social scenes of main communication sports topics, social scenes of main communication game topics, and the like. Optionally, in different virtual social scenes, the first social distances corresponding to the first social accounts are different, and if the main interest points of the first social accounts are sports topics, the first social distances corresponding to the first social accounts in the social scenes for exchanging the sports topics are larger; correspondingly, the corresponding first social distance in other social scenes is smaller.
It should be noted that the foregoing examples of the distance influencing factors corresponding to the first social account are only illustrative, and the embodiments of the present application are not limited thereto.
The relationship indicating element is used for representing the association condition between the first social account and the second social account on the social association relationship. The relationship indicating element is used for indicating the association condition of the social association relationship between the first social account and the second social account through the element expression form.
The social association relationship refers to the association degree of social information corresponding to the first social account and social information corresponding to the second social account. Optionally, the social information corresponding to the account includes a friend list of the account, tag information corresponding to the account, relationships among other accounts of the account (such as relatives, girlfriend, etc.), basic information of the account (such as birthday, constellation, hometown, etc.), group chat type of the account, interaction behavior of the account (such as praise, comment, etc.), etc., which is not limited in the embodiment of the present application.
Optionally, the display of the relationship indication element includes at least one of:
1. The relationship indicating element is displayed between the first virtual character and the second virtual character.
Illustratively, if the virtual social scene includes a plurality of second virtual characters, starting from the first virtual character, a relationship indicating element is displayed between the first virtual character and the plurality of second virtual characters, respectively.
2. The relationship indicating element is displayed around the second virtual character.
Illustratively, the relationship indicating element is displayed in a position below the respective second virtual character.
3. The relationship indicating element is displayed as a dynamic element moving from the second virtual character to the first virtual character.
Illustratively, the relationship indicating element is displayed as a balloon element that will fly toward the first avatar when the second avatar is displayed within the first social distance of the first avatar.
Alternatively, the above-described relationship indicates that the element expression form of the element includes an element size, an element color, a movement path of the element, an element display time, an element shape, and the like, which is not limited by the embodiment of the present application.
In some embodiments, the relationship indication element is configured to indicate, by an element appearance, a degree of association of a social association between the first social account and the second social account. Optionally, the element size of the relationship indicating element indicates a social affinity between the first social account and the second social account, the greater the social affinity, the greater the element size.
In some embodiments, the relationship indication element is configured to indicate, by an element appearance, a type of association of a social association between the first social account and the second social account. Optionally, the element color of the relationship indicating element indicates a social relationship type (e.g., friends, love, relatives, strangers, etc.) between the first social account and the second social account, and the different element colors refer to different social relationship types.
In summary, according to the social element display method provided by the embodiment of the application, the first virtual role and the second virtual role are displayed in the virtual social scene, and when the first virtual role and the second virtual role meet the first social distance requirement, the relationship indicating element is displayed, and the relationship indicating element can represent the association condition of the social association relationship between the first social account and the second social account through the corresponding element representation form. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.
In some alternative embodiments, the size data of the relationship indicating element needs to be determined according to the affinity between the first social account and the second social account, and fig. 4 is a flowchart of a social element display method provided in an embodiment of the present application, and the method is illustrated by being applied to the terminal shown in fig. 2, where the method includes:
step 401, displaying a first virtual character in a virtual social scene.
The first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal.
Schematically, a player can log in a social application program of a terminal, and a login account is a first social account; after entering the social application, the player may choose to enter a virtual social scene in which the player will display the first virtual character.
Optionally, the player may also set a first virtual character before entering the virtual social scene, for example: customizing the avatar of the first virtual character, setting the first social distance of the first virtual character, and the like.
Step 402, a movement control operation for a first virtual character is received.
The movement control operation is used for controlling the first virtual character to move in the virtual social scene.
Illustratively, the player may control the first virtual character to move in the virtual social scene.
Step 403, displaying a second virtual role corresponding to the second social account in the virtual social scene.
Illustratively, in the virtual social scene, in addition to the first virtual role, other virtual roles are displayed, where the virtual roles are second virtual roles, and are virtual roles controlled by other social accounts (i.e., the second social account).
In step 404, in the case that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, the size data of the relationship indicating element is determined based on the social affinity between the first social account and the second social account.
The relationship indicating element is used for indicating the association condition of the social association relationship between the first social account and the second social account through the element expression form.
Optionally, meeting the first social distance requirement refers to a distance between the first virtual character and the second virtual character being less than or equal to a first social distance corresponding to the first virtual character. Schematically, when the first virtual character enters the virtual social scene, the client corresponding to the virtual social scene sends display coordinates of the virtual characters (including the first virtual character and the second virtual character) in the virtual social scene to the server, and the server calculates the distance between the first virtual character and the second virtual character according to the display coordinates.
After the server calculates the distance between the first virtual character and the second virtual character, if the distance is smaller than or equal to the first social distance corresponding to the first virtual character, determining that the second virtual character is the character needing to display the relationship indicating element. Schematically, the server will acquire social information corresponding to the first social account and acquire social information corresponding to the second social account; and then calculating the social affinity between the first social account and the second social account according to the social information between the accounts and a preset affinity calculation rule.
Optionally, the affinity calculation rule is that the server determines the appointed affinity factor and the affinity score corresponding to the appointed affinity factor according to the social information between the accounts, and weights and sums the scores corresponding to the appointed affinity factors, and the obtained calculation result is the social affinity between the first social account and the second social account.
Wherein the specified affinity factor includes but is not limited to at least one of the following:
1. And the friend relation degree between the first social account and the second social account.
The friend relation degree is used for indicating friend association conditions between the first social account and the second social account in the social network.
Schematically, if the first social account and the second social account are in a friend relationship, the degree of friends between the first social account and the second social account is 1 degree; if the first social account is a friend of the second social account (namely, the first social account and the second social account have common friends), the friend degree between the first social account and the second social account is 2 degrees; if the first social account is a friend of the second social account, the friend degree between the first social account and the second social account is 3 degrees, and so on.
Wherein, the lower the degree of the friend relationship, the higher the affinity score.
2. Physical distance between the first social account and the second social account.
That is, the distance between the geographic location where the first social account is actually located and the geographic location where the second social account is actually located.
Wherein, the lower the physical distance, the higher the affinity score.
3. The number of tags that are the same between the first social account and the second social account.
Optionally, the labels of the social accounts include, but are not limited to, constellation, birthday, school, hometown, hobbies, and the like. Schematically, labels corresponding to the first social account and the second social account are respectively obtained, and the same label number between the first social account and the second social account is determined according to the semantic similarity of the labels.
Wherein, the higher the same number of tags, the higher the affinity score.
4. The number of interactions between the first social account and the second social account.
Wherein, the interaction includes praise, chat, comment and other interactions, which are not limited in the embodiment of the present application. The more interactions, the higher the affinity score.
5. Common group chat number between the first social account and the second social account.
Wherein, the more the common group chat number, the higher the affinity score.
It should be noted that the above examples of the specific intimacy factor are illustrative only, and the embodiments of the present application are not limited thereto.
In some embodiments, the number of the second virtual roles meeting the first social distance requirement is a plurality, and then after determining the social affinity between the first social account and the second social account, before displaying the relationship indicating element, the second virtual roles needing to display the relationship indicating element may be filtered according to the social affinity. Optionally, in a case where the social affinity between the first social account and the second social account reaches the second affinity threshold, displaying a relationship indication element.
Optionally, the second affinity threshold is a threshold preset by the player, and before displaying the relationship indicating element, if the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, the method further includes: displaying an affinity setting interface, wherein the affinity setting interface is used for setting an affinity threshold; in response to receiving a threshold setting operation in the affinity setting interface, a second affinity threshold is determined.
Illustratively, displaying an affinity filling area in the affinity setting interface, receiving a quantity filling operation of the affinity filling area, and taking the quantity of filling as a second affinity threshold; or displaying an affinity setting progress bar (the number of the progress bars is 1-100) on the affinity setting interface, receiving a dragging operation on the progress bar, and determining a second affinity threshold according to the dragging operation.
Or the second affinity threshold is a threshold uniformly set by the developer.
Or the second affinity threshold is a threshold determined according to social behaviors of the player in a historical time period, which is schematically indicated that the player actively initiates social activities to 100 other players in the historical time period, and the average value of affinities between accounts corresponding to the 100 other players and the player accounts is 66, and the second affinity threshold is 66.
Illustratively, the second virtual roles meeting the first social distance requirement are virtual roles 1,2 and 3, and the social affinities between the second virtual roles and the first virtual roles are 75, 80 and 20 respectively; and if the preset second affinity threshold value is 60, the second virtual roles needing to display the relationship indicating elements are virtual roles 1 and 2, and the relationship indicating elements do not need to be displayed between the first virtual role and the virtual role 3, namely the size data of the corresponding relationship indicating elements do not need to be acquired.
Step 405, displaying the relationship indicating element according to the size data of the relationship indicating element.
Illustratively, a display size of the relationship indicating element is determined based on the size data of the relationship indicating element, and the relationship indicating element is displayed at the display size.
Optionally, the relationship indicating element includes a connection line element, an area element displayed at a display position where the second virtual character is located, a dynamic balloon element, and the like, which is not limited in the embodiment of the present application. The following describes the connection line element, the region element displayed at the display position where the second virtual character is located, and the display of the dynamic balloon element, respectively:
1. Connecting line elements.
Optionally, a connection line element connecting the first virtual character and the second virtual character is displayed, and the connection line element is used as a relationship indication element.
Referring to fig. 5, a schematic display diagram of a connection line element is shown, and a first virtual character 501 (which is a virtual character corresponding to a first social account) and a second virtual character 502-508 are displayed in a virtual scene 500; taking the second virtual character 502 as an example, a connection line element 509 exists between the first virtual character 501 and the second virtual character 502.
Optionally, determining width data of the connection line element based on social affinity between the first social account and the second social account; based on the width data of the connection line element, the connection line element is displayed. The social affinity and the width data of the connecting line element are in positive correlation.
For illustration, referring to fig. 5, connection line elements exist between the first virtual character 501 and the second virtual character 502-the second virtual character 508, and as shown in fig. 5, the width of the connection line element 509 is greater than the width of the connection line element 510, which indicates that the social affinity between the social accounts corresponding to the first social account and the second virtual character 502 is greater than the social affinity between the social accounts corresponding to the first social account and the second virtual character 506.
Optionally, the connection line element is implemented as a connection line element including an arrow element, and the connection line element connecting the first virtual character and the second virtual character is schematically displayed, and the arrow element pointing to the second virtual character is displayed on the connection line element.
2. And the second virtual character is a region element displayed at the display position.
Optionally, the area element is displayed at the display position where the second virtual character is located, and the area element is used as the relationship indicating element.
The display position where the second virtual character is located includes a position below the second virtual character, a position above the second virtual character, a position beside the second virtual character, and the embodiment of the application is not limited thereto.
Optionally, the area element is a display element centered on the second virtual character, and the area element may be at least one of a rectangular area element, a circular area element, a special-shaped area element (for example, a loving area, a five-pointed star area, etc.), and the embodiment of the application is not limited thereto.
Referring to fig. 6, a schematic display diagram of an area element is shown, and a first virtual character 601 (corresponding to a first social account) and a second virtual character 602-608 are displayed in a virtual scene 600; taking the second virtual character 602 as an example, a circular area element 609 is displayed below the display position of the second virtual character 602.
Optionally, determining area data of the area element based on social affinity between the first social account and the second social account; the region element is displayed based on the area data of the region element. The social affinity and the area data of the area elements are in positive correlation.
For illustration, referring to fig. 6, a circular area element is displayed below the display positions of the second virtual character 602-608, and as shown in fig. 6, the area of the circular area element 609 is larger than that of the circular area element 610, which indicates that the social affinity between the first social account and the social account corresponding to the second virtual character 602 is larger than that between the first social account and the social account corresponding to the second virtual character 603.
3. Dynamic balloon elements.
Alternatively, a dynamic balloon element that moves from the display position where the second virtual character is located to the display position where the first virtual character is located is displayed, with the dynamic balloon element as the relationship instruction element.
Illustratively, the dynamic balloon element is generated from the display position of the second virtual character and moves to the display position of the first virtual character, and after moving to the display position of the first virtual character, the dynamic balloon element can float above the first virtual character for display; or after moving to the display position of the first virtual character, displaying the balloon explosion animation, wherein the dynamic balloon element disappears in the virtual social scene after the balloon explosion animation.
Referring to fig. 7, a schematic diagram of a dynamic balloon element display is shown, wherein a first virtual character 701 (corresponding to a first social account) and a second virtual character 702-708 are displayed in a virtual scene 700; taking the second virtual character 702 as an example, a dynamic balloon element 709 is displayed floating between the first virtual character 701 and the second virtual character 702.
Optionally, determining a balloon size of the dynamic balloon element based on social affinity between the first social account and the second social account; the dynamic balloon element is displayed based on the balloon size of the dynamic balloon element. Wherein the social affinity and the balloon size of the dynamic balloon element are in positive correlation.
For illustration, referring to fig. 7, dynamic balloon elements exist between the first virtual character 701 and the second virtual character 702-the second virtual character 708, and as shown in fig. 7, the balloon size of the dynamic balloon element 709 is larger than that of the dynamic balloon element 710, which indicates that the social affinity between the social account corresponding to the first social account and the second virtual character 702 is larger than that between the social account corresponding to the first social account and the second virtual character 707.
In some embodiments, it may also be desirable to determine the duration of the display of the relationship indicating element prior to displaying the relationship indicating element. Optionally, determining a display duration of the relationship indicating element based on social affinity between the first social account and the second social account, wherein the social affinity and the display duration are in positive correlation; and displaying the relation indicating element according to the display time of the relation indicating element.
Illustratively, the second virtual roles meeting the first social distance requirement are virtual roles a, b and c, and the social affinities between the second virtual roles and the first virtual roles are 75, 80 and 20 respectively; the display time length of the relationship instruction element corresponding to the virtual character b is longer than the display time length of the relationship instruction element corresponding to the virtual character a and longer than the display time length of the relationship instruction element corresponding to the virtual character c.
Optionally, after the display duration corresponding to the second virtual character is finished, the display of the relationship indication element corresponding to the second virtual character is canceled.
In some embodiments, if the social affinity between the first virtual character and the second virtual character is higher, the relationship indication element corresponding to the second virtual character may be specifically displayed. Optionally, displaying the relationship indicating element and displaying the preset special effect animation corresponding to the relationship indicating element when the social affinity between the second social accounts of the first social accounts reaches the first affinity threshold.
Taking the relation indicating element as a connecting line element for illustration, displaying the connecting line element when the social affinity between the first social account and the second social account reaches a first affinity threshold, and displaying a moving object drawn in a preset shape on the connecting line element; and displaying the animation of the moving object circularly translating on the connecting line element based on the preset time period.
Taking the relationship indication element as an example to be displayed at the region element of the second virtual character, when the social affinity between the first social account and the second social account reaches the first affinity threshold, displaying the loving region element below the display position of the second virtual character, and displaying the simulated jumping animation corresponding to the loving region element, wherein the simulated jumping animation can be realized as a cyclic animation that the region area corresponding to the loving region element is changed from large to small and then from small to large.
Taking the relationship indication element as a dynamic balloon element for example for explanation, when the social affinity between the first social account and the second social account reaches a first affinity threshold, displaying the dynamic balloon element between the first virtual character and the second virtual character, and displaying the simulated setting-off animation of fireworks around the dynamic balloon element.
In summary, according to the social element display method provided by the embodiment of the application, the first virtual role and the second virtual role are displayed in the virtual social scene, and when the first virtual role and the second virtual role meet the first social distance requirement, the relationship indicating element is displayed, and the relationship indicating element can represent the association condition of the social association relationship between the first social account and the second social account through the corresponding element representation form. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.
According to the method provided by the embodiment of the application, the size data of the relation indicating element is determined through the social affinity between the first social account and the second social account, the relation indicating element is displayed according to the size data of the relation indicating element, and the social affinity is abstracted into the display size of the relation indicating element, so that a player can intuitively acquire the affinity strength between the player and other players according to the size information shown by the relation indicating element, the efficiency of selecting social objects by the player is improved, and the social success rate of the player is improved.
According to the method provided by the embodiment of the application, the display time of the relation indicating element is determined based on the social affinity between the first social account and the second social account, the relation indicating element is displayed according to the display time of the relation indicating element, the display time of the relation indicating element is differentiated, auxiliary information is provided for a player to select a social object, and meanwhile, the display space of a computer is saved.
According to the method provided by the embodiment of the application, the relation indicating element comprises a plurality of element expression forms such as the connecting line element, the area element and the dynamic balloon element, so that the display diversity of the relation indicating element is increased.
According to the method provided by the embodiment of the application, under the condition that the social affinity between the first social account and the second social account reaches the first affinity threshold, the connecting line element is displayed, and based on a preset time period, the animation that the moving object circularly translates on the connecting line element is displayed; under the condition that the intimacy between the players is high, the player can pay attention to other players with high intimacy at the first time by moving the animation to express the high intimacy between the players, so that the efficiency of selecting social objects by the players is further improved.
According to the method provided by the embodiment of the application, before the relationship indicating element is displayed, the player can screen the second virtual role needing to display the relationship indicating element by setting the second intimacy threshold, so that the display control occupied by the relationship indicating element in the screen is reduced, and meanwhile, the computing resource of the computer is saved.
In some alternative embodiments, the filling data of the relationship indicating element needs to be determined according to the social relationship type between the first social account and the second social account, and fig. 8 is a flowchart of a social element display method provided by the embodiment of the present application, and the method is illustrated by being applied to the terminal shown in fig. 2, where the method includes:
Step 801, a first virtual character in a virtual social scene is displayed.
The first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal.
Step 802, a movement control operation for a first virtual character is received.
The movement control operation is used for controlling the first virtual character to move in the virtual social scene.
Step 803, displaying a second virtual role corresponding to the second social account in the virtual social scene.
Step 804, determining a filling style corresponding to the relationship indicating element based on the social relationship type between the first social account and the second social account when the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene.
The relationship indicating element is used for indicating the association condition of the social association relationship between the first social account and the second social account through the element expression form.
The filling pattern refers to a pattern filled in a surface area or a closed area corresponding to the relation indicating element. The filling pattern includes filling color, filling texture, filling shadow effect, etc., which are not limited in this embodiment of the application.
The social relationship type refers to the emotion types of the first social account and the second social account in the social network, and the social relationship type includes friends, relatives, foreign edges, love, strangers, game teammates, and the like, which is not limited in the embodiment of the present application. Illustratively, the filling pattern is implemented as filling colors as an example, red for the isomerism, blue for the friendship, orange for the relatedness, gray for the stranger, green for the game player, etc.
Step 805, displaying the relationship indication element according to the filling style corresponding to the relationship indication element.
Illustratively, a display color of the relationship indicating element is determined according to the filling color corresponding to the relationship indicating element, and the relationship indicating element is displayed with the display color.
Optionally, the relationship indicating element includes a connection line element, an area element displayed at a display position where the second virtual character is located, a dynamic balloon element, and the like, which is not limited in the embodiment of the present application. The following describes the connection line element, the region element displayed at the display position where the second virtual character is located, and the display of the dynamic balloon element, respectively:
1. Connecting line elements.
Optionally, determining a connection color of the connection element based on a social relationship type between the first social account and the second social account; the connection line elements are displayed based on the connection line colors of the connection line elements.
For illustration, please refer to fig. 5, if the social relationship type between the social account corresponding to the first social account and the social account corresponding to the second virtual character 502 is friends, the color of the connection line corresponding to the connection line element 509 is blue; if the social relationship type between the social account corresponding to the first social account and the social account corresponding to the second virtual character 506 is a game player, the color of the connection line corresponding to the connection line element 510 is green.
2. And the second virtual character is a region element displayed at the display position.
Optionally, determining an area filling color of the area element based on the social relation type between the first social account and the second social account; the region element is displayed based on the region fill color of the region element.
For illustration, referring to fig. 6, if the social relationship type between the social account corresponding to the first social account and the social account corresponding to the second virtual character 602 is friendship, the area filling color corresponding to the circular area element 609 is blue; if the social relationship type between the social account corresponding to the first social account and the social account corresponding to the second virtual character 603 is stranger, the area filling color corresponding to the circular area element 610 is gray.
3. Dynamic balloon elements.
Optionally, determining a balloon color of the dynamic balloon element based on a social relationship type between the first social account and the second social account; the dynamic balloon element is displayed based on the balloon color of the dynamic balloon element.
For illustration, referring to fig. 7, if the social relationship type between the social account corresponding to the first social account and the social account corresponding to the second virtual character 702 is friendship, the balloon corresponding to the dynamic balloon element 709 is blue; if the social relationship type between the social account corresponding to the first social account and the second virtual character 707 is affinity, the balloon corresponding to the dynamic balloon element 710 is orange.
In some embodiments, tag information associated with the first social account and the second social account may also be displayed on the relationship indicating element. Determining a social relation label according to the similarity between the social label corresponding to the first social account and the social label corresponding to the second social account, wherein the social relation label is used for representing the superposition condition of the first social account and the second social account on the social label; social relationship labels are displayed on the relationship indicating element.
The number of the social relationship labels may be one or a plurality of. Optionally, calculating the similarity in label semantics between the social label corresponding to the first social account and the social label corresponding to the second social account; and determining that the social label with the semantic similarity between the semantics of the first social account and the semantics of the second social account is greater than a similarity threshold value as a social relation label. For example: the label of the first social account is "like playing XX glory", and the label of the first social account is "XX elite"; the social relationship label between the first social account and the second social account may be "like game".
After determining the social relationship tab, the social relationship tab is displayed on the relationship indicating element. For illustration, please refer to fig. 5, a social relationship label "same city" 511 between the first social account and the social account corresponding to the second virtual character 502 is displayed on the line of the connection line element 509. Referring to fig. 6, a social relationship label "same city" 611 between the first social account and the social account corresponding to the second virtual character 602 is displayed around the circular area element 609. Referring to FIG. 7, a social relationship tab "same city" 711 between a first social account and a social account corresponding to a second virtual character 702 is displayed as a banner under dynamic balloon element 709.
In summary, according to the social element display method provided by the embodiment of the application, the first virtual role and the second virtual role are displayed in the virtual social scene, and when the first virtual role and the second virtual role meet the first social distance requirement, the relationship indicating element is displayed, and the relationship indicating element can represent the association condition of the social association relationship between the first social account and the second social account through the corresponding element representation form. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.
According to the method provided by the embodiment of the application, the filling pattern of the relation indicating element is determined through the social relation type between the first social account and the second social account, the relation indicating element is displayed according to the filling pattern of the relation indicating element, and the social relation type is abstracted into the filling information of the relation indicating element, so that a player can intuitively acquire social relation among other players according to the filling effect shown by the relation indicating element, and the efficiency of acquiring social key information by the player is improved.
According to the method provided by the embodiment of the application, the social relation label is determined according to the similarity between the social label corresponding to the first social account and the social label corresponding to the second social account, and the social relation label is displayed on the relation indicating element, so that the social relation label can represent similar interest points among players, the key social information acquired by the players is increased, and the enthusiasm and the efficiency of the players for social contact in the virtual social scene are further improved.
With the above relationship indicating element implemented as a connecting line element, fig. 9 is a flowchart of a social element display method according to an embodiment of the present application, and the method is illustrated by being applied to a terminal as shown in fig. 2, where the method includes:
step 901, displaying a first virtual character in a virtual social scene.
The first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal.
In step 902, a movement control operation for a first virtual character is received.
The movement control operation is used for controlling the first virtual character to move in the virtual social scene.
And step 903, displaying a second virtual role corresponding to the second social account in the virtual social scene.
Illustratively, in the virtual social scene, in addition to the first virtual role, other virtual roles are displayed, where the virtual roles are second virtual roles, and are virtual roles controlled by other social accounts (i.e., the second social account).
In step 904, under the condition that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, the width data of the connection line element is determined based on the social affinity between the first social account and the second social account.
Optionally, there are a plurality of second virtual characters that meet the first social distance requirement with the first virtual character in the virtual social scene. And determining width data of the connecting line elements corresponding to the plurality of second social accounts respectively based on social affinity densities corresponding to the first social account and the plurality of second social accounts respectively.
In step 905, under the condition that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, determining the connection line color of the connection line element based on the social relationship type between the first social account and the second social account.
Optionally, determining the connection line color of the connection line element corresponding to each of the plurality of second social accounts based on the social relationship type corresponding to each of the first social account and the plurality of second social accounts.
Step 906, determining a social relationship label according to the similarity between the social label corresponding to the first social account and the social label corresponding to the second social account.
The social relation label is used for representing the superposition condition of the first social account and the second social account on the social label.
Optionally, determining social relationship labels corresponding to the plurality of second social accounts according to the similarity between the social labels corresponding to the first social account and the social labels corresponding to the plurality of second social accounts.
Step 907, based on the width data of the connection line elements and the connection line color, displaying the connection line elements connecting the first virtual character and the second virtual character, and simultaneously displaying social relationship labels on the connection line elements.
Optionally, based on the width data and the connecting line color of the connecting line elements corresponding to the plurality of second social accounts respectively, displaying an extension animation of extending the connecting line elements corresponding to the plurality of second social accounts from the first virtual role to the plurality of second virtual roles by taking the first virtual role as a center; and stopping displaying the extension animation when the tail end of the connecting line element reaches the display area where the second virtual character is located, and displaying the connecting line element connecting the first virtual character and the second virtual character.
Or based on the width data and the connecting line color of the connecting line elements corresponding to the plurality of second social accounts respectively, sequentially displaying the connecting line elements corresponding to the plurality of second social accounts respectively by taking the first virtual role as the center. The display sequence of the connecting line elements is determined according to the social affinity between the first social account and the second social account, and the larger the social affinity corresponding to the second social account is, the smaller (front) the display sequence of the corresponding connecting line elements is.
In some alternative embodiments, the player may control the display state of the relationship indicating element through the element control, and fig. 10 is a flowchart of a social element display method provided by an embodiment of the present application, where the method is applied to the terminal shown in fig. 2, and the method is described by taking an example as an illustration, and the method includes:
step 1001, a first virtual character in a virtual social scene is displayed.
The first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal.
Step 1002, a movement control operation for a first virtual character is received.
The movement control operation is used for controlling the first virtual character to move in the virtual social scene.
Step 1003, displaying a second virtual role corresponding to the second social account in the virtual social scene.
Illustratively, in the virtual social scene, in addition to the first virtual role, other virtual roles are displayed, where the virtual roles are second virtual roles, and are virtual roles controlled by other social accounts (i.e., the second social account).
At step 1004, an element control is displayed.
The element control is used for controlling the display state of the relation indicating element.
Optionally, when the element control is in an on state, representing a displayable relationship indication element; when the uniform velocity control is in the closed state, the non-displayable relation indicating element is indicated.
Optionally, the display condition of the element control includes at least one of the following:
1. An element control is displayed in the virtual social scene.
For illustration, please refer to fig. 11, an element control 1102 is displayed in the virtual social scene 1100; at this time, the displayed element control 1102 is in an off state, and no relationship indicating element can be displayed around the first virtual character 1101.
2. And displaying element control controls on a setting interface of the target application program.
Illustratively, the element control controls are displayed in a background setup interface of the target application, i.e., not directly in the virtual social scene. The player may set the switch of the element control in the background settings interface.
In step 1005, in response to receiving an opening operation of the element control, a relationship indicating element is displayed when the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene.
The relationship indicating element is used for indicating the association condition of the social association relationship between the first social account and the second social account through the element expression form.
Optionally, when the element control is in the closed state, in response to receiving a trigger operation on the element control, displaying the relationship indicating element under the condition that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene.
The triggering operation may be at least one of a single click operation, a double click operation, a long press operation, a sliding operation, a voice operation, a gesture operation, and the like, which is not limited in the embodiment of the present application.
For illustration, please refer to fig. 11, wherein an element control 1102 displayed in the virtual social scene 1100 is in an off state, and the element control 1102 is clicked; virtual social scene 1100 switches to virtual social scene 1110, where element control 1112 is in an on state, and within a first social distance of first virtual character 1111 (i.e., first virtual character 1101), radial lines (i.e., relationship indicating elements) centered on first virtual character 1111 are formed, which connect first virtual character 1111 and other virtual characters within the first social distance.
In some embodiments, the element control may not be displayed in the target application, and the display of the relationship indicating element may be turned on by a specified trigger operation. Optionally, in response to receiving a specified trigger operation in the virtual social scene, a relationship indication element is displayed in a case where the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene.
The specified triggering operation includes at least one of a single click operation, a double click operation, a long press operation, a sliding operation, a voice operation, a gesture operation, and the like, which is not limited in the embodiment of the present application.
Illustratively, the player may set a display trigger instruction for the relationship indication element at the target application interface, for example: when no relation indicating element is displayed in the virtual social scene (the second virtual character and the first virtual character meet the first social distance requirement), the relation indicating element can be displayed by double-clicking the virtual social scene interface; and (5) double clicking again, namely closing the display relation indicating element.
In some embodiments, the relationship indicating element is a fixed display element in the virtual social scene, i.e., the relationship indicating element is not an element displayed due to control operation options; the relationship indicating element is displayed as long as the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene. Optionally, displaying a moving animation of the first virtual character near the second virtual character; in the case where the distance between the first virtual character and the second virtual character reaches the first social distance, a relationship indicating element is displayed.
The first social distance refers to a first social distance corresponding to the first virtual character.
Alternatively, the moving animation of the first virtual character approaching the second virtual character refers to an animation that the first virtual character moves towards the second virtual character; or an animation in which the second virtual character moves toward the first virtual character; or an animation in which a first virtual character moves toward a second virtual character and the second virtual character moves toward the first virtual character.
In some embodiments, after displaying the relationship indicating element, in response to a change in a display position where the first virtual character or the second virtual character is located, the relationship indicating element is dynamically displayed in a case where the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene.
Schematically, if the relationship indication element is implemented as a connection line element, responding to the change of the display position where the first virtual character or the second virtual character is located, and the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, dynamically displaying the connection line element along with the change of the display position where the first virtual character and the second virtual character are located, and determining that the connection line element is always connected with the first virtual character and the second virtual character.
Schematically, if the relationship indication element is implemented as a circular area element displayed below the second virtual character, the response is that the display position where the second virtual character is located changes, and the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene, and as the display position where the second virtual character is located changes, the circular area element is dynamically displayed, and the relative position between the circular area element and the second virtual character is not changed.
Schematically, if the relationship indication element is implemented as a dynamic balloon element, the moving direction of the dynamic balloon element is changed along with the change of the display position of the first virtual character in response to the change of the display position of the first virtual character, and the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene.
In some embodiments, after displaying the relationship indicating element, in response to a change in a display position where the first virtual character or the second virtual character is located, the relationship indicating element is canceled when the first virtual character and the second virtual character do not meet the first social distance requirement in the virtual social scene.
Wherein, failing to meet the first social distance requirement may be implemented as a distance between the first virtual character and the second virtual character being greater than the first social distance.
Schematically, if the relationship indication element is implemented as a connection line element, responding to the change of the display position where the first virtual character or the second virtual character is located, and the first virtual character and the second virtual character do not meet the first social distance requirement in the virtual social scene, and disconnecting the connection line element between the first virtual character and the second virtual character.
Schematically, if the relationship indication element is implemented as a circular area element displayed under the second virtual character, in response to the change of the display position of the first virtual character or the second virtual character, and the first virtual character and the second virtual character do not meet the first social distance requirement in the virtual social scene, the circular area element displayed under the second virtual character is canceled to be displayed.
Schematically, if the relationship indication element is implemented as a dynamic balloon element, responding to the change of the display position where the first virtual character or the second virtual character is located, and the first virtual character and the second virtual character do not accord with the first social distance requirement in the virtual social scene, and canceling to display the dynamic balloon element.
In some embodiments, when the first avatar continues to move in the direction in which the target second avatar is located after the relationship indicating element is displayed, that is, it indicates that the first avatar intends to social with the target second avatar, the target social interface of the first avatar to the target second avatar may be automatically triggered, where the target social interface is used to provide a channel for the first avatar to social with the target second avatar.
Optionally, the target social interface includes a detail introduction interface of the target second virtual character, a chat interface of the target second virtual character, an interface for initiating a friend application to a social account corresponding to the target virtual character, and the like.
Optionally, in the case of displaying the relationship indicating element, in response to the distance between the first virtual character and the second virtual character reaching the second social distance, a character introduction interface of the second virtual character is displayed.
The second social distance is a distance corresponding to the first virtual character, and is smaller than the first social distance. Schematically, after the relationship indication element is displayed, the player can control the first virtual character to approach the second virtual character, when the distance between the first virtual character and the second virtual character reaches the second social distance, a character introduction interface of the second virtual character can be automatically triggered in the virtual social scene, the character introduction interface can be used for displaying detailed information of the second virtual character, and optionally, the character introduction interface also comprises a friend adding control for initiating a friend application of the second social account; the character introduction interface also comprises a chat removing control for initiating chat on the second social account.
Or in response to the distance between the first virtual character and the second virtual character reaching the second social distance, displaying a chat interface of the first virtual character and the second virtual character.
Schematically, the first social account and the second social account are in friend relation, and when the distance between the first virtual character and the second virtual character is smaller than or equal to the second social distance, the chat interface of the first virtual character and the second virtual character can be directly displayed.
Or in response to the distance between the first virtual character and the second virtual character reaching the second social distance, displaying a friend request interface, wherein the friend request interface is used for requesting to establish a friend relation with the second social account.
Illustratively, the social account corresponding to the first social account and the second virtual role are in a non-friend relationship, when the distance between the first virtual role and the second virtual role reaches the second social distance, a friend request interface can be directly displayed, and a player can initiate a request for establishing a friend relationship with the second social account on the interface.
In some embodiments, when a plurality of second virtual characters are displayed in the virtual social scene and the distance between the second virtual characters is smaller, the system cannot directly determine the virtual characters that the player wants to conduct social contact through the distance, and the target second virtual character can be determined from the plurality of second virtual characters based on the included angle between the ray corresponding to the moving direction of the first virtual character and the connecting line corresponding to the plurality of second virtual characters.
Optionally, the virtual social scene includes n second virtual roles, where n is a positive integer greater than 1. Then the display relationship indication element further comprises: receiving a movement control operation for moving the first virtual character in a target direction, wherein the target direction is the direction in which the first virtual character moves to the n second virtual characters; under the condition that k second virtual roles in the first virtual role and n second virtual roles simultaneously meet the requirement of a second social distance, determining skeleton point connecting lines corresponding to the k second virtual roles respectively, wherein the skeleton point connecting lines refer to connecting lines of a central skeleton point of the first virtual role and a central skeleton point of the second virtual role, k is a positive integer which is more than 1 and less than or equal to n, and the second social distance is less than the first social distance; determining a target second virtual role from the k second virtual roles based on included angles between skeleton point connecting lines corresponding to the k second virtual roles and rays corresponding to the target direction respectively; and displaying a target social interface corresponding to the target second virtual character, wherein the target social interface is used for providing a channel for the first virtual character to conduct social contact with the target second virtual character.
The description of the interface of the target society is described above, and is not repeated here.
For illustration, please refer to fig. 12, a first virtual role 1201, a second virtual role 1202 and a second virtual role 1203 are displayed in the virtual social scene 1200, and the first virtual role 1201 is a virtual role that is currently controlled by the terminal; a relationship indicating element is displayed between the first virtual character 1201 and the second virtual character 1202, and between the first virtual character 1201 and the second virtual character 1203; the player selects a second virtual character 1202 as a target social object according to the relationship indicating element, and the player controls the first virtual character 1201 to move towards the second virtual character 1202, at this time, the distances between the first virtual character 1201 and the second virtual character 1202, and between the first virtual character 1201 and the second virtual character 1203 are all shortened, and all reach a second social distance; however, since the included angle 1205 between the ray corresponding to the moving direction 1204 of the first avatar 1201 and the connecting line corresponding to the second avatar 1202 is larger than the included angle 1206 between the ray corresponding to the moving direction 1204 and the connecting line corresponding to the second avatar 1203, the target social interface between the first avatar 1201 and the second avatar 1202 is triggered in the virtual social scene 1200.
The connecting line corresponding to the second virtual character refers to a connecting line between the second virtual character and the first virtual character, the first virtual character and the second virtual character are realized as a three-dimensional model, and two end points of the connecting line are respectively a central skeleton point of the first virtual character and a central skeleton point of the second virtual character. For illustration, referring to fig. 12, point a is the central skeleton point of the first virtual character 1201, point B is the central skeleton point of the second virtual character 1202, and the connection line AB is the connection line corresponding to the second virtual character 1202.
Optionally, the ray corresponding to the moving direction of the first virtual character is a ray taking the central skeleton point of the first virtual character as an endpoint, and referring to fig. 12, schematically, point a is the central skeleton point of the first virtual character 1201, and the moving direction of point a is parallel to move to the left, where the ray AC is the ray corresponding to the moving direction of the first virtual character 1201.
In some embodiments, in response to the distance between the first virtual character and the plurality of second virtual characters reaching the second social distance, and the social affinity between the first virtual character and a designated second virtual character of the plurality of second virtual characters being greater than the social affinity between the first virtual character and other second virtual characters of the plurality of second virtual characters, triggering a target social interface of the first virtual character to the designated second virtual character.
The method for determining social affinity between virtual roles is described in the above embodiments, and is not described herein.
In summary, according to the social element display method provided by the embodiment of the application, the first virtual role and the second virtual role are displayed in the virtual social scene, and when the first virtual role and the second virtual role meet the first social distance requirement, the relationship indicating element is displayed, and the relationship indicating element can represent the association condition of the social association relationship between the first social account and the second social account through the corresponding element representation form. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.
According to the method provided by the embodiment of the application, the relation indicating element is displayed by receiving the opening operation of the element control, so that a player can cancel or open the display of the relation indicating element more conveniently, and the flexibility of the display of the relation indicating element is improved.
According to the method provided by the embodiment of the application, after the first virtual character continues to move towards the direction of the target second virtual character after the relation indicating element is displayed, the target social interface of the first virtual character to the target second virtual character can be automatically triggered, so that the social efficiency of a player in a virtual social scene is increased; and determining a target second virtual character from the plurality of second virtual characters based on the included angle between the ray corresponding to the moving direction of the first virtual character and the connecting line corresponding to the plurality of second virtual characters, thereby improving the coincidence degree between the target second virtual character determined by the computer and the actual target social object of the player.
For schematic illustration, the following describes an operation flow of the social element display method provided by the embodiment of the present application, taking the implementation of the relationship indicating element as a connecting line element as an example, please refer to fig. 13, the operation flow includes the following steps:
S1301: the first virtual character enters a virtual social scene.
Schematically, a player can log in a social application program of a terminal, and a login account is a first social account; after entering the social application, the player may choose to enter a virtual social scene in which the player will display the first virtual character.
S1302: and determining other virtual roles to be displayed with the connecting lines in the virtual social scene according to the rules.
Schematically, the first virtual character corresponds to a first social distance, and when the distance between other virtual characters and the first virtual character is smaller than or equal to the first social distance, the other virtual characters are indicated to meet the requirements, that is, the other virtual characters are virtual characters displaying connecting lines.
The other virtual roles are virtual roles controlled by other social accounts.
S1303: and determining a connection line style and a label to be displayed according to the social relationship between the first virtual character and other virtual characters.
Schematically, according to the social information corresponding to the first social account and the social information corresponding to other social accounts, the width, the color and the labels of the connecting lines corresponding to other virtual roles are determined based on the association condition of the social association relationship between the social information corresponding to the first social account and the social information corresponding to other social accounts.
S1304: starting from the first virtual character, connecting with other virtual characters.
Illustratively, according to the widths and the colors of the connecting lines corresponding to the other virtual roles, starting from the first virtual role, connecting the first virtual role with the other virtual roles, and displaying the labels on the connecting lines.
In the following, a time sequence flow of the social element display method provided by the embodiment of the present application between the object layer, the client presentation layer and the background logic layer is described by taking the relationship indication element implemented as a connection line element as an example, please refer to fig. 14, and the time sequence flow includes the following steps:
S1401: and displaying the first virtual character to enter the virtual social scene.
Schematically, a player can log in a social application program of a terminal, and a login account is a first social account; after entering the social application, the player may choose to enter a virtual social scene in which the player will display the first virtual character.
S1402: the client presentation layer passes the coordinates of the virtual character to the background logical layer.
Schematically, when the first virtual character enters the virtual social scene, the client performance layer corresponding to the virtual social scene sends display coordinates of the virtual characters (including the first virtual character and the second virtual character) in the virtual social scene to the background logic layer, and the background logic layer calculates the distance between the first virtual character and the second virtual character according to the display coordinates.
The second virtual role is a virtual role controlled by the second social account.
S1403: the background logic layer returns the coordinates, the connection line patterns and the label information of the second virtual character generating the connection line to the client presentation layer.
Schematically, after the distance between the first virtual character and the second virtual character is calculated, if the distance is smaller than or equal to the first social distance corresponding to the first virtual character, determining that the second virtual character is the virtual character needing to generate the connection line; after the second virtual roles needing to generate the connection are determined, determining the connection width, the color and the label data displayed on the connection of the second virtual roles according to the social information corresponding to the first social account and the social association relation between the second social accounts, and determining the coordinate data of each second virtual role needing to generate the connection.
And returning the coordinate data, the connecting line width and the color of the second virtual character and the label data displayed on the connecting line to the client presentation layer.
S1404: the connection lines and labels are drawn at the object layer.
Illustratively, from the first virtual character, a link with the second virtual character is drawn based on the coordinate data, link width, and color of the second virtual character, while tag data is displayed on the link.
Referring to fig. 15, a block diagram of a social element display device according to an exemplary embodiment of the present application is shown, where the device includes the following modules:
The display module 1500 is configured to display a first virtual role in a virtual social scene, where the first virtual role is a virtual role that is controlled by a current terminal, and the first virtual role corresponds to a first social account that the current terminal logs in;
a receiving module 1510, configured to receive a movement control operation for the first virtual character, where the movement control operation is used to control the first virtual character to move in the virtual social scene;
The display module 1500 is further configured to display a second virtual role corresponding to a second social account in the virtual social scene;
The display module 1500 is further configured to display a relationship indicating element, where the relationship indicating element is used to indicate, by an element representation, a relationship of a social association between the first social account and the second social account when the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene.
Referring to fig. 16, in some alternative embodiments, the display module 1500 is further configured to display an element control, where the element control is configured to control a display state of the relationship indicating element; the receiving module 1510 is configured to display the relationship indicating element when the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene in response to receiving an opening operation of the element control.
In some alternative embodiments, the display module 1500 includes:
A determining unit 1501, configured to determine size data of the relationship indicating element based on social affinity between the first social account and the second social account, where the social affinity and the size data are in a positive correlation relationship; the display module 1500 is further configured to display the relationship indicating element according to the size data of the relationship indicating element.
In some optional embodiments, the determining unit 1501 is configured to determine, based on a social relationship type between the first social account and the second social account, a filling style corresponding to the relationship indicating element; the display module 1500 is further configured to display the relationship indication element according to a filling style corresponding to the relationship indication element.
In some optional embodiments, the determining unit 1501 is configured to determine a display duration of the relationship indicating element based on a social affinity between the first social account and the second social account, where the social affinity and the display duration are in a positive correlation; the display module 1500 is further configured to display the relationship indication element according to a display duration of the relationship indication element.
In some optional embodiments, the determining unit 1501 is configured to determine a social relationship label according to a similarity between a social label corresponding to the first social account and a social label corresponding to the second social account, where the social relationship label is used to characterize a superposition condition of the first social account and the second social account on the social label; the display module 1500 is further configured to display the social relationship tag on the relationship indication element.
In some optional embodiments, the display module 1500 is further configured to display a connection line element that connects the first virtual character and the second virtual character, and use the connection line element as the relationship indication element.
In some optional embodiments, the display module 1500 is further configured to display the connection line element while displaying a moving object drawn in a preset shape on the connection line element if a social affinity between the first social account and the second social account reaches a first affinity threshold; the display module 1500 is further configured to display an animation in which the moving object is circularly translated on the connection line element based on a preset time period.
In some optional embodiments, the display module 1500 is further configured to display an area element at a display location where the second virtual character is located, and use the area element as the relationship indication element; or the dynamic balloon element which moves from the display position of the second virtual character to the display position of the first virtual character is used as the relation indication element.
In some alternative embodiments, the display module 1500 is further configured to display an affinity setting interface, where the affinity setting interface is configured to set an affinity threshold; the receiving module 1510 is further configured to determine a second affinity threshold in response to receiving a threshold setting operation in the affinity setting interface; the display module 1500 is further configured to display the relationship indication element if the social affinity between the first social account and the second social account reaches a second affinity threshold.
In some optional embodiments, the virtual social scene includes n second virtual roles, where n is a positive integer greater than 1; the receiving module 1510 is configured to receive a movement control operation for moving the first virtual character in a target direction, where the target direction is a direction in which the first virtual character moves toward the n second virtual characters; the determining unit 1501 is configured to determine, when k second virtual roles in the first virtual role and the n second virtual roles simultaneously meet a second social distance requirement, skeletal point connection lines corresponding to the k second virtual roles, where the skeletal point connection lines refer to connection lines between a central skeletal point of the first virtual role and a central skeletal point of the second virtual role, k is a positive integer greater than 1 and less than or equal to n, and the second social distance is less than the first social distance; the determining unit 1501 is configured to determine a target second virtual character from the k second virtual characters based on angles between skeleton point lines corresponding to the k second virtual characters and rays corresponding to the target directions, respectively; the display module 1500 is further configured to display a target social interface corresponding to the target second virtual character, where the target social interface is configured to provide a social channel with the target second virtual character for the first virtual character.
In summary, by displaying the first virtual role and the second virtual role in the virtual social scene, the social element display device provided by the embodiment of the application displays the relationship indicating element when the first virtual role and the second virtual role meet the first social distance requirement, and the relationship indicating element can represent the association condition of the social association relationship between the first social account and the second social account through the corresponding element representation form. On one hand, the relationship indicating element can provide more visual information for the player, so that the player can quickly understand and recognize social relationship with other players, and the player can acquire social information more efficiently; on the other hand, the display of the relation indicating element assists the player in quickly screening the social objects, so that the enthusiasm and efficiency of the player in social contact in the virtual social contact scene are improved.
It should be noted that: in the social element display apparatus provided in the above embodiment, only the division of the above functional modules is used as an example, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the social element display device and the social element display method provided in the foregoing embodiments belong to the same concept, and detailed implementation processes of the social element display device and the social element display method are detailed in the method embodiments, which are not repeated herein.
Fig. 17 shows a block diagram of a computer device 1700 provided by an exemplary embodiment of the application. The computer device 1700 may be: a smart phone, a tablet computer, a dynamic video expert compression standard audio layer 3 player (Moving Picture Experts Group Audio Layer III, MP 3), a dynamic video expert compression standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP 4) player, a notebook computer, or a desktop computer. Computer device 1700 may also be referred to by other names of user devices, portable computer devices, laptop computer devices, desktop computer devices, and the like.
In general, the computer device 1700 includes: a processor 1701 and a memory 1702.
The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1701 may be implemented in hardware in at least one of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1701 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a central processor (Central Processing Unit, CPU); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1701 may be integrated with an image processor (Graphics Processing Unit, GPU) that is responsible for rendering and rendering of the content that the display screen is required to display. In some embodiments, the processor 1701 may also include an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor for processing computing operations related to machine learning.
Memory 1702 may include one or more computer-readable storage media, which may be non-transitory. Memory 1702 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 1702 is used to store at least one instruction for execution by processor 1701 to implement the social element display method provided by the method embodiments of the present application.
Illustratively, the computer device 1700 also includes other components, and those skilled in the art will appreciate that the structure illustrated in FIG. 17 is not limiting of the computer device 1700, and may include more or less components than illustrated, or may combine certain components, or employ a different arrangement of components.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing related hardware, and the program may be stored in a computer readable storage medium, which may be a computer readable storage medium included in the memory of the above embodiments; or may be a computer-readable storage medium, alone, that is not assembled into a computer device. The computer readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the social element display method according to any one of the above embodiments.
Alternatively, the computer-readable storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), solid state disk (SSD, solid STATE DRIVES), or optical disk, etc. The random access memory may include resistive random access memory (ReRAM, RESISTANCE RANDOM ACCESS MEMORY) and dynamic random access memory (DRAM, dynamic Random Access Memory), among others. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (15)

1. A method of displaying social elements, the method comprising:
Displaying a first virtual role in a virtual social scene, wherein the first virtual role is a virtual role controlled by a current terminal and corresponds to a first social account number logged in by the current terminal;
Receiving a movement control operation of the first virtual character, wherein the movement control operation is used for controlling the first virtual character to move in the virtual social scene;
displaying a second virtual role corresponding to the second social account in the virtual social scene;
And displaying a relationship indicating element under the condition that the first virtual role and the second virtual role meet the first social distance requirement in the virtual social scene, wherein the relationship indicating element is used for indicating the association condition of the social association relationship between the first social account and the second social account through an element expression form.
2. The method of claim 1, wherein the displaying a relationship indication element if the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene comprises:
displaying an element control, wherein the element control is used for controlling the display state of the relation indicating element;
And in response to receiving an opening operation of the element control, displaying the relationship indicating element under the condition that the first virtual character and the second virtual character meet the first social distance requirement in the virtual social scene.
3. The method of claim 1, wherein the displaying a relationship indicating element comprises:
Determining size data of the relation indicating element based on social affinity between the first social account and the second social account, wherein the social affinity and the size data are in positive correlation;
And displaying the relation indicating element according to the size data of the relation indicating element.
4. The method of claim 1, wherein the displaying a relationship indicating element comprises:
determining a filling style corresponding to the relation indicating element based on the social relation type between the first social account and the second social account;
And displaying the relation indicating elements according to the filling patterns corresponding to the relation indicating elements.
5. The method of claim 1, wherein the displaying a relationship indicating element comprises:
Determining the display duration of the relation indicating element based on the social affinity between the first social account and the second social account, wherein the social affinity and the display duration are in positive correlation;
And displaying the relation indicating element according to the display time of the relation indicating element.
6. The method according to any one of claims 1 to 5, further comprising:
Determining a social relation label according to the similarity between the social label corresponding to the first social account and the social label corresponding to the second social account, wherein the social relation label is used for representing the superposition condition of the first social account and the second social account on the social label;
The social relationship tab is displayed on the relationship indication element.
7. The method of any one of claims 1 to 5, wherein displaying the relationship indicating element comprises:
and displaying a connecting line element for connecting the first virtual character and the second virtual character, and taking the connecting line element as the relation indicating element.
8. The method of claim 7, wherein the method further comprises:
Displaying the connecting line element under the condition that the social affinity between the first social account and the second social account reaches a first affinity threshold, and simultaneously displaying a mobile object drawn in a preset shape on the connecting line element;
And displaying the animation of the moving object circularly translating on the connecting line element based on a preset time period.
9. The method of any one of claims 1 to 5, wherein displaying the relationship indicating element comprises:
Displaying a region element at a display position where the second virtual character is located, and taking the region element as the relation indicating element;
Or alternatively
Displaying a dynamic balloon element moving from the display position of the second virtual character to the display position of the first virtual character, and taking the dynamic balloon element as the relation indication element.
10. The method of any of claims 1 to 5, wherein, if the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene, further comprising, before displaying a relationship indicating element:
displaying an affinity setting interface, wherein the affinity setting interface is used for setting an affinity threshold;
Determining a second affinity threshold in response to receiving a threshold setting operation in the affinity setting interface;
the display relationship indicating element includes:
And displaying the relation indicating element under the condition that the social affinity between the first social account and the second social account reaches a second affinity threshold.
11. The method according to any one of claims 1 to 5, wherein the virtual social scene includes n second virtual roles, n being a positive integer greater than 1;
the display relationship indication element further comprises:
Receiving a movement control operation for moving the first virtual character in a target direction, wherein the target direction is the direction in which the first virtual character moves to the n second virtual characters;
Under the condition that k second virtual roles in the first virtual role and the n second virtual roles simultaneously meet the requirement of a second social distance, determining skeleton point connecting lines corresponding to the k second virtual roles respectively, wherein the skeleton point connecting lines refer to connecting lines of a central skeleton point of the first virtual role and a central skeleton point of the second virtual role, k is a positive integer which is more than 1 and less than or equal to n, and the second social distance is less than the first social distance;
determining a target second virtual role from the k second virtual roles based on included angles between skeleton point connecting lines respectively corresponding to the k second virtual roles and rays corresponding to the target direction;
and displaying a target social interface corresponding to the target second virtual character, wherein the target social interface is used for providing a channel for the first virtual character to conduct social contact with the target second virtual character.
12. A social element display apparatus, the apparatus comprising:
The display module is used for displaying a first virtual role in the virtual social scene, wherein the first virtual role is a virtual role controlled by the current terminal and corresponds to a first social account logged in by the current terminal;
The receiving module is used for receiving a movement control operation of the first virtual character, and the movement control operation is used for controlling the first virtual character to move in the virtual social scene;
The display module is further used for displaying a second virtual role corresponding to the second social account in the virtual social scene;
the display module is further configured to display a relationship indicating element when the first virtual character and the second virtual character meet a first social distance requirement in the virtual social scene, where the relationship indicating element is configured to indicate, through an element representation, a relationship condition of a social association relationship between the first social account and the second social account.
13. A computer device comprising a processor and a memory, wherein the memory has stored therein at least one program that is loaded and executed by the processor to implement the social element display method of any of claims 1 to 11.
14. A computer readable storage medium having stored therein at least one program code loaded and executed by a processor to implement the social element display method of any of claims 1 to 11.
15. A computer program product comprising a computer program which when executed by a processor implements a social element display method as claimed in any one of claims 1 to 11.
CN202310084698.9A 2023-01-17 2023-01-17 Social element display method, device, equipment, medium and program product Pending CN118363687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310084698.9A CN118363687A (en) 2023-01-17 2023-01-17 Social element display method, device, equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310084698.9A CN118363687A (en) 2023-01-17 2023-01-17 Social element display method, device, equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN118363687A true CN118363687A (en) 2024-07-19

Family

ID=91878918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310084698.9A Pending CN118363687A (en) 2023-01-17 2023-01-17 Social element display method, device, equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN118363687A (en)

Similar Documents

Publication Publication Date Title
US9223469B2 (en) Configuring a virtual world user-interface
CN109885367B (en) Interactive chat implementation method, device, terminal and storage medium
CN108984087B (en) Social interaction method and device based on three-dimensional virtual image
US9117193B2 (en) Method and system for dynamic detection of affinity between virtual entities
EP4157473A1 (en) Automated generation of game tags
TWI803224B (en) Contact person message display method, device, electronic apparatus, computer readable storage medium, and computer program product
US11969649B2 (en) Prominent display of targeted game in search results
CN115857704A (en) Exhibition system based on metauniverse, interaction method and electronic equipment
CN114885199B (en) Real-time interaction method, device, electronic equipment, storage medium and system
US12383833B2 (en) Optimized player positioning system in virtual experiences
US20250227336A1 (en) Recommending relevant content augmentations based on context
CN116563496A (en) Social interaction method and related equipment
Punt et al. An integrated environment and development framework for social gaming using mobile devices, digital TV and Internet
US20250061685A1 (en) Automatic extraction of salient objects in virtual environments for object modification and transmission
CN117695634A (en) Interface interaction method and device, electronic equipment and computer storage medium
CN118363687A (en) Social element display method, device, equipment, medium and program product
CN115645913A (en) Game screen rendering method, device, storage medium and computer equipment
CN116151879A (en) Information interaction method, device, equipment and storage medium
US20250269282A1 (en) Locating virtual character in virtual scenes
US20240338900A1 (en) Optical character recognition for augmented images
CN112637640B (en) Video interaction method and device
CN116943243A (en) Interaction method, device, equipment, medium and program product based on virtual scene
CN120381657A (en) A game processing method and related device
CN120478967A (en) Information display method, device, equipment and storage medium
CN120114849A (en) Content push method, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication