[go: up one dir, main page]

CN103327043B - A message push method and system, relationship chain platform server - Google Patents

A message push method and system, relationship chain platform server Download PDF

Info

Publication number
CN103327043B
CN103327043B CN201210075863.6A CN201210075863A CN103327043B CN 103327043 B CN103327043 B CN 103327043B CN 201210075863 A CN201210075863 A CN 201210075863A CN 103327043 B CN103327043 B CN 103327043B
Authority
CN
China
Prior art keywords
chain platform
party application
account
identifier
relationship
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210075863.6A
Other languages
Chinese (zh)
Other versions
CN103327043A (en
Inventor
董江德
蔡志国
杨文军
周桓宇
魏亚民
高名航
张倩
龙丁奋
郭学亨
谢昕虬
马洋涛
朱磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210075863.6A priority Critical patent/CN103327043B/en
Publication of CN103327043A publication Critical patent/CN103327043A/en
Application granted granted Critical
Publication of CN103327043B publication Critical patent/CN103327043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种消息推送方法和系统、关系链平台服务器,方法包括:关系链平台服务器维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;第三方应用服务器依据第三方应用账号的标识符向关系链平台服务器推送消息;关系链平台服务器依据维护的映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端。通过本发明,能够降低第三方应用提供方的技术开发难度。

The invention discloses a message push method and system, and a relationship chain platform server. The method includes: the relationship chain platform server maintains the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account; the third-party application server Push messages to the relationship chain platform server according to the identifier of the third-party application account; the relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client where the corresponding relationship chain platform account is located according to the maintained mapping relationship. Through the present invention, the technical development difficulty of the third-party application provider can be reduced.

Description

一种消息推送方法和系统、关系链平台服务器A message push method and system, relationship chain platform server

技术领域 technical field

本发明涉及互联网技术领域,其次涉及互联网开放平台领域,尤其涉及一种消息推送方法和系统、关系链平台服务器。The present invention relates to the field of Internet technology, and secondly to the field of Internet open platforms, in particular to a message push method and system, and a relationship chain platform server.

背景技术 Background technique

随着互联网的飞速发展,为满足互联网用户的多元化需求,互联网服务提供商逐渐推出了各种关系链平台;通过建立的关系链平台,能够为互联网的用户提供各种丰富的第三方应用的服务。互联网用户只需登录关系链平台的客户端,即可使用关系链平台的客户端上的各种第三方应用,省去了互联网用户需要分别登录各个第三方应用客户端才能使用相应的第三方应用的复杂操作。With the rapid development of the Internet, in order to meet the diversified needs of Internet users, Internet service providers have gradually launched various relationship chain platforms; through the established relationship chain platforms, Internet users can be provided with a variety of rich third-party applications. Serve. Internet users only need to log in to the client of the relationship chain platform to use various third-party applications on the client of the relationship chain platform, eliminating the need for Internet users to log in to each third-party application client separately to use the corresponding third-party application complex operations.

现有技术中提供的一种关系链平台的架构如图1所示,主要包括:关系链平台服务器、关系链平台客户端、第三方应用服务器和第三方应用客户端。其中,关系链平台服务器连接关系链平台客户端和第三方应用服务器,为关系链平台的服务器端;关系链平台客户端,为关系链平台的客户端;第三方应用服务器,为提供第三方应用的服务器;第三方应用客户端,连接第三方应用服务器和关系链平台客户端,第三方应用客户端与关系链平台客户端之间通过特定的接口相连。用户在登录了关系链平台客户端后,可以通过关系链平台客户端与第三方应用客户端之间的特定接口实现到第三方应用客户端的登录,进而使用第三方应用服务器提供的第三方应用。也就是说,用户只需登录关系链平台客户端,即可实现到第三方应用客户端的登录,从而使用第三方应用服务器提供的第三方应用。A structure of a relationship chain platform provided in the prior art is shown in FIG. 1 , which mainly includes: a relationship chain platform server, a relationship chain platform client, a third-party application server, and a third-party application client. Among them, the relationship chain platform server is connected to the relationship chain platform client and the third-party application server, and is the server side of the relationship chain platform; the relationship chain platform client is the client of the relationship chain platform; The third-party application client connects the third-party application server and the relationship chain platform client, and the third-party application client and the relationship chain platform client are connected through a specific interface. After logging in the relationship chain platform client, the user can log in to the third-party application client through a specific interface between the relationship chain platform client and the third-party application client, and then use the third-party application provided by the third-party application server. That is to say, the user can log in to the third-party application client only by logging in to the relationship chain platform client, so as to use the third-party application provided by the third-party application server.

在实际应用中,第三方应用服务器有向第三方应用客户端推送消息的需求。当第三方应用客户端在线时,第三方应用服务器可以直接推送消息给第三方应用客户端;当第三方应用客户端离线时,第三方应用服务器可以通过关系链平台服务器推送消息给关系链平台客户端。In practical applications, the third-party application server needs to push messages to the third-party application client. When the third-party application client is online, the third-party application server can directly push the message to the third-party application client; when the third-party application client is offline, the third-party application server can push the message to the relationship chain platform client through the relationship chain platform server end.

现有技术中针对第三方应用客户端离线时的消息推送方法,需要由第三方应用的提供方(如第三方应用服务器)来维护关系链平台账号的标识符与第三方应用账号之间的映射关系,这增加了第三方应用提供方的负担,也提高了关系链平台准入的技术门槛,不利于关系链平台的快速发展推广。In the prior art, for the message push method when the third-party application client is offline, the provider of the third-party application (such as a third-party application server) needs to maintain the mapping between the identifier of the relationship chain platform account and the third-party application account This increases the burden on third-party application providers, and also raises the technical threshold for access to the relationship chain platform, which is not conducive to the rapid development and promotion of the relationship chain platform.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种消息推送方法和系统、关系链平台服务器,以降低第三方应用提供方的技术开发难度。In view of this, the main purpose of the present invention is to provide a message push method and system, and a relationship chain platform server, so as to reduce the technical development difficulty of third-party application providers.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

本发明提供了一种消息推送方法,该方法包括:The present invention provides a message push method, the method comprising:

关系链平台服务器维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;The relationship chain platform server maintains the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account;

第三方应用服务器依据第三方应用账号的标识符向关系链平台服务器推送消息;The third-party application server pushes messages to the relationship chain platform server according to the identifier of the third-party application account;

关系链平台服务器依据所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端。The relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client corresponding to the relationship chain platform account according to the mapping relationship.

关系链平台服务器上的第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系通过以下方式得到:The mapping relationship between the identifier of the third-party application account on the relationship chain platform server and the identifier of the relationship chain platform account is obtained in the following way:

第三方应用客户端上报第三方应用账号的标识符给关系链平台客户端,发起账号托管;The third-party application client reports the identifier of the third-party application account to the relationship chain platform client, and initiates account custody;

关系链平台客户端向关系链平台服务器上报第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;The relationship chain platform client reports the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account to the relationship chain platform server;

所述关系链平台服务器记录关系链平台客户端上报的第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系。The relationship chain platform server records the mapping relationship between the identifier of the third-party application account reported by the relationship chain platform client and the identifier of the relationship chain platform account.

所述关系链平台服务器依据所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端,具体为:According to the mapping relationship, the relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client where the corresponding relationship chain platform account is located, specifically:

所述关系链平台服务器依据推送消息所依据的第三方应用账号的标识符,查找所述映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;The relationship chain platform server searches for the mapping relationship according to the identifier of the third-party application account on which the push message is based, and obtains the identifier of the relationship chain platform account corresponding to the identifier of the third-party application account;

所述关系链平台服务器将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。The relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

在关系链平台服务器将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端之后,该方法还包括:After the relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client corresponding to the relationship chain platform account, the method also includes:

所述关系链平台客户端展示所述消息,并将推送消息依据的第三方应用账号的标识符同步到所述第三方应用客户端,触发相应的第三方应用。The client side of the relationship chain platform displays the message, and synchronizes the identifier of the third-party application account on which the push message is based to the third-party application client, triggering the corresponding third-party application.

本发明还提供了一种消息推送系统,该系统包括:The present invention also provides a message push system, which includes:

第三方应用服务器,用于依据第三方应用账号的标识符向关系链平台服务器推送消息;The third-party application server is used to push messages to the relationship chain platform server according to the identifier of the third-party application account;

关系链平台服务器,用于维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;还用于依据维护的所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端;The relationship chain platform server is used to maintain the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account; it is also used to send the message pushed by the third-party application server according to the maintained mapping relationship To the relationship chain platform client where the corresponding relationship chain platform account is located;

关系链平台客户端,用于提供关系链平台的登录服务;The relationship chain platform client is used to provide the login service of the relationship chain platform;

第三方应用客户端,用于提供第三方应用的登录服务。The third-party application client is used to provide login services for third-party applications.

所述第三方应用客户端进一步用于,上报第三方应用账号的标识符给关系链平台客户端,发起账号托管;The third-party application client is further used to report the identifier of the third-party application account to the relationship chain platform client to initiate account custody;

相应的,关系链平台客户端进一步用于,向关系链平台服务器上报第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;Correspondingly, the relationship chain platform client is further used to report the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account to the relationship chain platform server;

关系链平台服务器记录关系链平台客户端上报的第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系。The relationship chain platform server records the mapping relationship between the identifier of the third-party application account reported by the relationship chain platform client and the identifier of the relationship chain platform account.

所述关系链平台服务器进一步用于,依据推送消息所依据的第三方应用账号的标识符,查找所述映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;The relationship chain platform server is further used to search for the mapping relationship according to the identifier of the third-party application account on which the push message is based, and obtain the identifier of the relationship chain platform account corresponding to the identifier of the third-party application account ;

将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。Send the message pushed by the third-party application server to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

所述关系链平台客户端进一步用于,在接收到第三方应用服务器推送的消息后,展示所述消息,并将推送消息依据的第三方应用账号的标识符同步到所述第三方应用客户端,触发相应的第三方应用。The relationship chain platform client is further configured to display the message after receiving the message pushed by the third-party application server, and synchronize the identifier of the third-party application account on which the push message is based to the third-party application client , triggering the corresponding third-party application.

本发明还提供了一种关系链平台服务器,包括:The present invention also provides a relationship chain platform server, including:

映射关系维护模块,用于维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;The mapping relationship maintenance module is used to maintain the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account;

消息发送模块,用于接收第三方应用服务器依据第三方应用账号的标识符向关系链平台服务器推送的消息;并依据维护的所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端。The message sending module is used to receive the message pushed by the third-party application server to the relationship chain platform server according to the identifier of the third-party application account; and send the message pushed by the third-party application server to the corresponding relationship according to the maintained mapping relationship The relationship chain platform client where the chain platform account is located.

所述第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系,是由关系链平台客户端在接收到第三方应用客户端发起账号托管时上报的第三方应用账号的标识符后,向关系链平台服务器上报的。The mapping relationship between the identifier of the third-party application account and the identifier of the account of the relationship chain platform is the identification of the third-party application account reported by the client of the relationship chain platform when receiving the account custody initiated by the third-party application client After the symbol, it is reported to the relationship chain platform server.

所述消息发送模块进一步用于,依据推送消息所依据的第三方应用账号的标识符,查找所述映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;The message sending module is further configured to search for the mapping relationship according to the identifier of the third-party application account on which the push message is based, and obtain the identifier of the relationship chain platform account corresponding to the identifier of the third-party application account;

将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。Send the message pushed by the third-party application server to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

本发明所提供的一种消息推送方法和系统、关系链平台服务器,本发明通过将第三方应用账号的标识符托管到关系链平台服务器,由关系链平台服务器来维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;从而减少了第三方应用提供方的负担,降低了关系链平台准入的技术门槛。A message push method and system and a relationship chain platform server provided by the present invention, the present invention entrusts the identifier of the third-party application account to the relationship chain platform server, and the relationship chain platform server maintains the identifier of the third-party application account The mapping relationship with the identifier of the relationship chain platform account; thus reducing the burden on the third-party application provider and lowering the technical threshold for access to the relationship chain platform.

附图说明 Description of drawings

图1为现有技术中的一种关系链平台的架构示意图;FIG. 1 is a schematic diagram of the architecture of a relationship chain platform in the prior art;

图2为本发明实施例的一种消息推送方法的流程图;Fig. 2 is a flow chart of a message pushing method according to an embodiment of the present invention;

图3为本发明实施例的另一种消息推送方法的流程示意图。Fig. 3 is a schematic flowchart of another method for pushing messages according to an embodiment of the present invention.

具体实施方式 detailed description

下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。The technical solutions of the present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

本发明实施例所提供的一种第三方应用服务器向关系链平台客户端推送消息的方法,其操作流程如图2所示,主要包括以下步骤:A method for a third-party application server to push a message to a relationship chain platform client provided by an embodiment of the present invention, its operation flow is shown in Figure 2, and mainly includes the following steps:

步骤201,第三方应用客户端上报第三方应用账号的标识符给关系链平台客户端,发起账号托管。In step 201, the third-party application client reports the identifier of the third-party application account to the relationship chain platform client, and initiates account custody.

所谓第三方应用客户端是指,关系链平台中所融入的第三方应用的用户登录客户端,例如:一关系链平台中融入了视频播放、电子邮箱等第三方应用,那么视频播放应用的用户登录客户端、电子邮箱的用户登录客户端即称为第三方应用客户端。The so-called third-party application client refers to the user login client of the third-party application integrated in the relationship chain platform. The user who logs in to the client or email is called the third-party application client.

所谓第三方应用账号是指,第三方应用的用户登录账号。The so-called third-party application account refers to a user login account of the third-party application.

第三方应用客户端向关系链平台客户端上报自身的第三方应用账号的标识符,请求进行账号托管。该标识符用于唯一的标识该第三方应用账号,该标识符可以是根据第三方应用账号通过一定的算法编码得到的16或20字节的字符串。当然,本发明并非仅限于这一种标识符的生成方式,实际应用中任何可以用于唯一的标识第三方应用账号的标识符的生成方式都应当属于本发明的保护范围。需要说明的是,第三方应用客户端上报自身的第三方应用账号的标识符请求账号托管,而并非上报自身的第三方应用账号请求账号托管,这是出于安全性的考虑,防止第三方应用账号外泄。The third-party application client reports the identifier of its own third-party application account to the relationship chain platform client, and requests account hosting. The identifier is used to uniquely identify the third-party application account, and the identifier may be a 16-byte or 20-byte character string encoded by a certain algorithm according to the third-party application account. Of course, the present invention is not limited to this method of generating an identifier, and any method of generating an identifier that can be used to uniquely identify a third-party application account in practical applications shall fall within the protection scope of the present invention. It should be noted that the third-party application client reports the identifier of its own third-party application account to request account hosting, instead of reporting its own third-party application account to request account hosting. This is for security reasons and prevents third-party applications from Account leaked.

另外,出于安全性的考虑,第三方应用客户端只请求托管第三方应用账号的标识符,并不将第三方应用账号对应的登录密码上报给关系链平台客户端。In addition, for security reasons, the third-party application client only requests the identifier of the hosted third-party application account, and does not report the login password corresponding to the third-party application account to the relationship chain platform client.

所谓账号托管是指,第三方应用客户端请求对其第三方应用账号的标识符进行管理。The so-called account hosting means that the third-party application client requests to manage the identifier of its third-party application account.

步骤202,关系链平台客户端收到第三方应用客户端的账号托管的请求后,建立第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系,并将建立的该映射关系上报给关系链平台服务器。Step 202: After receiving the account hosting request of the third-party application client, the relationship chain platform client establishes a mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account, and uses the established mapping relationship Report to the relationship chain platform server.

所谓关系链平台账号是指,关系链平台的用户登录账号;关系链平台客户端是指,关系链平台的用户登录客户端。用户在关系链平台客户端中输入关系链平台账号,可实现到关系链平台的登录。The so-called relationship chain platform account refers to the user login account of the relationship chain platform; the relationship chain platform client refers to the user login client of the relationship chain platform. The user can log in to the relationship chain platform by inputting the relationship chain platform account number in the relationship chain platform client.

其中,关系链平台账号的标识符用于唯一的标识该关系链平台账号及其所在的关系链平台客户端。该标识符可以是根据关系链平台账号通过一定的算法编码得到的16或20字节的字符串。当然,本发明并非仅限于这一种标识符的生成方式,实际应用中任何可以用于唯一的标识关系链平台账号的标识符的生成方式都应当属于本发明的保护范围。Wherein, the identifier of the relationship chain platform account is used to uniquely identify the relationship chain platform account and the relationship chain platform client where it is located. The identifier can be a 16- or 20-byte string encoded by a certain algorithm according to the relationship chain platform account. Of course, the present invention is not limited to this method of generating an identifier, and any method of generating an identifier that can be used to uniquely identify a relationship chain platform account in practical applications shall fall within the protection scope of the present invention.

步骤203,第三方应用客户端离线,第三方应用服务器在推送消息给第三方应用客户端时,获取第三方应用客户端处于离线状态,第三方应用服务器依据第三方应用账号的标识符,向关系链平台服务器推送消息。Step 203, the third-party application client is offline. When the third-party application server pushes a message to the third-party application client, it obtains that the third-party application client is offline. The chain platform server pushes the message.

步骤204,关系链平台服务器依据维护的映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端。Step 204, the relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client corresponding to the relationship chain platform account according to the maintained mapping relationship.

关系链平台服务器依据推送消息所依据的第三方应用账号的标识符(该第三方应用账号的标识符携带在推送的消息中),查找所维护的映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。The relationship chain platform server searches for the maintained mapping relationship according to the identifier of the third-party application account on which the push message is based (the identifier of the third-party application account is carried in the pushed message), and obtains the relationship with the third-party application account. The identifier of the relationship chain platform account corresponding to the identifier; the message pushed by the third-party application server is sent to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

作为本发明的一种较佳实施例,在关系链平台服务器将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端之后,关系链平台客户端展示消息,并可以将推送消息依据的第三方应用账号的标识符同步到相应的第三方应用客户端,从而触发相应的第三方应用。主要操作流程如图3所示,主要包括以下步骤:As a preferred embodiment of the present invention, after the relationship chain platform server sends the message pushed by the third-party application server to the relationship chain platform client corresponding to the relationship chain platform account, the relationship chain platform client displays the message, and The identifier of the third-party application account according to which the message is pushed can be synchronized to the corresponding third-party application client, thereby triggering the corresponding third-party application. The main operation process is shown in Figure 3, mainly including the following steps:

步骤301,第三方应用客户端上报第三方应用账号的标识符给关系链平台客户端,发起账号托管。In step 301, the third-party application client reports the identifier of the third-party application account to the relationship chain platform client, and initiates account custody.

步骤302,关系链平台客户端收到第三方应用客户端的账号托管的请求后,建立第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系,并将建立的该映射关系上报给关系链平台服务器;关系链平台服务器获取所述映射关系。Step 302: After receiving the account hosting request of the third-party application client, the relationship chain platform client establishes a mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account, and uses the established mapping relationship Report to the relationship chain platform server; the relationship chain platform server obtains the mapping relationship.

步骤303,第三方应用客户端离线。Step 303, the third-party application client goes offline.

步骤304,第三方应用服务器向第三方应用客户端推送消息时,获知第三方应用客户端处于离线状态,第三方应用服务器依据第三方应用账号的标识符推送消息,并通知关系链平台服务器。Step 304: When the third-party application server pushes a message to the third-party application client, it knows that the third-party application client is offline, and the third-party application server pushes the message according to the identifier of the third-party application account, and notifies the relationship chain platform server.

步骤305,关系链平台服务器依据推送消息所依据的第三方应用账号的标识符,查找所维护的映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。Step 305, the relationship chain platform server searches for the maintained mapping relationship according to the identifier of the third-party application account on which the push message is based, and obtains the identifier of the relationship chain platform account corresponding to the identifier of the third-party application account; The message pushed by the third-party application server is sent to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

步骤306,关系链平台客户端在接收到第三方应用服务器推送的消息后,展示所述消息,并将推送消息依据的第三方应用账号的标识符同步到第三方应用客户端,触发相应的第三方应用。Step 306: After receiving the message pushed by the third-party application server, the client of the relationship chain platform displays the message, and synchronizes the identifier of the third-party application account on which the push message is based to the third-party application client, triggering the corresponding third-party application client. 3rd party application.

下面结合具体应用场景对上述消息推送的方法进一步详细阐述。The above message pushing method will be further described in detail below in combination with specific application scenarios.

该应用场景下,一关系链平台中融入了视频播放这种第三方应用,该视频播放的服务由视频播放服务器(即第三方应用服务器)提供,视频播放客户端(即第三方应用客户端)提供其用户的登录服务;视频播放客户端与关系链平台客户端之间通过特定的接口相连。在该应用场景下,用户在登录了关系链平台客户端后,可以通过关系链平台客户端与视频播放客户端之间的特定接口实现到视频播放客户端的登录,进而使用视频播放服务器提供的视频在线播放服务。In this application scenario, a third-party application such as video playback is integrated into a relationship chain platform. The video playback service is provided by the video playback server (ie, the third-party application server), and the video playback client (ie, the third-party application client) Provide login services for its users; the video playback client is connected to the relationship chain platform client through a specific interface. In this application scenario, after the user logs in to the relationship chain platform client, he can log in to the video playback client through a specific interface between the relationship chain platform client and the video playback client, and then use the video provided by the video playback server. Online play service.

另外,视频播放客户端需要将自身的视频播放账号的标识符上报到关系链平台客户端,请求托管;关系链平台客户端收到视频播放客户端的账号托管的请求后,建立视频播放账号的标识符与关系链平台账号的标识符之间的映射关系,并将建立的该映射关系上报给关系链平台服务器;关系链平台服务器记录收到的该映射关系,关系链平台服务器具备维护视频播放账号的标识符与关系链平台账号的标识符之间的映射关系的功能。In addition, the video playback client needs to report the identifier of its own video playback account to the relationship chain platform client and request hosting; the relationship chain platform client will establish the identification of the video playback account after receiving the video playback client’s account hosting request The mapping relationship between the token and the identifier of the relationship chain platform account, and report the established mapping relationship to the relationship chain platform server; the relationship chain platform server records the received mapping relationship, and the relationship chain platform server has the ability to maintain the video playback account The function of the mapping relationship between the identifier of the relationship chain platform account and the identifier of the relationship chain platform.

在实际应用中,视频播放服务器有向视频播放客户端推送消息的需求。当视频播放客户端在线时,视频播放服务器可以直接推送消息给视频播放客户端。In practical applications, the video playback server needs to push messages to the video playback client. When the video playback client is online, the video playback server can directly push a message to the video playback client.

当视频播放客户端离线时,视频播放服务器可以通过关系链平台服务器向关系链平台客户端推送消息,具体包括:When the video playback client is offline, the video playback server can push messages to the relationship chain platform client through the relationship chain platform server, including:

视频播放服务器在向视频播放客户端推送消息时,获知视频播放客户端处于离线状态,从而依据视频播放账号的标识符推送消息,并通知关系链平台服务器;When the video playback server pushes a message to the video playback client, it knows that the video playback client is offline, so it pushes the message according to the identifier of the video playback account, and notifies the relationship chain platform server;

关系链平台服务器依据推送消息所依据的视频播放账号的标识符,查找所维护的映射关系,得到与所述视频播放账号的标识符对应的关系链平台账号的标识符;将视频播放服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端;The relationship chain platform server searches the maintained mapping relationship according to the identifier of the video playback account on which the push message is based, and obtains the identifier of the relationship chain platform account corresponding to the identifier of the video playback account; the video playback server pushes the The message is sent to the relationship chain platform client corresponding to the identifier of the relationship chain platform account;

关系链平台客户端在接收到视频播放服务器推送的消息后,展示所述消息,并将推送消息依据的视频播放账号的标识符同步到视频播放客户端,触发相应的视频播放的应用。After the relationship chain platform client receives the message pushed by the video playing server, it displays the message, and synchronizes the identifier of the video playing account based on which the pushed message is based to the video playing client, triggering the corresponding video playing application.

需要说明的是,本发明的消息推送方法并非仅适用于视频播放这一种第三方应用,任何能够融入关系链平台的第三方应用都适用于本发明的消息推送方法。It should be noted that the message push method of the present invention is not only applicable to a third-party application such as video playback, any third-party application that can be integrated into the relationship chain platform is applicable to the message push method of the present invention.

对应上述消息推送方法,本发明还提供了一种消息推送系统,包括:第三方应用服务器、关系链平台服务器、关系链平台客户端和第三方应用客户端。Corresponding to the above message push method, the present invention also provides a message push system, including: a third-party application server, a relationship chain platform server, a relationship chain platform client, and a third-party application client.

其中,第三方应用服务器,用于依据第三方应用账号的标识符向关系链平台服务器推送消息;Among them, the third-party application server is used to push messages to the relationship chain platform server according to the identifier of the third-party application account;

关系链平台服务器,用于维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;还用于依据维护的所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端;The relationship chain platform server is used to maintain the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account; it is also used to send the message pushed by the third-party application server according to the maintained mapping relationship To the relationship chain platform client where the corresponding relationship chain platform account is located;

关系链平台客户端,用于提供关系链平台的登录服务;The relationship chain platform client is used to provide the login service of the relationship chain platform;

第三方应用客户端,用于提供第三方应用的登录服务。The third-party application client is used to provide login services for third-party applications.

较佳的,第三方应用客户端可进一步用于,上报第三方应用账号的标识符给关系链平台客户端,发起账号托管;Preferably, the third-party application client can be further used to report the identifier of the third-party application account to the relationship chain platform client to initiate account custody;

相应的,关系链平台客户端进一步用于,向关系链平台服务器上报第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;Correspondingly, the relationship chain platform client is further used to report the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account to the relationship chain platform server;

关系链平台服务器记录关系链平台客户端上报的第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系。The relationship chain platform server records the mapping relationship between the identifier of the third-party application account reported by the relationship chain platform client and the identifier of the relationship chain platform account.

较佳的,关系链平台服务器可进一步用于,依据推送消息所依据的第三方应用账号的标识符,查找所述映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;Preferably, the relationship chain platform server can be further used to search for the mapping relationship according to the identifier of the third-party application account on which the push message is based, and obtain the relationship chain platform account corresponding to the identifier of the third-party application account the identifier of

将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。Send the message pushed by the third-party application server to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

较佳的,关系链平台客户端进一步用于,在接收到第三方应用服务器推送的消息后,展示所述消息,并将推送消息依据的第三方应用账号的标识符同步到所述第三方应用客户端,触发相应的第三方应用。Preferably, the relationship chain platform client is further used to display the message after receiving the message pushed by the third-party application server, and synchronize the identifier of the third-party application account on which the push message is based to the third-party application The client triggers the corresponding third-party application.

其中,关系链平台服务器可以包括:映射关系维护模块和消息发送模块。映射关系维护模块,用于维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系。消息发送模块,用于接收第三方应用服务器依据第三方应用账号的标识符向关系链平台服务器推送的消息;并依据维护的所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端。Wherein, the relationship chain platform server may include: a mapping relationship maintenance module and a message sending module. The mapping relationship maintenance module is used to maintain the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account. The message sending module is used to receive the message pushed by the third-party application server to the relationship chain platform server according to the identifier of the third-party application account; and send the message pushed by the third-party application server to the corresponding relationship according to the maintained mapping relationship The relationship chain platform client where the chain platform account is located.

较佳的,第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系,是由关系链平台客户端在接收到第三方应用客户端发起账号托管时上报的第三方应用账号的标识符后,向关系链平台服务器上报的。Preferably, the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account is the third-party application account reported by the relationship chain platform client when receiving the third-party application client to initiate account custody. After the identifier, it is reported to the relationship chain platform server.

较佳的,消息发送模块可进一步用于,依据推送消息所依据的第三方应用账号的标识符,查找所述映射关系,得到与所述第三方应用账号的标识符对应的关系链平台账号的标识符;将第三方应用服务器推送的消息下发给所述关系链平台账号的标识符所对应的关系链平台客户端。Preferably, the message sending module can be further used to search for the mapping relationship according to the identifier of the third-party application account on which the push message is based, and obtain the account number of the relationship chain platform account corresponding to the identifier of the third-party application account. Identifier: send the message pushed by the third-party application server to the relationship chain platform client corresponding to the identifier of the relationship chain platform account.

根据上述实施例的描述,本发明实施例的一种第三方应用服务器向关系链平台客户端推送消息的方法,主要包括以下技术特征:关系链平台服务器维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;第三方应用服务器依据第三方应用账号的标识符向关系链平台服务器推送消息;关系链平台服务器依据维护的所述映射关系,将第三方应用服务器推送的消息下发给对应关系链平台账号所在的关系链平台客户端。According to the description of the above embodiments, a method for a third-party application server to push a message to a relationship chain platform client in an embodiment of the present invention mainly includes the following technical features: the relationship chain platform server maintains the identifier and relationship chain of the third-party application account The mapping relationship between identifiers of platform accounts; the third-party application server pushes messages to the relationship chain platform server according to the identifier of the third-party application account; The message is sent to the relationship chain platform client where the corresponding relationship chain platform account is located.

本发明实施例的消息推送方法和系统,适用于第三方应用客户端离线的应用场景,当然,在第三方应用客户端在线的应用场景下,本发明实施例的消息推送方法和系统也是适用的。The message push method and system in the embodiments of the present invention are applicable to the application scenario where the third-party application client is offline. Of course, the message push method and system in the embodiment of the present invention are also applicable in the application scenario where the third-party application client is online .

综上所述,本发明通过将第三方应用账号的标识符托管到关系链平台服务器,由关系链平台服务器来维护第三方应用账号的标识符与关系链平台账号的标识符之间的映射关系;从而减少了第三方应用提供方的负担,降低了关系链平台准入的技术门槛。另外,推送消息到达关系链平台客户端时,除了展示该消息外,还可以同步第三方应用账号的标识符给第三方应用客户端,无需用户手动输入第三方应用的账号,即可实现快速的触发第三方应用。In summary, the present invention entrusts the identifier of the third-party application account to the server of the relationship chain platform, and the server of the relationship chain platform maintains the mapping relationship between the identifier of the third-party application account and the identifier of the account of the relationship chain platform ; thereby reducing the burden on third-party application providers and lowering the technical threshold for accessing the relationship chain platform. In addition, when the push message reaches the client of the relationship chain platform, in addition to displaying the message, it can also synchronize the identifier of the third-party application account to the third-party application client, without the need for the user to manually enter the account of the third-party application. Trigger third-party applications.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (8)

1. A message pushing method, the method comprising:
the third party application client reports the identifier of the third party application account to the relationship chain platform client and initiates account hosting;
the relationship chain platform client reports the mapping relationship between the identifier of the third party application account and the identifier of the relationship chain platform account to a relationship chain platform server, and the relationship chain platform server maintains the mapping relationship between the identifier of the third party application account and the identifier of the relationship chain platform account;
the third-party application server pushes a message to the relationship chain platform server according to the identifier of the third-party application account;
and the relation chain platform server transmits the message pushed by the third-party application server to the relation chain platform client corresponding to the relation chain platform account according to the mapping relation.
2. The message pushing method according to claim 1, wherein the relationship-chain platform server issues the message pushed by the third-party application server to the relationship-chain platform client corresponding to the relationship-chain platform account according to the mapping relationship, specifically:
the relation chain platform server searches the mapping relation according to the identifier of the third party application account according to the push message to obtain the identifier of the relation chain platform account corresponding to the identifier of the third party application account;
and the relation chain platform server issues the message pushed by the third-party application server to a relation chain platform client corresponding to the identifier of the relation chain platform account.
3. The message pushing method according to claim 1, wherein after the relationship chain platform server issues the message pushed by the third party application server to the relationship chain platform client corresponding to the relationship chain platform account, the method further comprises:
and the relation-chain platform client displays the message, synchronizes an identifier of a third-party application account number according to which the message is pushed to the third-party application client, and triggers the corresponding third-party application.
4. A message push system, comprising:
the third-party application client is used for providing login service of the third-party application, reporting an identifier of a third-party application account to the relation chain platform client and initiating account hosting;
the relationship chain platform client is used for providing login service of the relationship chain platform and reporting the mapping relationship between the identifier of the third-party application account and the identifier of the relationship chain platform account to the relationship chain platform server;
the third-party application server is used for pushing a message to the relationship chain platform server according to the identifier of the third-party application account;
the relation chain platform server is used for maintaining the mapping relation between the identifier of the third party application account and the identifier of the relation chain platform account; and the system is also used for sending the message pushed by the third-party application server to the relationship chain platform client corresponding to the relationship chain platform account according to the maintained mapping relationship.
5. The message pushing system according to claim 4, wherein the relationship chain platform server is further configured to search the mapping relationship according to an identifier of a third party application account according to which the message is pushed, and obtain an identifier of the relationship chain platform account corresponding to the identifier of the third party application account;
and sending the message pushed by the third-party application server to a relation chain platform client corresponding to the identifier of the relation chain platform account.
6. The message push system according to claim 4, wherein the relation chain platform client is further configured to, after receiving the message pushed by the third-party application server, display the message, synchronize an identifier of a third-party application account according to which the message is pushed to the third-party application client, and trigger the corresponding third-party application.
7. A relationship chain platform server, comprising:
the mapping relationship maintenance module is used for maintaining the mapping relationship between the identifier of the third-party application account reported by the third-party application client through the relationship chain platform client and used for requesting account hosting and the identifier of the relationship chain platform account;
the message sending module is used for receiving a message which is pushed to the relation chain platform server by the third-party application server according to the identifier of the third-party application account; sending the message pushed by the third-party application server to a relation chain platform client corresponding to the relation chain platform account according to the maintained mapping relation; wherein,
the mapping relation between the identifier of the third-party application account and the identifier of the relationship chain platform account is reported to the relationship chain platform server by the relationship chain platform client after receiving the identifier of the third-party application account reported when the third-party application client initiates account hosting.
8. The relationship-linked platform server according to claim 7, wherein the message sending module is further configured to search the mapping relationship according to an identifier of a third-party application account according to which the push message is sent, and obtain an identifier of a relationship-linked platform account corresponding to the identifier of the third-party application account;
and sending the message pushed by the third-party application server to a relation chain platform client corresponding to the identifier of the relation chain platform account.
CN201210075863.6A 2012-03-21 2012-03-21 A message push method and system, relationship chain platform server Active CN103327043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210075863.6A CN103327043B (en) 2012-03-21 2012-03-21 A message push method and system, relationship chain platform server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210075863.6A CN103327043B (en) 2012-03-21 2012-03-21 A message push method and system, relationship chain platform server

Publications (2)

Publication Number Publication Date
CN103327043A CN103327043A (en) 2013-09-25
CN103327043B true CN103327043B (en) 2016-06-15

Family

ID=49195573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210075863.6A Active CN103327043B (en) 2012-03-21 2012-03-21 A message push method and system, relationship chain platform server

Country Status (1)

Country Link
CN (1) CN103327043B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767775B (en) * 2014-01-06 2019-09-17 腾讯科技(深圳)有限公司 Web application information push method and system
CN104955003B (en) * 2014-03-31 2019-01-22 金蝶软件(中国)有限公司 Business datum inquiry system and method
CN105471818B (en) * 2014-08-18 2020-04-24 腾讯科技(深圳)有限公司 Method and system for information transmission between application software
CN105389488B (en) * 2015-11-26 2019-06-28 腾讯科技(深圳)有限公司 Identity identifying method and device
CN109600444A (en) * 2018-12-14 2019-04-09 北京向上心科技有限公司 Data push method, server, terminal, electronic equipment and readable storage medium storing program for executing
CN110225035B (en) * 2019-06-11 2022-11-11 深圳市微付充科技有限公司 Third party account binding and logging method, server, terminal and device
CN110933087A (en) * 2019-12-02 2020-03-27 紫光云技术有限公司 Sensitive information secure transmission method based on data bridging

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713574A (en) * 2004-06-25 2005-12-28 深圳市傲天通信有限公司 Delivering system of webpage information of internet
CN101325595A (en) * 2007-06-14 2008-12-17 阿尔卡特朗讯公司 Device for managing the reception by terminals of multimedia content transmitted by infrastructures
CN101771955A (en) * 2009-01-07 2010-07-07 联想(北京)有限公司 Data processing equipment and mail push method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015581B2 (en) * 2007-01-05 2011-09-06 Verizon Patent And Licensing Inc. Resource data configuration for media content access systems and methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713574A (en) * 2004-06-25 2005-12-28 深圳市傲天通信有限公司 Delivering system of webpage information of internet
CN101325595A (en) * 2007-06-14 2008-12-17 阿尔卡特朗讯公司 Device for managing the reception by terminals of multimedia content transmitted by infrastructures
CN101771955A (en) * 2009-01-07 2010-07-07 联想(北京)有限公司 Data processing equipment and mail push method

Also Published As

Publication number Publication date
CN103327043A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
CN103327043B (en) A message push method and system, relationship chain platform server
US10554655B2 (en) Method and system for verifying an account operation
US11271879B2 (en) Information transmission control method, apparatus, and system
US9749143B2 (en) Web real-time communication call transferring method and apparatus
US8869254B2 (en) User verification using voice based password
CN104767775B (en) Web application information push method and system
WO2018177124A1 (en) Service processing method and device, data sharing system and storage medium
CN102811228B (en) Network login method, equipment and system
CN103535004B (en) Method and web-based system for facilitating anonymous audio and video communications
US11683299B2 (en) Semi-interactive one-way transfer of data to an isolated network
CN103929482B (en) A kind of method and apparatus for being securely accessed by monitoring frontend
US20160359774A1 (en) Instant messaging with non subscriber users
CN102571857A (en) Method and system for realizing logging in XMPP (Xmlbased Messaging and Presence Protocol) server
CN111404695B (en) Token request verification method and device
CN102638771B (en) A kind of method and system of sharing web page
CN101998387A (en) Client authentication method, password agent device and system
WO2011107027A1 (en) Method and device for information exchange among business platforms
CN102143131A (en) User logout method and authentication server
CN105792167B (en) A kind of method and device initializing credible performing environment, equipment
CN102946396A (en) User agent device, host web server and user authentication method
CA2990757A1 (en) Method and system for transmitting text messages
CN118741265B (en) Camera video playback method, device, system and electronic equipment
CN104348780B (en) A kind of method and system of login
WO2015096686A1 (en) Method and system for establishing voice communication
CN105187407A (en) VPN (Virtual Private Network) connection method and system based on blacklist mechanism

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant