Account acquisition method and device
Extending accounts through the relationship type and intimacy filtering of social accounts solves the cumbersome and omissions of setting the permissions for sharing content in social applications, and improves the accuracy and efficiency of settings.
Patent Information
- Application Number
- CN202111280032.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2041-10-29
AI Technical Summary
When setting visible or invisible friends sharing content in existing social applications, the operation is complicated and easy to miss, affecting social relationships.
By obtaining the types and intimacy of social relationships between social accounts, automatically filter out extended accounts that meet the threshold similarity and intimacy to the target social account and display them to remind users to set permissions.
Reduces the probability of missing friend events when setting permissions, and improves operation efficiency and accuracy.
Smart Images

Figure CN113987354B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technologies, and particularly relates to an account acquisition method and apparatus. Background Art
[0002] With the diversified development of the functions of social applications, more and more users use social applications to communicate with others. Currently, many social applications have a sharing function (such as the Moments function), where users can post content such as text, pictures, and videos through this sharing function, and other users can view, comment on, like, etc. the shared content.
[0003] For the sharing function of some social applications, when sharing content, users can set which friends can see or cannot see the shared content. When setting, users need to select the blocked objects (i.e., friends who cannot see the shared content) or visible objects (i.e., friends who can see the shared content) one by one in the friend list.
[0004] However, the foregoing setting method has two problems. First, the operation is cumbersome and time-consuming. Second, there may be omissions during the user selection process. For example, when user A selects the blocked objects, user A may omit to block friend B, and friend B is also a friend of the blocked object - friend C. During the communication between friend B and friend C, it is very likely that friend B will inform friend C about the matter of user A sharing content, causing friend C to know that user A has blocked him / her, which affects the social relationship. Summary of the Invention
[0005] The purpose of the embodiments of this application is to provide an account acquisition method and apparatus, which can solve the problems in the prior art that when setting visible or invisible friends for shared content, the operation is cumbersome and omissions are likely to occur.
[0006] In a first aspect, the embodiments of this application provide an account acquisition method, and the method includes:
[0007] Obtain a first target social account; wherein, the first target social account is a social account for which a user sets visible or invisible shared content;
[0008] Obtain a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to a target threshold, where the target social relationship type is the social relationship type between the local social account and the first target social account; the first social relationship type is the social relationship type between a third social account and the local social account, and there is an associated relationship between the third social account and the local social account;
[0009] Obtain a first sub - social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value;
[0010] Obtain a second sub - social account in the second social account whose intimacy with the first target social account or the first sub - social account is greater than or equal to a second preset value; wherein, the social relationship type between the second social account and the local social account is a social relationship type other than the target social relationship type;
[0011] Determine the first sub - social account and the second sub - social account as the second target social account, and display the second target social account.
[0012] In a second aspect, an embodiment of the present application provides an account acquisition device, and the device includes:
[0013] A first acquisition module, configured to acquire a first target social account; wherein, the first target social account is a social account for which a user sets visible or invisible shared content;
[0014] A second acquisition module, configured to acquire a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to a target threshold, wherein the target social relationship type is the social relationship type between the local social account and the first target social account; the first social relationship type is the social relationship type between the third social account and the local social account, and there is an associated relationship between the third social account and the local social account;
[0015] A third acquisition module, configured to acquire a first sub - social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value;
[0016] A fourth acquisition module, configured to acquire a second sub - social account in the second social account whose intimacy with the first target social account or the first sub - social account is greater than or equal to a second preset value; wherein, the second social account is a social relationship type other than the account of the target social relationship type;
[0017] A processing module, configured to determine the first sub - social account and the second sub - social account as the second target social account, and display the second target social account.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps in the account acquisition method described in the first aspect are implemented.
[0019] Fourthly, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the account acquisition method described in the first aspect are implemented.
[0020] Fifthly, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the account acquisition method described in the first aspect.
[0021] In the embodiment of the present application, according to the type and intimacy of the social relationship between social accounts, among the social accounts associated with the user's social account, the social accounts that are closely related to the social accounts with visible sharing content permissions or invisible sharing content permissions set by the user are obtained and displayed for the user to view, so as to achieve the purpose of reminding the user, and further reduce the probability of missing friends when setting permissions. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a schematic flowchart of the account acquisition method provided by the embodiment of the present application;
[0023] Figure 2 is one of the schematic diagrams of the example provided by the embodiment of the present application;
[0024] Figure 3 is the second schematic diagram of the example provided by the embodiment of the present application;
[0025] Figure 4 is a schematic block diagram of the account acquisition device provided by the embodiment of the present application;
[0026] Figure 5 is one of the schematic block diagrams of the electronic device provided by the embodiment of the present application;
[0027] Figure 6 is the second schematic block diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] Next, the technical solutions in the embodiments of the present application will be clearly described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0029] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same category, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0030] The following will combine the accompanying drawings and elaborate on the account acquisition method provided by the embodiments of this application through specific embodiments and their application scenarios.
[0031] Figure 1 It is a schematic flowchart of an account acquisition method provided by an embodiment of this application. This account acquisition method is applied to an electronic device, which can be a mobile phone, a tablet computer, a desktop computer, etc.
[0032] Among them, the account acquisition method may include:
[0033] Step 101: Obtain a first target social account.
[0034] Among them, the first target social account here is a social account with visible or invisible shared content set by the user. For example, if the user wants to post a picture through the Moments function of a target social application, the user can set which friends can see the posted picture or which friends cannot see the posted picture. Among them, the first target social account can also be called a seed account, that is, the account initially set by the user.
[0035] Step 102: Obtain a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to the target threshold.
[0036] Among them, the local social account here is the account currently logged in to the target social application on the electronic device.
[0037] Among them, the target social relationship type described herein is the social relationship type between the local social account and the first target social account. The first social relationship type described herein is the social relationship type established between the local social account and the third social account. The third social account is a social account having an associated relationship with the local social account, and may include at least one of the following accounts: an account having a friend relationship with the local social account (i.e., a friend social account), an account followed by the local social account (i.e., a followed social account), an account following the local social account (i.e., a followed-by social account), which is not specifically limited herein. That is, step 102 is: obtaining the first social relationship type between the third social account and the local social account, calculating the similarity between the first social relationship type and the target social relationship type, and determining the third social account corresponding to the first social relationship type with a similarity greater than or equal to the target threshold as the first social account. Among them, the first social account does not include the first target social account. Among them, the social relationship type may include but is not limited to at least one of the following: family, colleague, classmate, friend, customer, teacher-student, etc.
[0038] In the embodiment of the present application, the social relationship type (i.e., the target social relationship type) between the first target social account and the local social account may be determined first, and then among the third social accounts corresponding to the local social account, accounts with the same or approximate social relationship type as the target social relationship type between the local social account are screened out (i.e., obtaining social accounts with a similarity greater than or equal to the target threshold to the target social relationship type). For example, taking the third social account as the friend social account of the local social account as an example, the local social account is account A, the first target social accounts include account B and account C, the social relationship type between account A and account B is colleague, and the social relationship type between account A and account C is family. Then, among the friend social accounts, all accounts with the social relationship types of colleague and family with the local social account are screened out. For another example, the social relationship type between account D and account A is couple, and the couple relationship and the family relationship are similar social relationships, and the similarity between them is greater than or equal to the target threshold. Therefore, account D will also be screened out. In the embodiment of the present application, social accounts with a similarity greater than or equal to the target threshold to the target social relationship type are obtained to expand the screening result.
[0039] Since the social relationship type between the screened first social account and the local social account is the same or approximate to the social relationship type between the first target social account and the local social account, it indicates that the probability of communication between the first target social account and the first social account is relatively high. Therefore, the probability of mentioning the content shared by the local social account during the communication is also greater.
[0040] Step 103: Obtain a first sub-social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value.
[0041] Step 104: Obtain a second sub-social account in the second social account whose intimacy with the first target social account or the first sub-social account is greater than or equal to a second preset value.
[0042] Among them, the value of the intimacy described in Step 103 and Step 104 is determined in advance according to the interaction information between social accounts.
[0043] Among them, the first preset value and the second preset value can be set by the user or set by the system. The specific values of the two preset values can be the same or different. In the case of being set by the system, the system can determine according to the values set by the user's history. For example, if the first preset values set by the user's history are all greater than 0.5, the system can set the current first preset value to 0.5, and can also use the average value of the first preset values set by the user's history as the current first preset value.
[0044] In the embodiment of the present application, a first sub-social account whose intimacy with the first target social account is greater than or equal to the first preset value can be screened out in the first social account through Step 102 first. Among them, the greater the intimacy between two social accounts, the better the social relationship between the two social accounts, and the greater the risk of accidentally disclosing the content shared by the local social account during communication. Therefore, the higher the intimacy with the first target social account set by the user, the greater the risk of accidentally disclosing the content shared by the user during their communication. Therefore, the first sub-social account can be screened out as an extended account (i.e., supplementary account) of the first target social account to remind the user to avoid omission in setting.
[0045] Continuing with the previous example, the social relationship type between the local social account - Account A and the first target social account - Account B is colleagues. The first preset value is 0.6. The accounts in the first social account that have a social relationship type of colleagues with Account A include Account D and Account E. Among them, the intimacy between Account D and Account B is 0.8, which is greater than the first preset value of 0.6. The intimacy between Account E and Account B is 0.4, which is less than the first preset value of 0.6. Then, Account D is determined as the first sub - social account. Taking Account D as the extended account of the first target social account - Account B can effectively prevent Account D from disclosing the content shared by the local social account - Account A to Account B (at this time, Account B is set to invisible to the shared content), or effectively prevent Account B from disclosing the content shared by Account D to Account D (at this time, Account B is set to visible to the shared content). The intimacy between Account E and Account B is relatively low, indicating that although they are colleagues with Account B, they have less social interaction, and the probability of disclosing or being disclosed the content shared by Account A is relatively small. Therefore, there is no need to take it as the extended account of Account B.
[0046] In the embodiment of the present application, after obtaining the first sub - social account through step 103, it is also possible to screen out the second sub - social accounts in the second social accounts (that is, the social accounts where the similarity between the first social relationship type and the target social relationship type is less than the target threshold) that have an intimacy greater than or equal to the second preset value with the first target social account and an intimacy greater than or equal to the second preset value with the first sub - social account.
[0047] Among the social accounts (i.e., the second social accounts) where the similarity between the first social relationship type and the target social relationship type is less than the target threshold, there may also be friend accounts that are close to the first target social account and the first sub - social account. For example, the social relationship type between Account F and the first target social account - Account B is friends. Although Account F and Account B are not colleagues, as friends, their intimacy may be relatively high. During the communication between Account F and Account B, they may also mention the content shared by Account A. Another example is that the intimacy between Account H and the first sub - social account - Account G is relatively high. During the communication between Account H and Account G, they may also mention the content shared by Account A. Therefore, in the embodiment of the present application, it is also possible to screen out the second sub - social accounts in the second social accounts that have an intimacy greater than or equal to the second preset value with the first target social account and the first sub - social account, so as to enrich and improve the extended accounts of the first target social account and further reduce the omission probability.
[0048] Optionally, when obtaining the first sub-social account, social accounts associated with the first target social account can be filtered out from the first social account first, and then the intimacy between each of the filtered social accounts and the first target social account can be determined one by one. Similarly, when obtaining the second sub-social account, social accounts associated with the first target social account and social accounts associated with the first sub-social account can be filtered out from the second social account first, and then the intimacy between each of the filtered social accounts associated with the first target social account and the first target social account, and the intimacy between each of the filtered social accounts associated with the first sub-social account and the first sub-social account can be determined one by one.
[0049] Step 105: Determine the first sub-social account and the second sub-social account as the second target social account, and display the second target social account.
[0050] In the embodiment of the present application, both the first sub-social account and the second sub-social account are determined as the extended accounts (i.e., the second target social account) of the first target social account, and then they are displayed for the user to view. The user can view the displayed second target social account to determine whether any friends have been missed in setting the visible or invisible permissions for the content to be shared, thereby reducing the probability of missing friends during permission setting.
[0051] As an alternative embodiment, after displaying the second target social account in step 102, the method may further include:
[0052] Receiving a first input from the user for the second target social account, and in response to the first input, setting the viewing permission of the second target social account selected by the first input for the shared content to be the same as that of the first target social account.
[0053] In the embodiment of the present application, the displayed second target social account can be set to an optional state, and the user can select it according to their own needs. The viewing permission of the selected second target social account for the shared content is set to the same viewing permission as that of the first target social account for the shared content, that is, when the first target social account can view the shared content, the selected second target social account can also view the shared content; when the first target social account cannot view the shared content, the selected second target social account cannot view the shared content either. In this way, the user does not have to select an account from the list of all friends, which facilitates the user's account selection operation and improves the selection efficiency.
[0054] For example, as Figure 2 shown, the user uses account A to publish shared content through the Moments function of a social application and sets who cannot view the shared content (i.e.,Figure 2 ("Who to Hide from") that is selected). After the user selects Friend B as the seed account, the system automatically determines and displays the extended friend accounts of Friend B based on the type of social relationship between Friend B and Account A and the intimacy between social accounts. For example, Figure 2 Friends C, E, and M in
[0055] As an alternative embodiment, in the embodiments of the present application, the social relationship type information and intimacy information of any two associated social accounts among the local social account and the third social account are stored in the form of a relationship network for easy information query. Among them, the local social account and the third social account form nodes in the relationship network, and the social relationship type and intimacy between the two social accounts corresponding to the associated nodes are marked.
[0056] To better understand the foregoing solution of the embodiments of the present application, the following further explains and illustrates it by taking the associated relationship between social accounts as a friend relationship as an example.
[0057] For example, Figure 3 As shown, the electronic device can pre-generate the social relationship network of the local social account. Assume that the local social account is Account A, and its friend accounts include Accounts B, C, D, and E. The social relationship network of Account A includes the friend relationships between Account A and Accounts B, C, D, and E. If there are also friend relationships among Accounts B, C, D, and E, for example, there is also a friend relationship between Account B and Account C, then the social relationship network also includes the friend relationship between Account B and Account C.
[0058] Among them, the social relationship network can be updated according to the interactions between social accounts. For example, when a friend addition operation or a friend deletion operation is detected, the social relationship network will be updated and adjusted.
[0059] Assume further that the user edits a photo of going out for fun through the local social account and is going to post it to the Moments. The user wants to set which friends cannot see this photo and makes a friend selection. The selected friend is used as the seed account, that is, the user sets the seed account. The electronic device triggers the account extension function according to the seed account set by the user. For example, the user sets that Account B cannot see the shared content.
[0060] First, the electronic device identifies the type of social relationship between the seed account and the local social account, and then obtains, among the friend social accounts of the local social account, accounts of the same social relationship type (i.e., accounts whose social relationship type with the local social account is the same as or similar to the social relationship type between the seed account and the local social account) and accounts of a different social relationship type (i.e., accounts whose social relationship type with the local social account is different from or not similar to the social relationship type between the seed account and the local social account). For example, the electronic device determines that the social relationship type between account B and account A is a colleague relationship. Then, among the friend accounts of account A, it determines accounts of the same social relationship type (i.e., friend accounts that are also in a colleague relationship with account A (excluding account B)) and accounts of a different social relationship type (i.e., friend accounts that are not in a colleague relationship with account A). The search results are as follows: if account D and account E are both in a colleague relationship with account A, then account D and account E are accounts of the same social relationship type; if account C and account A are in a customer relationship, then account C is an account of a different social relationship type.
[0061] After that, it is determined whether the intimacy between the account of the same social relationship type and the seed account is greater than or equal to a first preset value. If so, the account is determined as an extended account of the same social relationship type; if not, the process ends. Then, it is determined whether the intimacy between the account of a different social relationship type and the seed account and the extended account of the same social relationship type is greater than or equal to a second preset value. If so, the account is determined as an extended account of a different social relationship type; if not, the process ends. For example, it is determined whether the intimacy between account D and account B is greater than or equal to the first preset value, and whether the intimacy between account E and account B is greater than or equal to the first preset value. If only the intimacy between account D and account B is greater than or equal to the first preset value, then account D is determined as an extended account of the same social relationship type of account B. Then, it is determined whether the intimacy between account C and account B is greater than or equal to the second preset value, and whether the intimacy between account C and account D is greater than or equal to the second preset value. In the case where the intimacy between account C and account B is greater than or equal to the second preset value, and / or the intimacy between account C and account D is greater than or equal to the second preset value, account C is determined as an extended account of a different social relationship type of account B.
[0062] Since there may be a situation where although account C is not in a colleague relationship with account A, account C has a close relationship with account B. In this case, if the user does not block account C, the content shared by account A may be disclosed by account C to account B. Or account C has a close relationship with account D. In this case, if the user does not block account C, the content shared by account A may be disclosed by account C to account D, and then by account D to account B.
[0063] Finally, the electronic device displays the account expansion result, that is, it displays the expanded accounts of the same social relationship type and the expanded accounts of different social relationship types. For example, it can display Account C and Account D in the foregoing example. The user can select the displayed expanded accounts and set the expanded accounts selected by the user as invisible photos.
[0064] As an alternative embodiment, before obtaining the first target social account, the method may further include:
[0065] Determine the social relationship type between any two associated social accounts among the local social accounts and the third social accounts according to the interaction information between the any two associated social accounts.
[0066] Among them, the interaction information described herein may include at least one of the following: note information, chat content information, and comment information on shared content, etc.
[0067] Through the interaction information between social accounts, such as note information, chat content (such as the appellation information in the chat content), comment information on shared content, etc., the social relationship type between two social accounts can often be obtained. For example, if the note of Account A for Account B is "father", it can be known from this that the social relationship type between Account A and Account B is family; for another example, the chat between Account A and Account B includes the chat content "Boss, happy birthday", and through the appellation information "Boss" in this chat content, it can be known that the social relationship type between Account A and Account B is colleague. Therefore, in the embodiments of the present application, the social relationship type between two social accounts can be determined according to the interaction information between social accounts.
[0068] As an alternative embodiment, before obtaining the first target social account, the method may further include:
[0069] Determine the intimacy between any two associated social accounts among the local social accounts and the third social accounts according to the target information between the any two associated social accounts.
[0070] Among them, the target information described herein may include at least one of the following: interaction degree, relationship type intimacy degree, and interaction intimacy degree. The intimacy between two social accounts can be reflected through these parameter information.
[0071] Among them, when the target information includes at least two parameter information, different weight values can be set for different parameter information, and the intimacy is calculated according to the specific values and weight values of different parameter information. For example, the target information includes: interaction degree, relationship type intimacy, and interaction intimacy. The value corresponding to the interaction degree between account A and account B is 0.2, the value corresponding to the relationship type intimacy is 0.5, and the value corresponding to the interaction intimacy is 0.3. The weight values corresponding to the interaction degree, relationship type intimacy, and interaction intimacy are: 0.3, 0.1, and 0.6 respectively. Then the intimacy = 0.3×0.2 + 0.1×0.5 + 0.6×0.3 = 0.29.
[0072] Optionally, the target information includes the interaction degree.
[0073] Among them, before determining the intimacy between any two associated social accounts based on the target information between any two associated social accounts in the local social account and the third social account, the method may further include:
[0074] Determine the interaction degree according to the number of common group chats and / or the number of common friends between any two associated social accounts in the local social account and the third social account.
[0075] When determining the interaction degree according to the number of common group chats, the proportion of the number of common group chats of two associated social accounts (for example, the ratio of the average value of the number of common group chats to the sum of the number of all group chats of the two social accounts) can be determined as the interaction degree. For example, there is an associated relationship between account A and account B. The number of group chats joined by account A is 20, the number of group chats joined by account B is 30, the number of common group chats between account A and account B is 5, and the average value of the sum of the number of all group chats joined by account A and account B is 25. Then the interaction degree between account A and account B is 5 / 25 = 0.2.
[0076] When determining the interaction degree according to the number of common friends, the proportion of the number of common friends of two social accounts with a friend relationship (for example, the ratio of the average value of the number of common friends to the sum of the number of all friends of the two social accounts) can be determined as the interaction degree. For example, there is a friend relationship between account A and account B. The number of friends of account A is 100, the number of friends of account B is 50, the number of common friends between account A and account B is 30, and the average value of the sum of the number of all friends of account A and account B is 75. Then the interaction degree between account A and account B is 30 / 75 = 0.4.
[0077] When determining the interaction degree based on the number of common group chats and the number of common friends, the sum of the above-mentioned proportions of the number of common group chats and the proportion of the number of common friends multiplied by their respective corresponding weight values can be determined as the interaction degree. For example, the proportion of the number of common group chats between account A and account B is 0.2, and the corresponding weight value is 0.4. The proportion of the number of common friends is 0.4, and the corresponding weight value is 0.6. Then the interaction degree between account A and account B is 0.2×0.4 + 0.4×0.6 = 0.32.
[0078] As an alternative embodiment, the target information includes the degree of intimacy of the relationship type.
[0079] Among them, before determining the intimacy between any two associated social accounts based on the target information between any two associated social accounts in the local social account and the third social account, the method may further include:
[0080] According to the preset correspondence between the social relationship type and the value of the degree of intimacy of the relationship type, determine the value of the degree of intimacy of the relationship type corresponding to the social relationship type between any two associated social accounts in the local social account and the third social account.
[0081] Generally, the social relationship type between two social accounts can reflect the degree of intimacy between the two social accounts. Therefore, in the embodiments of the present application, the values of the degree of intimacy of the relationship type corresponding to different social relationship types (the value range can be from 0 to 1) can be preset. For example, it is set that the value of the degree of intimacy of the relationship type corresponding to the social relationship type of parents is 0.8, and the value of the degree of intimacy of the relationship type corresponding to the social relationship type of colleagues is 0.5, etc. In this way, the value of the degree of intimacy of the relationship type corresponding to the social relationship type between two social accounts can be determined according to the preset correspondence between the social relationship type and the value of the degree of intimacy of the relationship type.
[0082] As an alternative embodiment, the target information includes the interaction intimacy.
[0083] Among them, before determining the intimacy between any two associated social accounts based on the target information between any two associated social accounts in the local social account and the third social account, the method may further include:
[0084] Obtain the interaction frequency of any two associated social accounts in the local social account and the third social account within a preset time period; obtain the interaction acceptance degree of any two associated social accounts in the local social account and the third social account during each interaction within the preset time period; determine the product of the interaction frequency and the interaction acceptance degree as the interaction intimacy.
[0085] Among them, the interactions described herein include but are not limited to at least one of the following: chatting through the chat function of the target social application, and opinions expressed on the shared content (such as comments, likes, etc.).
[0086] Among them, the preset duration can be set according to actual needs. For example, the preset duration can be 30 days. If the number of interactions between account A and account B within 30 days is 30 times, then the interaction frequency is 1 time per day. Among them, the interaction frequency can also be calculated in the following way: the ratio of the average value of the number of interactions between two associated social accounts within the preset duration to the sum of all interactions of the two social accounts is determined as the interaction frequency. For example, there is a friendship relationship between account A and account B. Account A has 100 chat times with its friends within 30 days, account B has 140 chat times with its friends within 30 days, the chat times between account A and account B within 30 days is 60 times, and the average value of the total chat times between account A and account B is 120. Then the interaction frequency is 60 / 120 = 0.5.
[0087] Among them, the interaction acceptance represents the acceptance degree of the interaction. For example, when the chat content is quarrel content, it means that the interaction acceptance is low; when the chat content is positive appreciation content, it means that the acceptance is high. In the embodiments of the present application, the interaction acceptance can be calculated according to the ratio of the average value of the number of interactions with positive emotions between two associated social accounts within the preset duration to the total number of interactions with all recognizable emotions. The total number of interactions with all recognizable emotions described herein is: the sum of the number of interactions with recognizable emotions between two associated social accounts and their respective associated social accounts. For example, there is a friendship relationship between account A and account B. The number of chat times with recognizable emotions in the chats between account A and its friends within 30 days is 50 times, the number of chat times with recognizable emotions in the chats between account B and its friends within 30 days is 70 times. In the chats between account A and account B within 30 days, the number of chats with positive emotions is 30 times, and the average value of the total number of chats with recognizable emotions between account A and account B within 30 days is 60. Then the interaction acceptance is 30 / 60 = 0.5.
[0088] Among them, the interaction intimacy can be the product of the interaction frequency and the interaction acceptance. For example, the interaction frequency is 0.5 and the interaction acceptance is 0.3, then the interaction intimacy = 0.5×0.3 = 0.15.
[0089] Finally, it should be noted that the associated relationship established between the two social accounts in the embodiments of the present application can include but are not limited to at least one of the following: there is a friendship relationship between the two social accounts, and there is a following relationship between the two accounts (including following other social accounts and being followed by other social accounts).
[0090] In summary, in the embodiments of the present application, according to the social relationship type and intimacy between social accounts, among the social accounts having an associated relationship with the user's social account, social accounts that are closely related to the social accounts set by the user with visible sharing content permissions or invisible sharing content permissions are obtained and displayed for the user to view, so as to achieve the purpose of reminding the user, and further reduce the probability of missing friends during permission setting.
[0091] It should be noted that for the account acquisition method provided in the embodiments of the present application, the execution subject may be an account acquisition device, or a control module in the account acquisition device for executing the account acquisition method. In the embodiments of the present application, the case where the account acquisition device executes the account acquisition method is taken as an example to illustrate the account acquisition device provided in the embodiments of the present application.
[0092] Figure 4 It is a schematic block diagram of an account acquisition device provided in the embodiments of the present application. The account acquisition device is applied to an electronic device, and the electronic device may be a mobile phone, a tablet computer, a desktop computer, etc.
[0093] As Figure 4 shown, the account acquisition device may include:
[0094] A first acquisition module 401, configured to acquire a first target social account.
[0095] Wherein, the first target social account is a social account with visible sharing content or invisible sharing content set by the user.
[0096] A second acquisition module 402, configured to acquire a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to a target threshold.
[0097] Wherein, the target social relationship type is the social relationship type between the local social account and the first target social account. The first social relationship type is the social relationship type between a third social account and the local social account. An associated relationship is established between the third social account and the local social account, and the third social account includes at least one of the following: an account having an associated relationship with the local social account, an account followed by the local social account, and an account following the local social account.
[0098] A third acquisition module 403, configured to acquire a first sub-social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value.
[0099] A fourth acquisition module 404, configured to acquire a second sub-social account in the second social account whose intimacy with the first target social account or the first sub-social account is greater than or equal to a second preset value.
[0100] Among them, the social relationship type between the second social account and the local social account is a social relationship type other than the account of the target social relationship type.
[0101] The processing module 405 is configured to determine the first sub-social account and the second sub-social account as the second target social account and display the second target social account.
[0102] As an optional embodiment, the device may further include:
[0103] The first determination module is configured to determine the social relationship type between any two associated social accounts among the local social account and the third social account according to the interaction information between the any two associated social accounts.
[0104] Among them, the interaction information includes at least one of the following: note information, chat content information, and comment information on shared content.
[0105] As an optional embodiment, the device may further include:
[0106] The second determination module is configured to determine the intimacy between any two associated social accounts among the local social account and the third social account according to the target information between the any two associated social accounts.
[0107] Among them, the target information includes at least one of the following: interaction degree, relationship type intimacy degree, and interaction intimacy degree;
[0108] Among them, the interaction degree is determined according to the number of common group chats and / or the number of common friends between any two associated social accounts;
[0109] Among them, the relationship type intimacy degree is determined according to the preset correspondence relationship between the social relationship type and the relationship type intimacy degree value;
[0110] Among them, the interaction intimacy degree is determined according to the interaction frequency and interaction reception degree between any two associated social accounts.
[0111] As an optional embodiment, the target information includes the interaction degree.
[0112] Among them, the device may further include:
[0113] The third determination module is configured to determine the interaction degree according to the number of common group chats and / or the number of common friends between any two associated social accounts among the local social account and the third social account.
[0114] As an alternative embodiment, the target information includes the degree of intimacy of the relationship type.
[0115] Wherein, the apparatus may further include:
[0116] A fourth determination module, configured to determine a relationship type intimacy value corresponding to the social relationship type between any two social accounts having an associated relationship according to a preset correspondence between the social relationship type and the relationship type intimacy value.
[0117] As an alternative embodiment, the target information includes the interaction intimacy;
[0118] Wherein, the apparatus may further include:
[0119] A fifth acquisition module, configured to acquire the interaction frequency of any two social accounts having an associated relationship within a preset duration.
[0120] A fifth acquisition module, configured to acquire the interaction acceptance degree during each interaction of any two social accounts having an associated relationship within the preset duration.
[0121] A fifth determination module, configured to determine the product of the interaction frequency and the interaction acceptance degree as the interaction intimacy.
[0122] As an alternative embodiment, the social relationship type information and the intimacy information between any two social accounts having an associated relationship among the local social account and the third social account are stored in the form of a relationship network.
[0123] Wherein, the local social account and the third social account form nodes in the relationship network, and the social relationship type and the intimacy between the two social accounts corresponding to the nodes having an associated relationship are marked between the nodes.
[0124] As an alternative embodiment, the apparatus may further include:
[0125] A receiving module, configured to receive a first input from the user for the second target social account.
[0126] A setting module, configured to, in response to the first input, set the viewing permission of the second target social account selected by the first input for the shared content to be the same as that of the first target social account.
[0127] In an embodiment of the present application, based on the type and intimacy of the social relationships between social accounts, among the social accounts having an associated relationship with the user's social account, a social account that is closely related to the social account with the permission to view shared content or the permission not to view shared content set by the user is obtained and displayed for the user to view, so as to achieve the purpose of reminding the user, and further reduce the probability of omitting friends during permission setting.
[0128] The account acquisition device in the embodiment of the present application can be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiment of the present application does not make specific limitations.
[0129] The account acquisition device in the embodiment of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems. The embodiment of the present application does not make specific limitations.
[0130] The account acquisition device provided in the embodiment of the present application can implement Figure 1 each process implemented by the account acquisition method embodiment shown, and to avoid repetition, it will not be elaborated here.
[0131] Optionally, as Figure 5 shown, the embodiment of the present application further provides an electronic device 500, including: a processor 501 and a memory 502, a program or instruction stored on the memory 502 and executable on the processor 501, and when the program or instruction is executed by the processor 501, it implements each process of the above account acquisition method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0132] It should be noted that the electronic device 500 in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0133] Figure 6 It is a schematic diagram of the hardware structure of an electronic device for implementing the embodiment of the present application.
[0134] The electronic device 600 includes, but is not limited to, components such as a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0135] Those skilled in the art can understand that the electronic device 600 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 610 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 6 The structure of the electronic device shown does not limit the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0136] Among them, the processor 610 is used to: obtain a first target social account; obtain a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to a target threshold; obtain a first sub-social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value; obtain a second sub-social account in the second social account whose intimacy with the first target social account and the first sub-social account is greater than or equal to a second preset value; determine the first sub-social account and the second sub-social account as a second target social account, and display the second target social account.
[0137] Among them, the first target social account is a social account for which the user sets visible or invisible shared content; the target social relationship type is the social relationship type between the first target social account and the local social account; the first social relationship type is the social relationship type between a third social account and the local social account. There is an associated relationship between the third social account and the local social account. The third social account includes at least one of the following: an account having an associated relationship with the local social account, an account followed by the local social account, and an account following the local social account; the social relationship type between the second social account and the local social account is other than the target social relationship type.
[0138] As an optional embodiment, the processor 610 is further used to: determine the social relationship type between any two socially related accounts having an associated relationship according to the interaction information between any two socially related accounts having an associated relationship in the local social account and the third social account. Among them, the interaction information includes at least one of the following: note information, chat content information, and comment information on shared content.
[0139] As an alternative embodiment, the processor 610 is further configured to: determine the intimacy between any two associated social accounts among the local social account and the third social account according to the target information between the two associated social accounts. Wherein, the target information includes at least one of the following: interaction degree, relationship type intimacy degree, and interaction intimacy degree.
[0140] As an alternative embodiment, the target information includes the interaction degree, and the processor 610 is further configured to: determine the interaction degree according to the number of common group chats and / or the number of common friends between any two associated social accounts among the local social account and the third social account.
[0141] As an alternative embodiment, the target information includes the relationship type intimacy degree, and the processor 610 is further configured to: determine the relationship type intimacy degree value corresponding to the social relationship type between any two associated social accounts among the local social account and the third social account according to the preset correspondence between the social relationship type and the relationship type intimacy degree value.
[0142] As an alternative embodiment, the target information includes the interaction intimacy degree, and the processor 610 is further configured to: obtain the interaction frequency between any two associated social accounts among the local social account and the third social account within a preset time period; obtain the interaction acceptance degree at each interaction between any two associated social accounts among the local social account and the third social account within the preset time period; determine the product of the interaction frequency and the interaction acceptance degree as the interaction intimacy degree.
[0143] As an alternative embodiment, the processor 610 is further configured to: when the user input unit 607 receives a first input from the user for the second target social account, in response to the first input, set the viewing permission of the second target social account selected by the first input for the shared content to be the same as that of the first target social account.
[0144] In the embodiment of the present application, according to the social relationship type and intimacy degree between social accounts, among the social accounts associated with the user's social account, obtain the social accounts that are closely related to the social accounts with the visible or invisible shared content permission set by the user, and display them for the user to view, so as to achieve the purpose of reminding the user, and further reduce the probability of missing friends when setting permissions.
[0145] It should be understood that in the embodiments of the present application, the input unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042. The GPU 6041 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also known as a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. The other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, which will not be elaborated here. The memory 609 may be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 610 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 610.
[0146] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above-mentioned embodiment of the account acquisition method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0147] Among them, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disc, etc.
[0148] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to implement each process of the above-mentioned embodiment of the account acquisition method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0149] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system chip, a chip system, or a system-on-chip, etc.
[0150] It should be noted that in this text, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising such element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0151] From the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server or network device, etc.) to execute the methods described in various embodiments of the present application.
[0152] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the spirit and scope protected by the claims of the present application, can still make many forms, all of which fall within the protection scope of the present application.
Claims
1. An account acquisition method, characterized in that, The method includes: Obtaining a first target social account; wherein, the first target social account is a social account for which the user sets visible or invisible shared content; Obtaining a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to a target threshold; wherein, the target social relationship type is the social relationship type between the local social account and the first target social account; the first social relationship type is the social relationship type between the third social account and the local social account, and there is an associated relationship between the third social account and the local social account; Obtaining a first sub - social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value; Obtaining a second sub - social account in the second social account whose intimacy with the first target social account or the first sub - social account is greater than or equal to a second preset value; wherein, the social relationship type between the second social account and the local social account is a social relationship type other than the target social relationship type; Determining the first sub - social account and the second sub - social account as the second target social account and displaying the second target social account.
2. The account acquisition method according to claim 1, wherein Before obtaining the first target social account, the method further includes: Determining the social relationship type between any two associated social accounts among the local social account and the third social account according to the interaction information between the two associated social accounts; Wherein, the interaction information includes at least one of the following: remarks information, chat content information, and comment information on shared content.
3. The account acquisition method according to claim 1, wherein Before obtaining the first target social account, the method further includes: Determining the intimacy between any two associated social accounts among the local social account and the third social account according to the target information between the two associated social accounts; Wherein, the target information includes at least one of the following: interaction degree, relationship type closeness, and interaction intimacy; Wherein, the interaction degree is determined according to the number of common group chats and / or the number of common friends between any two associated social accounts; Wherein, the relationship type closeness is determined according to a preset correspondence relationship between the social relationship type and the relationship type closeness value; Wherein, the interaction intimacy is determined according to the interaction frequency and interaction acceptance degree between any two associated social accounts.
4. The account acquisition method according to claim 1, wherein The social relationship type information and intimacy information between any two associated social accounts among the local social account and the third social account are stored in the form of a relationship network; Wherein, the local social account and the third social account form nodes in the relationship network, and the social relationship type and intimacy between the two nodes corresponding to the two associated social accounts are marked.
5. The account acquisition method according to claim 1, characterized in that, After displaying the second target social account, the method further includes: Receiving a first input from the user for the second target social account; In response to the first input, set the viewing permission of the second target social account selected by the first input for the shared content to be the same as that of the first target social account.
6. An account acquisition device, characterized in that, The device includes: A first acquisition module, configured to acquire a first target social account; wherein, the first target social account is a social account for which the user sets visible or invisible shared content. A second acquisition module, configured to acquire a first social account whose similarity between the first social relationship type and the target social relationship type is greater than or equal to a target threshold, wherein the target social relationship type is the social relationship type between the local social account and the first target social account; the first social relationship type is the social relationship type between the third social account and the local social account, and there is an associated relationship established between the third social account and the local social account. A third acquisition module, configured to acquire a first sub-social account in the first social account whose intimacy with the first target social account is greater than or equal to a first preset value. A fourth acquisition module, configured to acquire a second sub-social account in the second social account whose intimacy with the first target social account or the first sub-social account is greater than or equal to a second preset value; wherein, the second social account is a social relationship type other than the account of the target social relationship type. A processing module, configured to determine the first sub-social account and the second sub-social account as the second target social account and display the second target social account.
7. The account acquisition device according to claim 6, wherein The device further includes: A first determination module, configured to determine the social relationship type between any two associated social accounts among the local social account and the third social account according to the interaction information between the any two associated social accounts. Wherein, the interaction information includes at least one of the following: note information, chat content information, and comment information on the shared content.
8. The account acquisition device according to claim 6, characterized in that, The device further includes: A second determination module, configured to determine the intimacy between any two associated social accounts among the local social account and the third social account according to the target information between the any two associated social accounts. Wherein, the target information includes at least one of the following: interaction degree, relationship type intimacy degree, and interaction intimacy degree. Wherein, the interaction degree is determined according to the number of common group chats and / or the number of common friends between any two associated social accounts. Wherein, the relationship type intimacy degree is determined according to a preset correspondence relationship between the social relationship type and the relationship type intimacy degree value. Wherein, the interaction intimacy degree is determined according to the interaction frequency and the interaction reception degree between any two associated social accounts.
9. The account acquisition device according to claim 6, wherein The social relationship type information and the intimacy information between any two associated social accounts among the local social account and the third social account are stored in the form of a relationship network. Among them, the local social account and the third social account form nodes in the relationship network, and the social relationship type and intimacy between the two social accounts corresponding to the associated nodes are marked.
10. The account acquisition device according to claim 6, wherein The device further includes: a receiving module, configured to receive a first input of a user for the second target social account; a setting module, configured to, in response to the first input, set the viewing permission of the second target social account selected by the first input for the shared content to be the same as that of the first target social account.
11. An electronic device, characterized in that, It includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps in the account acquisition method according to any one of claims 1 to 5 are implemented.
12. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium. When the program or instruction is executed by the processor, the steps in the account acquisition method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Method and device for building social contact group
CN104052651A
Social communication method, device, electronic device and storage medium
CN109039869A