CN107147505A - A group chat method and mobile terminal - Google Patents
A group chat method and mobile terminal Download PDFInfo
- Publication number
- CN107147505A CN107147505A CN201710296772.8A CN201710296772A CN107147505A CN 107147505 A CN107147505 A CN 107147505A CN 201710296772 A CN201710296772 A CN 201710296772A CN 107147505 A CN107147505 A CN 107147505A
- Authority
- CN
- China
- Prior art keywords
- group
- members
- mobile terminal
- groups
- target
- 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.)
- Granted
Links
Classifications
-
- 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/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
- H04L12/1822—Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
-
- 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/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种群聊天方法及移动终端。The invention relates to the technical field of communication, in particular to a group chat method and a mobile terminal.
背景技术Background technique
随着移动终端的发展,即时通信系统(IM,Instant Messenger)软件已经是每部移动终端中必备的应用,在通信过程中,由于每个用户都拥有各种社会属性而最终会建立多个聊天通信群。目前,移动终端的IM软件的群聊功能主要是由用户通过扫描二维码、添加朋友、发送邀请名片等方式来将某个用户拉进某一个群中进行聊天,其中,群中的每个用户都可以根据自己的IM软件的社交关系来将与自己有社交关系的用户拉进一个群中,这样就导致群中的成员数量越来越多,并且,群中的成员并不是都具有好友关系。With the development of mobile terminals, Instant Messenger (IM, Instant Messenger) software has become an essential application in every mobile terminal. In the communication process, because each user has various social attributes, multiple Chat group. At present, the group chat function of the IM software of the mobile terminal is mainly for the user to pull a certain user into a certain group for chatting by scanning a QR code, adding a friend, sending an invitation card, etc. Users can pull users who have social relations with them into a group according to the social relations of their own IM software, which leads to more and more members in the group, and not all members in the group have friends relation.
那么当群中的某个用户只想对该群中的部分成员进行交流时,现有技术的方案主要是由话题发起者针对上述部分成员重新建立一个群从而与上述部分成员进行即时通信。但是,在重新建立这个新的群时,话题发起者需要与上述部分成员中的每个人都是好友关系才可以,如果不是好友关系,需要添加好友后才可以建立该新的群。这样就使得群聊步骤繁琐复杂,不利于即时通信。Then, when a certain user in the group only wants to communicate with some members of the group, the solution in the prior art is mainly for the topic initiator to re-establish a group for the above-mentioned some members so as to carry out instant communication with the above-mentioned some members. However, when re-establishing this new group, the topic initiator needs to have a friend relationship with each of the above-mentioned members. If it is not a friend relationship, the new group can only be established after adding friends. This makes the group chat steps cumbersome and complicated, which is not conducive to instant messaging.
发明内容Contents of the invention
本发明实施例提供一种群聊天方法及移动终端,以解决现有技术中的群聊天方法所存在的群成员在群中需要对部分群成员发起聊天时,需要重新另外建立群组所导致的步骤繁琐复杂的问题。The embodiment of the present invention provides a group chat method and a mobile terminal to solve the problem of group chat method existing in the prior art when group members need to initiate a chat with some group members in the group, and need to re-create another group. Complicated issues.
第一方面,本发明实施例提供了一种群聊天方法,应用于移动终端,所述方法包括:In a first aspect, an embodiment of the present invention provides a group chat method applied to a mobile terminal, and the method includes:
确定即时通信系统IM群中每个群成员的所在地区;Determine the location of each group member in the IM group of the instant messaging system;
根据所述所在地区,对所述IM群中的群成员进行分组,得到至少两个群组,其中,所在地区相同的群成员归属为同一个群组;grouping the group members in the IM group according to the region where they are located to obtain at least two groups, wherein group members with the same region belong to the same group;
对每个群组设置群组标识;Set the group ID for each group;
接收移动终端用户在所述IM群中发送的群消息,识别所述群消息中的目标群组标识和消息内容;receiving a group message sent by a mobile terminal user in the IM group, and identifying the target group identifier and message content in the group message;
将所述消息内容发送至所述目标群组标识对应的目标群组内的群成员。Sending the message content to the group members in the target group corresponding to the target group identifier.
第二方面,本发明实施例还提供了一种移动终端,所述移动终端包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, the mobile terminal includes:
确定模块,用于确定IM群中每个群成员的所在地区;A determining module, configured to determine the location of each group member in the IM group;
分组模块,用于根据所述所在地区,对所述IM群中的群成员进行分组,得到至少两个群组,其中,所在地区相同的群成员归属为同一个群组;A grouping module, configured to group the group members in the IM group according to the region to obtain at least two groups, wherein the group members in the same region belong to the same group;
标识模块,用于对每个群组设置群组标识;An identification module, configured to set a group identification for each group;
接收识别模块,用于接收移动终端用户在所述IM群中发送的群消息,识别所述群消息中的目标群组标识和消息内容;A receiving identification module, configured to receive a group message sent by a mobile terminal user in the IM group, and identify a target group identifier and message content in the group message;
发送模块,用于将所述消息内容发送至所述目标群组标识对应的目标群组内的群成员。A sending module, configured to send the message content to the group members in the target group corresponding to the target group identifier.
这样,本发明实施例通过按照各个群成员所在地区对各个群成员进行分组,当群成员在IM群中需要对部分群成员发起聊天时,群成员无需重新另外建立群组,也无需对新建群组中的群成员加为好友,就可以实现对IM群中部分群成员的群聊,避免了新建群组所导致的步骤繁琐复杂的问题,简化了群聊过程中的复杂操作,利于IM群中各群成员的即时通信。In this way, the embodiment of the present invention groups each group member according to the region where each group member is located. When a group member needs to initiate a chat with some group members in the IM group, the group member does not need to create another group again, and does not need to update the newly created group. By adding the group members in the group as friends, you can realize the group chat with some group members in the IM group, avoiding the cumbersome and complicated steps caused by creating a new group, simplifying the complicated operations in the group chat process, and benefiting the IM group Instant messaging among group members.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1是本发明一个实施例的群聊天方法的流程图;Fig. 1 is a flowchart of a group chat method according to an embodiment of the present invention;
图2是本发明一个实施例的移动终端的框图;Fig. 2 is a block diagram of a mobile terminal according to an embodiment of the present invention;
图3是本发明另一个实施例的移动终端的框图;Fig. 3 is a block diagram of a mobile terminal according to another embodiment of the present invention;
图4是本发明一个实施例的移动终端的结构示意图。Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参照图1,示出了本发明一个实施例的群聊天方法的流程图,应用于移动终端,所述方法具体可以包括如下步骤:Referring to FIG. 1 , it shows a flowchart of a group chat method according to an embodiment of the present invention, which is applied to a mobile terminal. The method may specifically include the following steps:
当用户触发了对该IM群的分组操作时,为了响应于该分组操作,本发明实施例的方法就可以进行如下分组以及分组聊天的步骤。When the user triggers the grouping operation of the IM group, in response to the grouping operation, the method of the embodiment of the present invention may perform the following steps of grouping and group chatting.
步骤101,确定IM群中每个群成员的所在地区;Step 101, determine the location of each group member in the IM group;
其中,由于移动终端用户本身的常住地为某个地区,那么为了方便用户确定IM群中哪些成员和自己的常住地(即所在地区)更近,或者方便用户了解IM群中成员常住地从而便于后续的各种沟通,本发明实施例可以按照群成员的所在地区进行群内的分组,具体来说,首先需要确定该IM群中每个群成员(包括移动终端用户)的所在地区。Wherein, since the resident place of the mobile terminal user itself is a certain region, it is convenient for the user to determine which members in the IM group are closer to their resident place (that is, the region), or to facilitate the user to know the resident place of the members in the IM group so as to facilitate For various subsequent communications, the embodiment of the present invention can perform grouping within the group according to the location of the group members. Specifically, it is first necessary to determine the location of each group member (including mobile terminal users) in the IM group.
步骤102,根据所述所在地区,对所述IM群中的群成员进行分组,得到至少两个群组;Step 102, grouping group members in the IM group according to the region where they are located to obtain at least two groups;
其中,可以将所在地区相同的群成员划分为一个群组,使得所在地区相同的群成员归属为同一个群组。Wherein, the group members in the same area may be divided into one group, so that the group members in the same area belong to the same group.
其中,该所在地区的范围可大可小,例如可以是国家、省、市辖区、县等等,具体确定的所在地区的范围大小可以根据用户对群组的分组要求预先设定,或者,系统也可以根据各个群成员的所在地的实际情况,合理的进行所在地区的范围设置。例如若IM群中所有成员都是北京的,那么显然以市无法对所有成员进行分组,因此可以以市以下的区来进行分组,例如将属于海淀区的群成员划分为一组、属于东城区的群成员划分为一组……等等。Wherein, the range of the region can be large or small, for example, it can be a country, province, municipal district, county, etc. The specific determined range of the region can be preset according to the grouping requirements of the user, or the system It is also possible to reasonably set the range of the area where each group member is located according to the actual situation of the location of each group member. For example, if all members in the IM group are from Beijing, it is obviously impossible to group all members by city, so grouping by districts below the city can be used, for example, group members belonging to Haidian District are divided into one group, and members belonging to Dongcheng District The group members of the group are divided into groups ... and so on.
步骤103,对每个群组设置群组标识;Step 103, setting a group identifier for each group;
其中,为了区分各个群组,可以对划分得到的每个群组设置群组标识。Wherein, in order to distinguish each group, a group identifier may be set for each divided group.
步骤104,接收移动终端用户在所述IM群中发送的群消息,识别所述群消息中的目标群组标识和消息内容;Step 104, receiving a group message sent by a mobile terminal user in the IM group, identifying the target group ID and message content in the group message;
其中,当分组完成后,当用户在编辑群消息时,用户可以在针对IM群群消息中编辑(需要接收消息的某个群组的)群组标识以及对该群组所要发送的消息内容,这里,本发明实施例在接收到该IM群中的某个移动终端用户在IM群中发送的群消息时,就可以识别出群消息中所指向的目标群组标识以及具体的消息内容。Wherein, after the grouping is completed, when the user is editing the group message, the user can edit the group identifier (of a certain group that needs to receive the message) and the message content to be sent to the group in the IM group message, Here, when the embodiment of the present invention receives a group message sent by a mobile terminal user in the IM group in the IM group, it can identify the target group identifier and the specific message content pointed to in the group message.
步骤105,将所述消息内容发送至所述目标群组标识对应的目标群组内的群成员。Step 105, sending the message content to the group members in the target group corresponding to the target group identifier.
最后,本发明实施例的方法就可以将该消息内容发送至目标群组标识所指向的目标群组中的群成员(其中,可以是目标群组中的全部或部分群成员)。Finally, the method in the embodiment of the present invention can send the message content to the group members in the target group pointed to by the target group identifier (wherein, it may be all or part of the group members in the target group).
这样,本发明实施例通过按照各个群成员所在地区对各个群成员进行分组,那么当IM群中的某个用户想要对IM群中的部分群成员发送群消息时,用户只需在群消息中编辑有所指向的群组标识以及具体的消息内容,本发明实施例就可以将该消息内容定向的发送至该群组标识对应的群组中的群成员,而不会使IM群中不属于该群组标识对应的群组中的成员接收到该消息内容。这样,当群成员在IM群中需要对部分群成员发起聊天时,群成员无需重新另外建立群组,也无需对新建群组中的群成员加为好友,就可以实现对IM群中部分群成员的群聊,避免了新建群组所导致的步骤繁琐复杂的问题,简化了群聊过程中的复杂操作,利于IM群中各群成员的即时通信。In this way, the embodiment of the present invention groups each group member according to the area where each group member is located, so when a certain user in the IM group wants to send a group message to some group members in the IM group, the user only needs to send a group message in the group message Edit the targeted group ID and the specific message content, and the embodiment of the present invention can send the message content to the group members in the group corresponding to the group ID in a targeted manner, without making the IM group unidentified Members belonging to the group corresponding to the group identifier receive the message content. In this way, when a group member needs to initiate a chat with some group members in the IM group, the group member does not need to create another group again, and does not need to add the group members in the newly created group as friends, so that the group members in the IM group can chat with some group members. The group chat of members avoids the cumbersome and complicated steps caused by creating a new group, simplifies the complex operations in the group chat process, and facilitates instant communication among members of the IM group.
并且,用户可以直接在不创建新群不添加该新群中的用户为好友的情况下,实现对IM群中不同地区的群组的群成员的单独信息交互,简化了群聊步骤,提升了群聊效率。Moreover, the user can realize the individual information interaction with group members of groups in different regions in the IM group directly without creating a new group or adding users in the new group as friends, which simplifies the group chat steps and improves the Group chat efficiency.
其中,在一个实施例中,在执行步骤101时,根据本发明实施例的方法可以通过获取所述IM群中每个群成员的电话号码;并将所述电话号码的归属地确定为所述IM群中每个群成员的所在地区。Wherein, in one embodiment, when step 101 is executed, the method according to the embodiment of the present invention may acquire the phone number of each group member in the IM group; and determine the attribution of the phone number as the The location of each group member in the IM group.
也即,在本实施例中,可以依据电话号码的归属地来确定每个群成员的所在地区,因此,本例中的所在地区为省市或国家范围的。That is, in this embodiment, the location of each group member can be determined according to the location of the phone number. Therefore, the location in this example is within the province, city or country.
当然,如果需要确定的每个群成员的所在地区并非省市或国家范围的,而是诸如区、县等范围的,那么本发明则可以采用现有技术中获取IM群中各个用户的区、县范围的所在地区的方法来实现对各个用户的所在地区的确定,即,本发明对每个群成语的所在地区的确定方法并不限制于本实施例中的依据电话号码的归属地的方式。Of course, if the location of each group member that needs to be determined is not within the province, city or country, but such as districts, counties, etc., then the present invention can use the prior art to obtain the districts and districts of each user in the IM group. The method for determining the location of each user is realized by the method of location within the county range, that is, the method for determining the location of each group idiom in the present invention is not limited to the method of attribution based on the phone number in this embodiment .
可选地,当分组后得到的至少两个群组中,存在某几个群组的所在地区较近、或者包含的群成员人数过少等需要对某几个群组进行合并的情况时,在另一个实施例中,在上述步骤103之后,根据本发明实施例的方法还可包括:根据所述移动终端用户对群组中至少两个目标群组的选择关联操作,将所述至少两个目标群组的群成员组合成一个群组,并将所述至少两个目标群组的群组标识设置为组合后的群组的群组标识。Optionally, in the at least two groups obtained after grouping, some groups are located in relatively close areas, or the number of group members included is too small, etc., and some groups need to be merged, In another embodiment, after the above step 103, the method according to the embodiment of the present invention may further include: according to the mobile terminal user's selection and association operation of at least two target groups in the group, linking the at least two target groups The group members of the target groups are combined into one group, and the group identifiers of the at least two target groups are set as the group identifiers of the combined group.
举例来说,例如IM群划分后得到的群组分别为北京群组、上海群组、湖南群组、湖北群组。由于湖南和湖北的地理位置较近,用户想要对这两个群组进行合并,则当用户对这两个群组选择了关联操作时,本发明实施例可以将湖南群组和湖北群组的群成员进行合并,得到一个群组,并将该湖南群组和湖北群组的群组标识设置为该新群组的群组标识。For example, the groups obtained after dividing the IM groups are Beijing group, Shanghai group, Hunan group and Hubei group respectively. Since the geographical locations of Hunan and Hubei are relatively close, the user wants to merge these two groups, then when the user selects the association operation for these two groups, the embodiment of the present invention can combine the Hunan group and the Hubei group The group members are merged to obtain a group, and the group identifiers of the Hunan group and the Hubei group are set as the group identifiers of the new group.
这样,用户可以借助于本发明实施例的方法来对按照地区分组后的群组进行合理的合并,从而当用户对两个群组同时需要进行同样内容的沟通时,可以直接对该合并后的群组内的所有成员进行沟通,避免信息的重复沟通,节省通信时间,提升通信效率。In this way, the user can use the method of the embodiment of the present invention to reasonably merge the groups grouped according to the region, so that when the user needs to communicate with the same content in the two groups at the same time, the merged group can be directly All members in the group communicate to avoid repeated communication of information, save communication time, and improve communication efficiency.
其中,在一个实施例中,在对每个群组设置群组标识时,可以将每个群组对应的所在地区设置为每个群组的群组标识。Wherein, in one embodiment, when setting a group identifier for each group, the region corresponding to each group may be set as the group identifier of each group.
例如,湖南群组的群组标识为“湖南”、湖北群组的群组标识为“湖北”,那么当将这个两个群组合并后,可以将合并后的群组的标识设置为“湖南湖北”或者可以设置为一个能将这两个地区合理涵盖的地区名称,例如“华中”。For example, if the group ID of the Hunan group is "Hunan" and the group ID of the Hubei group is "Hubei", then after merging the two groups, you can set the ID of the merged group to "Hunan". Hubei" or a region name that can reasonably cover these two regions, such as "Central China".
这样,本发明实施例可以采用更加直观的所在地区来对群组标识进行命名。In this way, in this embodiment of the present invention, a more intuitive location can be used to name the group identifier.
当然,对于群组标识的具体内容,本发明并不限制为群组对应的所在地区,可以是任何便于分辨并区分各个群组的标识信息。Of course, the present invention is not limited to the region where the group corresponds to the specific content of the group identification, and may be any identification information that is convenient for identifying and distinguishing each group.
可选地,在一个实施例中,在步骤103之后,根据本发明实施例的方法还包括:Optionally, in one embodiment, after step 103, the method according to the embodiment of the present invention further includes:
将所述群组标识作为群组名称,对各个群组内的群成员进行分组显示;Using the group identifier as a group name, grouping and displaying group members in each group;
其中,分组显示的群组内的群成员的显示名称包括所属群组标识和群成员名称。Wherein, the display names of the group members in the groups displayed in groups include the identification of the group to which they belong and the names of the group members.
也就是说,在对IM群分组后,可以对群成员分组显示,且每个群组显示的名称为各自的群组标识,每个群组下又显示有所包含的群成员,其中,在显示群成员时,其显示名称包括所属群组标识和群成员名称,即为所述群组标识和群成员名称的任意组合。That is to say, after grouping the IM groups, the group members can be grouped and displayed, and the displayed names of each group are their respective group identifiers, and the included group members are displayed under each group, wherein, in When displaying a group member, its display name includes the group ID and the name of the group member, that is, any combination of the group ID and the name of the group member.
例如,划分的群组的群组标识分别为湖南、湖北、北京。则分组后在对各组进行显示时,可以以湖南、湖北、北京为群组名称显示各个群组,其中,以湖南群组中的群成员为例,每个群成员的显示名称为湖南-张三、湖南-李四……,湖北群组、北京群组的群成员的显示方式同理,在此不再赘述。For example, the group identifiers of the divided groups are Hunan, Hubei, and Beijing respectively. Then, when displaying each group after grouping, each group can be displayed with Hunan, Hubei, and Beijing as the group names. Taking the group members in the Hunan group as an example, the display name of each group member is Hunan- Zhang San, Hunan-Li Si..., the group members of the Hubei group and the Beijing group are displayed in the same way, and will not be repeated here.
这样,在对IM群中的群成员分组后,可以对各群组按照地区进行区别化显示,且各群组中的群成员也进行区别化显示,这样,使得分组效果更加直观,方便用户查找需要对哪个群组进行信息通信。In this way, after the group members in the IM group are grouped, each group can be displayed in a differentiated manner according to the region, and the group members in each group can also be displayed in a differentiated manner, thus making the grouping effect more intuitive and convenient for users to find To which group information communication needs to be carried out.
此外,在另一个实施例中,在执行上述步骤104时,可以通过接收所述移动终端用户发送的群消息,识别所述群消息中的预设标识符;并根据所述预设标识符来识别所述群消息中的目标群组标识和消息内容。In addition, in another embodiment, when the above step 104 is performed, the preset identifier in the group message can be identified by receiving the group message sent by the mobile terminal user; and according to the preset identifier, Identify the target group identifier and message content in the group message.
也就是说,当用户需要对IM群中的某个群组发送群消息时,需要在群消息中编辑预设标识符,这样,本发明实施例才可以利用该预设标识符来识别目标群组标识和消息内容。That is to say, when the user needs to send a group message to a certain group in the IM group, the preset identifier needs to be edited in the group message, so that the embodiment of the present invention can use the preset identifier to identify the target group Group ID and message content.
具体来说,例如该预设标识符为“@”+“空格”,其中,“@”用于指示目标群组标识,“空格”用于指示消息内容,例如群消息内容为“@第一批你们好!”,那么在接收到该群消息后,本发明实施例就可以识别出位于@后和“空格”之前的内容为目标群组标识,“空格”之后的内容为具体的消息内容。这样,就可以将“你们好!”发送至IM群中群组标识为北京的群组中的群成员,而IM群中不属于北京群组的群成员无法接收到该消息,也为其他群成员节省了数据流量,并避免了被打扰。Specifically, for example, the preset identifier is "@"+"space", wherein "@" is used to indicate the target group ID, and "space" is used to indicate the content of the message, for example, the content of the group message is "@first Hello!", then after receiving the group message, the embodiment of the present invention can recognize that the content after @ and before the "space" is the target group identifier, and the content after the "space" is the specific message content . In this way, "Hello!" can be sent to the group members in the IM group whose group identification is Beijing, but the group members in the IM group who do not belong to the Beijing group cannot receive the message, and it is also for other groups. Members save data traffic and avoid interruptions.
当然,本发明实施例的预设标识符并不限于上述具体的标识符号,可以是任意来区分目标群组标识和消息内容的标识符号。Of course, the preset identifier in this embodiment of the present invention is not limited to the above-mentioned specific identifier, and may be any identifier used to distinguish the target group identifier from the message content.
可选地,IM群中的群成员也可以预先设置对哪些群组的群成员发送的消息进行接收,而对其他群组的群成员发送的消息进行拒收,避免被打扰,因此,在另一个实施例中,在执行步骤105时,根据本发明实施例的方法可以通过获取所述移动终端用户所属群组的第一群组标识;并针对所述目标群组标识对应的目标群组内的每个群成员,获取每个群成员的用于接收信息的第二群组标识;最后,将所述消息内容发送至所述目标群组内所述第二目标群组标识与所述第一群组标识相同的目标群成员。Optionally, the group members in the IM group can also pre-set which group members to receive the messages sent by the group members, and reject the messages sent by the group members of other groups to avoid being disturbed. In one embodiment, when step 105 is executed, the method according to the embodiment of the present invention may obtain the first group identification of the group to which the mobile terminal user belongs; and target group identification corresponding to the target group for each group member, obtain the second group identifier for receiving information of each group member; finally, send the message content to the second target group identifier and the second target group identifier in the target group A group identifies members of the same target group.
其中,例如,发送消息的移动终端用户属于北京群组,其要将群消息发送至湖南群组,那么这里需要对湖南群组中的每个群成员(例如包括成员A、成员B和成员C),获取他们的用于接收消息的第二群组标识(其中,每个群成员的第二群组标识为预先设置的用于接收消息的群组标识。例如成员A只接收湖北群组的消息、成员B接收湖北、北京和湖南群组的消息、成员C只接收北京群组的消息),即成员A的第二群组标识为湖北,成员B的第二群组标识为湖北、北京和湖南,成员C的第二群组标识为北京。而此时发送消息的移动终端用户属于北京群组,因此,该消息内容只能发送至湖南群组中的成员B和成员C,而不会发送至成员A,因为,成员A作了对北京群组的群消息的屏蔽处理。Wherein, for example, the mobile terminal user who sends the message belongs to the Beijing group, and it wants to send the group message to the Hunan group, so here it is necessary for each group member (for example, including member A, member B and member C) in the Hunan group ), to obtain their second group ID for receiving messages (wherein, the second group ID of each group member is a preset group ID for receiving messages. For example, member A only receives message, member B receives messages from the Hubei, Beijing and Hunan groups, and member C only receives messages from the Beijing group), that is, the second group ID of member A is Hubei, and the second group ID of member B is Hubei, Beijing and Hunan, the second group identity of member C is Beijing. At this time, the mobile terminal user who sent the message belongs to the Beijing group, so the content of the message can only be sent to members B and C in the Hunan group, but not to member A, because member A has made a request to Beijing. Blocking processing of group messages.
这样,本发明实施例通过对IM群中各群成员作只接收部分群组的群消息的处理,从而实现对部分群组的消息屏蔽处理,充分考虑了用户的交流需求,对不需要交流的群组合理的做出屏蔽处理,避免被打扰。In this way, in the embodiment of the present invention, the group members in the IM group only receive the group messages of some groups, thereby realizing the message shielding process for some groups, fully considering the communication needs of users, and for those who do not need to communicate Groups are shielded reasonably to avoid being disturbed.
参照图2,示出了本发明一个实施例的移动终端的框图。本发明实施例的移动终端能实现上述实施例的群聊天方法的细节,并达到相同的效果。图2所示移动终端包括:Referring to FIG. 2, a block diagram of a mobile terminal according to an embodiment of the present invention is shown. The mobile terminal in the embodiment of the present invention can realize the details of the group chat method in the above embodiment, and achieve the same effect. The mobile terminal shown in Figure 2 includes:
确定模块21,用于确定IM群中每个群成员的所在地区;Determining module 21, for determining the location of each group member in the IM group;
分组模块22,用于根据所述所在地区,对所述IM群中的群成员进行分组,得到至少两个群组,其中,所在地区相同的群成员归属为同一个群组;The grouping module 22 is configured to group the group members in the IM group according to the region to obtain at least two groups, wherein the group members in the same region belong to the same group;
标识模块23,用于对每个群组设置群组标识;An identification module 23, configured to set a group identification for each group;
接收识别模块24,用于接收移动终端用户在所述IM群中发送的群消息,识别所述群消息中的目标群组标识和消息内容;The receiving identification module 24 is used to receive the group message sent by the mobile terminal user in the IM group, and identify the target group identifier and message content in the group message;
发送模块25,用于将所述消息内容发送至所述目标群组标识对应的目标群组内的群成员。The sending module 25 is configured to send the message content to the group members in the target group corresponding to the target group identifier.
可选地,所述确定模块21包括:Optionally, the determining module 21 includes:
第一获取子模块,用于获取所述IM群中每个群成员的电话号码;The first obtaining submodule is used to obtain the phone number of each group member in the IM group;
确定子模块,用于将所述电话号码的归属地确定为所述IM群中每个群成员的所在地区。The determination submodule is used to determine the attribution of the telephone number as the location of each group member in the IM group.
可选地,所述移动终端还包括:Optionally, the mobile terminal also includes:
组合模块,用于根据所述移动终端用户对群组中至少两个目标群组的选择关联操作,将所述至少两个目标群组的群成员组合成一个群组,并将所述至少两个目标群组的群组标识设置为组合后的群组的群组标识。A combination module, configured to combine the group members of the at least two target groups into one group according to the selection and association operation of the at least two target groups by the mobile terminal user, and combine the at least two target groups into one group. The group IDs of the target groups are set as the group IDs of the combined groups.
可选地,所述移动终端还包括:Optionally, the mobile terminal also includes:
显示模块,用于将所述群组标识作为群组名称,对各个群组内的群成员进行分组显示;A display module, configured to use the group identifier as a group name to group and display the group members in each group;
其中,分组显示的群组内的群成员的显示名称包括所属群组标识和群成员名称。Wherein, the display names of the group members in the groups displayed in groups include the identification of the group to which they belong and the names of the group members.
可选地,所述接收识别模块24包括:Optionally, the receiving identification module 24 includes:
第一识别子模块,用于接收所述移动终端用户发送的群消息,识别所述群消息中的预设标识符;The first identification submodule is configured to receive a group message sent by the mobile terminal user, and identify a preset identifier in the group message;
第二识别子模块,用于根据所述预设标识符,识别所述群消息中的目标群组标识和消息内容。The second identification submodule is configured to identify the target group ID and message content in the group message according to the preset identifier.
可选地,所述发送模块25包括:Optionally, the sending module 25 includes:
第二获取子模块,用于获取所述移动终端用户所属群组的第一群组标识;The second obtaining submodule is used to obtain the first group identifier of the group to which the mobile terminal user belongs;
第三获取子模块,用于针对所述目标群组标识对应的目标群组内的每个群成员,获取每个群成员的用于接收信息的第二群组标识;A third acquiring submodule, configured to acquire, for each group member in the target group corresponding to the target group ID, a second group ID for receiving information of each group member;
发送子模块,用于将所述消息内容发送至所述目标群组内所述第二群组标识与所述第一群组标识相同的目标群成员。A sending submodule, configured to send the message content to target group members whose second group ID is the same as the first group ID in the target group.
移动终端能够实现前述实施例中方法实现的各个过程,为避免重复,这里不再赘述。The mobile terminal can implement various processes implemented by the methods in the foregoing embodiments, and to avoid repetition, details are not described here.
本发明实施例提供的移动终端通过按照各个群成员所在地区对各个群成员进行分组,当群成员在IM群中需要对部分群成员发起聊天时,群成员无需重新另外建立群组,也无需对新建群组中的群成员加为好友,就可以实现对IM群中部分群成员的群聊,避免了新建群组所导致的步骤繁琐复杂的问题,简化了群聊过程中的复杂操作,利于IM群中各群成员的即时通信。The mobile terminal provided by the embodiment of the present invention groups each group member according to the area where each group member is located. When a group member needs to initiate a chat with some group members in the IM group, the group member does not need to create another group again, and does not need to By adding group members in the newly created group as friends, group chat with some group members in the IM group can be realized, which avoids the cumbersome and complicated steps caused by creating a new group, simplifies the complicated operations in the group chat process, and facilitates Instant messaging among group members in an IM group.
图3是本发明一个实施例的移动终端的框图。图3所示的移动终端300包括:至少一个处理器301、存储器302、至少一个网络接口304和用户接口303。移动终端300中的各个组件通过总线系统305耦合在一起。可理解,总线系统305用于实现这些组件之间的连接通信。总线系统305除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图3中将各种总线都标为总线系统305。FIG. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal 300 shown in FIG. 3 includes: at least one processor 301 , a memory 302 , at least one network interface 304 and a user interface 303 . Various components in the mobile terminal 300 are coupled together through the bus system 305 . It can be understood that the bus system 305 is used to realize connection and communication between these components. In addition to the data bus, the bus system 305 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 305 in FIG. 3 for clarity of illustration.
其中,用户接口303可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 303 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.
可以理解,本发明实施例中的存储器302可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器302旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 302 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). The memory 302 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器302存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统3021和应用程序3022。In some implementations, the memory 302 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 3021 and an application program 3022 .
其中,操作系统3021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序3022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序3022中。Among them, the operating system 3021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 3022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 3022 .
在本发明实施例中,通过调用存储器302存储的程序或指令,具体的,可以是应用程序3022中存储的程序或指令,处理器301用于确定即时通信系统IM群中每个群成员的所在地区;根据所述所在地区,对所述IM群中的群成员进行分组,得到至少两个群组,其中,所在地区相同的群成员归属为同一个群组;对每个群组设置群组标识;接收移动终端用户在所述IM群中发送的群消息,识别所述群消息中的目标群组标识和消息内容;将所述消息内容发送至所述目标群组标识对应的目标群组内的群成员。In the embodiment of the present invention, the processor 301 is used to determine the location of each group member in the IM group of the instant messaging system by calling the program or instruction stored in the memory 302, specifically, the program or instruction stored in the application program 3022 region; according to the region, the group members in the IM group are grouped to obtain at least two groups, wherein the group members in the same region belong to the same group; set a group for each group Identify; receive the group message sent by the mobile terminal user in the IM group, identify the target group ID and message content in the group message; send the message content to the target group corresponding to the target group ID members of the group within.
上述本发明实施例揭示的方法可以应用于处理器301中,或者由处理器301实现。处理器301可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器301中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器301可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器302,处理器301读取存储器302中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing 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 with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 301 or instructions in the form of software. The above-mentioned processor 301 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in 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 can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. 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 above method in combination with its hardware.
可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选地,处理器301还用于:获取所述IM群中每个群成员的电话号码;Optionally, the processor 301 is further configured to: acquire a phone number of each group member in the IM group;
将所述电话号码的归属地确定为所述IM群中每个群成员的所在地区。The attribution of the phone number is determined as the location of each group member in the IM group.
可选地,处理器301还用于:根据所述移动终端用户对群组中至少两个目标群组的选择关联操作,将所述至少两个目标群组的群成员组合成一个群组,并将所述至少两个目标群组的群组标识设置为组合后的群组的群组标识。Optionally, the processor 301 is further configured to: combine the group members of the at least two target groups into a group according to the selection association operation of the mobile terminal user on at least two target groups in the group, and setting the group identifiers of the at least two target groups as the group identifiers of the combined group.
可选地,处理器301还用于:将所述群组标识作为群组名称,对各个群组内的群成员进行分组显示;其中,分组显示的群组内的群成员的显示名称包括所属群组标识和群成员名称。Optionally, the processor 301 is further configured to: use the group identifier as a group name to group and display the group members in each group; wherein, the display names of the group members in the groups displayed in groups include Group ID and group member names.
可选地,处理器301还用于:接收所述移动终端用户发送的群消息,识别所述群消息中的预设标识符;根据所述预设标识符,识别所述群消息中的目标群组标识和消息内容。Optionally, the processor 301 is further configured to: receive a group message sent by the mobile terminal user, identify a preset identifier in the group message; identify a target in the group message according to the preset identifier Group ID and message content.
可选地,处理器301还用于:获取所述移动终端用户所属群组的第一群组标识;针对所述目标群组标识对应的目标群组内的每个群成员,获取每个群成员的用于接收信息的第二群组标识;将所述消息内容发送至所述目标群组内所述第二群组标识与所述第一群组标识相同的目标群成员。Optionally, the processor 301 is further configured to: acquire the first group identifier of the group to which the mobile terminal user belongs; The member's second group ID for receiving information; sending the message content to the target group members in the target group whose second group ID is the same as the first group ID.
本发明实施例的移动终端300通过按照各个群成员所在地区对各个群成员进行分组,当群成员在IM群中需要对部分群成员发起聊天时,群成员无需重新另外建立群组,也无需对新建群组中的群成员加为好友,就可以实现对IM群中部分群成员的群聊,避免了新建群组所导致的步骤繁琐复杂的问题,简化了群聊过程中的复杂操作,利于IM群中各群成员的即时通信。The mobile terminal 300 of the embodiment of the present invention groups each group member according to the area where each group member is located. When a group member needs to initiate a chat with some group members in the IM group, the group member does not need to re-establish another group, and does not need to By adding group members in the newly created group as friends, group chat with some group members in the IM group can be realized, which avoids the cumbersome and complicated steps caused by creating a new group, simplifies the complicated operations in the group chat process, and facilitates Instant messaging among group members in an IM group.
图4是本发明一个实施例的移动终端的结构示意图。具体地,图4中的移动终端400可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。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 (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图4中的移动终端400包括射频(Radio Frequency,RF)电路410、存储器420、输入单元430、显示单元440、处理器460、音频电路470、WiFi(Wireless Fidelity)模块480和电源490。Mobile terminal 400 in FIG.
其中,输入单元430可用于接收移动终端用户输入的数字或字符信息,以及产生与移动终端400的移动终端用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元430可以包括触控面板431。触控面板431,也称为触摸屏,可收集移动终端用户在其上或附近的触摸操作(比如移动终端用户使用手指、触笔等任何适合的物体或附件在触控面板431上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板431可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测移动终端用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器460,并能接收处理器460发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板431。除了触控面板431,输入单元430还可以包括其他输入设备432,其他输入设备432可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 430 can be used to receive digital or character information input by the mobile terminal user, and generate signal input related to the mobile terminal user setting 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 referred to as a touch screen, can collect the touch operations of the mobile terminal user on or near it (such as the operation of the mobile terminal user on the touch panel 431 using any suitable object or accessory such as a finger or a stylus), And drive the corresponding connection device according to the preset program. Optionally, the touch panel 431 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the mobile terminal user, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into contact coordinates , and then sent to the processor 460, and can receive the command sent by the processor 460 and execute it. In addition, the touch panel 431 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 431, the input unit 430 may also include other input devices 432, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元440可用于显示由移动终端用户输入的信息或提供给移动终端用户的信息以及移动终端400的各种菜单界面。显示单元440可包括显示面板441,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板441。Wherein, the display unit 440 can be used to display information input by the mobile terminal user or information 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 (Organic Light-Emitting Diode, OLED).
应注意,触控面板431可以覆盖显示面板441,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器460以确定触摸事件的类型,随后处理器460根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 431 can cover the display panel 441 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 460 to determine the type of the touch event, and then the processor The 460 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器460是移动终端400的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器421内的软件程序和/或模块,以及调用存储在第二存储器422内的数据,执行移动终端400的各种功能和处理数据,从而对移动终端400进行整体监控。可选的,处理器460可包括一个或多个处理单元。Wherein the processor 460 is the control center of the mobile terminal 400, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, runs or executes the software programs and/or modules stored in the first memory 421, and calls the software programs and/or modules stored in the second memory 421. The data in the memory 422 executes various functions of the mobile terminal 400 and processes data, so as to monitor the mobile terminal 400 as a whole. Optionally, the processor 460 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器421内的软件程序和/或模块和/或该第二存储器422内的数据,处理器460用于确定即时通信系统IM群中每个群成员的所在地区;根据所述所在地区,对所述IM群中的群成员进行分组,得到至少两个群组,其中,所在地区相同的群成员归属为同一个群组;对每个群组设置群组标识;接收移动终端用户在所述IM群中发送的群消息,识别所述群消息中的目标群组标识和消息内容;将所述消息内容发送至所述目标群组标识对应的目标群组内的群成员。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 421 and/or the data in the second memory 422, the processor 460 is used to determine the number of each group in the instant messaging system IM group The member's location; according to the location, the group members in the IM group are grouped to obtain at least two groups, wherein the group members with the same location belong to the same group; for each group Set the group ID; receive the group message sent by the mobile terminal user in the IM group, identify the target group ID and message content in the group message; send the message content to the corresponding Group members within the target group.
可选地,处理器460还用于:获取所述IM群中每个群成员的电话号码;Optionally, the processor 460 is further configured to: acquire a phone number of each group member in the IM group;
将所述电话号码的归属地确定为所述IM群中每个群成员的所在地区。The attribution of the phone number is determined as the location of each group member in the IM group.
可选地,处理器460还用于:根据所述移动终端用户对群组中至少两个目标群组的选择关联操作,将所述至少两个目标群组的群成员组合成一个群组,并将所述至少两个目标群组的群组标识设置为组合后的群组的群组标识。Optionally, the processor 460 is further configured to: combine the group members of the at least two target groups into a group according to the selection association operation of the mobile terminal user on at least two target groups in the group, and setting the group identifiers of the at least two target groups as the group identifiers of the combined group.
可选地,处理器460还用于:将所述群组标识作为群组名称,对各个群组内的群成员进行分组显示;其中,分组显示的群组内的群成员的显示名称包括所属群组标识和群成员名称。Optionally, the processor 460 is further configured to: use the group identifier as a group name to group and display the group members in each group; wherein, the display names of the group members in the groups displayed in groups include Group ID and group member names.
可选地,处理器460还用于:接收所述移动终端用户发送的群消息,识别所述群消息中的预设标识符;根据所述预设标识符,识别所述群消息中的目标群组标识和消息内容。Optionally, the processor 460 is further configured to: receive a group message sent by the mobile terminal user, identify a preset identifier in the group message; identify a target in the group message according to the preset identifier Group ID and message content.
可选地,处理器460还用于:获取所述移动终端用户所属群组的第一群组标识;针对所述目标群组标识对应的目标群组内的每个群成员,获取每个群成员的用于接收信息的第二群组标识;将所述消息内容发送至所述目标群组内所述第二群组标识与所述第一群组标识相同的目标群成员。Optionally, the processor 460 is further configured to: obtain the first group identifier of the group to which the mobile terminal user belongs; for each group member in the target group corresponding to the target group identifier, obtain the The member's second group ID for receiving information; sending the message content to the target group members in the target group whose second group ID is the same as the first group ID.
可见,本发明实施例的移动终端400能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。It can be seen that the mobile terminal 400 in the embodiment of the present invention can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
本发明实施例的移动终端400通过按照各个群成员所在地区对各个群成员进行分组,当群成员在IM群中需要对部分群成员发起聊天时,群成员无需重新另外建立群组,也无需对新建群组中的群成员加为好友,就可以实现对IM群中部分群成员的群聊,避免了新建群组所导致的步骤繁琐复杂的问题,简化了群聊过程中的复杂操作,利于IM群中各群成员的即时通信。The mobile terminal 400 of the embodiment of the present invention groups each group member according to the area where each group member is located. When a group member needs to initiate a chat with some group members in the IM group, the group member does not need to create another group again, and does not need to By adding group members in the newly created group as friends, group chat with some group members in the IM group can be realized, which avoids the cumbersome and complicated steps caused by creating a new group, simplifies the complicated operations in the group chat process, and facilitates Instant messaging among group members in an IM group.
本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710296772.8A CN107147505B (en) | 2017-04-28 | 2017-04-28 | A group chat method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710296772.8A CN107147505B (en) | 2017-04-28 | 2017-04-28 | A group chat method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107147505A true CN107147505A (en) | 2017-09-08 |
CN107147505B CN107147505B (en) | 2020-07-14 |
Family
ID=59774424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710296772.8A Active CN107147505B (en) | 2017-04-28 | 2017-04-28 | A group chat method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107147505B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108833252A (en) * | 2018-04-02 | 2018-11-16 | 阿里巴巴集团控股有限公司 | A kind of method for sending information based on cluster, device and equipment |
CN109167669A (en) * | 2018-09-20 | 2019-01-08 | 五八有限公司 | Message treatment method, calculates equipment and storage medium at device |
CN109379274A (en) * | 2018-10-29 | 2019-02-22 | 政采云有限公司 | Method and device for sending information of instant messaging group |
CN109525488A (en) * | 2019-01-29 | 2019-03-26 | 苏州达家迎信息技术有限公司 | Instant message dissemination method, device, terminal, server and storage medium |
CN109905314A (en) * | 2017-12-08 | 2019-06-18 | 阿里巴巴集团控股有限公司 | The means of communication and device |
CN109981304A (en) * | 2019-02-28 | 2019-07-05 | 北京达佳互联信息技术有限公司 | Instant session method, device and storage medium |
CN110086639A (en) * | 2019-05-13 | 2019-08-02 | 湖北潘多拉网络科技有限公司 | Group chat method and device |
CN110233742A (en) * | 2018-03-06 | 2019-09-13 | 阿里巴巴集团控股有限公司 | A kind of group's method for building up, system, terminal and server |
CN111565112A (en) * | 2020-04-30 | 2020-08-21 | 维沃移动通信有限公司 | Method and device for creating group, electronic equipment and readable storage medium |
CN112996082A (en) * | 2019-12-16 | 2021-06-18 | 成都鼎桥通信技术有限公司 | Joint grouping method, device, equipment and computer readable storage medium |
WO2022083721A1 (en) * | 2020-10-22 | 2022-04-28 | 华为技术有限公司 | Method for protecting privacy of group member in group, and terminal device |
WO2023001278A1 (en) * | 2021-07-23 | 2023-01-26 | 北京字跳网络技术有限公司 | Information processing method and apparatus, terminal, and storage medium |
CN116248625A (en) * | 2023-02-20 | 2023-06-09 | 深圳技术大学 | Virtual group message sending method and device |
EP4297366A4 (en) * | 2021-03-12 | 2024-07-24 | Huawei Technologies Co., Ltd. | MESSAGE PROCESSING METHOD AND APPARATUS |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281237A (en) * | 2013-06-14 | 2013-09-04 | 北京小米科技有限责任公司 | Group processing method and device |
CN104660483A (en) * | 2013-11-21 | 2015-05-27 | 腾讯科技(上海)有限公司 | Method, service terminal and system for group communication |
CN105162691A (en) * | 2015-09-15 | 2015-12-16 | 深圳市元征科技股份有限公司 | Group management method for vehicle-mounted terminals, server and vehicle-mounted terminal |
CN105187297A (en) * | 2015-08-17 | 2015-12-23 | 湖南简成信息技术有限公司 | Multi-stage group control method based on instant messaging |
CN105704016A (en) * | 2016-04-29 | 2016-06-22 | 北京小米移动软件有限公司 | Group message shielding processing method, device and terminal |
CN106131296A (en) * | 2016-06-07 | 2016-11-16 | 腾讯科技(深圳)有限公司 | Information displaying method and device |
CN106506177A (en) * | 2016-10-17 | 2017-03-15 | 捷开通讯(深圳)有限公司 | A kind of method of group chatting, server and client |
-
2017
- 2017-04-28 CN CN201710296772.8A patent/CN107147505B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281237A (en) * | 2013-06-14 | 2013-09-04 | 北京小米科技有限责任公司 | Group processing method and device |
CN104660483A (en) * | 2013-11-21 | 2015-05-27 | 腾讯科技(上海)有限公司 | Method, service terminal and system for group communication |
CN105187297A (en) * | 2015-08-17 | 2015-12-23 | 湖南简成信息技术有限公司 | Multi-stage group control method based on instant messaging |
CN105162691A (en) * | 2015-09-15 | 2015-12-16 | 深圳市元征科技股份有限公司 | Group management method for vehicle-mounted terminals, server and vehicle-mounted terminal |
CN105704016A (en) * | 2016-04-29 | 2016-06-22 | 北京小米移动软件有限公司 | Group message shielding processing method, device and terminal |
CN106131296A (en) * | 2016-06-07 | 2016-11-16 | 腾讯科技(深圳)有限公司 | Information displaying method and device |
CN106506177A (en) * | 2016-10-17 | 2017-03-15 | 捷开通讯(深圳)有限公司 | A kind of method of group chatting, server and client |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109905314A (en) * | 2017-12-08 | 2019-06-18 | 阿里巴巴集团控股有限公司 | The means of communication and device |
CN109905314B (en) * | 2017-12-08 | 2022-07-22 | 阿里巴巴集团控股有限公司 | Communication method and device |
CN110233742B (en) * | 2018-03-06 | 2022-04-01 | 阿里巴巴集团控股有限公司 | Group establishing method, system, terminal and server |
CN110233742A (en) * | 2018-03-06 | 2019-09-13 | 阿里巴巴集团控股有限公司 | A kind of group's method for building up, system, terminal and server |
WO2019192251A1 (en) * | 2018-04-02 | 2019-10-10 | 阿里巴巴集团控股有限公司 | Cluster-based information transmission method and apparatus, and device |
CN108833252A (en) * | 2018-04-02 | 2018-11-16 | 阿里巴巴集团控股有限公司 | A kind of method for sending information based on cluster, device and equipment |
CN109167669A (en) * | 2018-09-20 | 2019-01-08 | 五八有限公司 | Message treatment method, calculates equipment and storage medium at device |
CN109379274A (en) * | 2018-10-29 | 2019-02-22 | 政采云有限公司 | Method and device for sending information of instant messaging group |
CN109525488B (en) * | 2019-01-29 | 2022-02-25 | 苏州达家迎信息技术有限公司 | Instant message publishing method, device, terminal, server and storage medium |
CN109525488A (en) * | 2019-01-29 | 2019-03-26 | 苏州达家迎信息技术有限公司 | Instant message dissemination method, device, terminal, server and storage medium |
CN109981304A (en) * | 2019-02-28 | 2019-07-05 | 北京达佳互联信息技术有限公司 | Instant session method, device and storage medium |
CN110086639A (en) * | 2019-05-13 | 2019-08-02 | 湖北潘多拉网络科技有限公司 | Group chat method and device |
CN112996082A (en) * | 2019-12-16 | 2021-06-18 | 成都鼎桥通信技术有限公司 | Joint grouping method, device, equipment and computer readable storage medium |
CN111565112A (en) * | 2020-04-30 | 2020-08-21 | 维沃移动通信有限公司 | Method and device for creating group, electronic equipment and readable storage medium |
WO2022083721A1 (en) * | 2020-10-22 | 2022-04-28 | 华为技术有限公司 | Method for protecting privacy of group member in group, and terminal device |
EP4297366A4 (en) * | 2021-03-12 | 2024-07-24 | Huawei Technologies Co., Ltd. | MESSAGE PROCESSING METHOD AND APPARATUS |
WO2023001278A1 (en) * | 2021-07-23 | 2023-01-26 | 北京字跳网络技术有限公司 | Information processing method and apparatus, terminal, and storage medium |
CN116248625A (en) * | 2023-02-20 | 2023-06-09 | 深圳技术大学 | Virtual group message sending method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107147505B (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107147505B (en) | A group chat method and mobile terminal | |
CN107196846B (en) | Group chat method and mobile terminal | |
US8761839B2 (en) | Method and mobile terminal for processing contacts | |
CN106961342A (en) | A kind of group chat method and mobile terminal | |
KR20160041899A (en) | Conversation merging method and mobile terminal | |
CN106972941B (en) | A group chat method and mobile terminal | |
CN105959971A (en) | WiFi password sharing method and mobile terminal | |
WO2014206101A1 (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
CN106371789A (en) | Method for displaying prompt message in application program, and mobile terminal | |
CN106817484A (en) | The acquisition methods and mobile terminal of a kind of session information | |
CN106851001A (en) | A kind of information processing method and mobile terminal | |
CN106445495A (en) | Application program interface display method and mobile terminal | |
CN107333325A (en) | A kind of network search method and mobile terminal | |
CN107196847B (en) | A group chat method and mobile terminal | |
CN106210231A (en) | A kind of method of information processing and mobile terminal | |
CN113794795B (en) | Information sharing method, device, electronic device and readable storage medium | |
CN107508749A (en) | A kind of message method and mobile terminal | |
CN106254694A (en) | A kind of method of incoming call blocking, mobile terminal and core net | |
CN107484148A (en) | A network search method and mobile terminal | |
CN107105102A (en) | A kind of method for sending information and mobile terminal | |
CN106385508A (en) | Information display method and mobile terminal | |
CN105824864A (en) | Quick communication method and terminal | |
CN106354509B (en) | Screen locking interface setting method and mobile terminal | |
CN105872267A (en) | Short message management method and mobile terminal | |
CN107277256A (en) | A kind of processing method and mobile terminal of incoming call request of conversing |
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 |