CN113300944A - Friend adding method and device and electronic equipment - Google Patents
Friend adding method and device and electronic equipment Download PDFInfo
- Publication number
- CN113300944A CN113300944A CN202110572351.XA CN202110572351A CN113300944A CN 113300944 A CN113300944 A CN 113300944A CN 202110572351 A CN202110572351 A CN 202110572351A CN 113300944 A CN113300944 A CN 113300944A
- Authority
- CN
- China
- Prior art keywords
- friend
- user
- social
- input
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 230000004044 response Effects 0.000 claims abstract description 35
- 238000012545 processing Methods 0.000 claims description 14
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 10
- 230000014759 maintenance of location Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72466—User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method and a device for adding friends and electronic equipment, and belongs to the technical field of mobile equipment. The method for adding the friends comprises the following steps: receiving first input of a first user to a sharing account interface; generating social application addition information based on the N social program icons selected by the first input in response to the first input; sending the social application adding information to a second user; receiving a friend adding request message sent by the second user, wherein the friend adding request message comprises M social program icons selected by the second user from the N social program icons; and adding the second user as a friend in M application programs corresponding to the M social program icons, and sending a notification of successful friend addition to the second user.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a friend adding method and device and electronic equipment.
Background
With the increasing of various social applications, a user usually has a plurality of social accounts or content sharing platforms of different applications, and for different social accounts or content sharing platforms, the user often has a demand for adding friends or increasing the number of people concerned by the plurality of applications.
In the prior art, friends are generally added by scanning codes in an application or by searching for an account. For the situation that a plurality of applications need to add friends, because the applications are independent, different applications need to be switched to add friends respectively, and the operation of adding friends of each application is different, so that the operation is complicated and the time is wasted.
Disclosure of Invention
The embodiment of the invention aims to provide a friend adding method and device and electronic equipment, which can solve the problems of complicated operation and time waste of friend adding requests of multiple applications in the prior art.
In a first aspect, an embodiment of the present invention provides a method for adding a friend, where the method includes:
receiving first input of a first user to a sharing account interface;
generating social application addition information based on the N social program icons selected by the first input in response to the first input;
sending the social application adding information to a second user;
receiving a friend adding request message sent by the second user, wherein the friend adding request message comprises M social program icons selected by the second user from the N social program icons;
adding the second user as a friend in M application programs corresponding to the M social program icons, and sending a friend adding success notice to the second user;
wherein M is less than or equal to N, M is a positive integer, and N is an integer greater than 1.
In a second aspect, an embodiment of the present invention provides a method for adding a friend, where the method includes:
receiving a sixth input of the second user to the friend adding interface;
in response to the sixth input, displaying a social program list interface, wherein the social program list interface comprises N application programs corresponding to the N social program icons; acquiring social application adding information of a first user, and generating a social application list interface;
receiving a seventh input to the social program listing interface by the second user;
responding to the seventh input, generating a corresponding friend adding request according to M social program icons selected from the N social program icons according to the seventh input, and sending the friend adding request to the first user;
and under the condition that a successful notification of adding friends of the first user is received, adding the first user as a friend in M application programs corresponding to the M social program icons.
In a third aspect, an embodiment of the present invention provides a friend adding apparatus, including:
the first receiving module is used for receiving first input of a first user to the sharing account interface;
the first response module is used for responding to the first input and generating social application adding information based on the N social program icons selected by the first input;
the information sending module is used for sending the social application adding information to a second user;
a request receiving module, configured to receive a friend addition request message sent by the second user, where the friend addition request message includes M social program icons selected by the second user from the N social program icons;
the first processing module is used for adding the second user as a friend in M application programs corresponding to the M social program icons and sending a notification of successful friend adding to the second user; wherein M is less than or equal to N, M is a positive integer, and N is an integer greater than 1.
In a fourth aspect, an embodiment of the present invention provides a friend adding apparatus, including:
the sixth receiving module is used for receiving a sixth input of the second user on the friend adding interface;
a sixth response module, configured to display a social program listing interface in response to the sixth input, where the social program listing interface includes N application programs corresponding to the N social program icons; acquiring social application adding information of a first user, and generating a social application list interface;
a seventh receiving module, configured to receive a seventh input to the social program listing interface by the second user;
a seventh response module, configured to respond to the seventh input, generate a corresponding friend addition request according to the M social program icons selected from the N social program icons according to the seventh input, and send the friend addition request to the first user;
and the second processing module is used for adding the first user as a friend in M application programs corresponding to the M social program icons under the condition of receiving a notification of successful friend adding of the first user.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, the embodiments of the present invention provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present invention provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In the embodiment of the invention, through the first input of the first user to the sharing account interface, the social application adding information is generated based on the N social program icons selected by the first input, the social application adding information is sent to the second user, and under the condition that a friend adding request sent by the second user is received, the second user is added as a friend in M application programs of the M social program icons, a friend adding success notification is sent to the second user, so that the second user adds the first user as the friend in the M application programs, and therefore, the friend adding requests of the M application programs of the first user and the second user can be quickly realized, the operation is simple and convenient, and the time is saved.
Drawings
Fig. 1 is a flowchart illustrating a method for adding a friend according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a sharing account interface according to an embodiment of the present invention;
fig. 3 is a schematic diagram of setting conditions after a friend is added according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an add buddy interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an application list interface of an embodiment of the present invention;
FIG. 6 is a second flowchart illustrating a friend adding method according to an embodiment of the invention;
fig. 7 is a third schematic flow chart of a friend adding method according to an embodiment of the present invention;
fig. 8 is a fourth schematic flowchart of a friend adding method according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a buddy list according to an embodiment of the present invention;
FIG. 10 is a diagram illustrating a sharing operation in a buddy list according to an embodiment of the present invention;
fig. 11 is a fifth flowchart illustrating a friend adding method according to an embodiment of the present invention;
fig. 12 is a sixth schematic flowchart of a friend adding method according to an embodiment of the present invention;
fig. 13 is a seventh flowchart illustrating a friend adding method according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a friend adding apparatus according to an embodiment of the present invention;
FIG. 15 is a second schematic structural diagram of a friend adding apparatus according to an embodiment of the invention;
FIG. 16 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 17 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
The terms first, second and the like in the description and in the claims of the present invention are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the invention may be practiced other than those illustrated or described herein, and that the objects identified as "first," "second," etc. are generally a class of objects and do not limit the number of objects, e.g., a first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method, the device and the electronic device for adding a friend provided by the embodiment of the invention are described in detail by specific embodiments and application scenarios thereof in conjunction with the accompanying drawings.
The embodiment of the invention discloses a friend adding method, as shown in fig. 1, which is used for realizing a first terminal and a second terminal of an interactive function, wherein the first terminal corresponds to a first user, and the second terminal corresponds to a second user. The number of the first terminal may be one, and the number of the second terminal may be one or more.
The method comprises the following steps 101-110:
Specifically, the first input may be a click input, a slide input, and the like of the first user on the sharing account interface, and the first input may also be a first operation.
Referring to fig. 2, fig. 2 shows a sharing account interface, which includes selecting social program icons and a first friend addition option, where each social program icon corresponds to an application of an account to be shared. Applications can be divided into two categories: communication applications and entertainment applications. By clicking the social program icon, the application program of the account to be shared can be determined.
And 102, the first terminal responds to the first input, and generates social application adding information based on N social program icons selected by the first input.
Referring to fig. 2, a plurality of social program icons are displayed in the sharing account interface. And finally determining the N social program icons as social application icons capable of being added by friends through clicking operation on the social program icons. Wherein N is an integer greater than 1.
In addition, the generated social application addition information may include: social application name, username, and account id, etc. The account identification is an ID number of the first user in each social application.
For example, for social application 1, the first user has a username of wang and an account identification of 12345678; for social application 2, the user name of the first user is wang123 and the account number is abcdef.
Optionally, in addition to the social program icon, referring to fig. 2, the sharing account interface in fig. 2 further includes a first friend addition option, and setting of addition rules of different friends can be implemented by selecting the first friend addition option, for example, setting whether to allow a friend to view the my state, whether a message of the friend needs a strong reminder, and the like.
Correspondingly, the first input is also used for selecting a first friend adding option, wherein the specific operation mode of the selection can be clicking operation, sliding operation and the like. Step 102 comprises: and generating the social application adding information according to the N social program icons selected by the first input and the first friend adding option.
Specifically, the first friend addition option includes: a friend adding mode corresponding to the friend type of the first user and a setting condition after friend adding.
Specifically, the setting options include setting of a friend adding mode in which the friend types are star friends, ordinary friends and temporary friends. The star mark friends represent important friends, the common friends represent friends in general relation, the temporary friends represent friends which are only temporarily added, and deletion time can be set. The friend adding mode of different friend types can be set, for example, the friend adding mode when the friend type is a common friend is set to be 'push-to-talk' or 'push-to-back'.
The push-to-talk mode mainly aims at communication applications, the applications relate to user privacy, and addition of friend applications requires authorization and approval of users. If the push-to-talk mode is selected, the background of the terminal obtains the friend adding permission of the related application, and agrees with the application of the friends of the applications to be shared by one key.
The one-key customs clearance mode is mainly aimed at entertainment applications, and the applications are content sharing platforms and can realize attention without personal consent. If the one-key back-off function is selected, the background of the terminal automatically pays attention to the added friends.
In addition, setting conditions after the addition of the friend can be set, for example, referring to fig. 3, the retention time of the temporary friend is set, whether the temporary friend is allowed to check the state of the temporary friend, whether the star friend needs strong message reminding, whether the business card is allowed to be shared for multiple times, whether the hidden pressing operation is started, and the specific operation is that when the sending button is clicked, the sending button is pressed with force, the friend type is automatically changed into the temporary friend, the push-to-talk function is cancelled, the one-key returning function is cancelled, and the like.
In a specific example, according to the checked social program icon and the first friend adding option, the generated social application adding information is as follows:
{ identification: (ii) a;
the application name is as follows: application 1, application 2, application 3, application 4;
user name: user name 1, user name 2, user name 3, user name 4;
account identification: mark 1, mark 2, mark 3 and mark 4;
the friend type is a common friend;
true after push-to-talk;
one-key back off is True;
the retention time of the temporary friends is 30 days;
the temporary friends view the status of True;
the star friend message strongly reminds of True;
allowing business cards to be shared repeatedly, True }
The identity identification represents the unique identity authentication information of the first user in the application.
In the embodiment, the social application adding information is generated through the N social program icons and the first friend adding option, diversified settings of adding friends can be realized, and the second user can be quickly added as a friend after receiving a friend adding request message of the second user.
If a plurality of second users can be provided, the method of the embodiment can quickly add the second users meeting different friend adding rules as friends; the second user can also be a friend who meets different application programs of a single second user.
It should be noted that, for the grouping setting of the star mark friends, the common friends and the temporary friends of the first user, the setting may be performed in the address list, and the friend types are not set in the sharing account interface, but the friend adding modes corresponding to different friend types are set.
Correspondingly, the method for determining the friend type of the first user comprises the following steps:
step 121, receiving a classification operation of the first user on the buddy list.
The classification operation comprises a clicking operation, a sliding operation, a dragging operation, an input operation and the like of the first user on the friend list.
And step 122, responding to the classification operation, classifying the contacts in the friend list, and determining the friend types of the contacts.
Through the steps 121-122, the setting of the friend types can be realized.
Further, the friend type of the contact person can be changed, for example, for friend a, the friend type is a temporary friend, after a period of time, the first user can change friend a from the temporary friend to a star-labeled friend, and the friend type can be changed by changing the friend type in the address list.
Specifically, there are various kinds of change operations of the buddy type, such as a click operation, a drag operation, a long press operation, and the like on the buddy a in the buddy list.
And 103, the first terminal sends the social application adding information to a second user.
In this embodiment, the social application addition information is sent to the second user by the first terminal in multiple ways: in one mode, the first terminal may send the social application addition information to the corresponding second user when receiving a request of the second user; in another way, the first terminal may actively send the social application information to the second user.
Specifically, the first user and the second user may be connected in various ways, for example, in a bluetooth manner or a two-dimensional code manner.
In this embodiment, preferably, the social application addition information is sent to the corresponding second user when the request of the second user is received, so that the second user with a friend addition requirement can be determined, invalid information sending is avoided, and network resources are saved.
And step 104, the second terminal receives a sixth input of the second user on the friend adding interface.
Specifically, the sixth input may be a click operation, an input operation, a sliding operation, and the like of the second user on the friend adding interface of the second terminal.
FIG. 4 illustrates an add buddy interface. By clicking the "add friend" option 401, a jump can be made to the add friend interface. There are various ways to add a friend, such as bluetooth or two-dimensional code.
And step 105, the second terminal responds to the sixth input and displays a social program list interface, wherein the social program list interface comprises N application programs corresponding to the N social program icons.
In a specific implementation manner, the second terminal may be connected with the first terminal through bluetooth pairing or scanning the two-dimensional code to request to acquire the social application information of the first user.
In particular, referring to FIG. 5, FIG. 5 illustrates a social program listing interface. The social program listing interface is generated according to the received social application addition information, and includes a plurality of social program icons 501: "application 1: user name 1 "," application 2: user name 2 "," application 3: user name 3 "," application 4: user name 4 ".
In addition, the social program listing interface may also include a set option to set a second add-to-friends rule.
The second friend adding rule comprises: a friend adding mode corresponding to the friend type of the second user and a setting condition after friend adding.
Specifically, the setting conditions after the addition of the friend include: the method comprises the steps of setting retention time of temporary friends, allowing the temporary friends to check the state of the temporary friends, allowing the star-shaped friends to strongly remind the star-shaped friends whether to need messages, allowing business cards to be shared for many times, and opening pressing hidden operation.
It should be noted that, for the grouping setting of the star mark friends, the common friends and the temporary friends of the second user, the setting may be performed in the address list, and the friend types are not set in the sharing account interface, but the friend adding modes corresponding to different friend types are set.
And 106, the second terminal receives a seventh input of the second user to the social program list interface.
Specifically, the seventh input may be a click input, a slide input, and the like of the second user on the social program list interface, and the seventh input may also be a seventh operation.
By clicking on M of the N social program icons 501 in the application list interface, the corresponding application program may be determined.
And step 107, the second terminal responds to the seventh input, generates corresponding friend adding requests according to M social program icons selected from the N social program icons according to the seventh input, and sends the friend adding requests to the first user.
Referring to fig. 5, fig. 5 shows 6 social program icons 501. Through clicking operation, 6 social program icons 501 in the 6 social program icons can be determined to generate corresponding friend adding requests; it may also be determined that 1, 2, 3, 4, or 5 of the 6 social program icons 501 generate corresponding add-to-friends requests.
Optionally, in addition to the social program icon, referring to fig. 5, the sharing account interface in fig. 5 further includes a second friend addition option, and setting of addition rules of different friends can be implemented by selecting the second friend addition option, for example, setting whether to allow a friend to view the my state, whether a message of the friend needs a strong reminder, and the like.
Correspondingly, the seventh input is also used for selecting a second friend adding option, and step 107 includes: and generating a corresponding friend adding request according to the M social program icons and the second friend adding options selected from the N social program icons according to the seventh input.
Wherein the second friend adding option comprises: and a friend adding mode corresponding to the friend type of the second user and setting condition options after friend adding.
The friend types of the second user comprise at least one of star friends, common friends and temporary friends. The method includes adding options to a second friend of a second user, for example, setting retention time of a temporary friend, whether the temporary friend is allowed to check the my state, whether a star friend needs strong message reminding, whether a business card is allowed to be shared for multiple times, whether to start hidden pressing operation, and specifically, when a sending button is clicked, the sending button is pressed forcefully, the friend type is changed into the temporary friend automatically, and the like.
The implicit operation method provided in the embodiment can enable a user to realize implicit operation according to screen pressing force or fingerprint identification and other operations, and privacy is protected.
In the embodiment, the social application adding information is generated through the M social program icons and the second friend adding options, diversified settings of adding friends can be realized, and the first user can be added as a friend in multiple applications according to the friend type of the first user under the condition that the successful notification of adding friends of the first user is received.
Specifically, the first terminal may receive the friend addition request message sent by the second user through bluetooth, a wireless network, and the like.
And step 109, the first terminal adds the second user as a friend in the M application programs corresponding to the M social program icons, and sends a notification of successful friend addition to the second user.
Specifically, for the case that the social application addition information includes the first friend addition option, step 109 includes: and adding the second user as a friend in M application programs corresponding to the M social program icons according to the first friend adding option.
Specifically, the step 109 includes the following steps 191 to 194:
and step 191, determining the application authority of the M application programs.
In particular, the application rights may include communication-type applications and entertainment-type applications.
Step 192, determining the friend types of the second user and the first user.
Specifically, the types of friends include star-labeled friends, ordinary friends, and temporary friends.
And 193, determining a friend adding mode according to the friend type.
For example, the friend type of the second user is a common friend, and it is determined that the friend adding mode to the second user in the M application programs is push-to-talk according to the first friend adding option.
Step 194, adding the second user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
Specifically, if the application authority of the M application programs is the communication application and the friend addition mode is one-touch, the second user is allowed to be added as the friend by one-touch.
For example, if the second user is set as a temporary friend, determining a friend adding mode for the second user in the M application programs according to the setting of the first friend adding option on the temporary friend.
By the method, the friend application of the second user in the plurality of application programs can be pushed through by one, so that the operation is convenient and fast.
And step 110, adding the first user as a friend in M application programs corresponding to the M social program icons by the second terminal under the condition that the notification of successful friend adding of the first user is received.
Specifically, in the case that the social application addition information includes the second friend addition option, step 110 includes: and adding the first user as a friend in M application programs corresponding to the M social program icons according to the second friend adding option.
Specifically, the step 110 comprises the following steps 111-114:
and step 111, determining the application authority of the M application programs.
In particular, the application rights may include communication-type applications and entertainment-type applications.
Step 112, determining the friend types of the first user and the second user.
Specifically, the types of friends include star-labeled friends, ordinary friends, and temporary friends.
And step 113, determining a friend adding mode according to the friend type.
Step 114, adding the first user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
For example, if the application authority of the M application programs is determined to be the communication application, the friend type of the first user is a common friend, and the friend adding mode of the second user in the application program is determined to be push-to-talk according to the second friend adding option, the first user is added as the common friend by push-to-talk in the M application programs.
Through steps 111-114 of the embodiment, the first user can be added as a friend in multiple application programs, and the operation is convenient and fast.
According to the friend adding method provided by the embodiment of the invention, through the first input of the first user to the sharing account interface, the social application adding information is generated based on the N social program icons selected by the first input, the social application adding information is sent to the second user, and under the condition that a friend adding request sent by the second user is received, the second user is added as a friend in M application programs of the M social program icons, and a friend adding success notification is sent to the second user, so that the second user adds the first user as a friend in the M application programs, and therefore, the friend adding requests of the M application programs of the first user and the second user can be quickly realized, the operation is simple and convenient, and the time is saved.
The embodiment of the invention discloses a friend adding method, which comprises the following steps 601-605 as shown in FIG. 6:
Specifically, the first input may be a click operation, an input operation, a sliding operation, and the like of the first user on the sharing account interface.
For a specific form of the account interface sharing, refer to fig. 2 and the explanation of the foregoing embodiment, which are not described herein again.
Specifically, the generated social application addition information may include: social application name, username, and account id, etc.
Optionally, the first input may also be the first operation. The first input is also used for selecting a first friend adding option, wherein the specific operation mode of selection can be clicking operation, sliding operation and the like.
Step 102 comprises: and generating the social application adding information according to the N social program icons selected by the first input and the first friend adding option.
Specifically, the first friend addition option includes: a friend adding mode corresponding to the friend type of the first user and a setting condition after friend adding.
Specifically, the setting options include setting of a friend adding mode in which the friend types are star friends, ordinary friends and temporary friends. The star mark friends represent important friends, the common friends represent friends in general relation, the temporary friends represent friends which are only temporarily added, and deletion time can be set. The friend adding mode of different friend types can be set, for example, the friend adding mode when the friend type is a common friend is set to be 'push-to-talk' or 'push-to-back'.
For a detailed explanation of the push-to-talk, the one-key-back and the setting condition, reference is made to the foregoing embodiment, and a detailed description thereof is omitted here.
In this embodiment, there are multiple ways to send the social application addition information to the second user: in one mode, the social application adding information can be sent to the corresponding second user under the condition that the request of the second user is received; in another approach, the social application information may be proactively sent to the second user.
Specifically, the first user and the second user may be connected in various ways, for example, in a bluetooth manner or a two-dimensional code manner.
In this embodiment, preferably, the social application addition information is sent to the corresponding second user when the request of the second user is received, so that the second user with a friend addition requirement can be determined, invalid information sending is avoided, and network resources are saved.
Specifically, the friend addition request message sent by the second user may be received through bluetooth, a wireless network, and the like.
Specifically, for the case that the social application add information includes the first friend add option, step 605 includes: and adding the second user as a friend in M application programs corresponding to the M social program icons according to the first friend adding option.
Specifically, step 605 includes:
and step 651, determining the application authority of the M application programs.
In particular, the application rights may include communication-type applications and entertainment-type applications.
Step 652, determining the friend type of the second user and the first user.
Specifically, the types of friends include star-labeled friends, ordinary friends, and temporary friends.
And step 653, determining a friend adding mode according to the friend type.
For example, the friend type of the second user is a common friend, and it is determined that the friend adding mode to the second user in the M application programs is push-to-talk according to the first friend adding option.
And step 654, adding the second user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
Specifically, if the application authority of the application program is the communication application and the friend adding mode is one-touch, the second user is allowed to be added as the friend by one-touch.
By the method, the friend application of the second user in the plurality of application programs can be pushed through by one, so that the operation is convenient and fast.
Optionally, referring to fig. 7, the method further comprises:
and 701, receiving a second input of the first user.
Specifically, the names, the mobile phone numbers and other information of the contacts in the friend list can be obtained, friend information of the application programs is searched, information such as head images, user names and mobile phone numbers is extracted, the information of the contacts in the friend list and the friend information of the application programs are matched and combined, social application adding information of the contacts is obtained, and social program icons of the contacts are correspondingly generated.
Optionally, after generating the social program icon corresponding to each contact, referring to fig. 8, the method further includes:
The third input may be a click input, a slide input, a drag input, etc. to a friend in the friend list. The third input may also be a third operation.
And step 802, responding to the third input, and determining the contact to be shared.
Fig. 9 shows a display interface of the buddy list. The friend list includes star friends, ordinary friends, and temporary friends, and each friend has a corresponding display interface 91. Where the display interface of each friend includes the social program icon 92 for that friend.
And determining that the contact to be shared is friend A by clicking the clicking operation of the clicking box 93 of the display interface 91 of friend A.
Wherein the fourth input is a click input to the social program icon. The fourth input may also be a fourth operation.
And step 804, responding to the second selection operation, and determining a social program icon to be shared of the contact to be shared.
Referring to fig. 10, the social program icon of the contact to be shared is determined by clicking on friend a's social program icon a 3.
The selected social program icon can be displayed in a frame selection or highlight mode to improve the identification degree.
And 806, responding to the fifth input, and sharing the contact to be shared and the social program icon to be shared to the target user. The fifth input may be a click input, a slide input, etc. to a control for triggering the processing of step 806, or other preset input manner. The fifth input may also be a fifth operation.
Referring to fig. 10, the contact to be shared and the social program icon to be shared are shared to the target user by clicking a sharing button below the screen.
In addition, after the contact persons and the related applications are selected from the friend list, the functions of deleting or blacking the friends can be realized by selecting to delete or blacking the friends in batch operation, and the friends can be managed in batch conveniently.
According to the friend adding method provided by the embodiment of the invention, through the first input of the first user to the sharing account interface, the social application adding information is generated based on the N social program icons selected by the first input, the social application adding information is sent to the second user, and under the condition that a friend adding request sent by the second user is received, the second user is added as a friend in M application programs of the M social program icons, and a friend adding success notification is sent to the second user, so that the friend adding request of the M application programs of the first user can be quickly realized, the operation is simple and convenient, and the time is saved.
The embodiment of the invention discloses a method for adding friends, as shown in fig. 11, comprising the following steps:
and 1101, receiving a sixth input of the second user to the friend adding interface. The sixth input may be click input, sliding input, or the like for the added friend interface, or other preset input modes. The sixth input may also be a sixth operation.
For the social program list interface, refer to fig. 5 and the explanation of the foregoing embodiment, which are not repeated herein.
And generating the social program list interface according to the social application adding information received by the second user. After receiving the social application addition information, the method further comprises:
and confirming whether the N application programs corresponding to the N social program icons in the social application adding information are all effectively installed.
And if so, generating an application list interface according to the N social program icons in the social application adding information.
And if not, downloading the installation package of the uninstalled application program for installation, and after the installation is finished, generating an application list interface according to the N social application program icons in the social application addition information.
By generating the social program list interface, the user can operate the application program to which the friend is to be added conveniently and intuitively.
In particular, the seventh input may be a click input, a swipe input, etc. of the second user to the social program listing interface. The seventh input may also be a seventh operation.
And 1104, responding to the seventh input, generating a corresponding friend adding request according to the M social program icons selected from the N social program icons according to the seventh input, and sending the friend adding request to the first user.
Referring to fig. 5, fig. 5 shows 6 social program icons. Through clicking operation, 6 social program icons in the 6 social program icons are determined to generate corresponding friend adding requests; it may also be determined that 1, 2, 3, 4, or 5 of the 6 social program icons generate corresponding add-to-friends requests.
Optionally, in addition to the social program icon, referring to fig. 5, the sharing account interface in fig. 5 further includes a second friend addition option, and setting of addition rules of different friends can be implemented by selecting the second friend addition option, for example, setting whether to allow a friend to view the my state, whether a message of the friend needs a strong reminder, and the like.
Correspondingly, the seventh input is also used for selecting a second friend adding option, and step 1104 includes: and generating a corresponding friend adding request according to the M social program icons and the second friend adding options selected from the N social program icons according to the seventh input.
Wherein the second friend adding option comprises: and a friend adding mode corresponding to the friend type of the second user and setting condition options after friend adding.
The friend types of the second user comprise at least one of star friends, common friends and temporary friends. The method includes adding options to a second friend of a second user, for example, setting retention time of a temporary friend, whether the temporary friend is allowed to check the my state, whether a star friend needs strong message reminding, whether a business card is allowed to be shared for multiple times, whether to start hidden pressing operation, and specifically, when a sending button is clicked, the sending button is pressed forcefully, the friend type is changed into the temporary friend automatically, and the like.
In the embodiment, the social application adding information is generated through the M social program icons and the second friend adding options, diversified settings of adding friends can be realized, and the first user can be added as a friend in multiple applications according to the friend type of the first user under the condition that the successful notification of adding friends of the first user is received.
Step 1105, adding the first user as a friend in M application programs corresponding to the M social program icons, when receiving a notification of success in adding a friend of the first user.
Specifically, step 1105 includes: and adding the first user as a friend in M application programs corresponding to the M social program icons according to the second friend adding option.
Specifically, step 1105 includes:
and step 1151, determining the application authority of the M application programs.
Step 1152, determining the friend types of the first user and the second user.
Specifically, the types of friends include star-labeled friends, ordinary friends, and temporary friends.
Step 1153, determining a friend adding mode according to the friend type.
For example, the friend type of the first user is a common friend, and it is determined that the friend adding mode to the first user in the M application programs is push-to-talk according to the second friend adding option.
Step 1154, adding the first user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
Through the steps 1151-1154, the fact that the first user is a friend can be added in the multiple application programs, and operation is convenient and fast.
Optionally, referring to fig. 12, the method further comprises:
The eighth input is a click input, a slide input, a drag input, and the like of the second user on the buddy list, and the eighth input may also be an eighth operation.
Specifically, the names, the mobile phone numbers and other information of the contacts in the friend list can be obtained, friend information of the application programs is searched, information such as head images, user names and mobile phone numbers is extracted, the information of the contacts in the friend list and the friend information of the application programs are matched and combined, social application adding information of the contacts is obtained, and social program icons of the contacts are correspondingly generated.
Optionally, after generating the social program icon corresponding to each contact, referring to fig. 13, the method further includes:
And step 1303, receiving a tenth input of the social program icon of the contact to be shared by the second user.
And 1306, responding to the eleventh input, and sharing the contact to be shared and the social program icon to be shared to the target user.
In addition, after the contact persons and the related applications are selected from the friend list, the functions of deleting or blacking the friends can be realized by selecting to delete or blacking the friends in batch operation, and the friends can be managed in batch conveniently.
For the process of sharing the to-be-shared contact and the to-be-shared social program icon of the second user, the same as the process of sharing the to-be-shared contact and the to-be-shared social program icon of the first user, refer to the explanation of the above embodiment for the first user for sharing the to-be-shared contact and the to-be-shared social program icon, and no further description is given here.
In the method for adding friends provided by the embodiment of the invention, the social program list interface is displayed in response to the sixth input of the second user on the friend adding interface; responding to a seventh input of the second user to the social program list interface, generating corresponding friend adding requests from M social program icons selected from the N social program icons, and sending the corresponding friend adding requests to the first user, so that the first user friend adding requests can be requested from the M application programs; and under the condition that a successful notification of adding friends of the first user is received, the first user is added as a friend in M application programs corresponding to the M social program icons, friend adding requests of multiple applications of the first user and the second user are achieved, operation is simple and convenient, and time is saved.
It should be noted that, in the method for adding a friend provided in the embodiment of the present invention, the execution subject may be a device for adding a friend, or a control module in the device for adding a friend, which is used for executing the method for adding a friend. The method for adding the friend by the friend adding device is taken as an example in the embodiment of the invention, and the friend adding device provided by the embodiment of the invention is explained.
The embodiment of the invention discloses a friend adding device, which is shown in fig. 14 and comprises the following components:
a first receiving module 1401, configured to receive a first input of a first user to a sharing account interface;
a first response module 1402, configured to generate, in response to the first input, social application addition information based on the N social program icons selected by the first input;
an information sending module 1403, configured to send the social application addition information to the second user;
a request receiving module 1404, configured to receive a friend addition request message sent by the second user, where the friend addition request message includes M social program icons selected by the second user from the N social program icons;
a first processing module 1405, configured to add the second user as a friend to the M application programs corresponding to the M social program icons, and send a notification that adding the friend is successful to the second user; wherein M is less than or equal to N, M is a positive integer, and N is an integer greater than 1.
Optionally, the first input is further used for selecting a first friend adding option;
the first response module 1402 is specifically configured to: generating the social application adding information according to the N social program icons selected by the first input and the first friend adding option;
the first processing module 1405 is specifically configured to: and adding the second user as a friend in M application programs corresponding to the M social program icons according to the first friend adding option.
Optionally, the first processing module 1405 is specifically configured to:
determining application permissions of the M application programs;
determining a friend type of the second user and the first user;
determining a friend adding mode according to the friend type;
and adding the second user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a second input of the first user;
and the second response module is used for responding to the second input and generating a social program icon corresponding to each contact person based on the social application adding information of each contact person in the friend list.
Optionally, the apparatus further comprises:
the third receiving module is used for receiving third input of the first user to the friend list after the social program icon corresponding to each contact person is generated;
the third response module is used for responding to the third input and determining the contact to be shared;
the fourth receiving module is used for receiving fourth input of the social program icon of the contact to be shared of the first user;
a fourth response module, configured to determine, in response to the fourth input, a social program icon to be shared of the contact to be shared;
a fifth receiving module, configured to receive a fifth input of the first user;
and the fifth response module is used for responding to the fifth input and sharing the contact to be shared and the social program icon to be shared to the target user.
According to the friend adding device, the first input of the first user to the sharing account interface is used, the social application adding information is generated based on the N social program icons selected by the first input, the social application adding information is sent to the second user, the second user is added to the M application programs of the M social program icons to serve as a friend under the condition that a friend adding request sent by the second user is received, the friend adding request of the M application programs of the first user and the second user is sent to the second user successfully, and therefore the friend adding request of the M application programs of the first user and the second user can be achieved quickly, operation is simple and convenient, and time is saved.
The embodiment of the present invention further discloses a friend adding device, referring to fig. 15, including:
a sixth receiving module 1501, configured to receive a sixth input of the second user to the friend-added interface;
a sixth response module 1502, configured to display, in response to the sixth input, a social program list interface, where the social program list interface includes N applications corresponding to the N social program icons; acquiring social application adding information of a first user, and generating a social application list interface;
a seventh receiving module 1503, configured to receive a seventh input to the social program listing interface by the second user;
a seventh response module 1504, configured to generate, in response to the seventh input, corresponding friend adding requests according to the M social program icons selected from the N social program icons according to the seventh input, and send the friend adding requests to the first user;
the second processing module 1505 is configured to, in the case that the notification of successful friend adding of the first user is received, add the first user as a friend in M application programs corresponding to the M social program icons.
Optionally, the seventh input is further used for selecting a second friend addition option;
the seventh response module 1504 is specifically configured to: generating a corresponding friend adding request according to the M social program icons selected from the N social program icons and the second friend adding option according to the seventh input;
the second processing module 1505 is specifically configured to: and adding the first user as a friend in M application programs corresponding to the M social program icons according to the second friend adding option.
Optionally, the second processing module 1505 is specifically configured to:
determining application permissions of the M application programs;
determining friend types of the first user and the second user;
determining a friend adding mode according to the friend type;
and adding the first user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
The friend adding device responds to the sixth input of the second user for adding the friend interface and displays the social program list interface; responding to a seventh input of the second user to the social program list interface, generating corresponding friend adding requests from M social program icons selected from the N social program icons, and sending the corresponding friend adding requests to the first user, so that the first user friend adding requests can be requested from the M application programs; and under the condition that a successful notification of adding friends of the first user is received, the first user is added as a friend in M application programs corresponding to the M social program icons, friend adding requests of multiple applications of the first user and the second user are achieved, operation is simple and convenient, and time is saved.
The friend adding device in the embodiment of the invention can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The friend adding device in the embodiment of the invention can be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The friend adding device provided by the embodiment of the invention can realize each process realized by the method embodiments in fig. 1 to fig. 13, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 16, an electronic device 1600 further provided in an embodiment of the present invention includes a processor 1601, a memory 1602, and a program or an instruction stored in the memory 1602 and executable on the processor 1601, where the program or the instruction is executed by the processor 1601 to implement each process of the foregoing method for adding a friend embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present invention includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 17 is a schematic diagram of a hardware structure of an electronic device for implementing an embodiment of the present invention.
The electronic device 1700 includes, but is not limited to: radio frequency unit 1701, network module 1702, audio output unit 1703, input unit 1704, sensor 1705, display unit 1706, user input unit 1707, interface unit 1708, memory 1709, and processor 1710.
Those skilled in the art will appreciate that the electronic device 1700 may also include a power supply (e.g., a battery) for powering the various components, and that the power supply may be logically coupled to the processor 1710 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 17 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The user input unit 1707 is configured to receive a first input of a first user to the sharing account interface;
a processor 1710, configured to generate, in response to the first input, social application addition information based on the N social program icons selected by the first input;
sending the social application adding information to a second user;
receiving a friend adding request message sent by the second user, wherein the friend adding request message comprises M social program icons selected by the second user from the N social program icons;
adding the second user as a friend in M application programs corresponding to the M social program icons, and sending a friend adding success notice to the second user;
wherein M is less than or equal to N, M is a positive integer, and N is an integer greater than 1.
According to the electronic device provided by the embodiment of the invention, through the first input of the first user to the sharing account interface, the social application adding information is generated based on the N social program icons selected by the first input, the social application adding information is sent to the second user, and under the condition that a friend adding request sent by the second user is received, the second user is added as a friend in M application programs of the M social program icons, and a friend adding success notification is sent to the second user, so that the second user adds the first user as a friend in the M application programs, and therefore, the friend adding request of the M application programs of the first user and the second user can be quickly realized, the operation is simple and convenient, and the time is saved.
Optionally, the processor 1710 is specifically configured to: generating the social application adding information according to the N social program icons selected by the first input and the first friend adding option;
the processor 1710, is specifically configured to: and adding the second user as a friend in M application programs corresponding to the M social program icons according to the first friend adding option.
In the electronic device in this embodiment, the second user is added as a friend in M application programs according to the first friend addition option, so that the friend is added in one key of the second user of the multiple application programs, and the operation is simple and convenient.
Optionally, the processor 1710 is specifically configured to:
determining application permissions of the M application programs;
determining a friend type of the second user and the first user;
determining a friend adding mode according to the friend type;
and adding the second user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
The electronic device in the embodiment adds the second user as the friend in the corresponding application program according to the friend adding mode and the application permission of the application program, so that one-key adding of the second users with different friend types can be realized, and the operation is simple and convenient.
Optionally, a user input unit 1707, configured to receive a second input by the first user;
the processor 1710, is specifically configured to: and responding to the second input, and generating a social program icon corresponding to each contact person based on the social application adding information of each contact person in the friend list so as to facilitate the operation of viewing and subsequently sharing the social program icon of the contact person.
Optionally, the user input unit 1707 is configured to receive, after a native application icon corresponding to each contact is generated, a third input of the first user to the buddy list;
a processor 1710 configured to determine a contact to share in response to the third input;
the user input unit 1707 is configured to receive a fourth input of a social program icon of the contact to be shared by the first user;
a processor 1710, configured to determine, in response to the fourth input, a to-be-shared social program icon for the to-be-shared contact;
a user input unit 1707 for receiving a fifth input of the first user;
a processor 1710, configured to share the to-be-shared contact and the to-be-shared social program icon thereof to a target user in response to the fifth input.
The electronic device of the embodiment can realize sharing of the to-be-shared contact and the to-be-shared social program icon thereof, so that the target user of the second user adds the to-be-shared contact in the to-be-shared social program.
In addition, the electronic device shown in fig. 17 is also used to implement:
a user input unit 1707, configured to receive a sixth input of the second user to the friend-added interface;
a processor 1710, configured to display a social program listing interface in response to the sixth input, where the social program listing interface includes N applications corresponding to the N social program icons;
a user input unit 1707, configured to receive a seventh input to the social program list interface from the second user;
a processor 1710, configured to respond to the seventh input, generate a corresponding friend adding request according to the M social program icons selected from the N social program icons according to the seventh input, and send the friend adding request to the first user;
a processor 1710, configured to add, in the M applications corresponding to the M social program icons, the first user as a friend when receiving the notification that the friend addition of the first user is successful.
The electronic equipment responds to a sixth input of the second user for adding the friend interface, and displays a social program list interface; responding to a seventh input of the second user to the social program list interface, generating corresponding friend adding requests from M social program icons selected from the N social program icons, and sending the corresponding friend adding requests to the first user, so that the first user friend adding requests can be requested from the M application programs; and under the condition that a successful notification of adding friends of the first user is received, the first user is added as a friend in M application programs corresponding to the M social program icons, friend adding requests of multiple applications of the first user and the second user are achieved, operation is simple and convenient, and time is saved.
Optionally, the processor 1710 is specifically configured to: generating a corresponding friend adding request according to the M social program icons selected from the N social program icons and the second friend adding option according to the seventh input;
the processor 1710, is specifically configured to: and adding the first user as a friend in M application programs corresponding to the M social program icons according to the second friend adding option.
The electronic equipment of the embodiment can add the first user as a friend in a plurality of application programs, and is convenient and fast to operate.
Optionally, the processor 1710 is specifically configured to:
determining application permissions of the M application programs;
determining friend types of the first user and the second user;
determining a friend adding mode according to the friend type;
and adding the first user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
The electronic device in the embodiment adds the first user as the friend in the plurality of application programs according to the friend adding mode and the application permission of the application programs, so that one-key addition of the first user in the plurality of application programs can be realized, and the operation is simple and convenient.
It should be understood that, in the embodiment of the present invention, the input Unit 1704 may include a Graphics Processing Unit (GPU) 17041 and a microphone 17042, and the Graphics Processing Unit 17041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. User input unit 1707 includes a touch panel 17071 and other input devices 17072. A touch panel 17071, also referred to as a touch screen. The touch panel 17071 may include two parts, a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1709 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. The processor 1710 can integrate an application processor, which primarily handles operating systems, user interfaces, application programs, and the like, and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1710.
The embodiment of the present invention further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above method for adding a friend, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present invention further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above method for adding a friend, and the same technical effect can be achieved, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present invention may also be referred to as a system-on-chip, a system-on-chip or a system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of embodiments of the present invention is not limited to performing functions in the order illustrated or discussed, but may include performing functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (14)
1. A friend adding method is characterized by comprising the following steps:
receiving first input of a first user to a sharing account interface;
generating social application addition information based on the N social program icons selected by the first input in response to the first input;
sending the social application adding information to a second user;
receiving a friend adding request message sent by the second user, wherein the friend adding request message comprises M social program icons selected by the second user from the N social program icons;
adding the second user as a friend in M application programs corresponding to the M social program icons, and sending a friend adding success notice to the second user;
wherein M is less than or equal to N, M is a positive integer, and N is an integer greater than 1.
2. The method of claim 1, wherein the first input is further used to select a first buddy addition option;
generating social application addition information based on the N social program icons selected by the first input, wherein the social application addition information comprises:
generating the social application adding information according to the N social program icons selected by the first input and the first friend adding option;
the adding the second user as a friend in the M application programs corresponding to the M social program icons includes:
and adding the second user as a friend in M application programs corresponding to the M social program icons according to the first friend adding option.
3. The method of claim 2, wherein the first buddy adding option comprises: a friend adding mode corresponding to the friend type of the first user and setting condition options after friend adding;
the friend types of the first user comprise at least one of star friends, common friends and temporary friends.
4. The method of claim 3, wherein adding the second user as a friend in M applications corresponding to the M social program icons according to the first friend addition option comprises:
determining application permissions of the M application programs;
determining a friend type of the second user and the first user;
determining a friend adding mode according to the friend type;
and adding the second user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
5. The method of claim 1, further comprising:
receiving a second input of the first user;
and responding to the second input, and generating a social program icon corresponding to each contact person based on the social application adding information of each contact person in the friend list.
6. The method of claim 5, wherein after generating the social program icon for each contact, the method further comprises:
receiving a third input of the friend list by the first user;
in response to the third input, determining a contact to be shared;
receiving a fourth input of a social program icon of a contact to be shared by the first user;
in response to the fourth input, determining a social program icon to be shared of the contact to be shared;
receiving a fifth input by the first user;
and responding to the fifth input, and sharing the contact to be shared and the social program icon to be shared to the target user.
7. A friend adding method is characterized by comprising the following steps:
receiving a sixth input of the second user to the friend adding interface;
in response to the sixth input, displaying a social program list interface, wherein the social program list interface comprises N application programs corresponding to the N social program icons;
receiving a seventh input to the social program listing interface by the second user;
responding to the seventh input, generating a corresponding friend adding request according to M social program icons selected from the N social program icons according to the seventh input, and sending the friend adding request to the first user;
and under the condition that a successful notification of adding friends of the first user is received, adding the first user as a friend in M application programs corresponding to the M social program icons.
8. The method of claim 7, wherein the seventh input is further for selecting a second buddy addition option;
generating a corresponding friend adding request according to M social program icons selected from the N social program icons according to the seventh input, wherein the friend adding request comprises:
generating a corresponding friend adding request according to the M social program icons selected from the N social program icons and the second friend adding option according to the seventh input;
adding the first user as a friend in M application programs corresponding to the M social program icons, wherein the adding comprises:
and adding the first user as a friend in M application programs corresponding to the M social program icons according to the second friend adding option.
9. The method of claim 8, wherein adding the option to the second buddy comprises: a friend adding mode corresponding to the friend type of the second user and setting condition options after friend adding;
the friend types of the second user comprise at least one of star friends, common friends and temporary friends.
10. The method of claim 8, wherein adding the first user as a friend in M application programs corresponding to the M social program icons according to the second friend addition option comprises:
determining application permissions of the M application programs;
determining friend types of the first user and the second user;
determining a friend adding mode according to the friend type;
and adding the first user as a friend in the M application programs according to the friend adding mode and the application permissions of the M application programs.
11. A friend adding apparatus, comprising:
the first receiving module is used for receiving first input of a first user to the sharing account interface;
the first response module is used for responding to the first input and generating social application adding information based on the N social program icons selected by the first input;
the information sending module is used for sending the social application adding information to a second user;
a request receiving module, configured to receive a friend addition request message sent by the second user, where the friend addition request message includes M social program icons selected by the second user from the N social program icons;
the first processing module is used for adding the second user as a friend in M application programs corresponding to the M social program icons and sending a notification of successful friend adding to the second user; wherein M is less than or equal to N, M is a positive integer, and N is an integer greater than 1.
12. A friend adding apparatus, comprising:
the sixth receiving module is used for receiving a sixth input of the second user on the friend adding interface;
a sixth response module, configured to display a social program listing interface in response to the sixth input, where the social program listing interface includes N application programs corresponding to the N social program icons; acquiring social application adding information of a first user, and generating a social application list interface;
a seventh receiving module, configured to receive a seventh input to the social program listing interface by the second user;
a seventh response module, configured to respond to the seventh input, generate a corresponding friend addition request according to the M social program icons selected from the N social program icons according to the seventh input, and send the friend addition request to the first user;
and the second processing module is used for adding the first user as a friend in M application programs corresponding to the M social program icons under the condition of receiving a notification of successful friend adding of the first user.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of adding buddies in accordance with any of claims 1-6.
14. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of adding buddies in accordance with any of claims 7-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110572351.XA CN113300944A (en) | 2021-05-25 | 2021-05-25 | Friend adding method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110572351.XA CN113300944A (en) | 2021-05-25 | 2021-05-25 | Friend adding method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113300944A true CN113300944A (en) | 2021-08-24 |
Family
ID=77324764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110572351.XA Pending CN113300944A (en) | 2021-05-25 | 2021-05-25 | Friend adding method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113300944A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023088044A1 (en) * | 2021-11-17 | 2023-05-25 | 北京字节跳动网络技术有限公司 | Data processing method and apparatus, electronic device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270495A (en) * | 2014-09-22 | 2015-01-07 | 广东欧珀移动通信有限公司 | Contact adding method, system and mobile terminals |
CN106354532A (en) * | 2016-08-26 | 2017-01-25 | 北京小米移动软件有限公司 | Processing method and device for application account information |
CN107888487A (en) * | 2017-12-28 | 2018-04-06 | 江苏神州信源系统工程有限公司 | A kind of good friend's adding method across instantaneous communication system |
CN108540673A (en) * | 2018-06-25 | 2018-09-14 | 奇酷互联网络科技(深圳)有限公司 | Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal |
CN110830360A (en) * | 2019-10-12 | 2020-02-21 | 中国平安财产保险股份有限公司 | Multi-application program intercommunication method, electronic device and computer readable storage medium |
-
2021
- 2021-05-25 CN CN202110572351.XA patent/CN113300944A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270495A (en) * | 2014-09-22 | 2015-01-07 | 广东欧珀移动通信有限公司 | Contact adding method, system and mobile terminals |
CN106354532A (en) * | 2016-08-26 | 2017-01-25 | 北京小米移动软件有限公司 | Processing method and device for application account information |
CN107888487A (en) * | 2017-12-28 | 2018-04-06 | 江苏神州信源系统工程有限公司 | A kind of good friend's adding method across instantaneous communication system |
CN108540673A (en) * | 2018-06-25 | 2018-09-14 | 奇酷互联网络科技(深圳)有限公司 | Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal |
CN110830360A (en) * | 2019-10-12 | 2020-02-21 | 中国平安财产保险股份有限公司 | Multi-application program intercommunication method, electronic device and computer readable storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023088044A1 (en) * | 2021-11-17 | 2023-05-25 | 北京字节跳动网络技术有限公司 | Data processing method and apparatus, electronic device, and storage medium |
US11902340B2 (en) | 2021-11-17 | 2024-02-13 | Beijing Bytedance Network Technology Co., Ltd. | Data processing method, apparatus, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112286887A (en) | File sharing method and device and electronic equipment | |
CN112788178B (en) | Message display method and device | |
CN112286412A (en) | Notification message management method and device | |
CN112417420A (en) | Information processing method and device and electronic equipment | |
CN113794795A (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN112671635A (en) | Sending method, sending device and electronic equipment | |
CN112533072A (en) | Image sending method and device and electronic equipment | |
CN113676395B (en) | Information processing method, related device and readable storage medium | |
CN112232779B (en) | Schedule management method and device | |
CN112235412B (en) | Message processing method and device | |
CN113709306A (en) | Session processing method and device and electronic equipment | |
CN113300944A (en) | Friend adding method and device and electronic equipment | |
CN112163200A (en) | Picture processing method and device and electronic equipment | |
CN112286616A (en) | Dynamic wallpaper setting method and device and electronic equipment | |
CN112181351A (en) | Voice input method and device and electronic equipment | |
CN112286615A (en) | Information display method and device of application program | |
CN112269504A (en) | Information display method and device and electronic equipment | |
CN112181559A (en) | Interface display method and device and electronic equipment | |
CN111857997A (en) | Application program body-separating identification display method, device, equipment and medium | |
CN113840035B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN115695355A (en) | Data sharing method and device, electronic equipment and medium | |
CN113965640A (en) | Message processing method and device | |
CN113709300A (en) | Display method and device | |
CN113805756A (en) | Interface display method and device, electronic equipment and storage medium | |
CN112230831A (en) | Image processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210824 |
|
RJ01 | Rejection of invention patent application after publication |