CN110858817A - Method and equipment for joining group chat and getting resources - Google Patents
Method and equipment for joining group chat and getting resources Download PDFInfo
- Publication number
- CN110858817A CN110858817A CN201810965150.4A CN201810965150A CN110858817A CN 110858817 A CN110858817 A CN 110858817A CN 201810965150 A CN201810965150 A CN 201810965150A CN 110858817 A CN110858817 A CN 110858817A
- Authority
- CN
- China
- Prior art keywords
- user
- group
- resources
- resource
- amount
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- 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
-
- 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
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及计算机技术领域,具体涉及用于加入群聊、领取资源的方法和设备。The embodiments of the present application relate to the field of computer technologies, and in particular, to methods and devices for joining group chats and receiving resources.
背景技术Background technique
随着移动互联网的飞速发展,各种各样的应用层出不穷。其中,社交应用占据了很大一部分。通常,社交应用的用户可以与一个或多个其他用户建立聊天会话。其中,社交应用的用户与一个其他用户建立的聊天会话可以被称作个人聊天会话。社交应用的用户与多个其他用户建立的聊天会话可以被称作群聊天会话,简称群聊。With the rapid development of the mobile Internet, various applications emerge one after another. Among them, social applications occupy a large part. Typically, a user of a social application may establish a chat session with one or more other users. Among them, a chat session established by a user of a social application with one other user may be referred to as a personal chat session. A chat session established by a user of a social application with multiple other users may be referred to as a group chat session, or group chat for short.
目前,在群聊建立之后,社交应用通常可允许群聊中的用户邀请新用户加入该群聊。在现有技术中,群聊中的用户邀请新用户加入群聊的方式主要包括两种。其一,群聊中的用户可以点击该群聊中的虚拟添加按钮,并从该用户在该社交应用中的好友列表中选择好友,以邀请加入该群聊。其二,群聊中的用户可以将该群聊的邀请信息发布到与该用户在该社交应用中的好友建立的个人聊天会话中,好友可以通过确认该群聊的邀请信息加入该群聊。Currently, after a group chat is established, social applications typically allow users in the group chat to invite new users to join the group chat. In the prior art, there are mainly two ways for a user in a group chat to invite a new user to join the group chat. First, a user in a group chat can click a virtual add button in the group chat and select a friend from the user's friend list in the social application to invite to join the group chat. Second, the user in the group chat can publish the group chat invitation information to the personal chat session established with the user's friends in the social application, and the friends can join the group chat by confirming the group chat invitation information.
发明内容SUMMARY OF THE INVENTION
本申请实施例提出了用于加入群聊、领取资源的方法和设备。The embodiments of the present application propose a method and device for joining a group chat and receiving resources.
第一方面,本申请的一些实施例提供了一种用于加入群聊的方法,应用于支持第一社交应用的第三设备,包括:接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联,其中,第一用户基于第一社交应用获得第一邀请信息;若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息,其中,第二邀请信息用于邀请第二用户加入第一用户在第一社交应用中所属群聊;接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。In a first aspect, some embodiments of the present application provide a method for joining a group chat, which is applied to a third device supporting a first social application, including: receiving a second social application from a second user through the first user in the second social application and associate the login information with the first user or the group chat to which the first user belongs in the first social application, wherein the first user obtains the first invitation information based on the first social application ; If the second user logs in to the first social application using the login information, and the second user satisfies the preset conditions, send second invitation information to the second user, wherein the second invitation information is used to invite the second user to join the first user in the A group chat belonging to the first social networking application; receiving a joining request sent by the second user by confirming the second invitation information, and adding the second user to the group chat corresponding to the second invitation information.
第二方面,本申请的一些实施例提供了一种用于领取资源的方法,应用于对应第一用户的第一设备,包括:获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,以供第一用户将第一邀请信息提供给第二用户,其中,第一邀请信息用于指示第二用户提供登录第一社交应用的登录信息;接收支持第一社交应用的第三设备响应于第二用户通过登录信息登录第一社交应用并确认加入群聊而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第一用户的资源存储账户中的资源值。In a second aspect, some embodiments of the present application provide a method for receiving resources, which is applied to a first device corresponding to a first user, including: obtaining a method for inviting a second user to join the first user in a first social application The first invitation information of the group chat to which the user belongs, so that the first user can provide the first invitation information to the second user, wherein the first invitation information is used to instruct the second user to provide login information for logging in to the first social application; receiving support The third device of the first social application adds the second user to the group chat group in response to a notification message that the second user joins the group chat and is sent by the second user logging in to the first social application through the login information and confirming to join the group chat user list, and update the resource value in the resource storage account of the first user.
第三方面,本申请的一些实施例提供了一种用于领取资源的方法,应用于对应第二用户的第二设备,包括:接收第一用户在第二社交应用中发布的第一邀请信息,其中,第一用户是第一社交应用中的群聊中的用户,第一邀请信息用于提示第二用户提供登录第一社交应用的登录信息;若第二用户响应于第一邀请信息提供登录信息,向支持第一社交应用的第三设备发送登录信息;接收第三设备响应于第二用户通过登录信息登录第一社交应用而发送的第二邀请信息,其中,第二邀请信息用于邀请第二用户加入第一用户在第一社交应用中所属群聊;若第二用户响应第二邀请信息,向第三设备发送加入请求;接收第三设备响应于加入请求而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第二用户的资源存储账户中的资源值。In a third aspect, some embodiments of the present application provide a method for receiving resources, applied to a second device corresponding to a second user, including: receiving first invitation information published by the first user in a second social application , where the first user is a user in a group chat in the first social application, and the first invitation information is used to prompt the second user to provide login information for logging in to the first social application; if the second user provides the login information in response to the first invitation information login information, sending login information to a third device supporting the first social application; receiving second invitation information sent by the third device in response to the second user logging in to the first social application through the login information, wherein the second invitation information is used for Invite the second user to join the group chat that the first user belongs to in the first social application; if the second user responds to the second invitation information, send a join request to the third device; receive the second The notification message of the user joining the group chat adds the second user to the group user list of the group chat, and updates the resource value in the resource storage account of the second user.
第四方面,本申请的一些实施例提供了一种用于加入群聊的装置,设置于支持第一社交应用的第三设备,包括:关联单元,被配置成接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联,其中,第一用户基于第一社交应用获得第一邀请信息;发送单元,被配置成若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息,其中,第二邀请信息用于邀请第二用户加入第一用户在第一社交应用中所属群聊;加入单元,被配置成接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。In a fourth aspect, some embodiments of the present application provide an apparatus for joining a group chat, set on a third device supporting a first social application, comprising: an associating unit configured to receive a second user from a first Login information provided by the first invitation information published by the user in the second social networking application, and associate the login information with the first user or the group chat to which the first user belongs in the first social networking application, wherein the first user is based on the first social networking application The application obtains the first invitation information; the sending unit is configured to send the second invitation information to the second user if the second user logs in to the first social application by using the login information, and the second user satisfies the preset condition, wherein the second invitation The information is used to invite the second user to join the group chat that the first user belongs to in the first social application; the joining unit is configured to receive a joining request sent by the second user by confirming the second invitation information, and add the second user to the second user. In the group chat corresponding to the invitation information.
第五方面,本申请的一些实施例提供了一种用于领取资源的装置,设置于对应第一用户的第一设备,包括:获取单元,被配置成获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,以供第一用户将第一邀请信息提供给第二用户,其中,第一邀请信息用于指示第二用户提供登录第一社交应用的登录信息;更新单元,被配置成接收支持第一社交应用的第三设备响应于第二用户通过登录信息登录第一社交应用并确认加入群聊而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第一用户的资源存储账户中的资源值。In a fifth aspect, some embodiments of the present application provide an apparatus for receiving resources, which is set on a first device corresponding to a first user, and includes: an obtaining unit configured to obtain a device for inviting a second user to join the first user. The first invitation information of the group chat to which the user belongs in the first social application, so that the first user can provide the first invitation information to the second user, wherein the first invitation information is used to instruct the second user to provide login to the first social application The update unit is configured to receive a notification that the second user joins the group chat and is sent by the third device supporting the first social application in response to the second user logging in to the first social application through the login information and confirming to join the group chat message, add the second user to the group user list of the group chat, and update the resource value in the resource storage account of the first user.
第六方面,本申请的一些实施例提供了一种用于领取资源的装置,设置于对应第二用户的第二设备,包括:第一接收单元,被配置成接收第一用户在第二社交应用中发布的第一邀请信息,其中,第一用户是第一社交应用中的群聊中的用户,第一邀请信息用于提示第二用户提供登录第一社交应用的登录信息;第一发送单元,被配置成若第二用户响应于第一邀请信息提供登录信息,向支持第一社交应用的第三设备发送登录信息;第二接收单元,被配置成接收第三设备响应于第二用户通过登录信息登录第一社交应用而发送的第二邀请信息,其中,第二邀请信息用于邀请第二用户加入第一用户在第一社交应用中所属群聊;第二发送单元,被配置成若第二用户响应第二邀请信息,向第三设备发送加入请求;更新单元,被配置成接收第三设备响应于加入请求而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第二用户的资源存储账户中的资源值。In a sixth aspect, some embodiments of the present application provide an apparatus for receiving resources, which is arranged on a second device corresponding to a second user, and includes: a first receiving unit configured to receive the first user's information on the second social network The first invitation information published in the application, wherein the first user is a user in the group chat in the first social application, and the first invitation information is used to prompt the second user to provide login information for logging in to the first social application; the first sending a unit configured to send the login information to a third device supporting the first social application if the second user provides login information in response to the first invitation information; a second receiving unit configured to receive the third device's response to the second user The second invitation information sent by logging in the first social application through the login information, wherein the second invitation information is used to invite the second user to join the group chat to which the first user belongs in the first social application; the second sending unit is configured to If the second user responds to the second invitation information, sending a join request to the third device; the updating unit is configured to receive a notification message sent by the third device in response to the joining request that the second user has joined the group chat, and send the second user a notification message to the group chat. It is added to the group user list of the group chat, and the resource value in the resource storage account of the second user is updated.
第七方面,本申请的一些实施例提供了一种计算机设备,该计算机设备包括:一个或多个处理器;存储装置,其上存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法或者实现如第二方面中任一实现方式描述的方法亦或实现如第三方面中任一实现方式描述的方法。In a seventh aspect, some embodiments of the present application provide a computer device, the computer device comprising: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are stored by one or more Multiple processors execute, such that one or more processors implement a method as described in any implementation of the first aspect, or implement a method as described in any implementation of the second aspect, or implement any of the implementations as described in the third aspect Implement the method described by the method.
第八方面,本申请的一些实施例提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法或实现如第二方面中任一实现方式描述的方法亦或实现如第三方面中任一实现方式描述的方法。In an eighth aspect, some embodiments of the present application provide a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the method described in any of the implementation manners in the first aspect or implements the method as described in the first aspect. The method described in any implementation manner of the second aspect also implements the method described in any implementation manner of the third aspect.
本申请的上述实施例提供的用于加入群聊、领取资源的方法和设备,第一用户可以在第二社交应用中发布第一邀请信息,以便于第二用户向支持第一社交应用的第三设备发送其通过第一邀请信息提供的登录信息。随后,第三设备可以将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联。这样,若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,那么第三设备可以向第二用户发送第二邀请信息。最后,第二用户可以通过确认第二邀请信息向第三设备发送加入请求,以便于第三设备将第二用户加入到第二邀请信息对应的群聊中。本申请的上述实施例可以允许第一用户邀请其在第二社交应用中的好友加入其在第一社交应用中所属群聊。尤其是,第二用户不是第一用户在第一社交应用中的好友时,也可以邀请第二用户加入其在第一社交应用中所属群聊。从而提供了一种新的加群途径,提高了加群效率。本申请上述实施例提供的方案有利于用户的社交关系网在不同应用中的迁移,并能够减少因上述迁移产生的操作成本。In the method and device for joining a group chat and receiving resources provided by the above-mentioned embodiments of this application, the first user can publish the first invitation information in the second social application, so that the second user can report to the first social application supporting the first social application. The third device sends the login information it provides through the first invitation message. Subsequently, the third device may associate the login information with the first user or a group chat to which the first user belongs in the first social application. In this way, if the second user logs in to the first social application using the login information, and the second user satisfies the preset condition, the third device may send the second invitation information to the second user. Finally, the second user can send a join request to the third device by confirming the second invitation information, so that the third device can add the second user to the group chat corresponding to the second invitation information. The above-mentioned embodiment of the present application may allow the first user to invite his friends in the second social application to join the group chat he belongs to in the first social application. In particular, when the second user is not a friend of the first user in the first social application, the second user may also be invited to join the group chat to which the second user belongs in the first social application. Thus, a new way of adding a group is provided, and the efficiency of adding a group is improved. The solutions provided by the above-mentioned embodiments of the present application are beneficial to the migration of the user's social network in different applications, and can reduce the operation cost caused by the above-mentioned migration.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请一些实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
图2是根据本申请的用于加入群聊的方法的一个实施例的流程图;2 is a flowchart of one embodiment of a method for joining a group chat according to the present application;
图3A是第一用户A对应的第一设备上显示的第一邀请信息的示意图;3A is a schematic diagram of the first invitation information displayed on the first device corresponding to the first user A;
图3B是第二用户B对应的第二设备上显示的第一邀请信息的示意图;3B is a schematic diagram of the first invitation information displayed on the second device corresponding to the second user B;
图3C是第二用户B对应的第二设备上显示的登录信息提供页面的示意图;3C is a schematic diagram of a login information providing page displayed on a second device corresponding to a second user B;
图3D是第二用户B对应的第二设备上显示的第二邀请信息的示意图;3D is a schematic diagram of second invitation information displayed on a second device corresponding to a second user B;
图3E是第二用户B对应的第二设备上显示的群聊1详情页面的示意图;3E is a schematic diagram of a group chat 1 details page displayed on a second device corresponding to a second user B;
图3F是第二用户B对应的第二设备上显示的通知消息的示意图;3F is a schematic diagram of a notification message displayed on a second device corresponding to a second user B;
图4是根据本申请的用于加入群聊的方法的又一个实施例的流程图;FIG. 4 is a flowchart of yet another embodiment of a method for joining a group chat according to the present application;
图5是根据本申请的用于加入群聊的方法的再一个实施例的流程图;FIG. 5 is a flowchart of yet another embodiment of a method for joining a group chat according to the present application;
图6是根据本申请的用于领取资源的方法的一个实施例的流程图;FIG. 6 is a flowchart of one embodiment of a method for claiming resources according to the present application;
图7是根据本申请的用于领取资源的方法的又一个实施例的流程图;FIG. 7 is a flowchart of yet another embodiment of a method for claiming resources according to the present application;
图8是适于用来实现本申请一些实施例的计算机设备的计算机系统的结构示意图。FIG. 8 is a schematic structural diagram of a computer system suitable for implementing the computer equipment of some embodiments of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
图1示出了可以应用本申请的用于加入群聊、领取资源的方法的示例性系统架构100。FIG. 1 shows an
如图1所示,系统架构100可以包括设备101、102、103、104和网络105、106。网络105用以在设备101、102、103之间提供通信链路的介质。网络106用以在设备101、102、104之间提供通信链路的介质。网络105、106可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 ,
设备101、102、103、104可以是支持网络连接从而提供各种网络服务的硬件设备或软件。当设备为硬件时,其可以是各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机、台式计算机和服务器等等。这时,作为硬件设备,其可以实现成多个设备组成的分布式设备群,也可以实现成单个设备。当设备为软件时,可以安装在上述所列举的电子设备中。这时,作为软件,其可以实现成例如用来提供分布式服务的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The
在实践中,设备可以通过安装相应的客户端应用或服务端应用来提供相应的网络服务。设备在安装了客户端应用之后,其可以在网络通信中体现为客户端。相应地,在安装了服务端应用之后,其可以在网络通信中体现为服务端。In practice, the device can provide corresponding network services by installing a corresponding client application or server application. After the client application is installed on the device, it can be embodied as a client in network communication. Correspondingly, after the server application is installed, it can be embodied as a server in network communication.
作为示例,在图1中,设备103、104体现为服务端,而设备101、102体现为客户端。具体地,设备101、102可以是安装有第一社交应用和第二社交应用的客户端,设备103可以是第一社交应用的后台服务端。设备104可以是第二社交应用的后台服务端。第一社交应用的后台服务端可以接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在所述第一社交应用中所属群聊关联;若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,第一社交应用的后台服务端可以向第二用户发送第二邀请信息;若接收到第二用户通过确认第二邀请信息发送的加入请求,第一社交应用的后台服务端可以将第二用户加入到第二邀请信息对应的群聊中。As an example, in FIG. 1,
需要说明的是,本申请实施例所提供的用于加入群聊的方法可以由设备103执行,用于领取资源的方法可以由设备101执行,也可以由设备102执行。It should be noted that the method for joining a group chat provided by the embodiments of the present application may be executed by the
应该理解,图1中的网络和设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的网络和设备。It should be understood that the number of networks and devices in Figure 1 is merely illustrative. There can be any number of networks and devices depending on the implementation needs.
继续参考图2,其示出了根据本申请的用于加入群聊的方法的一个实施例的流程200。该用于加入群聊的方法应用于支持第一社交应用的第三设备,包括以下步骤:Continuing to refer to FIG. 2, a
步骤201,接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联。Step 201: Receive login information provided by the second user through the first invitation information published by the first user in the second social networking application, and chat the login information with the first user or the group to which the first user belongs in the first social networking application. association.
在本实施例中,第一用户可以登录第一社交应用,并基于第一社交应用获取第一邀请信息。随后,第一用户可以登录第二社交应用,并在第二社交应用中发布第一邀请信息。此时,第二用户可以登录第二社交应用,并通过第一用户在第二社交应用中发布的第一邀请信息提供登录信息,以发送至支持第一社交应用的第三设备(例如图1所示的设备103)。第三设备可以将登陆信息与第一用户或第一用户在第一社交应用中所属群聊关联。In this embodiment, the first user may log in to the first social application, and obtain the first invitation information based on the first social application. Subsequently, the first user can log in to the second social networking application, and publish the first invitation information in the second social networking application. At this time, the second user can log in to the second social application, and provide login information through the first invitation information published by the first user in the second social application, so as to send the login information to a third device that supports the first social application (for example, FIG. 1 ).
通常,第一用户和第二用户可以是已注册第一社交应用和第二社交应用的用户。第一用户可以是其在第一社交应用中所属群聊中的群主用户,也可以是其在第一社交应用中所属群聊中的普通群用户。第二用户可以是尚未加入第一用户在第一社交应用中所属群聊的用户。第三设备可以支持第一社交应用,例如是第一社交应用的后台服务端。第一邀请信息可以用于邀请第二用户提供登录信息,其类型可以包括但不限于图像类型、文本类型等等。若第一邀请信息的类型是图像类型,第一邀请信息可以包括二维码信息,该二维码信息可导向用于引导第二用户在其上输入登录信息的页面。这样,当第二用户扫描第一邀请信息时,可以跳转至用于引导第二用户在其上输入登录信息的页面。若第一邀请信息是文本类型,第一邀请信息可以包括用于引导第二用户在其上输入登录信息的页面的地址信息。这样,当第二用户点击第一邀请信息时,可以跳转至用于引导第二用户在其上输入登录信息的页面。登录信息可以是第二用户用于登录第一社交应用的信息,包括但不限于手机号、账号、用户名、身份证号等等。上述第一社交应用和第二社交应用应被理解为包含但不局限于仅包含社交功能的应用;社交功能可以为第一社交应用和第二社交应用的主要功能,也可以为第一社交应用和第二社交应用的多种功能之一。Typically, the first user and the second user may be users who have registered with the first social application and the second social application. The first user may be a group owner user in the group chat to which he belongs in the first social application, or may be a common group user in the group chat to which he belongs in the first social application. The second user may be a user who has not joined the group chat to which the first user belongs in the first social application. The third device may support the first social application, for example, be a background server of the first social application. The first invitation information may be used to invite the second user to provide login information, and the types of the information may include, but are not limited to, image types, text types, and the like. If the type of the first invitation information is an image type, the first invitation information may include two-dimensional code information that may lead to a page for guiding the second user to enter login information thereon. In this way, when the second user scans the first invitation information, it can jump to a page for guiding the second user to input login information thereon. If the first invitation information is of a text type, the first invitation information may include address information of a page for guiding the second user to input the login information thereon. In this way, when the second user clicks on the first invitation information, it can jump to a page for guiding the second user to input login information thereon. The login information may be information used by the second user to log in to the first social application, including but not limited to a mobile phone number, account number, user name, ID number, and the like. The above-mentioned first social application and second social application should be understood as including but not limited to applications that only include social functions; social functions may be the main functions of the first social application and the second social application, or may be the first social application and one of the many functions of the second social app.
这里,第一邀请信息可以是第三设备生成的。这时,第一用户可以从第三设备中直接获取第一邀请信息。第一邀请信息也可以是第一用户对应的第一设备(例如图1所示的设备101)生成的。这时,第一用户可以首先从第三设备获取第一邀请信息的相关信息,随后基于相关信息生成第一邀请信息。Here, the first invitation information may be generated by the third device. At this time, the first user can directly obtain the first invitation information from the third device. The first invitation information may also be generated by a first device corresponding to the first user (for example, the
在一些实施例中,在第二用户通过第一邀请信息提供登录信息时,还可以同时提供在第二社交应用中发布第一邀请信息的第一用户的信息。这样,第三设备就可以将第二用户提供的登陆信息与第一用户或第一用户在第一社交应用中所属群聊关联。In some embodiments, when the second user provides the login information through the first invitation information, the information of the first user who published the first invitation information in the second social networking application may also be provided at the same time. In this way, the third device can associate the login information provided by the second user with the first user or the group chat to which the first user belongs in the first social networking application.
在一些实施例中,在第一用户获取到第一邀请信息之后,可以向第三设备发送其邀请加入群聊的用户的信息。这样,当第二用户通过第一邀请信息提供登录信息时,第三设备可以将第二用户提供的登录信息与第一用户邀请加入群聊的用户的信息进行匹配。若匹配成功,将第二用户提供的登陆信息与第一用户或第一用户在第一社交应用中所属群聊关联。In some embodiments, after the first user obtains the first invitation information, the information of the user who is invited to join the group chat may be sent to the third device. In this way, when the second user provides the login information through the first invitation information, the third device may match the login information provided by the second user with the information of the user invited by the first user to join the group chat. If the match is successful, the login information provided by the second user is associated with the first user or the group chat to which the first user belongs in the first social networking application.
步骤202,若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息。
在本实施例中,若第二用户利用其提供的登录信息登录第一社交应用,且第二用户满足预设条件,那么第三设备可以向第二用户发送第二邀请信息。In this embodiment, if the second user uses the login information provided by the second user to log in to the first social application, and the second user satisfies the preset condition, the third device may send the second invitation information to the second user.
这里,第二邀请信息可以用于邀请第二用户加入第一用户在第一社交应用中所属群聊,其类型可以包括但不限于图像类型、文本类型等等。若第二邀请信息的类型是图像类型,第二邀请信息可以包括用于引导第二用户加入第一用户在第一社交应用中所属群聊的二维码信息。这样,当第二用户扫描第二邀请信息时,可以向第三设备发送加入请求。若第二邀请信息是文本类型,当第二用户点击第二邀请信息时,可以向第三设备发送加入请求。或者,当第二用户点击第二邀请信息时,可以展示第一用户在第一社交应用中所属群聊的群聊名称和群聊中的用户列表。当第二用户点击群聊名称时,可以向第三设备发送加入请求。Here, the second invitation information may be used to invite the second user to join a group chat to which the first user belongs in the first social application, and the type may include, but is not limited to, an image type, a text type, and the like. If the type of the second invitation information is an image type, the second invitation information may include two-dimensional code information for guiding the second user to join the group chat to which the first user belongs in the first social networking application. In this way, when the second user scans the second invitation information, a joining request can be sent to the third device. If the second invitation information is of text type, when the second user clicks the second invitation information, a joining request may be sent to the third device. Alternatively, when the second user clicks on the second invitation information, the group chat name of the group chat to which the first user belongs in the first social application and a list of users in the group chat may be displayed. When the second user clicks on the group chat name, a join request may be sent to the third device.
在通常情况下,预设条件可以是预先设置的各种条件。在一些实施例中,预设条件可以包括在第一预设时间段内(如当天)注册第一社交应用。此时,满足预设条件的第二用户可以包括在第一预设时间段内注册第一社交应用的用户。在一些实施例中,预设条件可以包括在第二预设时间段内(如当天)注册第二社交应用。此时,满足预设条件的第二用户可以包括在第二预设时间段内注册第二社交应用的用户。在特殊情况下,预设条件还可以为空。Under normal circumstances, the preset conditions may be various preset conditions. In some embodiments, the preset condition may include registering with the first social application within a first preset time period (eg, the same day). At this time, the second user who satisfies the preset condition may include a user who has registered with the first social application within the first preset time period. In some embodiments, the preset condition may include registering with the second social application within a second preset time period (eg, the same day). At this time, the second users who meet the preset conditions may include users who have registered for the second social application within the second preset time period. In special cases, the preset condition can also be empty.
步骤203,接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。Step 203: Receive a joining request sent by the second user by confirming the second invitation information, and add the second user to the group chat corresponding to the second invitation information.
在本实施例中,若接收到第二用户通过确认第二邀请信息发送的加入请求,第三设备可以将第二用户加入到第二邀请信息对应的群聊中。其中,若第二邀请信息的类型是图像类型,当第二用户扫描第二邀请信息时,即对第二邀请信息进行了确认。若第二邀请信息是文本类型,当第二用户点击第二邀请信息或者群聊名称时,即对第二邀请信息进行了确认。In this embodiment, if a joining request sent by the second user by confirming the second invitation information is received, the third device may add the second user to the group chat corresponding to the second invitation information. Wherein, if the type of the second invitation information is an image type, when the second user scans the second invitation information, the second invitation information is confirmed. If the second invitation information is of text type, when the second user clicks the second invitation information or the group chat name, the second invitation information is confirmed.
在一些实施例中,在将第二用户加入到第二邀请信息对应的群聊中之后,第三设备还可以分别为第一用户和第二用户分配资源。这里,资源包括可以通过互联网分配的虚拟物品,例如,资源可以包括但不限于红包、优惠券、抵用券等。第一社交应用可以集成资源类(如红包类、优惠券、抵用券等)程序,这样,第三设备就可以为第一用户和第二用户分配资源。例如,第三设备可以直接将资源分配给第一用户和第二用户,并向第一用户和第二用户发送分配通知,以通知第一用户和第二用户已分配到的资源的数额。又例如,第三设备可以向第一用户和第二用户发布资源消息,以提示第一用户和第二用户领取资源。当第一用户和第二用户点击资源消息时,可以为第一用户和第二用户分配资源,并向第一用户和第二用户发送领取通知,以通知第一用户和第二用户已领取到的资源的数额。In some embodiments, after adding the second user to the group chat corresponding to the second invitation information, the third device may further allocate resources to the first user and the second user, respectively. Here, the resources include virtual items that can be distributed through the Internet, for example, the resources may include but are not limited to red envelopes, coupons, coupons, and the like. The first social application may integrate resource-type (eg, red envelopes, coupons, coupons, etc.) programs, so that the third device may allocate resources to the first user and the second user. For example, the third device may directly allocate resources to the first user and the second user, and send an allocation notification to the first user and the second user to notify the first user and the second user of the amount of resources that have been allocated. For another example, the third device may publish a resource message to the first user and the second user to prompt the first user and the second user to claim the resource. When the first user and the second user click on the resource message, the resource can be allocated to the first user and the second user, and a claim notification can be sent to the first user and the second user to notify the first user and the second user that they have received amount of resources.
本申请实施例还提供了用于加入群聊的方法的一个应用场景。在该应用场景中,第一用户A可以登录第一社交应用APP1,打开第一用户A在第一社交应用APP1中所属群聊1的聊天会话页,并从中获取第一邀请信息。此时,第一用户A对应的第一设备上可以显示第一邀请信息,具体如图3A所示。第一用户A可以对第一邀请信息进行保存。随后登录第二社交应用APP2,并将第一邀请信息发布到第一用户A在第二社交应用中所属群聊2中。此时,群聊2的群用户第二用户B对应的第二设备上可以显示第一邀请信息,具体如图3B所示。第二用户B扫描第一邀请信息中的二维码,跳转至登录信息提供页面,具体如图3C所示。第二用户B输入其手机号,并点击虚拟提交按钮将第二用户B的手机号发送至第三设备。第三设备将第二用户B的手机号与第一用户A在第一社交应用APP1中所属群聊1关联。当第二用户B利用其手机号登录第一社交应用APP1时,第三设备可以向第二用户B发送用于邀请第二用户B加入群聊1的第二邀请信息。此时,第二用户B对应的第二设备上可以显示第二邀请信息,具体如图3D所示。当第二用户B点击第二邀请信息时,第二用户B对应的第二设备上可以显示群聊1详情页面,其上展示有群聊1的群聊名称和群用户名单,具体如图3E所示。当第二用户B点击群聊1的群聊名称时,即向第三设备发送了加入请求。此时,第三设备可以将第二用户加入到群聊1中。同时,在群聊1中发布第二用户B加入群聊1的通知消息。此时,第二用户B对应的第二设备上可以显示该通知消息,具体如图3F所示。The embodiment of the present application also provides an application scenario of the method for joining a group chat. In this application scenario, the first user A can log in to the first social application APP1, open the chat session page of the group chat 1 to which the first user A belongs in the first social application APP1, and obtain the first invitation information therefrom. At this time, the first invitation information may be displayed on the first device corresponding to the first user A, as shown in FIG. 3A . The first user A may save the first invitation information. Then log in to the second social application APP2, and publish the first invitation information to the group chat 2 to which the first user A belongs in the second social application. At this time, the second device corresponding to the second user B of the group chat 2 may display the first invitation information, as shown in FIG. 3B . The second user B scans the QR code in the first invitation information, and jumps to the login information providing page, as shown in FIG. 3C . The second user B enters his mobile phone number, and clicks the virtual submit button to send the second user B's mobile phone number to the third device. The third device associates the mobile phone number of the second user B with the group chat 1 to which the first user A belongs in the first social application APP1. When the second user B uses his mobile phone number to log in to the first social networking application APP1 , the third device may send second invitation information to the second user B for inviting the second user B to join the group chat 1 . At this time, the second invitation information may be displayed on the second device corresponding to the second user B, as shown in FIG. 3D . When the second user B clicks the second invitation information, the second device corresponding to the second user B may display the group chat 1 details page, which displays the group chat name and group user list of the group chat 1, as shown in Figure 3E shown. When the second user B clicks on the group chat name of the group chat 1, a joining request is sent to the third device. At this time, the third device can add the second user to the group chat 1 . At the same time, a notification message that the second user B joins the group chat 1 is published in the group chat 1 . At this time, the notification message may be displayed on the second device corresponding to the second user B, as shown in FIG. 3F .
本申请的上述实施例提供的用于加入群聊的方法,若接收到第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联。若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息。若接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。本申请的上述实施例可以允许第一用户邀请其在第二社交应用中的好友加入其在第一社交应用中所属群聊。尤其是,第二用户不是第一用户在第一社交应用中的好友时,也可以邀请第二用户加入其在第一社交应用中所属群聊。从而提供了一种新的加群途径,提高了加群效率。In the method for joining a group chat provided by the above-mentioned embodiments of the present application, if the login information provided by the second user through the first invitation information published by the first user in the second social networking application is received, the login information and the first The group chat association to which the user or the first user belongs in the first social application. If the second user logs in to the first social networking application by using the login information, and the second user satisfies the preset condition, the second invitation information is sent to the second user. If a joining request sent by the second user by confirming the second invitation information is received, the second user is added to the group chat corresponding to the second invitation information. The above-mentioned embodiment of the present application may allow the first user to invite his friends in the second social application to join the group chat he belongs to in the first social application. In particular, when the second user is not a friend of the first user in the first social application, the second user may also be invited to join the group chat to which the second user belongs in the first social application. Thus, a new way of adding a group is provided, and the efficiency of adding a group is improved.
进一步参考图4,其示出了根据本申请的用于加入群聊的方法的又一个实施例的流程400。该用于加入群聊的方法应用于支持第一社交应用的第三设备,包括以下步骤:With further reference to FIG. 4 , it shows a flow 400 of yet another embodiment of a method for joining a group chat according to the present application. The method for joining a group chat is applied to a third device supporting the first social application, and includes the following steps:
步骤401,接收群主用户发送的对第一社交应用中的群聊的创建请求,创建群聊。Step 401: Receive a request for creating a group chat in a first social networking application sent by a group owner user, and create a group chat.
在本实施例中,群主用户可以向支持第一社交应用的第三设备(例如图1所示的设备103)发送对第一社交应用中的群聊的创建请求。此时,第三设备可以创建群聊。在一些实施例中,创建请求中可以包括群主用户邀请加入群聊的用户的信息。这样,当群聊创建完成后,群主用户所邀请加入群聊的用户就成为了该群聊中的群用户。例如,当群主用户点击虚拟发起群聊按钮时,可以展示群主用户在第一社交应用中的好友列表。当群主用户从好友列表中选择好友,并点击虚拟完成按钮时,会向第三设备发送包括群主用户所选择的好友的信息的创建请求。In this embodiment, the group owner user may send a request for creating a group chat in the first social application to a third device (eg, the
步骤402,生成第一邀请信息。Step 402, generating first invitation information.
在本实施例中,第三设备可以生成第一邀请信息。In this embodiment, the third device may generate the first invitation information.
需要说明的是,第一邀请信息已在参照图2所示实施例中予以详述,在此不再赘述。It should be noted that the first invitation information has been described in detail with reference to the embodiment shown in FIG. 2 , and details are not repeated here.
步骤403,将第一邀请信息发送给第一用户。Step 403: Send the first invitation information to the first user.
在本实施例中,第三设备可以将第一邀请信息发送给第一用户。例如,第一用户可以首先向第三设备发送第一邀请信息的获取请求,此时,第三设备可以将第一邀请信息发送给第一用户。In this embodiment, the third device may send the first invitation information to the first user. For example, the first user may first send a request for obtaining the first invitation information to the third device, and at this time, the third device may send the first invitation information to the first user.
步骤404,接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联。Step 404: Receive login information provided by the second user through the first invitation information published by the first user in the second social networking application, and chat the login information with the first user or the group to which the first user belongs in the first social networking application. association.
步骤405,若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息。Step 405 , if the second user logs in to the first social networking application by using the login information, and the second user satisfies the preset condition, send second invitation information to the second user.
步骤406,接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。Step 406: Receive a join request sent by the second user by confirming the second invitation information, and add the second user to the group chat corresponding to the second invitation information.
在本实施例中,步骤404-406的具体操作与图2所示的实施例中步骤201-203的操作基本相同,在此不再赘述。In this embodiment, the specific operations of steps 404 to 406 are basically the same as the operations of
步骤407,在群聊中发布第一群资源。Step 407: Publish the first group resource in the group chat.
在本实施例中,第一社交应用可以集成资源类(如红包类、优惠券、抵用券等)程序,这样,第三设备可以在群聊中发布第一群资源。In this embodiment, the first social application may integrate a program of a resource type (such as a red envelope, a coupon, a coupon, etc.), so that the third device may publish the first group of resources in the group chat.
需要说明的是,第一群资源不是群聊中的用户请求发布的,而是第三设备检测到第二用户成功加入群聊后主动发布的,其类型、数额和资源个数可以是预先设置的默认值。It should be noted that the first group of resources is not published by the user in the group chat, but is actively published by the third device after detecting that the second user has successfully joined the group chat. The type, amount and number of resources can be preset. the default value of .
步骤408,分别接收第一用户和第二用户对第一群资源的领取请求。Step 408: Receive requests for the first group of resources from the first user and the second user respectively.
在本实施例中,当第三设备在群聊中发布第一群资源之后,第一用户对应的第一设备(例如图1所示的设备101)和第二用户对应的第二设备(例如图1所示的设备102)上可以显示第一群资源消息。当第一用户和第二用户点击第一群资源消息时,即向第三设备发送了其对第一群资源的领取请求。In this embodiment, after the third device publishes the first group resource in the group chat, the first device corresponding to the first user (for example, the
步骤409,将第一群资源中的第一数额的资源分配给第一用户,并将第一群资源中的第二数额的资源分配给第二用户。Step 409: Allocate a first amount of resources in the first group of resources to a first user, and allocate a second amount of resources in the first group of resources to a second user.
在本实施例中,在接收到第一用户和第二用户对第一群资源的领取请求之后,第三设备可以将第一群资源中的第一数额的资源分配给第一用户,并将第一群资源中的第二数额的资源分配给第二用户。同时向第一用户和第二用户发送领取通知,用于通知第一用户和第二用户已成功领取到的资源的数额。In this embodiment, after receiving the request for the first group of resources from the first user and the second user, the third device may allocate the first amount of resources in the first group of resources to the first user, and A second amount of resources in the first group of resources are allocated to the second user. At the same time, a claim notification is sent to the first user and the second user, which is used to notify the first user and the second user of the amount of the resource that has been successfully claimed.
这里,第一数额和第二数额可以是固定数额,也可以是随机数额,其和不大于第一群资源的数额。具体地,若第一数额与第二数额之和等于第一群资源的数额,那么第一群资源就不存在未领取资源。若第一数额与第二数额之和小于第一群资源的数额,那么第一群资源就还存在未领取资源。Here, the first amount and the second amount may be a fixed amount or a random amount, the sum of which is not greater than the amount of the first group of resources. Specifically, if the sum of the first amount and the second amount is equal to the amount of the first group of resources, then there is no unclaimed resource in the first group of resources. If the sum of the first amount and the second amount is less than the amount of the first group of resources, there are still unclaimed resources in the first group of resources.
步骤410,接收群聊中的其他用户对第一群资源的领取请求。Step 410: Receive a request for obtaining the first group resource from other users in the group chat.
在本实施例中,当第三设备在群聊中发布第一群资源之后,群聊中的其他用户对应的设备上也可以显示第一群资源消息。当群聊中的其他用户点击第一群资源消息时,即向第三设备发送了其对第一群资源的领取请求。In this embodiment, after the third device publishes the first group resource in the group chat, the first group resource message may also be displayed on the devices corresponding to other users in the group chat. When other users in the group chat click on the first group resource message, they send their request for the first group resource to the third device.
步骤411,若第一群资源存在未领取资源,将未领取资源中的至少部分数额的资源分配给群聊中的其他用户。Step 411 , if there are unclaimed resources in the first group of resources, at least part of the resources in the unclaimed resources are allocated to other users in the group chat.
在本实施例中,第一群资源存在未领取资源,第三设备可以将未领取资源中的至少部分数额(如固定数额或随机数额)的资源分配给群聊中的其他用户,同时向其发送领取通知,用于通知群聊中的其他用户已领取到的资源的数额。In this embodiment, there are unclaimed resources in the first group of resources, and the third device may allocate at least a part of the unclaimed resources (such as a fixed amount or a random amount) to other users in the group chat, and send them Send a claim notification to inform other users in the group chat of the amount of the resource that has been claimed.
从图4中可以看出,与图2对应的实施例相比,本实施例中的用于加入群聊的方法的流程400增加了为第一用户和第二用户分配资源的步骤。由此,本实施例描述的方案中能够在受第一用户邀请的第二用户加入群聊后,为第一用户和第二用户分配资源。从而提高了第一用户邀请第二用户的积极性。同时,也提高了第二用户加入群聊的积极性。As can be seen from FIG. 4 , compared with the embodiment corresponding to FIG. 2 , the process 400 of the method for joining a group chat in this embodiment adds a step of allocating resources to the first user and the second user. Therefore, in the solution described in this embodiment, after the second user invited by the first user joins the group chat, resources can be allocated to the first user and the second user. Thus, the enthusiasm of the first user to invite the second user is improved. At the same time, the enthusiasm of the second user to join the group chat is also improved.
进一步参考图5,其示出了根据本申请的用于加入群聊的方法的再一个实施例的流程500。该用于加入群聊的方法应用于支持第一社交应用的第三设备,包括以下步骤:With further reference to FIG. 5, a
步骤501,接收群主用户发送的对第二群资源的发布请求,在群聊中发布第二群资源。Step 501: Receive a request for publishing the resources of the second group sent by the group owner user, and publish the resources of the second group in the group chat.
在本实施例中,若接收到群主用户发送的对第二群资源的发布请求,支持第一社交应用的第三设备(例如图1所示的设备103)可以在群聊中发布第二群资源。In this embodiment, if a publishing request for the second group resource sent by the group owner user is received, the third device supporting the first social application (for example, the
这里,群主用户可以通过其对应的设备在群聊中发布第二群资源。当群主用户打开其对应的设备上安装的第一社交应用时,对应的设备上可以显示群主用户在第一社交应用上的聊天会话列表。随后,当群主用户点击聊天会话列表中的群聊时,对应的设备上可以显示该群聊的聊天会话页。若群主用户要在群聊中发布第二群资源,那么群主用户可以首先执行页面跳转操作,从群聊的聊天会话页跳转到资源发布页;然后在资源发布页上设置群资源的类型(如拼手气红包、普通红包)、群资源的数额、群资源中的资源个数;最后执行群资源的发布操作,以触发对应的设备向第三设备发送对第二群资源的发布请求。在接收到对第二群资源的发布请求之后,第三设备可以在群聊中发布第二群资源。通常,资源发布页面上可以有相应设置,例如设置有虚拟发布按钮。当群主用户设置完群资源的类型、群资源的总金额、群资源中的资源个数之后,点击该虚拟发布按钮,即执行了第二群资源的发布操作。对应的设备向第三设备发送的对第二群资源的发布请求中可以包括但不限于群主用户设置的第二群资源的类型、数额和资源个数等等。Here, the group owner user can publish the second group resource in the group chat through its corresponding device. When the group owner user opens the first social application installed on the corresponding device, the corresponding device may display a list of chat sessions of the group owner user on the first social application. Subsequently, when the group owner user clicks the group chat in the chat conversation list, the chat conversation page of the group chat may be displayed on the corresponding device. If the group owner user wants to publish the second group resource in the group chat, the group owner user can first perform the page jump operation to jump from the chat session page of the group chat to the resource publishing page; then set the group resource on the resource publishing page type (such as lucky red envelopes, ordinary red envelopes), the amount of group resources, and the number of resources in the group resources; finally, the release operation of the group resources is performed to trigger the corresponding device to send the release of the second group resources to the third device. ask. After receiving the publishing request for the second group resource, the third device may publish the second group resource in the group chat. Usually, there can be corresponding settings on the resource publishing page, for example, a virtual publishing button is set. After the group owner user has set the type of group resources, the total amount of group resources, and the number of resources in the group resources, and clicks the virtual release button, the release operation of the second group resources is executed. The release request for the second group resource sent by the corresponding device to the third device may include, but is not limited to, the type, amount, and number of resources of the second group set by the group owner user.
步骤502,接收第一用户发送的对第二群资源的领取请求,为第一用户生成领取数额。Step 502: Receive a claim request for the second group of resources sent by the first user, and generate a claim amount for the first user.
在本实施例中,当第三设备在群聊中发布第二群资源之后,第一用户对应的第一设备(例如图1所示的设备101)上可以显示第二群资源消息。当第一用户点击第二群资源消息时,即向第三设备发送了其对第二群资源的领取请求。在接收到第一用户发送的对第二群资源的领取请求之后,第三设备可以为第一用户生成领取数额。其中,领取数额通常不大于第二群资源的数额。In this embodiment, after the third device publishes the second group resource in the group chat, the second group resource message may be displayed on the first device (eg,
步骤503,基于领取数额,生成第一邀请信息。Step 503: Generate first invitation information based on the claimed amount.
在本实施例中,第三设备可以基于领取数额生成第一邀请信息。在步骤503的一些实施例中,第一邀请信息的生成可基于领取数额的生成而触发,但所生成的第一邀请信息中可不包含或不用于显示具体的数额;在步骤503的一些实施例中,所生成的第一邀请信息在呈现时可显示与领取数额对应的数额。In this embodiment, the third device may generate the first invitation information based on the claim amount. In some embodiments of
需要说明的是,第一邀请信息已在参照图2所示实施例中予以详述,在此不再赘述。It should be noted that the first invitation information has been described in detail with reference to the embodiment shown in FIG. 2 , and details are not repeated here.
步骤504,将第一邀请信息发送给第一用户。
在本实施例中,第三设备可以将第一邀请信息发送给第一用户。例如,第一用户可以首先向第三设备发送第一邀请信息的获取请求,此时,第三设备可以将第一邀请信息发送给第一用户。In this embodiment, the third device may send the first invitation information to the first user. For example, the first user may first send a request for obtaining the first invitation information to the third device, and at this time, the third device may send the first invitation information to the first user.
步骤505,接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联。Step 505: Receive login information provided by the second user through the first invitation information published by the first user in the second social networking application, and chat the login information with the first user or the group to which the first user belongs in the first social networking application. association.
步骤506,若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息。
步骤507,接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。Step 507: Receive a joining request sent by the second user by confirming the second invitation information, and add the second user to the group chat corresponding to the second invitation information.
在本实施例中,步骤505-507的具体操作与图2所示的实施例中步骤201-203的操作基本相同,在此不再赘述。In this embodiment, the specific operations of steps 505-507 are basically the same as the operations of steps 201-203 in the embodiment shown in FIG. 2 , and details are not repeated here.
步骤508,将第二群资源中的领取数额的资源分配给第一用户。Step 508: Allocate the resources of the claimed amount in the second group of resources to the first user.
在本实施例中,第三设备可以基于领取数额,分别为第一用户和第二用户分配资源。这里,第三设备可以将第二群资源中的领取数额的资源分配给第一用户。同时,向第一用户发送领取通知,用以通知第一用户已领取到的资源的数额。In this embodiment, the third device may allocate resources to the first user and the second user respectively based on the claimed amount. Here, the third device may allocate resources of the claimed amount in the second group of resources to the first user. At the same time, a claim notification is sent to the first user to notify the first user of the amount of the resource that has been claimed.
步骤509,向第二用户发布第一资源,并接收第二用户发送的对第一资源的领取请求,将第一资源分配给第二用户。Step 509: Publish the first resource to the second user, receive a request for claiming the first resource sent by the second user, and allocate the first resource to the second user.
在本实施例中,第三设备可以向第二用户发布第一资源。此时,第二用户对应的第二设备(例如图1所示的设备102)上可以显示第一资源消息。当第二用户点击第一资源消息时,即向第三设备发送了对第一资源的领取请求。此时,第三设备可以将第一资源分配给第二用户。同时,向第二用户发送领取通知,用以通知第二用户已领取到的资源的数额。其中,第一资源的数额可以等于领取数额。In this embodiment, the third device may publish the first resource to the second user. At this time, the first resource message may be displayed on the second device (for example, the
步骤510,向群主用户发布第二资源,并接收群主用户发送的对第二资源的领取请求,将第二资源分配给群主用户。Step 510: Publish the second resource to the group owner user, receive a request for claiming the second resource sent by the group owner user, and allocate the second resource to the group owner user.
在本实施例中,第三设备可以向群主用户发布第二资源。此时,群主用户对应的设备上可以显示第二资源消息。当群主用户点击第二资源消息时,即向第三设备发送了对第二资源的领取请求。此时,第三设备可以将第二资源分配给群主用户。同时,向群主用户发送领取通知,用以通知群主用户已领取到的资源的数额。其中,第二资源的数额可以等于预设倍数(如2倍)的领取数额。In this embodiment, the third device may publish the second resource to the group owner user. In this case, the second resource message may be displayed on the device corresponding to the group owner user. When the group owner user clicks the second resource message, a request for obtaining the second resource is sent to the third device. At this time, the third device may allocate the second resource to the group owner user. At the same time, a claim notification is sent to the group owner user to notify the group owner user of the amount of resources that the group owner user has received. Wherein, the amount of the second resource may be equal to a preset multiple (eg, 2 times) of the receiving amount.
从图5中可以看出,与图2对应的实施例相比,本实施例中的用于加入群聊的方法的流程500增加了为第一用户和第二用户分配资源的步骤。由此,本实施例描述的方案中能够在受第一用户邀请的第二用户加入群聊后,为第一用户和第二用户分配资源。从而提高了第一用户邀请第二用户的积极性。同时,也提高了第二用户加入群聊的积极性。It can be seen from FIG. 5 that, compared with the embodiment corresponding to FIG. 2 , the
继续参考图6,其示出了根据本申请的用于领取资源的方法的一个实施例的流程600。该用于领取资源的方法应用于对应第一用户的第一设备,包括以下步骤:Continuing to refer to FIG. 6 , it shows a
步骤601,获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,以供第一用户将第一邀请信息提供给第二用户。Step 601: Obtain first invitation information for inviting a second user to join a group chat to which the first user belongs in a first social application, so that the first user can provide the first invitation information to the second user.
在本实施例中,第一用户对应的第一设备(例如图1所示的设备101)可以获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,随后登录第二社交应用,并在第二社交应用中发布第一邀请信息,以供第二用户获取第一邀请信息。其中,第一邀请信息可以用于指示第二用户提供登录第一社交应用的登录信息。在一些实施例中,第一邀请信息可以由第三设备(例如图1所示的设备103)提供。例如,第一用户可以首先向第三设备发送第一邀请信息的获取请求,此时,第三设备可以将第一邀请信息发送给第一用户。In this embodiment, the first device (for example, the
需要说明的是,第一邀请信息已在参照图2所示实施例中予以详述,在此不再赘述。It should be noted that the first invitation information has been described in detail with reference to the embodiment shown in FIG. 2 , and details are not repeated here.
步骤602,接收支持第一社交应用的第三设备响应于第二用户通过登录信息登录第一社交应用并确认加入群聊而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第一用户的资源存储账户中的资源值。Step 602: Receive a notification message that the second user joins the group chat, which is sent by the third device supporting the first social application in response to the second user logging in to the first social application through the login information and confirming to join the group chat, and adding the second user to the group chat. to the group user list of the group chat, and update the resource value in the resource storage account of the first user.
在本实施例中,若第二用户通过登录信息登录第一社交应用,并确认加入第一用户在第一社交应用中所属群聊,第三设备可以向第一用户发送第二用户加入群聊的通知消息。此时,第一用户可以将第二用户添加至群聊的群用户名单中,同时更新第一用户的资源存储账户中的资源值。In this embodiment, if the second user logs in to the first social application through the login information and confirms to join the group chat to which the first user belongs in the first social application, the third device may send a message to the first user that the second user joins the group chat notification message. At this time, the first user can add the second user to the group user list of the group chat, and at the same time update the resource value in the resource storage account of the first user.
在一些实施例中,在第二用户加入群聊之后,第三设备可以在群聊中发布第一群资源。此时,第一用户对应的第一设备上可以显示第一群资源消息。若第一用户点击第一群资源消息,即第一用户响应于第一群资源,可以向第三设备发送对第一群资源的领取请求。在接收到对第一群资源的领取请求之后,第三设备可以基于第一群资源中的第一数额(如固定数额或随机数额),更新第一用户的资源存储账户中的资源值。其中,第一数额通常不大于第一群资源的数额。In some embodiments, after the second user joins the group chat, the third device may publish the first group resource in the group chat. At this time, the first group of resource messages may be displayed on the first device corresponding to the first user. If the first user clicks the first group of resources message, that is, the first user may send a request for the first group of resources to the third device in response to the first group of resources. After receiving the claim request for the first group of resources, the third device may update the resource value in the first user's resource storage account based on the first amount (eg, a fixed amount or a random amount) in the first group of resources. Among them, the first amount is usually not greater than the amount of the first group of resources.
需要说明的是,登录信息已在参照图2所示实施例中予以详述,在此不再赘述。第一群资源已在参照图4所示实施例中予以详述,在此不再赘述。It should be noted that the login information has been described in detail in the embodiment shown in FIG. 2 , and will not be repeated here. The first group of resources has been described in detail with reference to the embodiment shown in FIG. 4 and will not be repeated here.
在一些实施例中,在第二用户加入群聊之前,第三设备可以在群聊中发布的第二群资源。此时,第一用户对应的第一设备上可以显示第二群资源消息。若第一用户点击第二群资源消息,即第一用户响应于第二群资源,可以向第三设备发送对第二群资源的领取请求。在接收到对第二群资源的领取请求之后,第三设备可以为第一用户生成的领取数额(如固定数额或随机数额)。在第二用户加入群聊之后,第一用户对应的第一设备可以基于领取数额,更新第一用户的资源存储账户中的资源值。例如,将第一用户的资源存储账户中的资源值增加领取数额。In some embodiments, the third device may publish the second group resource in the group chat before the second user joins the group chat. At this time, the second group resource message may be displayed on the first device corresponding to the first user. If the first user clicks the second group resource message, that is, the first user responds to the second group resource, and may send a request for obtaining the second group resource to the third device. After receiving the claim request for the second group of resources, the third device may generate a claim amount (eg, a fixed amount or a random amount) for the first user. After the second user joins the group chat, the first device corresponding to the first user may update the resource value in the resource storage account of the first user based on the claimed amount. For example, the resource value in the resource storage account of the first user is increased by the claim amount.
需要说明的是,第二群资源已在参照图5所示实施例中予以详述,在此不再赘述。It should be noted that the second group of resources has been described in detail with reference to the embodiment shown in FIG. 5 , and details are not repeated here.
本申请的上述实施例提供的用于领取资源的方法,获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,并将第一邀请信息提供给第二用户。若接收到支持第一社交应用的第三设备响应于第二用户通过登录信息登录第一社交应用并确认加入群聊而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第一用户的资源存储账户中的资源值。本申请的上述实施例可以允许第一用户邀请其在第二社交应用中的好友加入其在第一社交应用中所属群聊。尤其是,第二用户不是第一用户在第一社交应用中的好友时,也可以邀请第二用户加入其在第一社交应用中所属群聊。从而提供了一种新的加群途径,提高了加群效率。同时,在受第一用户邀请的第二用户加入群聊后,为第一用户分配资源。从而提高了第一用户邀请第二用户的积极性。The method for receiving resources provided by the above-mentioned embodiments of the present application obtains first invitation information for inviting a second user to join a group chat to which the first user belongs in a first social application, and provides the first invitation information to the first user. Two users. If receiving a notification message that the second user joins the group chat and is sent by the third device supporting the first social application in response to the second user logging in to the first social application through the login information and confirming to join the group chat, the second user is added to the group chat. in the group user list of the group chat, and update the resource value in the resource storage account of the first user. The above-mentioned embodiment of the present application may allow the first user to invite his friends in the second social application to join the group chat he belongs to in the first social application. In particular, when the second user is not a friend of the first user in the first social application, the second user may also be invited to join the group chat to which the second user belongs in the first social application. Thus, a new way of adding a group is provided, and the efficiency of adding a group is improved. Meanwhile, after the second user invited by the first user joins the group chat, resources are allocated to the first user. Thus, the enthusiasm of the first user to invite the second user is improved.
继续参考图7,其示出了根据本申请的用于领取资源的方法的又一个实施例的流程700。该用于领取资源的方法应用于对应第二用户的第二设备,包括以下步骤:Continuing to refer to FIG. 7 , it shows a
步骤701,接收第一用户在第二社交应用中发布的第一邀请信息。Step 701: Receive first invitation information published by a first user in a second social networking application.
在本实施例中,第一用户可以获取第一邀请信息,随后登录第二社交应用,并在第二社交应用中发布第一邀请信息。此时,第二用户对应的第二设备(例如图1所示的设备102)可以接收到第一邀请信息。其中,第一用户可以是第一社交应用中的群聊中的用户,第一邀请信息可以用于提示第二用户提供登录第一社交应用的登录信息。In this embodiment, the first user may obtain the first invitation information, then log in to the second social application, and publish the first invitation information in the second social application. At this time, the second device corresponding to the second user (for example, the
需要说明的是,第一邀请信息已在参照图2所示实施例中予以详述,在此不再赘述。It should be noted that the first invitation information has been described in detail with reference to the embodiment shown in FIG. 2 , and details are not repeated here.
步骤702,若第二用户响应于第一邀请信息提供登录信息,向支持第一社交应用的第三设备发送登录信息。
在本实施例中,若第二用户响应于第一邀请信息提供登录信息,那么第二用户对应的第二设备可以向支持第一社交应用的第三设备发送登录信息。In this embodiment, if the second user provides login information in response to the first invitation information, the second device corresponding to the second user may send the login information to the third device supporting the first social application.
需要说明的是,登录信息已在参照图2所示实施例中予以详述,在此不再赘述。It should be noted that the login information has been described in detail in the embodiment shown in FIG. 2 , and will not be repeated here.
步骤703,接收第三设备响应于第二用户通过登录信息登录第一社交应用而发送的第二邀请信息。Step 703: Receive second invitation information sent by the third device in response to the second user logging in to the first social application through the login information.
在本实施例中,若第二用户通过登录信息登录第一社交应用,第三设备可以向第二用户发送第二邀请信息。其中,第二邀请信息可以用于邀请第二用户加入第一用户在第一社交应用中所属群聊。In this embodiment, if the second user logs in to the first social networking application through the login information, the third device may send the second invitation information to the second user. The second invitation information may be used to invite the second user to join the group chat to which the first user belongs in the first social networking application.
需要说明的是,第二邀请信息已在参照图2所示实施例中予以详述,在此不再赘述。It should be noted that the second invitation information has been described in detail with reference to the embodiment shown in FIG. 2 , and details are not repeated here.
步骤704,若第二用户响应第二邀请信息,向第三设备发送加入请求。
在本实施例中,若第二用户响应第二邀请信息,那么第二用户对应的第二设备可以向第三设备发送加入请求。In this embodiment, if the second user responds to the second invitation information, the second device corresponding to the second user may send a join request to the third device.
步骤705,接收第三设备响应于加入请求而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第二用户的资源存储账户中的资源值。Step 705: Receive a notification message that the second user joins the group chat sent by the third device in response to the join request, add the second user to the list of group users in the group chat, and update the resource storage account of the second user. resource value.
在本实施例中,在第二用户对应的第二设备向第三设备发送加入请求之后,第三设备可以向第二用户发送第二用户加入群聊的通知消息。此时,第二用户可以将其添加至群聊的群用户名单中,同时更新第二用户的资源存储账户中的资源值。In this embodiment, after the second device corresponding to the second user sends a join request to the third device, the third device may send a notification message that the second user has joined the group chat to the second user. At this time, the second user can add it to the group user list of the group chat, and at the same time update the resource value in the resource storage account of the second user.
在一些实施例中,在第二用户加入群聊之后,第三设备可以在群聊中发布第一群资源。此时,第二用户对应的第二设备上可以显示第一群资源消息。若第二用户点击第一群资源消息,即第二用户响应于第一群资源,可以向第三设备发送对第一群资源的领取请求。在接收到对第一群资源的领取请求之后,第三设备可以基于第一群资源中的第二数额(如固定数额或随机数额),更新第二用户的资源存储账户中的资源值。其中,第二数额通常不大于第一群资源的数额。In some embodiments, after the second user joins the group chat, the third device may publish the first group resource in the group chat. At this time, the first group of resource messages may be displayed on the second device corresponding to the second user. If the second user clicks the first group of resources message, that is, the second user may send a request for the first group of resources to the third device in response to the first group of resources. After receiving the claim request for the first group of resources, the third device may update the resource value in the second user's resource storage account based on the second amount (eg, a fixed amount or a random amount) in the first group of resources. Among them, the second amount is usually not greater than the amount of the first group of resources.
需要说明的是,第一群资源已在参照图4所示实施例中予以详述,在此不再赘述。It should be noted that the first group of resources has been described in detail with reference to the embodiment shown in FIG. 4 , and details are not repeated here.
在一些实施例中,在第二用户加入群聊之前,第三设备可以在群聊中发布的第二群资源。此时,第一用户对应的第一设备上可以显示第二群资源消息。若第一用户点击第二群资源消息,即第一用户响应于第二群资源,可以向第三设备发送对第二群资源的领取请求。在接收到对第二群资源的领取请求之后,第三设备可以为第一用户生成的领取数额(如固定数额或随机数额)。在第二用户加入群聊之后,第三设备可以向第二用户发布的第一资源。此时,第二用户对应的第二设备上可以显示第一资源消息。若第二用户点击第一资源消息,即第二用户响应于第一资源,可以向第三设备发送对第一资源的领取请求。在接收到对第一资源的领取请求之后,第三设备可以基于领取数额,更新第一用户的资源存储账户中的资源值。例如,可以将第一用户的资源存储账户中的资源值增加领取数额。其中,第一资源的数额可以等于领取数额。In some embodiments, the third device may publish the second group resource in the group chat before the second user joins the group chat. At this time, the second group resource message may be displayed on the first device corresponding to the first user. If the first user clicks the second group resource message, that is, the first user responds to the second group resource, and may send a request for obtaining the second group resource to the third device. After receiving the claim request for the second group of resources, the third device may generate a claim amount (eg, a fixed amount or a random amount) for the first user. After the second user joins the group chat, the third device may publish the first resource to the second user. At this time, the first resource message may be displayed on the second device corresponding to the second user. If the second user clicks on the first resource message, that is, in response to the first resource, the second user may send a request for obtaining the first resource to the third device. After receiving the claim request for the first resource, the third device may update the resource value in the resource storage account of the first user based on the claim amount. For example, the resource value in the resource storage account of the first user may be increased by the claim amount. Wherein, the amount of the first resource may be equal to the amount received.
本申请的上述实施例提供的用于领取资源的方法,若接收到第一用户在第二社交应用中发布的第一邀请信息,那么第二用户可以响应于第一邀请信息提供登录信息,并向支持第一社交应用的第三设备发送登录信息。若接收到第三设备响应于第二用户通过登录信息登录第一社交应用而发送的第二邀请信息,那么第二用户可以响应于第二邀请信息,向第三设备发送加入请求。若接收到第三设备响应于加入请求而发送的、第二用户加入群聊的通知消息,可以将第二用户添加至群聊的群用户名单中,并更新第二用户的资源存储账户中的资源值。本申请的上述实施例可以允许第一用户邀请其在第二社交应用中的好友加入其在第一社交应用中所属群聊。尤其是,第二用户不是第一用户在第一社交应用中的好友时,也可以邀请第二用户加入其在第一社交应用中所属群聊。从而提供了一种新的加群途径,提高了加群效率。同时,在受第一用户邀请的第二用户加入群聊后,为第二用户分配资源。从而提高了第二用户加入群聊的积极性。In the method for receiving resources provided by the above embodiments of the present application, if the first invitation information published by the first user in the second social networking application is received, the second user may provide login information in response to the first invitation information, and Sending login information to a third device supporting the first social application. If receiving the second invitation information sent by the third device in response to the second user logging in to the first social application through the login information, the second user may send a join request to the third device in response to the second invitation information. If receiving a notification message sent by the third device in response to the joining request that the second user has joined the group chat, the second user may be added to the list of group users in the group chat, and the resource storage account of the second user may be updated. resource value. The above-mentioned embodiment of the present application may allow the first user to invite his friends in the second social application to join the group chat he belongs to in the first social application. In particular, when the second user is not a friend of the first user in the first social application, the second user may also be invited to join the group chat to which the second user belongs in the first social application. Thus, a new way of adding a group is provided, and the efficiency of adding a group is improved. Meanwhile, after the second user invited by the first user joins the group chat, resources are allocated to the second user. Thus, the enthusiasm of the second user to join the group chat is improved.
下面参考图8,其示出了适于用来实现本申请实施例的计算机设备(例如图1所示的设备101、102、103)的计算机系统800的结构示意图。图8示出的计算机设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring next to FIG. 8 , it shows a schematic structural diagram of a
如图8所示,计算机系统800包括中央处理单元(CPU)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储部分808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有系统800操作所需的各种程序和数据。CPU 801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 8, a
以下部件连接至I/O接口805:包括键盘、鼠标等的输入部分806;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分807;包括硬盘等的存储部分808;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分809。通信部分809经由诸如因特网的网络执行通信处理。驱动器810也根据需要连接至I/O接口805。可拆卸介质811,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器810上,以便于从其上读出的计算机程序根据需要被安装入存储部分808。The following components are connected to the I/O interface 805: an
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分809从网络上被下载和安装,和/或从可拆卸介质811被安装。在该计算机程序被中央处理单元(CPU)801执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读介质或者是上述两者的任意组合。计算机可读介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向目标的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional procedural programming language - such as "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括关联单元、发送单元和加入单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,关联单元还可以被描述为“接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联的单元”。又例如,还可以描述为:一种处理器包括获取单元和更新单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,获取单元还可以被描述为“获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,以供第一用户将第一邀请信息提供给第二用户的单元”。再例如,还可以描述为:一种处理器包括第一接收单元、第一发送单元、第二接收单元、第二发送单元和更新单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一接收单元还可以被描述为“接收第一用户在第二社交应用中发布的第一邀请信息的单元”。The units involved in the embodiments of the present application may be implemented in a software manner, and may also be implemented in a hardware manner. The described unit can also be provided in the processor, for example, it can be described as: a processor includes an associating unit, a sending unit and an adding unit. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances, for example, the associated unit may also be described as "receiving the first The login information provided by the invitation information, and the unit that associates the login information with the first user or the group chat to which the first user belongs in the first social application". For another example, it can also be described as: a processor includes an acquisition unit and an update unit. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances. For example, the obtaining unit may also be described as "obtaining a group used to invite the second user to join the first user in the first social application. A unit for the first user to provide the first invitation information to the second user". For another example, it can also be described as: a processor includes a first receiving unit, a first sending unit, a second receiving unit, a second sending unit and an updating unit. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances. For example, the first receiving unit may also be described as "receiving the first invitation information published by the first user in the second social application unit".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的计算机设备中所包含的;也可以是单独存在,而未装配入该计算机设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该计算机设备执行时,使得该计算机设备:接收第二用户通过由第一用户在第二社交应用中发布的第一邀请信息提供的登录信息,并将登录信息与第一用户或第一用户在第一社交应用中所属群聊关联,其中,第一用户基于第一社交应用获得第一邀请信息;若第二用户利用登录信息登录第一社交应用,且第二用户满足预设条件,向第二用户发送第二邀请信息,其中,第二邀请信息用于邀请第二用户加入第一用户在第一社交应用中所属群聊;接收第二用户通过确认第二邀请信息发送的加入请求,将第二用户加入到第二邀请信息对应的群聊中。或者使得该计算机设备:获取用于邀请第二用户加入第一用户在第一社交应用中所属群聊的第一邀请信息,以供第一用户将第一邀请信息提供给第二用户,其中,第一邀请信息用于指示第二用户提供登录第一社交应用的登录信息;接收支持第一社交应用的第三设备响应于第二用户通过登录信息登录第一社交应用并确认加入群聊而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第一用户的资源存储账户中的资源值。亦或使得该计算机设备:接收第一用户在第二社交应用中发布的第一邀请信息,其中,第一用户是第一社交应用中的群聊中的用户,第一邀请信息用于提示第二用户提供登录第一社交应用的登录信息;若第二用户响应于第一邀请信息提供登录信息,向支持第一社交应用的第三设备发送登录信息;接收第三设备响应于第二用户通过登录信息登录第一社交应用而发送的第二邀请信息,其中,第二邀请信息用于邀请第二用户加入第一用户在第一社交应用中所属群聊;若第二用户响应第二邀请信息,向第三设备发送加入请求;接收第三设备响应于加入请求而发送的、第二用户加入群聊的通知消息,将第二用户添加至群聊的群用户名单中,并更新第二用户的资源存储账户中的资源值。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the computer device described in the above embodiments; it may also exist independently without being assembled into the computer device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the computer device, the computer device causes the computer device to: Login information provided by the invitation information, and associate the login information with the first user or the group chat to which the first user belongs in the first social application, wherein the first user obtains the first invitation information based on the first social application; The user logs in to the first social application using the login information, and the second user satisfies the preset conditions, and sends second invitation information to the second user, wherein the second invitation information is used to invite the second user to join the first user in the first social application. Receive a join request sent by the second user by confirming the second invitation information, and add the second user to the group chat corresponding to the second invitation information. Or cause the computer device to: acquire first invitation information for inviting the second user to join the group chat to which the first user belongs in the first social networking application, so that the first user can provide the first invitation information to the second user, wherein, The first invitation information is used to instruct the second user to provide login information for logging in to the first social application; the receiving third device supporting the first social application is sent in response to the second user logging in to the first social application through the login information and confirming to join the group chat , the notification message that the second user joins the group chat, the second user is added to the group user list of the group chat, and the resource value in the resource storage account of the first user is updated. Or make the computer device: receive first invitation information published by the first user in the second social networking application, wherein the first user is a user in a group chat in the first social networking application, and the first invitation information is used to prompt the The second user provides login information for logging in to the first social application; if the second user provides login information in response to the first invitation information, the second user sends the login information to a third device that supports the first social application; The login information is the second invitation information sent by logging in the first social application, wherein the second invitation information is used to invite the second user to join the group chat to which the first user belongs in the first social application; if the second user responds to the second invitation information , send a join request to the third device; receive a notification message that the second user joins the group chat sent by the third device in response to the join request, add the second user to the list of group users in the group chat, and update the second user The resource value in the resource storage account of the .
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover the above technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.
Claims (23)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810965150.4A CN110858817B (en) | 2018-08-23 | 2018-08-23 | Method and equipment for joining group chat and getting resources |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810965150.4A CN110858817B (en) | 2018-08-23 | 2018-08-23 | Method and equipment for joining group chat and getting resources |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110858817A true CN110858817A (en) | 2020-03-03 |
| CN110858817B CN110858817B (en) | 2022-02-01 |
Family
ID=69636153
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810965150.4A Active CN110858817B (en) | 2018-08-23 | 2018-08-23 | Method and equipment for joining group chat and getting resources |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110858817B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113781080A (en) * | 2020-11-03 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Method, apparatus, device and storage medium for allocating resources |
| CN115130012A (en) * | 2022-06-30 | 2022-09-30 | 数字广东网络建设有限公司 | Method and device for joining group, electronic equipment and storage medium |
| CN115996209A (en) * | 2021-10-15 | 2023-04-21 | 腾讯数码(天津)有限公司 | Social channel processing method and device, computer equipment and storage medium |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104579708A (en) * | 2014-12-26 | 2015-04-29 | 北京奇虎科技有限公司 | Group joining method and device |
| CN104615335A (en) * | 2015-02-13 | 2015-05-13 | 腾讯科技(北京)有限公司 | Information processing method and client side |
| US20150327037A1 (en) * | 2014-05-10 | 2015-11-12 | Jian Wei Tam | Method and system for creating a social group for mobile lock screen for sharing digital content |
| CN105763422A (en) * | 2016-03-14 | 2016-07-13 | 广州趣丸网络科技有限公司 | Method of rapidly inviting new users to group |
| CN105915437A (en) * | 2016-04-14 | 2016-08-31 | 浙江翼信科技有限公司 | Electronic resource distribution method and apparatus |
| CN106101194A (en) * | 2016-05-31 | 2016-11-09 | 腾讯科技(深圳)有限公司 | A kind of method adding group and server |
| CN106598378A (en) * | 2016-10-25 | 2017-04-26 | 咪咕互动娱乐有限公司 | Application interaction method and terminal device |
| CN107094280A (en) * | 2016-09-13 | 2017-08-25 | 口碑控股有限公司 | A kind of customer group establishment, resource allocation methods and equipment |
| CN108111386A (en) * | 2016-11-25 | 2018-06-01 | 财付通支付科技有限公司 | Resource sending method, apparatus and system |
-
2018
- 2018-08-23 CN CN201810965150.4A patent/CN110858817B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150327037A1 (en) * | 2014-05-10 | 2015-11-12 | Jian Wei Tam | Method and system for creating a social group for mobile lock screen for sharing digital content |
| CN104579708A (en) * | 2014-12-26 | 2015-04-29 | 北京奇虎科技有限公司 | Group joining method and device |
| CN104615335A (en) * | 2015-02-13 | 2015-05-13 | 腾讯科技(北京)有限公司 | Information processing method and client side |
| CN105763422A (en) * | 2016-03-14 | 2016-07-13 | 广州趣丸网络科技有限公司 | Method of rapidly inviting new users to group |
| CN105915437A (en) * | 2016-04-14 | 2016-08-31 | 浙江翼信科技有限公司 | Electronic resource distribution method and apparatus |
| CN106101194A (en) * | 2016-05-31 | 2016-11-09 | 腾讯科技(深圳)有限公司 | A kind of method adding group and server |
| CN107094280A (en) * | 2016-09-13 | 2017-08-25 | 口碑控股有限公司 | A kind of customer group establishment, resource allocation methods and equipment |
| CN106598378A (en) * | 2016-10-25 | 2017-04-26 | 咪咕互动娱乐有限公司 | Application interaction method and terminal device |
| CN108111386A (en) * | 2016-11-25 | 2018-06-01 | 财付通支付科技有限公司 | Resource sending method, apparatus and system |
Non-Patent Citations (1)
| Title |
|---|
| 沈忱等: "微信红包社交与支付功能的两面性研究", 《新闻爱好者》 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113781080A (en) * | 2020-11-03 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | Method, apparatus, device and storage medium for allocating resources |
| CN115996209A (en) * | 2021-10-15 | 2023-04-21 | 腾讯数码(天津)有限公司 | Social channel processing method and device, computer equipment and storage medium |
| CN115130012A (en) * | 2022-06-30 | 2022-09-30 | 数字广东网络建设有限公司 | Method and device for joining group, electronic equipment and storage medium |
| CN115130012B (en) * | 2022-06-30 | 2025-03-21 | 数字广东网络建设有限公司 | Method, device, electronic device and storage medium for joining a group |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110858817B (en) | 2022-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111756917B (en) | Information interaction method, electronic device and computer readable medium | |
| CN108924036B (en) | Method and equipment for allocating resources and drawing resources | |
| CN110061909A (en) | Method and apparatus for handling information | |
| US10326714B2 (en) | Instant messaging with non subscriber users | |
| CN112187488B (en) | Network communication method and equipment | |
| CN112311841A (en) | Information pushing method and device, electronic equipment and computer readable medium | |
| CN110098998B (en) | Method and apparatus for processing information | |
| JP7616591B2 (en) | Schedule sharing method, device and equipment | |
| CN109951305A (en) | Virtual group creation method, equipment and computer-readable medium | |
| CN110430292B (en) | Method and device for inviting login of network platform, electronic equipment and readable medium | |
| CN111797600A (en) | Method and device for collaborative editing of social media information | |
| CN111162993A (en) | Information fusion method and device | |
| CN108805438A (en) | Method and apparatus for distributing resource, getting resource | |
| CN110618768B (en) | Information presentation method and device | |
| CN110109594B (en) | Drawing data sharing method and device, storage medium and equipment | |
| CN108764866B (en) | Method and device for allocating and receiving resources | |
| CN110858817B (en) | Method and equipment for joining group chat and getting resources | |
| CN109241409B (en) | Method and device for sending and receiving information | |
| JP2024500300A (en) | Information interaction methods, devices, and equipment | |
| CN116954433A (en) | A content publishing method, device, electronic equipment and storage medium | |
| CN115842794A (en) | Session information display method and device and electronic equipment | |
| CN111182023A (en) | Mutual aid task processing method and system | |
| CN111093281A (en) | Method and device for allocating resources | |
| CN112257039B (en) | Identity attribute adding method and device and electronic equipment | |
| CN110875950B (en) | Method and equipment for allocating resources and drawing resources |
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 | ||
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address |
Address after: Room 80536, Shanghai Patentee after: Shanghai Zongzhang Technology Group Co.,Ltd. Country or region after: China Address before: Room 80536, Shanghai Patentee before: SHANGHAI ZHANGMEN SCIENCE AND TECHNOLOGY Co.,Ltd. Country or region before: China |