Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. 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 group joining method, the device and the electronic equipment can receive first input aiming at a target contact or a first group; responding to the first input, adding the target contact person to the first group, and displaying M group tags and a first session interface corresponding to the first group, wherein the M group tags are the group tags of the M groups determined according to the first group, and M is a positive integer; receiving a second input of the user; and in response to the second input, adding the target contact to at least one of the M groups corresponding to the second input. According to the scheme, after the target contact person is added to the first group, a session interface and M group tags of the first group (the M group tags determined according to the first group) can be displayed, so that a user can trigger the group adding device to add the target contact person to at least one group of the M groups through second input according to actual use requirements of the user; without requiring the target contact to be added to the at least one group after the operation of adding the contact is performed in each of the at least one group as in the related art. Therefore, the group joining method provided by the embodiment of the application can simplify the operation process of inviting the contact person to join a plurality of groups.
The group joining method, the group joining device, and the electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, the group joining method provided in the embodiment of the present application may includesteps 101 to 104 described below.
Step 101, a group joining device receives a first input of a user for a target contact or a first group.
The first input is used for triggering the group joining device to add the target contact person to a first group, and the first group is a group in the target application.
In this embodiment, the target application may be any communication application in the electronic device.
Optionally, in this embodiment of the application, after the group joining device receives the first input of the user, if the target contact does not set the group adding permission and the first group also does not set the group adding permission, the group joining device may directly add the target contact to the first group. If the target contact and/or the first group set the group addition authority, the group joining device may add the target contact to the first group after the user indicated by the target contact confirms joining to the first group and/or the administrator of the first group confirms adding the target contact. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, the target contact is any contact in a contact list in the target application.
Optionally, in this embodiment of the application, the number of the target contacts may be one or multiple, and may be specifically determined according to actual use requirements, and this embodiment of the application is not limited.
For convenience of description, in the following embodiments, unless otherwise specified, the number of the target contacts is taken as an example for illustration, and for a description that the number of the target contacts is multiple, reference may be made to a related description that the number of the target contacts is one.
Optionally, in this embodiment of the present application, the first input may be any input capable of triggering the target contact to be added to the first group in the related art.
For example, the first input may include a first sub-input of "add control" and a second sub-input of a label of the target contact in the session information interface corresponding to the first group, and a third sub-input of "determine control". Specifically, the user may click on an "add control" (i.e., a first sub-input) in the session information interface corresponding to the first group to trigger the group joining apparatus to display the contact list interface of the target application; then, the user can click (namely, a second sub-input) on the label of the target contact in the contact list interface to trigger the group joining device to select the target contact; finally, after the user clicks on the "ok control" (i.e., the third sub-input) in the contact list interface, the group joining device may add the target contact to the first group.
Further illustratively, the first input may be an input that triggers sending of the tags of the first group to the first contact.
Step 102, the group joining device responds to the first input, adds the target contact to the first group, and displays the M group tags and a first session interface corresponding to the first group.
The first session interface is a session interface corresponding to the first group, the M group tags are group tags of the M groups determined according to the first group, and M may be a positive integer.
Optionally, in this embodiment of the application, the M groups may be groups in the target application, or groups in other applications except the target application, and may be specifically determined according to actual use requirements, and this embodiment of the application is not limited.
For convenience of description, in the following embodiments, unless otherwise specified, M groups are taken as an example of the group in the target application. For the description that M groups are groups in other applications than the target application, reference may be made to the relevant description that M groups are groups in the target application.
Optionally, in this embodiment of the application, the M groups may be groups in the target application, where the groups include the first group, or may be other groups in the target application except the first group. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the application, the first session interface may specifically be a session interface corresponding to the first group to which the target contact is added.
Optionally, in this embodiment of the application, the first session interface may include first prompt information, where the first prompt information indicates that the target contact object has joined the first group.
For example, assuming that the name of the first group is "AI visual application" and the name of the target contact is "zhang san", as shown in fig. 2 (a), after the user triggers the group joining device to add the contact "zhang san" to the group "AI visual application", the group joining device may display asession interface 20 of the first group, where thesession interface 20 includes firstprompt information 23, and thefirst prompt information 23 may be: "you have invited" three of three "to join the group chat.
Optionally, in this embodiment of the application, the first prompt information is further used to prompt that the user may trigger adding the target contact object to the M groups.
For example, assuming that the name of the first group is "AI visual application" and the name of the target contact is "zhang san", as shown in fig. 2 (b), after the user triggers the group joining device to add the contact "zhang san" to the group "AI visual application", the group joining device may display asession interface 20 of the first group, thesession interface 20 may include firstprompt information 24, and thefirst prompt information 24 may be: "you invite" Zhang three "to join the group chat. "three of three" may also be invited to join the group chat.
Optionally, in this embodiment of the application, each of the M groups may include at least one of the following:
(1) the group has a preset association relation with the first group; (2) a group in which the member contact ratio with the first group is greater than or equal to a preset threshold (the preset threshold can be determined according to actual use requirements); (3) a group including all members of the first group; (4) all members are members of the first group.
Optionally, in this embodiment, in the above (1), if a group and the first group have a preset association relationship, the preset association relationship may be created by user triggering, or may be created by the group joining apparatus according to a member contact ratio or/and a member inclusion relationship between the group and the first group, which may specifically be determined according to an actual use requirement, and this embodiment is not limited in this application.
Optionally, in this embodiment, in the above (2), it is assumed that a is a members of one group, b is members of a first group, and the first group includes c members of the one group, where a and b are integers greater than 2, and c is an integer greater than or equal to 0; then the membership overlap between the one group and the first group is: c/(a + b-c) × 100%.
For example, in (2) above, assuming that the preset threshold is 50%, if the members of one group in the target application are "zhang san", "lie si", "wang wu", and "liu bi", and the members of the first group are "zhang san", "lie si", and "zhao qi", that is, the first group includes "zhang san" and "lie si" in the one group, the member overlapping ratio between the one group and the first group is 2/(4+ 3-2)% 100% — 40%. Since themember overlapping ratio 40% between the one group and the first group is less than the predetermined overlappingratio 50%, the group tag of the one group is not included in the M group tags.
Optionally, in this embodiment of the application, in (3) above, if one group in the target application includes all members in the first group, the set formed by the members of the first group is a subset of the set formed by the members of the one group.
Optionally, in this embodiment of the application, in (4) above, if all members of one group are members of the first group, the set formed by the members of the one group is a subset of the set formed by the members of the first group.
Exemplarily, it is assumed that the target application includes 3 groups, which are a company group, a department group and a group, and the members of the company group include all members of the department group and all members of the group, and the members of the department group also include all members of the group; assuming again that members of the corporate group form a first set, members of the department group form a second set, and members of the subgroup group form a third set, then: as shown in fig. 3, thefirst set 30 includes asecond set 31 and athird set 32, i.e., thesecond set 31 and thethird set 32 are both subsets of thefirst set 30; and thesecond set 31 comprises athird set 32, i.e. thethird set 32 is a subset of the second set.
Further, assuming that the first group is a department group, then: the company group is a group including all members of the first group, and the group is a group in which all members are members of the first group.
Step 103, the group joining device receives a second input from the user.
And 104, the group joining device responds to the second input and adds the target contact person to at least one group corresponding to the second input in the M groups.
Optionally, in an embodiment of the present application, in a possible implementation manner, the second input is an input of a user to at least one group tag of the M group tags, where the at least one group is a group corresponding to the at least one group tag. In another possible implementation manner, the second input is an input of the target control by the user, and the at least one group is M groups.
In this embodiment, in a possible implementation manner, since the user may input one or more group tags in the M groups, the group adding device is triggered to add the target contact to the group corresponding to the group tags, that is, the user may trigger to add the target contact to one or more groups according to the actual use requirement of the user. Therefore, the operation process of inviting a plurality of groups of the contact persons can be simplified, and the flexibility of adding the contact persons to the groups can be improved. In another possible implementation manner, since the contacts can be added to a plurality of groups by one key, the convenience of operation can be further improved.
Optionally, in this embodiment of the present application, in another possible implementation manner, after the group joining apparatus receives the first input, a target control may be further displayed in response to the first input, where the target control is used to indicate the M groups.
Optionally, in this embodiment of the application, the second input may be a touch input or a voice input.
For example, assuming that at least one group is 5 groups (i.e., M ═ 5)2 groups, group 1 and group 2, respectively, then in one possible implementation, the second input may comprise a user click input to group tag of group 1 and a user click input to group tag 2 of group 2.
For another example, assuming that at least one group is M groups, the user may click on the group label of each of the M groups to trigger the addition of the target contact to the M groups, or the user may click on the target control to trigger the addition of the target contact to the M groups with one click.
For the description of adding the target contact to the group corresponding to the at least one group tag, reference may be specifically made to the description of adding the target contact to the first group in the foregoing embodiment, and details are not described here again to avoid repetition.
The group joining method provided by the embodiment of the present application is exemplarily described below with reference to fig. 2.
Exemplarily, assuming that the first group is a group "AI visual application" in the target application and the target contact is "zhang san", after the group joining device receives the first input for triggering the addition of "zhang san" to the group "AI visual application", the group joining device may add "zhang san" to the group "AI visual application" in response to the first input, and display a session interface corresponding to the group "AI visual application" and 2 (i.e., M ═ 2) group tags, which are agroup tag 21 of a group "AI research institute" in the target application and agroup tag 22 of a group "AI algorithm center", as shown in (a) in fig. 2 or (b) in fig. 2; then, as shown in fig. 2 (a), the user may click on the group tag 22 (i.e., at least one group tag) of the group "AI algorithm center" to trigger the group joining device to add the contact "zhang san" to the group "AI algorithm center".
In the group joining method provided in the embodiment of the application, after the target contact is added to the first group, the session interface and the M group tags of the first group (the group tags of the M groups determined according to the first group) may be displayed, so that the user may trigger the group joining device to add the target contact to at least one group of the M groups through the second input according to the actual use requirement of the user; without requiring the target contact to be added to the at least one group after the operation of adding the contact is performed in each of the at least one group as in the related art. Therefore, the group joining method provided by the embodiment of the application can simplify the operation process of inviting the contact person to join a plurality of groups.
Optionally, in this embodiment of the application, for each group tag in the M group tags, one group tag may correspond to one indication identifier, and the indication identifier may be used to indicate whether a target contact has been added to a group corresponding to the indication identifier.
For example, as shown in fig. 2 (a) or fig. 2 (b), after the group joining device adds the target contact to the group "AI visual application" and before the target contact is added to the group "AI algorithm center", the indication mark corresponding to thegroup tag 22 of the group "AI algorithm center" is "join the group chat" mark; then, after the user triggers the group adding device to add the contact "zhang san" to the group "AI algorithm center" through the second input to thegroup tag 22 as shown in (a) of fig. 2, the indication flag corresponding to thegroup tag 22 may be updated to the "joined" flag as shown in (c) of fig. 2.
Optionally, in an actual implementation of the embodiment of the present application, the user may further execute a second input through the indication identifier corresponding to one group tag, so as to trigger the group adding device to add the target contact to the group corresponding to the one group tag. For example, the user may click on the "join the group chat" identifier corresponding to thegroup tag 22 shown in (a) in fig. 2 or (b) in fig. 2, and as shown in (c) in fig. 2, the group adding apparatus may add the contact "zhang three" to the group "AI algorithm center" and update the indication identifier corresponding to thegroup tag 22 from the "join the group chat" identifier to the "joined" identifier.
Alternatively, in this embodiment of the application, thestep 102 may be specifically implemented by a step 102a described below.
And 102a, the group joining device displays M group tags according to the display priority.
Wherein the display priority is determined according to at least one of: the member containing relations between the M groups and the first group, and the member overlapping degrees between the M groups and the first group.
Optionally, in this embodiment of the application, the display priority is determined as an example according to the member inclusion relationship between the M groups and the first group. For each of the M groups, if a group includes all members of the first group or all members of a group are members of the first group, the display priority of the group is a first priority; alternatively, if one group includes a part of the members in the first group, the display priority of the one group may be the second priority; alternatively, if one group does not include any member of the first group, the display priority of the one group may be a third priority; wherein the first priority is greater than the second priority, which is greater than the third priority.
Optionally, in this embodiment of the present application, the display priority is determined as an example according to the member overlapping ratios between the M groups and the first group. For each of the M groups, the higher the member coincidence between one group and the first group, the greater the display priority of the one group.
For example, assume that M groups are group a, group B, and group C, respectively, and the member overlapping ratios with the first group are: 50%, 30%, 60%, the display priority of group a is greater than the display priority of group B, and the display priority of group C is greater than the display priority of group C.
Optionally, in this embodiment of the present application, the display priority is determined as an example according to the member inclusion relationship between the M groups and the first group and the member overlapping ratio between the M groups and the first group. The group joining device may determine the initial display priority (e.g., the first priority, the second priority, and the third priority) of each group according to the member inclusion relationship between the M groups and the first group, and then determine the final display priority of the M groups according to the initial display priorities of the M groups and the member overlap ratio between the M groups and the first group.
Specifically, if the initial display priority of one group is the same as that of another group; then, if the member overlapping degree between the one group and the first group is greater than the member overlapping degree between the other group and the first group, the final display priority of the one group is greater than the final display priority of the other group. Or, if the initial display priority of one group is greater than the initial display priority of another group, the final display priority of the one group is greater than the final display priority of the another group; or, if the initial display priority of one group is less than the initial display priority of another group, the final display priority of the one group is less than the final display priority of the another group;
exemplarily, it is assumed that the M groups are group a, group B and group C, respectively, and the initial display priorities of group a and group B are the same, and the initial display priority of group C is greater than the initial display priorities of group a and group B; further assume that the member contact ratios between the group A, the group B and the group C and the first group are: 50%, 30%, 60%, then: the 3 groups are sequentially as follows according to the final display priority from high to low: group C, group A, group B.
In the embodiment of the application, since the possibility that the user needs to add the target contact person to the group having the member inclusion relationship with the first group and/or the group having the higher member coincidence degree with the first group is higher, the group adding device displays the M group tags according to the display priorities of the M groups, so that the time for the user to search the group tags of the groups meeting the actual requirements in the M group tags can be shortened, and the operation convenience for adding the target contact person to the groups can be further improved.
Optionally, in this embodiment of the application, the first group is a group in the target application, and when the M groups include P (P is a positive integer less than or equal to M) groups having a preset association relationship with the first group, before the user performs the first input, the user may first trigger the group joining apparatus to create the preset association relationship between the P groups and the first group.
For example, in this embodiment of the present application, beforestep 101, the group joining method provided in this embodiment of the present application may further include steps 105 to 108 described below.
Step 105, the group joining device receives a third input of the group tag of the first group from the user.
And 106, responding to the third input by the group joining device, and displaying the N group labels.
The N group tags may be group tags of N groups in the target application, where N is a positive integer greater than or equal to M.
In this embodiment, the N groups may be at least part of groups in the target application.
Optionally, in this embodiment of the application, the group tag of the first group in step 105 may be a group tag of the first group displayed in a message list in the target application, or may also be a group tag of the first group displayed in a group list interface of the target application, which may be specifically determined according to actual use requirements, and this embodiment of the application is not limited.
Optionally, in this embodiment of the application, the third input may be one input, or may include two sub-inputs, which may be determined according to actual usage requirements, and this embodiment of the application is not limited.
For example, when the third input is one input, the third input may specifically be an input that the user clicks a preset number of times on the group label of the first group, where the preset number of times is greater than or equal to 2. After the group joining device receives a third input that the user clicks a preset number of times on the group tags of the first group, the group joining device may display the N group tags in response to the third input.
For another example, when the third input includes two sub-inputs, the third input may specifically include a fourth sub-input and a fifth sub-input. The fourth sub-input can be long-press input of a group label of the first group by a user, and the fourth sub-input is used for triggering and displaying an addition association group control corresponding to the first group; the fifth sub-input is a click input of the user to the add associated group control. In this case, after the group joining device receives the fifth sub-input of the user, the group joining device may display N group tags in response to the fifth sub-input.
Step 107, the group joining apparatus receives a fourth input of the user to P group tags of the N group tags.
Step 108, the group joining device responds to the fourth input, and creates an association relationship between the P groups and the first group.
Wherein, P group labels are the group labels of the P groups, and P is a positive integer less than or equal to M.
Optionally, in this embodiment of the application, the fourth input may include a sixth sub-input and a seventh sub-input. The sixth sub-input is input to the P group tags, and the sixth sub-input is used for triggering and selecting the groups corresponding to the P group tags; the seventh sub-input is used to trigger the selection of the group that is confirmed to be completed.
In this embodiment of the application, the group joining apparatus creates an association relationship between the P groups and the first group in response to the fourth input, specifically, may select the groups corresponding to the P group tags (i.e., P groups) in response to the sixth sub-input; in response to the seventh sub-input, an association between the P groups and the first group is created.
Optionally, in this embodiment, after the group joining device creates the association relationship between one group and the first group, when the user triggers the group joining device to add one contact in the first group through one input (for example, the first input), the group joining device may display the group tag of the one group, so that the user can input (for example, the second input) the group tag of the one group to trigger the group joining device to add the contact to the one group. Accordingly, in practical implementation, when the user triggers the group adding device to add a contact to the group through another input, the group adding device may display the group tag of the first group, so that the user can input the group tag of the first group to trigger the group adding device to add the contact to the first group.
The group joining method provided in the embodiment of the present application is exemplarily described below with reference to fig. 4.
Illustratively, as shown in fig. 4 (a), the group joining apparatus displays a message list interface of the target application, the message list interface including: a group label of a group "AI research institute", a group label of a group "AI algorithm center", a group label of a group "AI visual application", and a contact label of a contact "Wangwu"; the user may long press (i.e., the fourth sub-input) on the group tab of the group "AI visual application", and the group joining device may respond to the long press input, as shown in fig. 4 (b), and the group joining device may display an add associatedgroup control 41. The user may click on the add associated group control 41 (i.e., the fifth sub-input), and the group joining device may respond to the click input, as shown in (c) of fig. 4, and the group joining device may display agroup list interface 42 in the target application, where thegroup list interface 42 may include: the group "AI research institute", the group "AI algorithm center", the group "learning exchange", and theconfirmation control 43. Then, the user may click on the group tag of the group "AI research institute" and the group tag of the group "AI algorithm center" (i.e., the sixth sub-input), respectively, to trigger the group joining device to select the group "AI research institute" and the group "AI algorithm center". Further, after the user selects the group to complete, the user can click on the confirmation control 43 (i.e., the seventh sub-input), and the group joining device can create an association between the group "AI research institute" and the group "AI algorithm center" and the group "AI visual application", respectively, in response to the click input.
In the embodiment of the application, the user can trigger the group joining device to create the association relationship between the P groups and the first group through the third input and the fourth input, so that the flexibility and the convenience of creating the preset association relationship between the groups can be improved.
It should be noted that, in the group joining method provided in the embodiment of the present application, the execution subject may be a group joining device, or a control module in the group joining device, configured to execute the group joining method. The group joining device provided in the embodiment of the present application is described by taking the group joining device as an example to execute a group joining method.
As shown in fig. 5, an embodiment of the present invention provides agroup joining apparatus 50, where thegroup joining apparatus 50 includes: a receivingmodule 51, an addingmodule 52 and adisplay module 53; a receivingmodule 51, configured to receive a first input of a user for a target contact or a first group; an addingmodule 52 for adding the target contact to the first group in response to the first input; adisplay module 53, configured to display M group tags and a first session interface corresponding to a first group, where the M group tags are group tags of M groups determined according to the first group, and M is a positive integer; the receivingmodule 51 is further configured to receive a second input of the user; and the addingmodule 52 is configured to add the target contact to at least one group corresponding to the second input in the M groups in response to the second input.
In the group joining device provided in the embodiment of the present application, after the target contact is added to the first group, the session interface and the M group tags of the first group (the group tags of the M groups determined according to the first group) may be displayed, so that the user may trigger the group joining device to add the target contact to at least one group of the M groups through the second input according to the actual use requirement of the user; without requiring the target contact to be added to the at least one group after the operation of adding the contact is performed in each of the at least one group as in the related art. Therefore, the group joining method provided by the embodiment of the application can simplify the operation process of inviting the contact person to join a plurality of groups.
Optionally, in this embodiment of the application, each of the M groups may include at least one of the following:
the group having a preset association relationship with the first group, the group having a member contact ratio with the first group greater than or equal to a preset threshold, the group including all members in the first group, and the group in which all members are members in the first group.
Optionally, in this embodiment of the application, when the first group is a group in the target application, and the M groups include P groups having a preset association relationship with the first group; in conjunction with fig. 5, as shown in fig. 6, the group joining apparatus may further include acreation module 54. The receivingmodule 51 may be further configured to receive a third input to the group tag of the first group before receiving the first input of the user for the target contact or the first group; thedisplay module 53 may be further configured to display, in response to a third input, N group tags, where the N group tags may be group tags of N groups in the target application; the receivingmodule 51 may be further configured to receive a fourth input to P group tags in the N group tags, where the P group tags may be group tags of the P groups; a creatingmodule 54, configured to create, in response to a fourth input, an association relationship between the P groups and the first group; wherein, P is a positive integer less than or equal to M, and N is a positive integer greater than or equal to M.
In the group joining device provided by the embodiment of the application, since the user can trigger the group joining device to create the association relationship between the P groups and the first group through the third input and the fourth input, the flexibility and convenience for creating the preset association relationship between the groups can be improved.
Optionally, in this embodiment of the application, thedisplay module 53 may be specifically configured to display the M group tags according to the display priority; wherein the display priority may be determined according to at least one of: the member containing relations between the M groups and the first group and the member overlapping degrees between the M groups and the first group.
In the group joining device provided in the embodiment of the application, since the possibility that the user needs to add the target contact person to the group having the member inclusion relationship with the first group and/or the group having the higher member coincidence degree with the first group is higher, the group joining device displays the M group tags according to the display priorities of the M groups, and the time for the user to search the group tag of the group satisfying the actual requirement among the M group tags can be shortened, so that the operation convenience of adding the target contact person to multiple groups can be further improved.
Optionally, in this embodiment of the application, the second input is an input to at least one group tag of the M group tags, where the at least one group is a group corresponding to the at least one group tag.
In the embodiment of the application, the user can trigger the group adding device to add the target contact person to the group corresponding to the group tags by inputting the group tag or tags in the M groups, that is, the user can trigger the target contact person to be added to one or more groups according to the actual use requirement of the user. Therefore, the operation process of inviting a plurality of groups of the contact persons can be simplified, and the flexibility of adding the contact persons to the groups can be improved.
The group joining apparatus in the embodiment of the present application may be an electronic device, or may be a component, an integrated circuit, or a chip in the electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. 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 Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The group joining device in the embodiment of the present application may be a device having 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 application are not limited specifically.
The group joining device provided in the embodiment of the present application can implement each process implemented by the group joining method in the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
As shown in fig. 7, anelectronic device 200 according to an embodiment of the present application is further provided, which includes aprocessor 202, amemory 201, and a program or an instruction stored in thememory 201 and executable on theprocessor 202, where the program or the instruction is executed by theprocessor 202 to implement the processes of the group join method embodiment, and can achieve the same technical effects, and no further description is provided herein to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Theelectronic device 1000 includes, but is not limited to: aradio frequency unit 1001, anetwork module 1002, anaudio output unit 1003, aninput unit 1004, asensor 1005, adisplay unit 1006, auser input unit 1007, aninterface unit 1008, amemory 1009, and aprocessor 1010.
Those skilled in the art will appreciate that theelectronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 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 is omitted here.
Theuser input unit 1007 may be configured to receive a first input of a user for a target contact or a first group; aprocessor 1010, operable to add a target contact to a first group in response to a first input; adisplay unit 1006, configured to display M group tags and a first session interface corresponding to a first group, where the M group tags are group tags of M groups determined according to the first group, and M is a positive integer; auser input unit 1007, which may also be used to receive a second input from the user; theprocessor 1010 may be configured to add the target contact to at least one of the M groups corresponding to the second input in response to the second input.
In the electronic device provided in the embodiment of the application, after the target contact is added to the first group, the session interface and the M group tags of the first group (the M group tags determined according to the first group) may be displayed, so that the user may trigger the group adding apparatus to add the target contact to at least one group of the M groups through the second input according to the actual use requirement of the user; without requiring the target contact to be added to the at least one group after the operation of adding the contact is performed in each of the at least one group as in the related art. Therefore, the group joining method provided by the embodiment of the application can simplify the operation process of inviting the contact person to join a plurality of groups.
Optionally, in this embodiment of the application, each of the M groups may include at least one of the following:
the group having a preset association relationship with the first group, the group having a member contact ratio with the first group greater than or equal to a preset threshold, the group including all members in the first group, and the group in which all members are members in the first group.
Optionally, in this embodiment of the application, when the first group is a group in the target application, and the M groups include P groups having a preset association relationship with the first group; theuser input unit 1007 may be further configured to receive a third input for the group tag of the first group before receiving the first input of the user for the target contact or the first group; thedisplay unit 1006, further configured to display, in response to a third input, N group tags, where the N group tags may be group tags of N groups in the target application; theuser input unit 1007 may be further configured to receive a fourth input for P group tags in the N group tags, where the P group tags may be the group tags of the P groups; aprocessor 1010, further operable to create, in response to a fourth input, associations between the P groups and the first group; wherein, P is a positive integer less than or equal to M, and N is a positive integer greater than or equal to M.
In the electronic device provided by the embodiment of the application, the user can trigger the electronic device to create the association relationship between the P groups and the first group through the third input and the fourth input, so that the flexibility and convenience for creating the preset association relationship between the groups can be improved.
Optionally, in this embodiment of the application, thedisplay unit 1006 may be specifically configured to display the M group tags according to the display priority; wherein the display priority may be determined according to at least one of: the member containing relations between the M groups and the first group and the member overlapping degrees between the M groups and the first group.
In the electronic device provided by the embodiment of the application, since the possibility that the user needs to add the target contact person to the group having the member inclusion relationship with the first group and/or the group having the higher member coincidence degree with the first group is higher, the electronic device displays the M group tags according to the display priorities of the M groups, the time for the user to search the group tags of the group satisfying the actual requirements in the M group tags can be shortened, and the operation convenience of adding the target contact person to the groups can be further improved.
Optionally, in this embodiment of the application, the second input is an input to at least one group tag of the M group tags, where the at least one group is a group corresponding to the at least one group tag.
In the embodiment of the application, the user can trigger the group adding device to add the target contact person to the group corresponding to the group tags by inputting the group tag or tags in the M groups, that is, the user can trigger the target contact person to be added to one or more groups according to the actual use requirement of the user. Therefore, the operation process of inviting a plurality of groups of the contact persons can be simplified, and the flexibility of adding the contact persons to the groups can be improved.
It should be understood that in the embodiment of the present application, theinput Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and amicrophone 10042, and theGraphics Processing Unit 10041 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. Thedisplay unit 1006 may include adisplay panel 10061, and thedisplay panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. Theuser input unit 1007 includes atouch panel 10071 andother input devices 10072. Thetouch panel 10071 is also referred to as a touch screen. Thetouch panel 10071 may include two parts, a touch detection device and a touch controller.Other input devices 10072 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. Thememory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 1010.
The embodiment of the present application 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 group joining method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is a processor in the electronic device 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.
The embodiment of the present application 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 execute a program or an instruction to implement each process of the group join method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or 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 the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the 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 application may be embodied in the form of a 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, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.