Social interaction method, computer device, storage medium, and computer program product
The 3D Earth model-based social interaction method enriches social software interactions by using geographical location and user profiles to dynamically display and connect users, enhancing engagement and variety.
Patent Information
- Application Number
- CN202211343726.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2042-10-31
AI Technical Summary
In existing social software, the interaction form of sliding cards is relatively single, lacking innovation and interactivity.
By displaying the earth model on the social page, the account identifiers of multiple social accounts are matched according to the user's user portrait information and the real geographical location, and interact through swiping, long pressing and other operations to display the user information page and chat interface.
It enriches the forms of social interaction, improves the user's interactive experience and social exploration, and enhances the display effect of social interaction.
Smart Images

Figure CN115766637B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to a social interaction method, a computer device, a storage medium, and a computer program product. Background Art
[0002] With the development of Internet technologies, users around the world can make friends and communicate through social software, providing opportunities for online social interaction for the majority of users.
[0003] In existing social software, the form of sliding cards is usually used to interact with objects for social interaction. However, the interaction form of sliding cards is relatively single. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a social interaction method, a computer device, a computer-readable storage medium, and a computer program product that can enrich the form of social interaction.
[0005] In a first aspect, this application provides a social interaction method. The method includes:
[0006] Display a target social page; a globe model is displayed on the target social page; account identifiers of a plurality of accounts to be socially interacted that match the current account are displayed on the globe model; the accounts to be socially interacted are obtained based on the user portrait information of the current account and the real geographical location of the accounts to be socially interacted;
[0007] In response to a selection operation on the account identifiers of the plurality of accounts to be socially interacted, display a user information page corresponding to the selected target social account.
[0008] In one embodiment, after the globe model is displayed on the target social page, the method further includes:
[0009] In response to a sliding operation on the globe model displayed on the target social page, obtain sliding information; the sliding information includes sliding distance information and sliding direction information;
[0010] Scroll and display the globe model on the target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information; the rotation circumference is determined according to the sliding distance information.
[0011] In one embodiment, scrolling and displaying the globe model on the target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information includes:
[0012] When the sliding distance information meets the first sliding distance range, on the target social interface, roll and display the earth model 0.25 turns in accordance with the sliding direction information;
[0013] When the sliding distance information meets the second sliding distance range, on the target social interface, roll and display the earth model half a turn in accordance with the sliding direction information;
[0014] When the sliding distance information meets the third sliding distance range, on the target social interface, roll and display the earth model 1.5 turns in accordance with the sliding direction information.
[0015] In one embodiment, after the earth model is displayed on the target social page, it further includes:
[0016] In response to a long - press operation on the earth model displayed on the target social page, stop the display of the account identifiers of each pending social account in the earth model, and display a preset animation corresponding to the long - press operation on the target social page; the preset animation includes an account matching animation and an earth model rolling animation;
[0017] When the long - press operation stops, obtain a matching social account that matches the current account; the matching social account is obtained by matching according to the operation time of the long - press operation and the user portrait information of the current account;
[0018] According to the real geographical location of the current account and the real geographical location of the matching social account, display the account identifier of the current account and the account identifier of the matching social account on the earth model.
[0019] In one embodiment, after displaying the account identifier of the current account and the account identifier of the matching social account on the earth model according to the real geographical location of the current account and the real geographical location of the matching social account, it further includes:
[0020] In response to a selection operation on the account identifier of the matching social account, display a chat page between the current account and the matching social account;
[0021] On the chat page, display preset interaction information.
[0022] In one embodiment, the account identifier includes the avatar information and voice information;
[0023] The display of the earth model on the target social page includes:
[0024] In the target social page, display a globe model carrying the account identifier of the current account.
[0025] In one embodiment, after displaying the globe model carrying the account identifier of the current account, it further includes:
[0026] Obtain the scrolling speed of the globe model;
[0027] Scroll and display the globe model in the target social interface according to the scrolling speed of the globe model;
[0028] On the globe model, display the account identifiers of the current to-be-social accounts corresponding to the geographical location range of the currently scrolled and displayed globe model among the multiple to-be-social accounts, and stop displaying the account identifiers of the accounts other than the current to-be-social accounts among the multiple to-be-social accounts; the current to-be-social accounts are filtered from the multiple to-be-social accounts according to the real geographical locations of the multiple to-be-social accounts.
[0029] In one embodiment, the social interaction method further includes:
[0030] In response to a pause operation on the globe model scrolled and displayed in the target social page, stop the scrolling display of the globe model in the target social page.
[0031] In one embodiment, after stopping the scrolling display of the globe model in the target social page in response to a pause operation on the globe model scrolled and displayed in the target social page, it further includes:
[0032] Obtain the time information after the end of the pause operation;
[0033] When the time information meets the preset end time condition, scroll and display the globe model again in the target social interface according to the scrolling speed of the globe model.
[0034] In a second aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0035] Display a target social page; a globe model is displayed in the target social page; the account identifiers of multiple to-be-social accounts matching the current account are displayed on the globe model; the to-be-social accounts are obtained according to the user portrait information of the current account and the real geographical locations of the to-be-social accounts;
[0036] In response to a selection operation on the account identifiers of the multiple social accounts to be interacted with, display the user information page corresponding to the selected target social account.
[0037] In a third aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0038] Display a target social page; a globe model is displayed in the target social page; account identifiers of multiple social accounts to be interacted with that match the current account are displayed on the globe model; the social accounts to be interacted with are obtained based on the user profile information of the current account and the real geographical location of the social accounts to be interacted with;
[0039] In response to a selection operation on the account identifiers of the multiple social accounts to be interacted with, display the user information page corresponding to the selected target social account.
[0040] In a fourth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0041] Display a target social page; a globe model is displayed in the target social page; account identifiers of multiple social accounts to be interacted with that match the current account are displayed on the globe model; the social accounts to be interacted with are obtained based on the user profile information of the current account and the real geographical location of the social accounts to be interacted with;
[0042] In response to a selection operation on the account identifiers of the multiple social accounts to be interacted with, display the user information page corresponding to the selected target social account.
[0043] For the above social interaction method, computer device, storage medium, and computer program product, by displaying a target social page; a globe model is displayed in the target social page; account identifiers of multiple social accounts to be interacted with that match the current account are displayed on the globe model; the social accounts to be interacted with are obtained based on the user profile information of the current account and the real geographical location of the social accounts to be interacted with; in response to a selection operation on the account identifiers of the multiple social accounts to be interacted with, display the user information page corresponding to the selected target social account. In the present application, by displaying an interactive globe model on the target device page and also displaying account identifiers of multiple social accounts to be interacted with that match the current account on the globe model, therefore, during the interaction process of the current account with the globe model, select social accounts to be interacted with for social interaction, thereby improving the social interaction display effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a schematic flowchart of the social interaction method in an embodiment;
[0045] Figure 2 Schematic diagram of a globe model carrying multiple account identifiers displayed on a target social page in an embodiment;
[0046] Figure 3 Schematic diagram of a user information page in an embodiment;
[0047] Figure 4 Schematic diagram of a sliding operation on the globe model displayed on a target social page in an embodiment;
[0048] Figure 5 Schematic diagram of scrolling and displaying a globe model on a target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information in an embodiment;
[0049] Figure 6 Schematic diagram of sliding the globe model displayed on a target social page from left to right in an embodiment;
[0050] Figure 7 Schematic diagram of a long - press operation on the globe model displayed on a target social page in an embodiment;
[0051] Figure 8 Schematic diagram of making the account identifier of a matching social account displayed at the center of the globe model in an embodiment;
[0052] Figure 9 Schematic diagram of a chat page between the current account and a matching social account in an embodiment;
[0053] Figure 10 Internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0054] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the following further details the present application in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] In one embodiment, as Figure 1As shown, a social interaction method is provided. In this embodiment, the method is exemplified by being applied to a terminal. It can be understood that the method can also be applied to a server, or to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be implemented by an independent server or a server cluster composed of multiple servers. In this embodiment, the method includes the following steps:
[0056] Step S101, display a target social page; multiple account identifiers of pending social accounts that match the current account are displayed on the target social page; a globe model is displayed on the globe model; the pending social accounts are obtained according to the user portrait information of the current account and the real geographical location of the pending social account.
[0057] Among them, the target social page refers to a page on the terminal where the current account can perform social behaviors or display social data. For example, the target social page can be a stranger dating page on a music platform, etc.
[0058] Among them, the globe model refers to an interactive graphic in the form of the earth. For example, the globe model can be a 3D form of the earth.
[0059] Among them, the current account refers to the user account that is currently browsing, socializing, interacting, etc. on the target social page. The pending social account refers to the user account that has a social matching relationship with the current account.
[0060] Among them, the user portrait information refers to the data that describes the user's attributes, behaviors, preferences, and other user characteristics. For example, the user portrait information can be the user's gender, age, language, geographical location, number of published works, account recharge amount, etc.
[0061] Among them, the real geographical location refers to the real coordinate position information of the user account. For example, the real geographical location can be a country, a city, latitude and longitude coordinates.
[0062] Among them, the account identifier refers to the identification information of the account. For example, the avatar of the account, the voice of the account, etc.
[0063] Specifically, when the current account needs online social interaction, it can enter the target social page through the terminal. A globe model is displayed on the target social page. The terminal obtains the user portrait information of the current account, and based on the user portrait information, performs account matching processing and account screening processing on the current account to obtain a social account to be matched with the current account. For example, through account matching processing on the current account, the matching degrees between the current account and each account to be screened are obtained, and the accounts to be screened are sorted from high to low according to the matching degrees to obtain the account sorting result of the accounts to be screened. The accounts to be screened that meet the first matching degree condition are selected from the account sorting result as the social accounts to be. Among them, there can be multiple such social accounts to be. For example, the current account A can be matched with 50 accounts such as the social account B, the social account C, and the social account D.
[0064] In addition, the terminal can add a refresh control on the target social page. The current account can also click the refresh control to trigger a request for refreshing the display of the social accounts to be. After the current account clicks the refresh control, the terminal can respond to the request for refreshing the display of the social accounts to be, and select the accounts that meet the second matching degree condition from the account sorting result as the social accounts to be. Among them, the matching degree range indicated by the first matching degree condition is higher than the matching degree range indicated by the second matching degree condition. In the case where the number of requests for refreshing the display of the social accounts to be triggered by the current account exceeds the request quantity threshold, or in the case where the matching degree range indicated by the Nth matching degree condition after multiple refreshes is lower than the set matching degree threshold, the terminal generates a prompt message (such as prompting the current account that "there are no more users available for social interaction"), and displays the prompt message on the target social page.
[0065] For example, assume that there are 100 accounts in the account sorting result that are matched with the current account. Initially, the terminal can select the top 50 accounts with the highest matching degrees from the account sorting result as the social accounts to be, and display the account identifiers of the social accounts to be on the globe model. After the current account clicks the refresh control, the terminal selects the last 50 accounts with the highest matching degrees from the account sorting result as the social accounts to be.
[0066] It should be noted that the number of accounts to be screened obtained by the terminal through matching is at least twice the number of social accounts to be displayed on the globe model, so that after the current account clicks the refresh control, it can actively refresh the account identifiers of the social accounts to be displayed on the globe model, and can also provide a dynamic refresh effect for the account identifiers of the social accounts to be when the globe model is scrolled and displayed by default.
[0067] Furthermore, Figure 2 is a schematic diagram of the terminal displaying a globe model with multiple account identifiers on the target social page, as Figure 2As shown, the terminal obtains the Earth model and the account identifier of the social account. The terminal adds the account identifiers of each social account to be added according to the actual geographical locations of each social account to be added to the Earth model. For example, the terminal adds the avatar and personalized voice of the social account to be added to the Earth model. Therefore, the current account can view the avatars, personalized voices, and geographical locations of multiple accounts on the Earth model in the target social page. In addition, to prevent the account identifiers of the social accounts to be added from gathering in a small area of the Earth model and affecting the overall visual experience of the current account, the terminal can also select the account identifiers of the social accounts to be added that meet the preset distance threshold according to the distances between the actual geographical locations of each social account to be added, and display them on the Earth model, while hiding the display of the account identifiers of the social accounts to be added that do not meet the preset distance threshold.
[0068] Step S102, in response to a selection operation on the account identifiers of multiple social accounts to be added, display the user information page corresponding to the selected target social account.
[0069] Among them, the user information page refers to the page on the terminal that displays account-related information. For example, the user information page can display the user's avatar, nickname, gender, photos, country, city, account level, the number of published works, etc.
[0070] Among them, the target social account refers to the account whose user information the current account selects to view.
[0071] After the terminal displays the Earth model with account identifiers on the target social page, the current account can select one of the multiple social accounts to be added displayed on the Earth model to view its user information, and use the selected social account to be added as the target social account. Specifically, the current account's selection operation on the target social account can be triggered by clicking on the account identifier of the selected target social account. At this time, the terminal responds to this selection operation and floats the user information page of the target social account on the target social page. The schematic diagram of the user information page is as Figure 3 shown.
[0072] In the above social interaction method, a target social page is displayed; a globe model is displayed on the target social page; account identifiers of multiple social accounts to be matched with the current account are displayed on the globe model; the social accounts to be matched are obtained based on the user portrait information of the current account and the real geographical location of the social accounts to be matched; in response to a selection operation on the account identifiers of the multiple social accounts to be matched, a user information page corresponding to the selected target social account is displayed. In this application, a clickable globe model is displayed on the target device page, and at the same time, account identifiers of multiple social accounts to be matched with the current account can be displayed on the globe model. Therefore, during the interaction with the globe model by the current account, a social account to be matched is selected for social interaction, thereby improving the social interaction display effect.
[0073] In one embodiment, after a globe model is displayed on the target social page, the method further includes: in response to a sliding operation on the globe model displayed on the target social page, obtaining sliding information; the sliding information includes sliding distance information and sliding direction information; scrolling and displaying the globe model on the target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information; the rotation circumference is determined according to the sliding distance information.
[0074] Among them, the sliding information refers to the relevant information of the sliding operation performed by the user on the globe model. The sliding distance information refers to the distance that the user slides when performing a sliding operation on the globe model. The sliding direction information refers to the direction in which the user slides when performing a sliding operation on the globe model.
[0075] Among them, the rotation circumference refers to the circumference that the globe model needs to rotate based on the sliding operation of the current account.
[0076] During the display of the globe model on the target social page, the current account can actively slide the globe model to actively view the social accounts to be matched at different positions on the globe model. Specifically, as Figure 4 shown, when the current account performs a sliding operation on the globe model displayed on the target social page, the sliding operation can be triggered by sliding the globe model in a certain direction. At this time, the terminal responds to the sliding operation and captures the corresponding sliding information of the sliding operation. The terminal determines the rotation direction of the globe model according to the sliding direction information in the sliding information, and at the same time determines the rotation circumference information of the globe model according to the sliding distance information in the sliding information; then the terminal rotates and displays the globe model on the target social interface according to the rotation direction and the rotation circumference information, so that the user can view the corresponding social accounts to be matched on the rotated globe model.
[0077] For example, the Earth model on the target social page currently shows the account identifier of the to-be-socialized account located in the Americas region. When the current account wants to view the to-be-socialized accounts in the Asian region, the current account can slide the currently displayed Earth model to the left by a certain distance. At this time, the terminal responds to the sliding operation of the current account, rotates the Earth model to the left to the Asian region, and adds the account identifiers of the to-be-socialized accounts in the Asian region to the Earth model for the current user to perform a selection operation on the account identifiers of the to-be-socialized accounts in the Asian region.
[0078] In this embodiment, the current account can also perform a sliding operation on the Earth model displayed on the target social page. At this time, the terminal can respond to the sliding operation and obtain the sliding information corresponding to the sliding operation. Furthermore, the terminal determines the rotation circumference information according to the sliding direction information and the sliding distance information in the sliding information, and scrolls and displays the Earth model on the target social interface according to the rotation circumference information, thereby improving the exploration of the Earth model displayed on the target social page.
[0079] In one embodiment, scrolling and displaying the Earth model on the target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information includes: when the sliding distance information satisfies the first sliding distance range, on the target social interface, scroll and display the Earth model by 0.25 circles according to the sliding direction information; when the sliding distance information satisfies the second sliding distance range, on the target social interface, scroll and display the Earth model by half a circle according to the sliding direction information; when the sliding distance information satisfies the third sliding distance range, on the target social interface, scroll and display the Earth model by 1.5 circles according to the sliding direction information.
[0080] Among them, the first sliding distance range refers to the range of the sliding distance information indicating that the Earth model is scrolled and displayed by 0.25 circles. The second sliding distance range refers to the range of the sliding distance information indicating that the Earth model is scrolled and displayed by 0.5 circles. The third sliding distance range refers to the range of the sliding distance information indicating that the Earth model is scrolled and displayed by 1.5 circles. For example, the first sliding distance range can be [0.5 cm, 1 cm], the second sliding distance range can be (1 cm, 2 cm], and the third sliding distance range can be greater than 2 cm.
[0081] Such as Figure 5As shown, the sliding distance information in the sliding information corresponding to the sliding operation performed by the current account on the globe model displayed on the target social page can satisfy the first sliding distance range, can also satisfy the second sliding distance range, and can also satisfy the third sliding distance range. When the sliding distance information satisfies the first sliding distance range, the terminal scrolls and displays the globe model currently shown on the target social interface by 0.25 turns in accordance with the sliding direction information; when the sliding distance information satisfies the second sliding distance range, the terminal scrolls and displays the globe model currently shown on the target social interface by half a turn in accordance with the sliding direction information; when the sliding distance information satisfies the third sliding distance range, the terminal scrolls and displays the globe model currently shown on the target social interface by 1.5 turns in accordance with the sliding direction information. Among them, the sliding direction information can be from top to bottom or from bottom to top, can also be from left to right or from right to left, and can also be a diagonal scroll. For example, as Figure 6 shown, if the current account slides the globe model displayed on the target social page 3 cm from left to right, and assuming that sliding 3 cm satisfies the third sliding distance range, the terminal will rotate the currently shown globe model 1.5 turns from left to right.
[0082] As Figure 5 shown, during the process of the terminal scrolling and displaying the globe model on the target social interface in accordance with the rotation circumference information, the terminal can also stop displaying the account identifiers of each pending social account on the globe model to avoid affecting the user's visual perception, thereby enhancing the user's interaction experience.
[0083] In this embodiment, the current account can also trigger the globe model to scroll and display different numbers of turns of the globe model in accordance with the sliding direction information by performing sliding operations with different sliding distance information on the globe model on the target social interface, so that the current account can view the pending social accounts at different positions on the globe model, thereby improving the intelligence of the interactive display of the globe model.
[0084] In one embodiment, after the globe model is displayed on the target social page, it further includes: in response to a long-press operation on the globe model displayed on the target social page, stopping the display of the account identifiers of each pending social account in the globe model, and displaying a preset animation corresponding to the long-press operation on the target social page; the preset animation includes an account matching animation and a globe model scrolling animation; when the long-press operation stops, obtaining a matching social account that matches the current account; the matching social account is obtained by matching according to the operation time of the long-press operation and the user portrait information of the current account; according to the real geographical location of the current account and the real geographical location of the matching social account, displaying the account identifier of the current account and the account identifier of the matching social account on the globe model.
[0085] Among them, the preset animation refers to a pre-set animated video, and the preset animation includes an account matching animation and an earth model scrolling animation.
[0086] Among them, the operation time refers to the time information when the current account performs a long-press operation on the earth model. For example, the operation time can be the start time when the current account performs a long-press operation on the earth model, or the operation time can also be the end time when the current account performs a long-press operation on the earth model.
[0087] Among them, the matching social account refers to the user account obtained by the current account performing a long-press operation on the earth model.
[0088] During the display of the earth model on the target social page, the current account can trigger the terminal to randomly match accounts by performing a long-press operation on the earth model. Specifically, the current account performs a long-press operation on the earth model displayed on the target social page, and can trigger the long-press operation by long-pressing the earth model for more than a preset duration, as Figure 7 shown. At this time, the terminal responds to this long-press operation, stops displaying the account identifiers of each pending social account in the earth model, and the terminal adds a preset animation to the target social page. The terminal obtains the operation time when the current account performs the long-press operation. When the long-press operation stops, according to the operation time of the current account, the current account is stored in the corresponding matching library and a timeout threshold (such as 5 seconds) is set. The matching library contains initial matching accounts with the same operation time as the current account; among them, the number of initial matching accounts can be one or multiple. When the number of initial matching accounts is one, this initial matching account is used as the matching social account that matches the current account. When the number of initial matching accounts is multiple, the terminal matches the user portrait information of the current account with the user portrait information of each initial matching account in the matching library respectively to obtain the matching values between the current account and each initial matching account, deletes the initial matching accounts in the matching library whose matching values do not meet the preset matching conditions. After the deletion process, the terminal performs a matching process on the remaining initial matching accounts in the matching library again to obtain the matching social account that matches the current account. Then the terminal detects whether the current matching account and the matching social account are still on the target social page and whether the matching process exceeds the timeout threshold. When both the current matching account and the matching social account are on the target social page and the matching process does not exceed the timeout threshold, the terminal vibrates, and according to the real geographical location of the current account and the real geographical location of the matching social account, the account identifier of the current account and the account identifier of the matching social account are added to the earth model.
[0089] Furthermore, as Figure 8As shown, at this time, the terminal can also roll the earth model to the real geographical location that matches the social account, so that the account identifier of the matching social account is displayed at the center of the earth model.
[0090] For example, when the current account wants to randomly match an account, the current account can long-press on the blank area of the earth model for more than 3 seconds. At this time, all the account identifiers on the earth model disappear, the earth flips quickly, and an animation of quick matching appears. The terminal filters out a matching social account from multiple initial matching accounts that perform long-press operations simultaneously with the current account. After successful matching, the terminal will vibrate once, and the avatar information of the current account and the matching social account will be displayed on the earth model according to the real geographical location.
[0091] In this embodiment, the current account can also perform a long-press operation on the earth model displayed on the target social page; the terminal can respond to this long-press operation, thereby stopping the display of the account identifiers of each pending social account in the earth model, and displaying a preset animation corresponding to the long-press operation on the target social page; when the long-press operation stops, the terminal obtains a matching social account that matches the current account; according to the real geographical location of the current account and the real geographical location of the matching social account, the account identifier of the current account and the account identifier of the matching social account are displayed on the earth model, realizing the display of the account identifier of the matching social account randomly matched with the current account, thereby further enhancing the user's interaction experience.
[0092] In one embodiment, after displaying the account identifier of the current account and the account identifier of the matching social account on the earth model according to the real geographical location of the current account and the real geographical location of the matching social account, it further includes: responding to a selection operation on the account identifier of the matching social account, and displaying a chat page between the current account and the matching social account; on the chat page, preset interaction information is displayed.
[0093] Among them, the chat page refers to a page on the terminal where two accounts can chat with each other.
[0094] Among them, the preset interaction information refers to information that is pre-set for interactive communication with the matching social account. For example, the preset interaction information can be: "Hello, nice to meet you. I hope to learn more about you."
[0095] After displaying the account identifier of the current account and the account identifier of the matching social account on the earth model, the current account can choose to chat with the matching social account. Specifically, the current account can perform a selection operation on the account identifier of the matching social account, which can be triggered by clicking on the account identifier of the matching social account. At this time, the terminal responds to this selection operation, such as Figure 9As shown, the terminal adds a chat page between the current account and the matching social account. At the same time, the current account can also send preset interaction information to the matching social account, and then the terminal displays the preset interaction information on the chat page.
[0096] In this embodiment, the current account also performs a selection operation on the account identifier of the matching social account, and the terminal can respond to the selection operation and display the chat page between the current account and the matching social account; on the chat page, the preset interaction information sent by the current account is displayed, realizing social chat between the current account and the matching social account, and can also automatically send preset interaction information, thereby enhancing the user's social experience.
[0097] In one embodiment, the account identifier includes avatar information and voice information. The above step S101, where a globe model is displayed in the target social page, specifically includes the following content: in the target social page, a globe model carrying the account identifier of the current account is displayed.
[0098] Among them, the avatar information refers to the social avatar set by the account. For example, the avatar information can be a personal photo, a cartoon image, or a movie poster, etc.
[0099] Among them, the voice information refers to the voice social data set by the account. For example, the voice information can be voice data introducing personal occupation, hobbies, and specialties, etc., and can also be voice data introducing the geographical location characteristics of the account, etc.
[0100] Specifically, after the globe model is displayed in the target social page in the above step S101, the real geographical location of the current account is obtained, and according to the real geographical location of the current account, the account identifier of the current account is added to the globe model, that is, when the terminal initially displays the account identifiers of multiple pending social accounts matching the current account on the globe model, the account identifier of the current account can be preferentially displayed, as well as the account identifiers of several pending social accounts that are relatively close to the real geographical location of the current account. As Figure 2 shown, Figure 2 the avatar at the center position on the globe model is the avatar information of the current account, the voice information can also be displayed above the avatar information of the current account, and 5 avatars of pending social accounts are also displayed near the avatar of the current account.
[0101] In this embodiment, in the target social page, the terminal preferentially displays the globe model carrying the account identifier of the current account so that the current account can preferentially view the pending social accounts that are relatively close to it.
[0102] In one embodiment, after presenting the globe model carrying the account identifier of the current account, the following steps are further included: obtaining the scrolling speed of the globe model; scrolling and presenting the globe model in the target social interface according to the scrolling speed of the globe model; presenting the account identifiers of the current to-be-social accounts corresponding to the geographical location range of the currently scrolled and presented globe model among the multiple to-be-social accounts on the globe model, and stopping presenting the account identifiers of the accounts other than the current to-be-social accounts among the multiple to-be-social accounts; the current to-be-social accounts are filtered from the multiple to-be-social accounts according to the actual geographical locations of the multiple to-be-social accounts.
[0103] Among them, the scrolling speed of the globe model refers to the scrolling speed of the globe model in the target social page. This scrolling speed of the globe model can be set in advance for the globe model, or there are multiple different scrolling speeds pre-configured in the terminal, and it is selected by the current user from the multiple different scrolling speeds.
[0104] After presenting the globe model in the target social page, to enhance the presentation effect of the account identifiers of the to-be-social accounts presented on the globe model, the terminal can scroll and present the globe model to achieve a dynamic presentation effect of the account identifiers of the to-be-social accounts. Specifically, when the terminal obtains the scrolling speed of the globe model, it can scroll and present the globe model and the account identifiers of the to-be-social accounts on the globe model according to this scrolling speed of the globe model. That is, the terminal filters out the current to-be-social accounts whose actual geographical locations belong to the geographical location range from the multiple to-be-social accounts according to the geographical location range of the currently scrolled and presented globe model, presents the account identifiers of the current to-be-social accounts on the currently scrolled and presented globe model, and at the same time stops presenting the account identifiers of the accounts other than the current to-be-social accounts on the currently scrolled and presented globe model; furthermore, as the globe model is scrolled and presented, the account identifiers of the current to-be-social accounts on the globe model will also be continuously scrolled and updated, thus achieving a dynamic presentation effect of the account identifiers. In addition, the scrolling direction of the globe model for scrolling presentation can also be set. For example, the globe model can be scrolled from top to bottom at a scrolling speed of one circle every 2 minutes.
[0105] In this embodiment, when the terminal presents the globe model in the target social page, the terminal can scroll and present the globe model and the account identifiers of the multiple to-be-social accounts that match the current account on the globe model according to the scrolling speed of the globe model, thus achieving a dynamic presentation of the account identifiers, avoiding the relatively single presentation of the to-be-social accounts, and greatly enhancing the dynamic presentation effect of the account identifiers and the globe model.
[0106] In one embodiment, the social interaction method further includes: in response to a pause operation on the globe model that is scrolled and presented in the target social page, stopping the scrolling presentation of the globe model in the target social page.
[0107] After the earth model is scrolled and displayed at the earth model scrolling speed in the target social interface, the current account can pause the earth model to stop its scrolling. Specifically, the current account pausing the earth model that is scrolled and displayed at the earth model scrolling speed in the target social interface can be triggered by touching the earth model that is scrolled and displayed at the earth model scrolling speed in the target social interface, or can be triggered by clicking on the earth model that is scrolled and displayed at the earth model scrolling speed in the target social interface. At this time, the terminal responds to this pause operation and stops the scrolling of the earth model, displaying the static earth model.
[0108] In this embodiment, the current account can pause the earth model that is scrolled and displayed on the target social page, and the terminal can respond to this pause operation to stop the scrolling display of the earth model on the target social page, so that the current account can interact with the static earth model, enhancing the intelligence of social interaction.
[0109] In one embodiment, after responding to the pause operation on the earth model that is scrolled and displayed on the target social page and stopping the scrolling display of the earth model on the target social page, it further includes: obtaining the time information after the pause operation ends; when the time information meets the preset end time condition, scrolling and displaying the earth model again in the target social interface at the earth model scrolling speed.
[0110] Among them, the preset end time condition refers to the condition for the earth model to resume scrolling display after it pauses scrolling. This preset end time condition can be a pre-set time condition, or there are multiple different end time conditions pre-configured in the terminal, and the current user selects from these multiple different end time conditions.
[0111] Specifically, after responding to the pause operation on the earth model that is scrolled and displayed on the target social page and stopping the scrolling display of the earth model on the target social page, the terminal synchronously times to obtain the time information after the pause operation ends; when it detects that the currently obtained time information meets the end time condition, the terminal scrolls and displays the earth model again in the target social interface at the earth model scrolling speed, as well as the account identifier of the current social account to be matched with the geographical location range of the earth model.
[0112] For example, assuming that the end time condition is set to 2 seconds, when the current account clicks on the earth model on the target social page, the scrolling display of the earth model stops, and then the scrolling display of the earth model resumes 2 seconds after the click.
[0113] In this embodiment, the terminal obtains the time information after the pause operation ends; when the time information meets the preset end time condition, the terminal scrolls and displays the earth model again at the earth model scrolling speed in the target social interface, realizing the restoration of the scrolling display of the earth model.
[0114] To more clearly illustrate the social interaction method provided by the present disclosure embodiments, the above social interaction method will be specifically described below with a specific embodiment. Another social interaction method is provided, which can be applied to a terminal and specifically includes the following content:
[0115] The terminal displays a target social page, and displays an earth model on the target social page. The avatar information and voice information of the current account, as well as the avatar information and voice information of multiple pending social accounts matching the current account, are added to the earth model. The current account can then view the geographical locations of itself and multiple pending social accounts. The current account can also view the user information page corresponding to the target social account by clicking on the avatar information of the selected target social account.
[0116] The earth model is defaulted to scroll display, and the scrolling direction is from top to bottom. The earth model rotates one circle every 2 minutes. The current account can also slide the earth model to actively scroll the earth model to the desired position; specifically, when the sliding distance of the current account is 0.5 - 1 cm, the earth model rotates 1 / 4 of the earth's circumference; when the sliding distance of the current account is 1 - 2 cm, the earth model rotates 1 / 2 of the earth's circumference; when the sliding distance of the current account is > 2 cm, the earth model rotates 1.5 circles of the circumference. The direction of the sliding operation on the earth model is not limited to be from top to bottom or from bottom to top, it can also be from left to right or from right to left, or along the diagonal. During the sliding process, when the current account finds a target social account of interest, it can also view the user information page corresponding to the target social account by clicking on the avatar information of the target social account.
[0117] When the current account wants to randomly match an account, the current account can long-press the blank area on the earth model for more than 3 s. At this time, all the account identifiers on the earth model disappear, and the earth scrolls quickly, showing an animation of quick matching. The terminal filters out one matching social account from multiple initial matching accounts that are long-pressing simultaneously with the current account. After successful matching, the terminal will vibrate once, and the avatar information of the current account and the matching social account will be displayed on the earth model according to the real geographical locations. At this time, the current account can click on the avatar information of the matching social account, and then the terminal displays the chat page with the matching social account. The current account sends a random interaction message to the matching social account and adds the random interaction message to the chat page.
[0118] In this embodiment, it has the following beneficial effects: in the scenario of making friends with strangers, the current account can conduct global social exploration easily, interestingly and quickly through the interaction in the form of a globe model, which improves the fun of stranger social interaction and enhances the display effect of social interaction.
[0119] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0120] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 10As shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program, when executed by the processor, implements a social interaction method. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc. Among them, the touch layer includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation.
[0121] Those skilled in the art can understand that Figure 10 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0122] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0123] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0124] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0125] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0126] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0127] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0128] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A social interaction method, characterized in that, The method includes: Displaying a target social page; a globe model is displayed on the target social page; account identifiers of multiple to-be-socialized accounts matching the current account are displayed on the globe model; the to-be-socialized accounts are obtained based on the user portrait information of the current account and the real geographical locations of the to-be-socialized accounts; In response to a selection operation on the account identifiers of the multiple to-be-socialized accounts, displaying a user information page corresponding to the selected target social account; In response to a long-press operation on the globe model displayed on the target social page, stopping the display of the account identifiers of each to-be-socialized account on the globe model, and displaying a preset animation corresponding to the long-press operation on the target social page; the preset animation includes an account matching animation and a globe model scrolling animation; When the long-press operation stops, obtaining a matching social account matching the current account; the matching social account is obtained by matching according to the operation time of the long-press operation and the user portrait information of the current account; the operation time is used to store the current account into a matching library corresponding to the operation time; the matching library contains initial matching accounts with the same operation time as the current account; the user portrait information is used to perform a matching process between the user portrait information of the current account and the user portrait information of the initial matching accounts in the matching library to obtain the matching social account matching the current account in the matching library; Displaying the account identifier of the current account and the account identifier of the matching social account on the globe model.
2. The method according to claim 1, characterized in that, After a globe model is displayed on the target social page, it further includes: In response to a sliding operation on the globe model displayed on the target social page, obtaining sliding information; the sliding information includes sliding distance information and sliding direction information; Scrolling and displaying the globe model on the target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information; the rotation circumference is determined according to the sliding distance information.
3. The method according to claim 2, wherein The scrolling and displaying the globe model on the target social interface according to the rotation circumference information corresponding to the sliding direction information and the sliding distance information includes: When the sliding distance information satisfies a first sliding distance range, scrolling and displaying the globe model by 0.25 circle in the target social interface according to the sliding direction information; When the sliding distance information satisfies a second sliding distance range, scrolling and displaying the globe model by half a circle in the target social interface according to the sliding direction information; When the sliding distance information satisfies a third sliding distance range, scrolling and displaying the globe model by 1.5 circles in the target social interface according to the sliding direction information.
4. The method according to claim 1, characterized in that, After a globe model is displayed on the target social page, it further includes: In response to a long - press operation on the globe model displayed on the target social page, stop the display of the account identifiers of each pending social account on the globe model, and display a preset animation corresponding to the long - press operation on the target social page; the preset animation includes an account matching animation and a globe model scrolling animation; When the long - press operation stops, obtain a matching social account that matches the current account; the matching social account is obtained by matching according to the operation time of the long - press operation and the user portrait information of the current account; According to the real geographical location of the current account and the real geographical location of the matching social account, display the account identifier of the current account and the account identifier of the matching social account on the globe model.
5. The method according to claim 4, wherein After displaying the account identifier of the current account and the account identifier of the matching social account on the globe model according to the real geographical location of the current account and the real geographical location of the matching social account, it further includes: In response to a selection operation on the account identifier of the matching social account, display a chat page between the current account and the matching social account; On the chat page, display preset interaction information.
6. The method according to claim 1, characterized in that The account identifier includes the avatar information and voice information; The globe model is displayed on the target social page, including: On the target social page, display a globe model carrying the account identifier of the current account.
7. The method according to claim 6, wherein After displaying the globe model carrying the account identifier of the current account, it further includes: Obtain the scrolling speed of the globe model; Scroll and display the globe model on the target social interface at the scrolling speed of the globe model; On the globe model, display the account identifier of the current pending social account corresponding to the geographical location range of the currently scrolled - displayed globe model among the multiple pending social accounts, and stop displaying the account identifiers of the accounts other than the current pending social account among the multiple pending social accounts; the current pending social account is screened from the multiple pending social accounts according to the real geographical locations of the multiple pending social accounts.
8. The method according to claim 7, wherein The method further includes: In response to a pause operation on the scrolled - displayed globe model on the target social page, stop the scrolling display of the globe model on the target social page.
9. The method according to claim 8, characterized in that After stopping the scrolling display of the globe model on the target social page in response to a pause operation on the scrolled - displayed globe model on the target social page, it further includes: Obtain the time information after the end of the pause operation; When the time information meets the preset end - time condition, scroll and display the globe model again on the target social interface at the scrolling speed of the globe model.
10. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 9.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 9.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for displaying information of net friends of social network
CN104506623A
Method and apparatus for dynamically displaying social network member information
CN104965910A