CN107196846B - Group chat method and mobile terminal - Google Patents
Group chat method and mobile terminal Download PDFInfo
- Publication number
- CN107196846B CN107196846B CN201710295618.9A CN201710295618A CN107196846B CN 107196846 B CN107196846 B CN 107196846B CN 201710295618 A CN201710295618 A CN 201710295618A CN 107196846 B CN107196846 B CN 107196846B
- Authority
- CN
- China
- Prior art keywords
- group
- contact information
- mobile terminal
- target
- members
- 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.)
- Active
Links
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/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- 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/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
- H04M1/2745—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
- H04M1/27453—Directories allowing storage of additional subscriber data, e.g. metadata
-
- 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/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Library & Information Science (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a group chat method and a mobile terminal. The method comprises the following steps: acquiring address list contact information of a mobile terminal user and IM contact information of an instant messaging system; grouping group members in the IM group according to the address book contact information and the IM contact information to obtain at least two groups; setting a group identifier for each group; receiving a group message sent by the mobile terminal user in the IM group, and identifying a target group identifier and message content in the group message; and sending the message content to group members in the target group corresponding to the target group identification. The invention groups each group member according to whether each group member is the address list contact of the mobile terminal user and whether each group member is the IM contact, thereby obtaining at least two groups, when the user needs to send the group message to part of the members in the IM group, the group does not need to be established again, and the operation complexity is reduced.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a group chat method and a mobile terminal.
Background
With the development of mobile terminals, Instant messaging system (IM) software is already a necessary application in each mobile terminal, and during the communication process, since each user possesses various social attributes, a plurality of chat communication groups are finally established. At present, a group chat function of IM software of a mobile terminal is mainly that a user pulls a certain user into a certain group for chat by scanning a two-dimensional code, adding friends, sending invitation cards and the like, wherein each user in the group can pull users having a social relationship with the user into one group according to the social relationship of the IM software of the user, so that the number of members in the group is increased, and the members in the group do not all have a friend relationship.
When a user in a group only wants to communicate with a part of the members in the group, the prior art scheme is mainly that a topic initiator reestablishes a group for the part of the members so as to perform instant communication with the part of the members. However, when the new group is re-established, the topic initiator needs to have a friend relationship with each of the above members, and if the topic initiator is not a friend relationship, the new group can be established after friends are added. Therefore, the group chat steps are complicated and not beneficial to instant messaging.
Disclosure of Invention
The embodiment of the invention provides a group chat method and a mobile terminal, and aims to solve the problem that steps are complicated and complicated because group members need to establish a group again when the group members need to initiate chat to part of the group members in the group in the prior art.
In a first aspect, an embodiment of the present invention provides a group chat method, which is applied to a mobile terminal, and the method includes:
acquiring address list contact information of a mobile terminal user and IM contact information of an instant messaging system;
grouping group members in the IM group according to the address book contact information and the IM contact information to obtain at least two groups;
setting a group identifier for each group;
receiving a group message sent by the mobile terminal user in the IM group, and identifying a target group identifier and message content in the group message;
and sending the message content to group members in the target group corresponding to the target group identification.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the acquisition module is used for acquiring the contact information of the address list and the IM contact information of the mobile terminal user;
the grouping module is used for grouping group members in the IM group according to the address list contact information and the IM contact information to obtain at least two groups;
the identification module is used for setting group identification for each group;
a receiving identification module, configured to receive a group message sent by the mobile terminal user in the IM group, and identify a target group identifier and a message content in the group message;
and the sending module is used for sending the message content to the group members in the target group corresponding to the target group identification.
Therefore, the group members are grouped according to whether the group members are address book contacts of the mobile terminal user and whether the group members are IM contacts, when the group members need to initiate chatting to part of the group members in the IM group, the group members do not need to establish a group again, and do not need to add friends to the group members in the newly-established group, so that the group chatting to part of the group members in the IM group can be realized, the problem of complicated steps caused by newly-established groups is avoided, the complicated operation in the group chatting process is simplified, and the instant communication of each group member in the IM group is facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow diagram of a group chat method of one embodiment of the invention;
FIG. 2 is a block diagram of a mobile terminal of one embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described 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, 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 invention.
Referring to fig. 1, a flowchart of a group chat method according to an embodiment of the present invention is shown, and the method is applied to a mobile terminal, and specifically includes the following steps:
when the user triggers the grouping operation on the IM group, in order to respond to the grouping operation, the method of the embodiment of the present invention may perform the following steps of grouping and grouping chat.
for example, the address book of the mobile terminal user may provide an interface for acquiring the contact information of the address book, so that the method of the embodiment of the present invention may acquire the contact information stored in the address book of the mobile terminal user through the interface; in addition, the method of the embodiment of the invention can also obtain the information of the IM contact persons in the IM, namely the information of the IM contact persons with friend relationship with the mobile terminal user.
102, grouping group members in an IM group according to the contact information of the address list and the IM contact information to obtain at least two groups;
the group members in the IM group may be grouped according to the obtained contact information of the address book and the obtained information of the IM contact, so as to obtain at least two groups.
103, setting group identification for each group;
wherein, a group identification may be set for each group in order to distinguish each group.
after grouping is completed, when a user edits a group message, the user can edit a group identifier (of a certain group which needs to receive a message) and message content to be sent by the group in the group message for an IM group.
Finally, the method of the embodiment of the present invention may send the message content to group members in the target group (which may be all or part of group members in the target group) pointed by the target group identifier.
Therefore, the group members are grouped according to whether the group members are address book contacts of the mobile terminal user and whether the group members are IM contacts, when the group members need to initiate chatting to part of the group members in the IM group, the group members do not need to establish a group again, and do not need to add friends to the group members in the newly-established group, so that the group chatting to part of the group members in the IM group can be realized, the problem of complicated steps caused by newly-established groups is avoided, the complicated operation in the group chatting process is simplified, and the instant communication of each group member in the IM group is facilitated.
In one embodiment, when step 102 is executed, the method according to the embodiment of the present invention may be implemented by:
acquiring first communication contact information and/or first IM contact information of each group member in the IM group;
matching the first communication contact information of each group member with the second communication contact information of each contact in the contact information of the address list respectively, and/or matching the first IM contact information of each group member with the second IM contact information of each IM contact in the IM contact information respectively;
and according to the matching result, grouping the group members in the IM group to obtain at least two groups.
That is, on the one hand, which group members in the IM group are the address book friends of the mobile terminal user can be determined by matching the communication contact information of the group members with the information of the respective address book contacts stored in the address book of the mobile terminal user, and on the other hand, which group members in the IM group are the IM friends of the mobile terminal user can be determined by matching the IM contact information of the group members with the information of the respective IM contacts of the mobile terminal user (i.e., the IM contacts with the mobile terminal user). In this way, the group members in the IM group can be divided into at least two groups based on the matching results.
In a specific implementation manner, when grouping group members in an IM group according to a matching result, at least two groups may be obtained by:
dividing group members successfully matched with the communication contact information in the IM group into a first group;
dividing group members successfully matched with IM contact information in the IM group into a second group;
dividing group members with communication contact information matching failure in the IM group into a third group;
and dividing the group members with the IM contact information matching failure in the IM group into a fourth group.
The first group comprises group members which are friends with the mobile terminal user in the address list, the second group comprises group members which are friends with the mobile terminal user in the IM, the third group comprises group members which are not friends with the mobile terminal user in the address list, and the fourth group comprises group members which are not friends with the mobile terminal user in the IM.
Of course, the group members in each group may have repeated group members, that is, the same group member belongs to multiple groups, and if the user needs to further refine the classification of the groups, the repeated group members in the four groups may be individually divided into one group, and the repeated group members in the four groups are removed. For example, the repeated group members in the first group and the second group can be individually divided into a new fifth group, and the repeated group members in the first group and the second group are removed, so that the group members (forming the fifth group) which are not only address book friends but also IM friends with the mobile terminal user can be obtained.
Therefore, the embodiment of the invention groups the group members in the IM group by judging whether the group members are address book friends and/or IM friends, thereby enabling the contact intimacy degree between the grouped group members and the mobile terminal user to be clearer, facilitating the user to select the group in which the group members needing to be communicated are located from the IM group without establishing a group and adding friends on the basis of the IM group, simplifying the communication steps and improving the efficiency of instant messaging.
In one embodiment, the communication contact information (the first communication contact information and the second communication contact information) includes a telephone number, and the IM contact information (the first IM contact information and the second IM contact information) includes at least one of an IM identification number and an IM icon.
Optionally, in another embodiment, after performing step 103, the method according to an embodiment of the present invention further includes:
taking the group identification as a group name, and displaying the group members in each group in a grouping way;
the display names of the group members in the group displayed in a grouping mode comprise the group identification and the group member names.
That is, after the IM groups are grouped, the group members may be grouped and displayed, and the name displayed by each group is the respective group identifier, and the included group members are displayed under each group, wherein when the group members are displayed, the display names of the group members include the group identifier to which the group members belong and the group member names.
For example, the group identifiers of the divided groups are address list, IM, non-address list, and non-IM, respectively. Then, when displaying each group after grouping, each group may be displayed by taking the address book, the IM, the non-address book, and the non-IM as group names, where, taking the group members in the address book group as an example, the display names of each group member are address book-zhang and address book-li … …, and the display modes of the group members of the IM group, the non-address book group, and the non-IM group are the same and will not be described herein again.
Therefore, after the group members in the IM group are grouped, the groups can be displayed in a distinguishing manner, and the group members in the groups can also be displayed in a distinguishing manner, so that the grouping effect is more visual, and a user can conveniently find which group needs to be subjected to information communication.
In addition, in another embodiment, when the step 104 is executed, the preset identifier in the group message may be identified by receiving the group message sent by the mobile terminal user; and identifying the target group identification and the message content in the group message according to the preset identifier.
That is to say, when a user needs to send a group message to a certain group in an IM group, a preset identifier needs to be edited in the group message, so that the embodiment of the present invention can identify a target group identifier and message content by using the preset identifier.
Specifically, for example, the preset identifier is "@" + "space", where "@" is used to indicate target group identification and "space" is used to indicate message content, such as a group message content of "@ first batch your good |)! After receiving the group message, the embodiment of the present invention may recognize that the content after @ and before "space" is the target group identifier, and the content after "space" is the specific message content. Thus, one can use "you are good! The message is sent to the group members in the group with the group identification of the address book in the IM group, and the group members in the IM group which do not belong to the address book group cannot receive the message, so that the data flow is saved for other group members, and the disturbance is avoided.
Of course, the preset identifier in the embodiment of the present invention is not limited to the specific identifier mentioned above, and may be any identifier for distinguishing the target group identifier from the message content.
Optionally, the group members in the IM group may also preset to receive the message sent by the group members of which groups, and reject the message sent by the group members of other groups, so as to avoid being disturbed, and therefore, in another embodiment, when step 105 is executed, the method according to the embodiment of the present invention may obtain, for each group member in the target group corresponding to the target group identifier, a white list group for receiving information of each group member; determining target group members with a target white list group in the target group, wherein the target white list group is a white list group comprising the mobile terminal user; sending the message content to the target group members within the target group.
For example, if the mobile terminal user X sending a message is to send a group message to an address book group, it should be said that the mobile terminal user sends a group message to each group member in the address book group according to a flow that does not include a mask process, but in essence, in this embodiment, each group member in the IM group has the right to set which groups (i.e., white list groups) in the IM group to receive messages, and does not receive messages to which groups, and it should be noted that, since the groups in this embodiment of the present invention are divided according to whether the mobile terminal user is an address book buddy and/or an IM buddy, and the relationship of each group member in the IM group is not completely the same, the group members in the groups divided by the mobile terminal sides of different group members in the IM group are not completely the same. Therefore, the group division result of any one group member in the address book group is not necessarily the same as the group division result of the mobile terminal user X.
Then, assume here that the group members in the address book group (i.e., the target group) include group member a, group member B, and group member C, and their white list groups for receiving messages are obtained, for example, the white list group of group member a includes group a, the white list group of group member B includes group B, and the white list group of group member C includes group C. Taking group member a as an example, for example, group a includes group member X, group member Y and group member Z, it means that group member a only receives the group messages sent by group member X, group member Y and group member Z in IM group, and mobile terminal user X sending the messages in this example is group member X, so the group message of mobile terminal user X can be sent to group member a in the address book group; for the group member B, for example, the group B includes the group member Y and the group member Z, it means that the group member B only receives the group messages sent by the group member Y and the group member Z, but does not receive the group messages other than the two group members, for example, the group member X, and therefore, the group message of the mobile terminal user X cannot be sent to the group member B in the address book group; for another example, if the group C includes the group member X and the group member M, the group member C only receives the group messages sent by the group member X and the group member M, and therefore the group message of the mobile terminal user X can be sent to the group member C in the address book group.
In summary, the group message of the mobile terminal user X can be sent to the group members a and C in the address book group, but not to the group member B.
Therefore, the embodiment of the invention carries out the processing of only receiving the group messages of part of group members in the IM group for each group member in the IM group, thereby realizing the message shielding processing of part of group members, fully considering the communication requirements of users, reasonably carrying out the message shielding processing for the group members which do not need to communicate and avoiding being disturbed.
Referring to fig. 2, a block diagram of a mobile terminal of one embodiment of the present invention is shown. The mobile terminal of the embodiment of the invention can realize the details of the group chat method of the embodiment and achieve the same effect. The mobile terminal shown in fig. 2 includes:
the acquisition module 21 is configured to acquire address book contact information and IM contact information of a mobile terminal user;
the grouping module 22 is configured to group the group members in the IM group according to the address book contact information and the IM contact information to obtain at least two groups;
an identification module 23, configured to set a group identification for each group;
a receiving and identifying module 24, configured to receive a group message sent by the mobile terminal user in the IM group, and identify a target group identifier and a message content in the group message;
a sending module 25, configured to send the message content to group members in the target group corresponding to the target group identifier.
Optionally, the grouping module 22 includes:
the first obtaining submodule is used for obtaining first communication contact information and/or first IM contact information of each group member in the IM group;
the matching sub-module is used for matching the first communication contact information of each group member with the second communication contact information of each contact in the contact information of the address list respectively, and/or matching the first IM contact information of each group member with the second IM contact information of each IM contact in the IM contact information respectively;
and the grouping submodule is used for grouping the group members in the IM group according to the matching result to obtain at least two groups.
Optionally, the communication contact information includes a phone number, and the IM contact information includes at least one of an IM identification number and an IM avatar.
Optionally, the mobile terminal further includes:
the display module is used for grouping and displaying the group members in each group by taking the group identifier as a group name;
the display names of the group members in the group displayed in a grouping mode comprise the group identification and the group member names.
Optionally, the receiving and identifying module 24 includes:
the first identification submodule is used for receiving the group message sent by the mobile terminal user and identifying a preset identifier in the group message;
and the second identification submodule is used for identifying the target group identification and the message content in the group message according to the preset identifier.
Optionally, the sending module 25 includes:
a second obtaining sub-module, configured to obtain, for each group member in the target group corresponding to the target group identifier, a white list group of each group member for receiving information;
a determining submodule, configured to determine, in the target group, a target group member having a target white list group, where the target white list group is a white list group including the mobile terminal user;
a sending submodule, configured to send the message content to the target group members in the target group.
The mobile terminal can implement each process implemented by the method in the foregoing embodiment, and details are not described here to avoid repetition.
The mobile terminal of the embodiment of the invention groups the group members in the IM group by judging whether the group members are address book friends and/or IM friends, thereby enabling the contact intimacy degree between the grouped group members and the mobile terminal user to be clearer, facilitating the user to select the group in which the group members needing to be communicated are located from the IM group without the operation steps of establishing a group and adding friends on the basis of the IM group, simplifying the communication steps and improving the efficiency of instant messaging.
Fig. 3 is a block diagram of a mobile terminal of one embodiment of the present invention. The mobile terminal 300 shown in fig. 3 includes: at least one processor 301, memory 302, at least one network interface 304, and a user interface 303. The various components in the mobile terminal 300 are coupled together by a bus system 305. It will be appreciated that the bus system 305 is used to enable communications among the components connected. The bus system 305 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 305 in fig. 3.
The user interface 303 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 302 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 302 of the subject systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 302 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 3021 and application programs 3022.
The operating system 3021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs 3022 include various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in the application program 3022.
In the embodiment of the present invention, the processor 301 is configured to obtain contact information of an address list of a mobile terminal user and contact information of an instant messaging system IM by calling a program or an instruction stored in the memory 302, specifically, a program or an instruction stored in the application 3022; grouping group members in the IM group according to the address book contact information and the IM contact information to obtain at least two groups; setting a group identifier for each group; receiving a group message sent by the mobile terminal user in the IM group, and identifying a target group identifier and message content in the group message; and sending the message content to group members in the target group corresponding to the target group identification.
The method disclosed in the above embodiments of the present invention may be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 301. The Processor 301 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 302, and the processor 301 reads the information in the memory 302 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 301 is further configured to: acquiring first communication contact information and/or first IM contact information of each group member in the IM group; matching the first communication contact information of each group member with the second communication contact information of each contact in the contact information of the address list respectively, and/or matching the first IM contact information of each group member with the second IM contact information of each IM contact in the IM contact information respectively; and according to the matching result, grouping the group members in the IM group to obtain at least two groups.
Optionally, the communication contact information includes a phone number, and the IM contact information includes at least one of an IM identification number and an IM avatar.
Optionally, the processor 301 is further configured to: taking the group identification as a group name, and displaying the group members in each group in a grouping way; the display names of the group members in the group displayed in a grouping mode comprise the group identification and the group member names.
Optionally, the processor 301 is further configured to: receiving a group message sent by the mobile terminal user, and identifying a preset identifier in the group message; and identifying the target group identification and the message content in the group message according to the preset identifier.
Optionally, the processor 301 is further configured to: aiming at each group member in the target group corresponding to the target group identification, acquiring a white list group of each group member for receiving information; determining target group members with a target white list group in the target group, wherein the target white list group is a white list group comprising the mobile terminal user; sending the message content to the target group members within the target group.
As can be seen, the mobile terminal 300 according to the embodiment of the present invention can implement each process implemented by the mobile terminal in the foregoing embodiments, and for avoiding repetition, details are not described here.
The mobile terminal 300 of the embodiment of the invention groups the group members in the IM group by judging whether the group members are address book friends and/or IM friends, so that the contact intimacy degree between the grouped group members and the mobile terminal user is clearer, the user can conveniently select the group in which the group members needing to be communicated are located from the IM group without the operation steps of establishing a group and adding friends on the basis of the IM group, the communication steps are simplified, and the efficiency of instant communication is improved.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. Specifically, the mobile terminal 400 in fig. 4 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 400 of fig. 4 includes a Radio Frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a processor 460, an audio circuit 470, a wifi (wireless fidelity) module 480, and a power supply 490.
The input unit 430 may be used, among other things, to receive numeric or character information input by a user of the mobile terminal and to generate signal inputs related to mobile terminal user settings and function control of the mobile terminal 400. Specifically, in the embodiment of the present invention, the input unit 430 may include a touch panel 431. The touch panel 431, also called a touch screen, may collect touch operations of a mobile terminal user (for example, operations of the mobile terminal user on the touch panel 431 by using any suitable object or accessory such as a finger, a stylus pen, etc.) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a mobile terminal user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 460, and can receive and execute commands sent by the processor 460. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 431, the input unit 430 may include other input devices 432, and the other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 440 may be used to display information input by or provided to the mobile terminal user and various menu interfaces of the mobile terminal 400. The display unit 440 may include a display panel 441, and optionally, the display panel 441 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 431 may cover the display panel 441 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 460 to determine the type of the touch event, and then the processor 460 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 460 is a control center of the mobile terminal 400, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 400 and processes data by operating or executing software programs and/or modules stored in the first memory 421 and calling data stored in the second memory 422, thereby integrally monitoring the mobile terminal 400. Optionally, processor 460 may include one or more processing units.
In the embodiment of the present invention, the processor 460 is configured to obtain contact information of the address list of the mobile terminal user and contact information of the instant messaging system IM by calling a software program and/or a module stored in the first memory 421 and/or data stored in the second memory 422; grouping group members in the IM group according to the address book contact information and the IM contact information to obtain at least two groups; setting a group identifier for each group; receiving a group message sent by the mobile terminal user in the IM group, and identifying a target group identifier and message content in the group message; and sending the message content to group members in the target group corresponding to the target group identification.
Optionally, the processor 460 is further configured to: acquiring first communication contact information and/or first IM contact information of each group member in the IM group; matching the first communication contact information of each group member with the second communication contact information of each contact in the contact information of the address list respectively, and/or matching the first IM contact information of each group member with the second IM contact information of each IM contact in the IM contact information respectively; and according to the matching result, grouping the group members in the IM group to obtain at least two groups.
Optionally, the communication contact information includes a phone number, and the IM contact information includes at least one of an IM identification number and an IM avatar.
Optionally, the processor 460 is further configured to: taking the group identification as a group name, and displaying the group members in each group in a grouping way; the display names of the group members in the group displayed in a grouping mode comprise the group identification and the group member names.
Optionally, the processor 460 is further configured to: receiving a group message sent by the mobile terminal user, and identifying a preset identifier in the group message; and identifying the target group identification and the message content in the group message according to the preset identifier.
Optionally, the processor 460 is further configured to: aiming at each group member in the target group corresponding to the target group identification, acquiring a white list group of each group member for receiving information; determining target group members with a target white list group in the target group, wherein the target white list group is a white list group comprising the mobile terminal user; sending the message content to the target group members within the target group.
As can be seen, the mobile terminal 400 according to the embodiment of the present invention can implement each process implemented by the mobile terminal in the foregoing embodiments, and for avoiding repetition, details are not described here.
The mobile terminal 400 of the embodiment of the invention groups the group members in the IM group by judging whether the group members are address book friends and/or IM friends, so that the contact intimacy degree between the grouped group members and the mobile terminal user is clearer, the user can conveniently select the group in which the group members needing to be communicated are located from the IM group without the operation steps of establishing a group and adding friends on the basis of the IM group, the communication steps are simplified, and the efficiency of instant messaging is improved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A group chat method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring address list contact information of a mobile terminal user and IM contact information of an instant messaging system;
grouping group members in the IM group according to the address book contact information and the IM contact information to obtain at least two groups;
setting a group identifier for each group;
receiving a group message sent by the mobile terminal user in the IM group, and identifying a target group identifier and message content in the group message;
sending the message content to group members in a target group corresponding to the target group identification;
the method for grouping group members in an IM group according to the address book contact information and the IM contact information to obtain at least two groups comprises the following steps:
acquiring first communication contact information and/or first IM contact information of each group member in the IM group;
matching the first communication contact information of each group member with the second communication contact information of each contact in the contact information of the address list respectively, and/or matching the first IM contact information of each group member with the second IM contact information of each IM contact in the IM contact information respectively;
according to the matching result, grouping group members in the IM group to obtain at least two groups;
the grouping group members in the IM group according to the matching result to obtain at least two groups, including:
dividing group members successfully matched with the first communication contact information and the second communication contact information in the IM group into a first group;
dividing group members successfully matched with the first IM contact information and the second IM contact information in the IM group into a second group;
dividing group members in the IM group, the first communication contact information of which is failed to be matched with the second communication contact information, into a third group;
and dividing the group members in the IM group, of which the matching between the first IM contact information and the second IM contact information fails, into a fourth group.
2. The method of claim 1, wherein the messaging contact information comprises a telephone number and the IM contact information comprises at least one of an IM identification number and an IM avatar.
3. The method of claim 1, wherein after the setting the group identifier for each group, the method further comprises:
taking the group identification as a group name, and displaying the group members in each group in a grouping way;
the display names of the group members in the group displayed in a grouping mode comprise the group identification and the group member names.
4. The method of claim 1, wherein the receiving the group message sent by the mobile terminal user, and identifying the target group id and the message content in the group message comprises:
receiving a group message sent by the mobile terminal user, and identifying a preset identifier in the group message;
and identifying the target group identification and the message content in the group message according to the preset identifier.
5. The method of claim 1, wherein sending the message content to group members in a target group corresponding to the target group identifier comprises:
aiming at each group member in the target group corresponding to the target group identification, acquiring a white list group of each group member for receiving information;
determining target group members with a target white list group in the target group, wherein the target white list group is a white list group comprising the mobile terminal user;
sending the message content to the target group members within the target group.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the acquisition module is used for acquiring the contact information of the address list and the IM contact information of the mobile terminal user;
the grouping module is used for grouping group members in the IM group according to the address list contact information and the IM contact information to obtain at least two groups;
the identification module is used for setting group identification for each group;
a receiving identification module, configured to receive a group message sent by the mobile terminal user in the IM group, and identify a target group identifier and a message content in the group message;
a sending module, configured to send the message content to group members in a target group corresponding to the target group identifier;
wherein the grouping module comprises:
the first obtaining submodule is used for obtaining first communication contact information and/or first IM contact information of each group member in the IM group;
the matching sub-module is used for matching the first communication contact information of each group member with the second communication contact information of each contact in the contact information of the address list respectively, and/or matching the first IM contact information of each group member with the second IM contact information of each IM contact in the IM contact information respectively;
the grouping submodule is used for grouping the group members in the IM group according to the matching result to obtain at least two groups;
the grouping submodule is further configured to divide group members in the IM group, for which the first communication contact information and the second communication contact information are successfully matched, into a first group;
the grouping submodule is further configured to divide group members in the IM group, for which the first IM contact information and the second IM contact information are successfully matched, into a second group;
the grouping submodule is further configured to divide group members in the IM group, for which matching between the first communication contact information and the second communication contact information fails, into a third group;
the grouping submodule is further configured to divide group members in the IM group, for which matching between the first IM contact information and the second IM contact information fails, into a fourth group.
7. The mobile terminal of claim 6, wherein the communication contact information comprises a telephone number and the IM contact information comprises at least one of an IM identification number and an IM avatar.
8. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the display module is used for grouping and displaying the group members in each group by taking the group identifier as a group name;
the display names of the group members in the group displayed in a grouping mode comprise the group identification and the group member names.
9. The mobile terminal of claim 6, wherein the receiving identification module comprises:
the first identification submodule is used for receiving the group message sent by the mobile terminal user and identifying a preset identifier in the group message;
and the second identification submodule is used for identifying the target group identification and the message content in the group message according to the preset identifier.
10. The mobile terminal of claim 6, wherein the sending module comprises:
a second obtaining sub-module, configured to obtain, for each group member in the target group corresponding to the target group identifier, a white list group of each group member for receiving information;
a determining submodule, configured to determine, in the target group, a target group member having a target white list group, where the target white list group is a white list group including the mobile terminal user;
a sending submodule, configured to send the message content to the target group members in the target group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710295618.9A CN107196846B (en) | 2017-04-28 | 2017-04-28 | Group chat method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710295618.9A CN107196846B (en) | 2017-04-28 | 2017-04-28 | Group chat method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107196846A CN107196846A (en) | 2017-09-22 |
CN107196846B true CN107196846B (en) | 2020-05-26 |
Family
ID=59872368
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710295618.9A Active CN107196846B (en) | 2017-04-28 | 2017-04-28 | Group chat method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107196846B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110582998A (en) * | 2017-10-24 | 2019-12-17 | 深圳市欢太科技有限公司 | Group communication method and device, computer storage medium and computer equipment |
CN109921976B (en) * | 2017-12-12 | 2021-05-07 | 腾讯科技(深圳)有限公司 | Group-based communication control method, device and storage medium |
CN108377217B (en) * | 2018-02-12 | 2022-04-22 | 段迎 | Real-time communication method and device |
CN109379274B (en) * | 2018-10-29 | 2021-08-20 | 政采云有限公司 | Information sending method and device for instant messaging group |
CN109687983B (en) * | 2018-12-27 | 2021-10-22 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN110932873A (en) * | 2019-11-18 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Group communication method, terminal equipment, server and communication system |
CN110890969B (en) * | 2019-11-22 | 2021-12-31 | 腾讯科技(深圳)有限公司 | Method and device for mass-sending message, electronic equipment and storage medium |
CN111708924A (en) * | 2020-05-29 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Information processing method and device, computer readable medium and electronic equipment |
CN118368157A (en) * | 2020-10-22 | 2024-07-19 | 华为技术有限公司 | Group member privacy protection method and terminal equipment in group |
CN114006782B (en) * | 2021-10-29 | 2024-01-09 | 北京达佳互联信息技术有限公司 | Group message distribution method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997783A (en) * | 2009-08-21 | 2011-03-30 | 阿里巴巴集团控股有限公司 | Implementation method and server for instant messaging tool contact structured group |
CN104660483A (en) * | 2013-11-21 | 2015-05-27 | 腾讯科技(上海)有限公司 | Method, service terminal and system for group communication |
CN105450498A (en) * | 2014-08-08 | 2016-03-30 | 华为技术有限公司 | User relationship management method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100456682C (en) * | 2005-07-30 | 2009-01-28 | 腾讯科技(深圳)有限公司 | Cluster communication system and method for establishing discussing cluster |
CN105704016B (en) * | 2016-04-29 | 2019-04-30 | 北京小米移动软件有限公司 | One population message screening processing method, device and terminal |
-
2017
- 2017-04-28 CN CN201710295618.9A patent/CN107196846B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997783A (en) * | 2009-08-21 | 2011-03-30 | 阿里巴巴集团控股有限公司 | Implementation method and server for instant messaging tool contact structured group |
CN104660483A (en) * | 2013-11-21 | 2015-05-27 | 腾讯科技(上海)有限公司 | Method, service terminal and system for group communication |
CN105450498A (en) * | 2014-08-08 | 2016-03-30 | 华为技术有限公司 | User relationship management method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107196846A (en) | 2017-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107196846B (en) | Group chat method and mobile terminal | |
CN107147505B (en) | Group chat method and mobile terminal | |
CN107360008B (en) | Group message pushing method and mobile terminal | |
US10320725B1 (en) | Method and apparatus and electronic device for integrating multifunctional services | |
CN107526492B (en) | Interface display method of application program and mobile terminal | |
CN107623787B (en) | A kind of footmark information processing method and terminal | |
CN107678644B (en) | Image processing method and mobile terminal | |
KR20160041899A (en) | Conversation merging method and mobile terminal | |
CN107196847B (en) | Group chat method and mobile terminal | |
CN107172287B (en) | Multi-card communication method and mobile terminal | |
CN106446180B (en) | Song identification method and mobile terminal | |
CN106027373B (en) | A kind of approaches to IM and device | |
CN110875871A (en) | Management method of instant messaging application and electronic equipment | |
CN107562262B (en) | Method for responding touch operation, terminal and computer readable storage medium | |
CN106453042B (en) | A kind of information sharing method and mobile terminal | |
WO2022002025A1 (en) | New message prompting method and apparatus, electronic device, medium, product, and chip | |
CN111538551A (en) | Information processing method and electronic equipment | |
CN106534482B (en) | Method and device for managing application programs of mobile terminal | |
CN106507351B (en) | Method for acquiring connection password of wireless network and mobile terminal | |
CN112929254A (en) | Message processing method and device and electronic equipment | |
CN107566610A (en) | A kind of message prompt method, mobile terminal and computer-readable recording medium | |
CN107241515B (en) | Incoming call rejection processing method and terminal | |
CN114157627B (en) | Group processing method, device, electronic equipment and medium | |
CN107315527B (en) | Identity identification code identification method and mobile terminal | |
CN106383715B (en) | Information prompting method and mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |