CN112000880A - Push message processing method and device, electronic equipment and readable storage medium - Google Patents

Push message processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112000880A
CN112000880A CN202010760232.2A CN202010760232A CN112000880A CN 112000880 A CN112000880 A CN 112000880A CN 202010760232 A CN202010760232 A CN 202010760232A CN 112000880 A CN112000880 A CN 112000880A
Authority
CN
China
Prior art keywords
hosted application
hosted
application
user
service platform
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
Application number
CN202010760232.2A
Other languages
Chinese (zh)
Other versions
CN112000880B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010760232.2A priority Critical patent/CN112000880B/en
Publication of CN112000880A publication Critical patent/CN112000880A/en
Application granted granted Critical
Publication of CN112000880B publication Critical patent/CN112000880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The application discloses a processing method and device of a push message, electronic equipment and a readable storage medium, and relates to the technical field of boarder applications, in particular to the technical field of small programs. According to the method and the system, the hosted application developer service platform of the hosted application used by the user can distribute the authority information of the push message sent to the hosted application to the user through the hosted application management platform, so that the hosted application developer service platform can send the push message of the hosted application to the hosted application operated by the hosted application for output through the hosted application management platform based on the acquired authority information of the push message, and the output of the push message of the hosted application in the hosted application can be realized, and the running reliability of the hosted application is improved.

Description

Push message processing method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, in particular to the field of hosted application technologies, and further relates to the field of applet technologies, and in particular, to a method and an apparatus for processing a push message, an electronic device, and a readable storage medium.
Background
With the deep development of the internet, Applications (APPs) applied to terminals are in the endlessly. Some applications, which may be referred to as host applications, are able to provide certain services of some other applications through a particular form of application running therein. These particular forms of applications need not be installed on the terminal and may be referred to as hosted applications, e.g., particular services of various applets such as a hundredth aware applet, a hundredth library applet, etc. in a hundredth APP.
However, since the hosted application running in the hosted application is completely dependent on the hosted application, the push message of the hosted application cannot be output in the hosted application, for example, a notification message related to a service order, or the like.
Disclosure of Invention
Aspects of the present application provide a push message processing method, an apparatus, an electronic device, and a readable storage medium.
According to a first aspect, a method for processing a push message is provided, which includes:
the hosted application management platform distributes authority information of push messages which can be sent to the hosted application by the hosted application developer service platform;
and the hosted application management platform responds to the push message and the permission information sent by the hosted application developer service platform, and sends the push message to the hosted application through a hosted service platform of the hosted application in which the hosted application runs according to the permission information so that the hosted application outputs the push message to a user of the hosted application.
According to a second aspect, there is provided another push message processing method, including:
the hosted application developer service platform acquires authority information of push messages which are distributed by the hosted application management platform and can be sent to the hosted application;
and the hosted application developer service platform sends the push message and the permission information to the hosted application management platform, so that the hosted application management platform sends the push message to the hosted application through a hosted service platform of the hosted application in which the hosted application runs according to the permission information, and the hosted application outputs the push message to a user of the hosted application.
According to a third aspect, there is provided a push message processing apparatus, comprising:
the hosted application user side service platform is used for distributing authority information of push messages which can be sent to the hosted application by the hosted application developer service platform;
and the hosted application message service platform is used for responding to the push message and the permission information sent by the hosted application developer service platform, and sending the push message to the hosted application through the hosted service platform of the hosted application on which the hosted application runs according to the permission information so that the hosted application can output the push message to the user of the hosted application.
According to a fourth aspect, there is provided another push message processing apparatus, comprising:
the receiving unit is used for acquiring the authority information of the push message which is distributed by the hosted application management platform and can be sent to the hosted application;
a sending unit, configured to send the push message and the permission information to the hosted application management platform, so that the hosted application management platform sends the push message to the hosted application through a hosted service platform of a hosted application on which the hosted application runs according to the permission information, so that the hosted application outputs the push message to a user of the hosted application.
According to a fifth aspect, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of the aspects and any possible implementation described above.
According to a sixth aspect, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of the aspects and any possible implementation as described above.
According to the technical scheme, the hosted application developer service platform of the hosted application used by the user is allocated to the user through the hosted application management platform, and the authority information of the push message sent to the hosted application can be sent to the hosted application, so that the hosted application developer service platform can send the push message of the hosted application to the hosted application operated by the hosted application through the hosted application management platform to output based on the acquired authority information of the push message, and the output of the push message of the hosted application in the hosted application can be realized, and the running reliability of the hosted application is improved.
In addition, by adopting the technical scheme provided by the application, the hosted application running in the host application has the capabilities of receiving messages, notifications and the like, and the experience of using the hosted application by a user is greatly improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor. The drawings are only for the purpose of illustrating the present invention and are not to be construed as limiting the present application. Wherein:
FIG. 1 is a schematic diagram according to a first embodiment of the present application;
FIG. 2 is a schematic diagram according to a second embodiment of the present application;
FIG. 3 is a schematic illustration according to a third embodiment of the present application;
FIG. 4 is a schematic illustration according to a fourth embodiment of the present application;
FIG. 5 is a schematic illustration according to a fifth embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device for implementing a push message processing method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terminal device referred in the embodiments of the present application may include, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), and other smart devices; the display device may include, but is not limited to, a personal computer, a television, and the like having a display function.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The hosted application related in the application can be an application such as an applet and the like which does not need to be installed on a terminal, and is a runtime ecology which can work purely off-line and is physically isolated through a rendering layer and a logic layer. The hosted application needs to run on a hosted application running platform, such as an applet Development Kit (SDK) or the like, into which the hosted application is integrated, on which the hosted application framework is loaded.
Taking the applet as an example, when a developer of the applet can develop the applet through a developer tool, a source code of the applet can be compiled and packaged through the developer tool and then uploaded to an applet management platform, and when the applet runs, an applet frame on an SDK can load and execute a constructed product of the developer tool according to a certain sequence when the applet runs.
At present, the applet can realize the open source applet ecology, and different host applications can run the applet, but the applet running on the host application cannot support push messages such as message notification, for example, a notification message that a purchased ticket cannot receive a successful purchase, a notification message that a purchased movie ticket cannot receive a movie opening time, and the like, which brings problems to the operation of the applet. Other hosted applications suffer from the same problems.
The application provides a processing method of a push message, which can realize the output of the push message of a hosted application in the hosted application, thereby improving the running reliability of the hosted application.
Fig. 1 is a schematic diagram according to a first embodiment of the present application, as shown in fig. 1.
101. The hosted application management platform assigns permission information for push messages that the hosted application developer service platform may send to the hosted application.
102. And the hosted application management platform responds to the push message and the permission information sent by the hosted application developer service platform, and sends the push message to the hosted application through a hosted service platform of the hosted application in which the hosted application runs according to the permission information so that the hosted application outputs the push message to a user of the hosted application.
The implementation scheme provided in the present application may include four main participants, which are:
a user, which is a user hosting an application;
the hosted application developer service platform refers to a service end system of a hosted application developer;
the hosted application management platform refers to service end systems such as a hosted application message service platform, a hosted application user side service platform and an open source platform;
and the host service platform refers to a service end system of a host application.
It is to be understood that the host application may be a native program (native app) installed on the local terminal, or may also be a web page program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
In the application, the authority information of the push message is the only certificate that the hosted application developer service platform of the hosted application can send the push message to the user of the hosted application, the hosted application used by the user only acquires the authority information of the push message and transmits the acquired authority information to the hosted application developer service platform, and the hosted application developer service platform can send the push message to the hosted application.
Optionally, in a possible implementation manner of this embodiment, the authority information of the push message may be a message identifier of the push message.
In this application, after the hosted application management platform allocates, to a user, authority information of a push message that can be sent to the hosted application by a hosted application developer service platform of a hosted application used by the user, the hosted application management platform may further determine, according to the authority information, a hosted application used by the user and a hosted application on which the hosted application runs in response to the push message and the authority information sent by the hosted application developer service platform of the hosted application, and then may issue, through the hosted service platform of the hosted application, the push message and a hosted application identifier of the hosted application to the hosted application, so that the hosted application outputs the push message to the user of the hosted application according to the hosted application identifier.
Optionally, in a possible implementation manner of this embodiment, in order to further identify a user of a hosted application, the hosted application management platform may further generate, according to the management platform user identifier of the user and the hosted application identifier, user information of the user to be used as the hosted application user identifier of the user.
The management platform user identifier of the user refers to a unique identity identifier allocated by the hosted application management platform for the user, and may include, but is not limited to, a management platform user identifier of a logged-in user and a management platform user identifier of an unregistered user, which is not particularly limited in this embodiment.
The hosted application identifier is identification information for uniquely identifying the hosted application, for example, a name of the hosted application.
In the case of user login, the hosted application management platform may allocate a unique identity identifier, that is, a hosted application user identifier of the user, to the user in the hosted application according to the management platform user identifier of the login user and the hosted application identifier, and use the unique identity identifier as the hosted application user identifier of the login user; under the condition that the user is not logged in, the hosted application management platform can allocate a unique identity identifier to the user in the hosted application according to the management platform user identifier of the user who is not logged in and the hosted application identifier, namely, the hosted application user identifier of the user is generated and serves as the hosted application user identifier of the user who is not logged in.
Specifically, the hosted application user side service platform in the hosted application management platform may specifically generate the hosted application user identifier of the user by using various identifier generation technologies according to the management platform user identifier and the hosted application identifier.
For example, the hosted application management platform may specifically perform concatenation processing on the management platform user identifier and the hosted application identifier to generate the hosted application user identifier of the user.
Or, for another example, the hosted application management platform may specifically encrypt the management platform user identifier and the hosted application identifier to generate the hosted application user identifier of the user.
Or, for another example, the hosted application management platform may specifically perform concatenation processing on the management platform user identifier and the hosted application identifier and a specific identifier to generate the hosted application user identifier of the user.
In this implementation, after the hosted application user identifier of the user is generated, the hosted application user side service platform in the hosted application management platform may further record a mapping relationship of the user, that is, a mapping relationship between the hosted application user identifier of the user, the hosted application identifier of the hosted application used by the user, and the hosted application identifier of the hosted application in which the hosted application runs, so as to be used for subsequent query service.
In a specific implementation process, in 101, the hosted application management platform may specifically receive an authority request of a push message sent by the hosted application, where the authority request may carry a hosted application identifier of a hosted application on which the hosted application runs, the hosted application identifier, and a management platform user identifier. Furthermore, the hosted application management platform may generate, for the user, authority information of a push message that the hosted application developer service platform of the hosted application may send to the hosted application. Then, the hosted application management platform may return the permission information to the hosted application for the hosted application to send the permission information to the hosted application developer service platform.
The host application identifier is identification information for uniquely identifying the host application, for example, a name of the host application.
At this time, since the hosted application provides the obtained authority information of the push message to the hosted application developer service platform, the hosted application developer service platform can send the push message to the hosted application.
Specifically, in the process of using the hosted application, for example, a movie ticket is purchased, at this time, the message component in the hosted application may send an authority request for applying for a push message of the authority information to the hosted application user side service platform in the hosted application management platform, and at this time, the hosted application identifier, and the management platform user identifier of the login user are carried in the request in the user login situation of the hosted application; the hosted application carries the hosted application identifier, the hosted application identifier and the management platform user identifier of the unregistered user in the request under the condition that the user is not logged in.
After receiving the request, the service platform of the hosted application user side in the hosted application management platform feeds back the authority information of the push message.
In another specific implementation process, in 102, the hosted application management platform may specifically receive the user information of the hosted application, the push message, and the permission information sent by the hosted application developer service platform. Then, the hosted application management platform may obtain, according to the permission information and the user information of the hosted application, a hosted application identifier of the hosted application used by the user and a hosted application identifier of a hosted application on which the hosted application runs.
In the implementation process, after receiving the user information, the push message, and the permission information of the hosted application sent by the hosted application developer service platform, the hosted application management platform may specifically perform validity verification on the permission information.
Specifically, after receiving the user information, the push message, and the permission information of the hosted application sent by the hosted application developer service platform, the hosted application message service platform in the hosted application management platform requests the hosted application user side service platform in the hosted application management platform to perform validity verification on the permission information. The hosted application user side service platform in the hosted application management platform can carry out validity verification on the authority information by validity verification means such as validity period and whether the value is reasonable or not.
If the validity verification is passed, the hosted application management platform may match, according to the user information of the hosted application, the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application in which the hosted application runs.
Specifically, after the validity verification passes, the hosted application user side service platform in the hosted application management platform may query by using the user information of the hosted application, and return the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application on which the hosted application runs, to the hosted application message service platform, which correspond to the user information of the hosted application.
And further, the hosted application message service platform queries the sending interface address of the hosted message service corresponding to the hosted application identifier from the open source platform in the hosted application management platform by using the hosted application identifier so as to request the hosted service platform corresponding to the sending interface address.
In another specific implementation process, the hosted application may further receive the hosted application identifier and the user information of the hosted application sent by the hosted application, and further, the hosted application may send the hosted application identifier, the user information of the hosted application, and the hosted application terminal identifier of the user to the hosted service platform, so that the hosted service platform sends the push message to the hosted application.
The host application terminal identifier of the user may be a device identifier of a terminal where the host application is located, or may also be a host application user identifier of the user, which is not particularly limited in this embodiment. The host application user identifier is a unique identity identifier distributed by the host application for the user in the host application.
At this time, after receiving the data of the hosted application identifier, the user information of the hosted application, and the hosted application terminal identifier of the user, the hosted service platform may store the received data, so that the hosted service platform can perform query processing in response to a request of the hosted application management platform.
Based on the technical solution in the implementation process, in 102, the hosted application management platform may send the push message, the hosted application identifier, and the user information of the hosted application to the hosted service platform, so that the hosted service platform obtains the hosted application identifier of the hosted application corresponding to the hosted application identifier and the user information of the hosted application, and sends the push message to the terminal indicated by the hosted application terminal identifier of the hosted application.
Specifically, after receiving the push message, the hosted application identifier, and the user information of the hosted application sent by the hosted application message service platform in the hosted application management platform, the hosted service platform may obtain, from the stored data, the hosted application terminal identifier of the hosted application corresponding to the hosted application identifier and the user information of the hosted application, and send the push message to the terminal indicated by the hosted application terminal identifier of the hosted application. The host application may output the push message in various manners.
In this embodiment, the hosted application developer service platform that allocates the hosted application used by the user to the user through the hosted application management platform may send the authority information of the push message to the hosted application, so that the hosted application developer service platform can send the push message of the hosted application to the hosted application on which the hosted application runs through the hosted application management platform for output based on the acquired authority information of the push message, thereby enabling the push message of the hosted application to be output in the hosted application, and improving the running reliability of the hosted application.
In addition, by adopting the technical scheme provided by the application, the hosted application running in the host application has the capabilities of receiving messages, notifications and the like, and the experience of using the hosted application by a user is greatly improved.
Fig. 2 is a schematic diagram of a second embodiment according to the present application, as shown in fig. 2.
201. And the hosted application developer service platform acquires the authority information of the push message which is distributed by the hosted application management platform and can be sent to the hosted application.
202. And the hosted application developer service platform sends the push message and the permission information to the hosted application management platform, so that the hosted application management platform sends the push message to the hosted application through a hosted service platform of the hosted application in which the hosted application runs according to the permission information, and the hosted application outputs the push message to a user of the hosted application.
The implementation scheme provided in the present application may include four parties, which are respectively:
a user, which is a user hosting an application;
the hosted application developer service platform refers to a service end system of a hosted application developer;
the hosted application management platform refers to service end systems such as a hosted application message service platform, a hosted application user side service platform and an open source platform;
and the host service platform refers to a service end system of a host application.
It is to be understood that the host application may be a native program (native app) installed on the local terminal, or may also be a web page program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
In the application, the authority information of the push message is the only certificate that the hosted application developer service platform of the hosted application can send the push message to the user of the hosted application, the hosted application used by the user only acquires the authority information of the push message and transmits the acquired authority information to the hosted application developer service platform, and the hosted application developer service platform can send the push message to the hosted application.
Optionally, in a possible implementation manner of this embodiment, the authority information of the push message may be a message identifier of the push message.
In this application, a hosted application developer service platform of a hosted application may receive permission information of a push message that is sent by the hosted application and that is sent by the hosted application developer service platform to the hosted application, where the permission information of the push message may be allocated by a hosted application management platform for a user of the hosted application. Then, the hosted application developer service platform may send the push message and the permission information to the hosted application management platform, so that the hosted application management platform determines, according to the permission information, a hosted application used by the user and a hosted application on which the hosted application runs, and sends, through a hosted service platform of the hosted application, the push message and a hosted application identifier of the hosted application to the hosted application, so that the hosted application outputs the push message to the user of the hosted application according to the hosted application identifier.
Optionally, in a possible implementation manner of this embodiment, the hosted application management platform may specifically receive an authority request of a push message sent by the hosted application, where the authority request may carry a hosted application identifier of a hosted application on which the hosted application runs, the hosted application identifier, and a management platform user identifier. Furthermore, the hosted application management platform may generate, for the user, authority information of a push message that can be sent to the hosted application by a hosted application developer service platform of the hosted application, and return the authority information to the hosted application, so that the hosted application sends the authority information to the hosted application developer service platform.
The host application identifier is identification information for uniquely identifying the host application, for example, a name of the host application.
At this time, since the hosted application provides the obtained authority information of the push message to the hosted application developer service platform, the hosted application developer service platform can send the push message to the hosted application.
Specifically, in the process of using the hosted application, for example, a movie ticket is purchased, at this time, the message component in the hosted application may send an authority request for applying for a push message of the authority information to the hosted application user side service platform in the hosted application management platform, and at this time, the hosted application identifier, and the management platform user identifier of the login user are carried in the request in the user login situation of the hosted application; the hosted application carries the hosted application identifier, the hosted application identifier and the management platform user identifier of the unregistered user in the request under the condition that the user is not logged in.
After receiving the request, the service platform of the hosted application user side in the hosted application management platform feeds back the authority information of the push message.
Optionally, in a possible implementation manner of this embodiment, in order to further identify a user of a hosted application, the hosted application management platform may further generate, according to the management platform user identifier of the user and the hosted application identifier, user information of the user to be used as the hosted application user identifier of the user.
The management platform user identifier of the user refers to a unique identity identifier allocated by the hosted application management platform for the user, and may include, but is not limited to, a management platform user identifier of a logged-in user and a management platform user identifier of an unregistered user, which is not particularly limited in this embodiment.
The hosted application identifier is identification information for uniquely identifying the hosted application, for example, a name of the hosted application.
In the case of user login, the hosted application management platform may allocate a unique identity identifier, that is, a hosted application user identifier of the user, to the user in the hosted application according to the management platform user identifier of the login user and the hosted application identifier, and use the unique identity identifier as the hosted application user identifier of the login user; under the condition that the user is not logged in, the hosted application management platform can allocate a unique identity identifier to the user in the hosted application according to the management platform user identifier of the user who is not logged in and the hosted application identifier, namely, the hosted application user identifier of the user is generated and serves as the hosted application user identifier of the user who is not logged in.
Specifically, the hosted application user side service platform in the hosted application management platform may specifically generate the hosted application user identifier of the user by using various identifier generation technologies according to the management platform user identifier and the hosted application identifier.
For example, the hosted application management platform may specifically perform concatenation processing on the management platform user identifier and the hosted application identifier to generate the hosted application user identifier of the user.
Or, for another example, the hosted application management platform may specifically encrypt the management platform user identifier and the hosted application identifier to generate the hosted application user identifier of the user.
Or, for another example, the hosted application management platform may specifically perform concatenation processing on the management platform user identifier and the hosted application identifier and a specific identifier to generate the hosted application user identifier of the user.
In this implementation, after the hosted application user identifier of the user is generated, the hosted application user side service platform in the hosted application management platform may further record a mapping relationship of the user, that is, a mapping relationship between the hosted application user identifier of the user, the hosted application identifier of the hosted application used by the user, and the hosted application identifier of the hosted application in which the hosted application runs, so as to be used for subsequent query service.
Optionally, in a possible implementation manner of this embodiment, in 202, the hosted application developer service platform may specifically send the push message and the permission information to the hosted application management platform, so that the hosted application management platform determines, according to the permission information, a hosted application used by the user and a hosted application in which the hosted application runs.
In a specific implementation process, the hosted application developer service platform may specifically send the user information of the hosted application, the push message, and the permission information to the hosted application management platform, so that the hosted application management platform obtains, according to the permission information and the user information of the hosted application, a hosted application identifier of the hosted application and a hosted application identifier of the hosted application, which correspond to the permission information and the user information of the hosted application.
Specifically, after receiving the user information, the push message, and the authority information of the hosted application sent by the hosted application developer service platform, the hosted application management platform may obtain, according to the authority information and the hosted application user identifier, a hosted application identifier of a hosted application used by the user and a hosted application identifier of a hosted application on which the hosted application runs.
In this implementation, after receiving the user information, the push message, and the permission information of the hosted application sent by the hosted application developer service platform, the hosted application management platform may specifically perform validity verification on the permission information.
Specifically, after receiving the user information, the push message, and the permission information of the hosted application sent by the hosted application developer service platform, the hosted application message service platform in the hosted application management platform requests the hosted application user side service platform in the hosted application management platform to perform validity verification on the permission information. The hosted application user side service platform in the hosted application management platform can carry out validity verification on the authority information by validity verification means such as validity period and whether the value is reasonable or not.
If the validity verification is passed, the hosted application management platform may match, according to the user information of the hosted application, the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application in which the hosted application runs.
Specifically, after the validity verification passes, the hosted application user side service platform in the hosted application management platform may query by using the user information of the hosted application, and return the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application on which the hosted application runs, to the hosted application message service platform, which correspond to the user information of the hosted application.
And further, the hosted application message service platform queries the sending interface address of the hosted message service corresponding to the hosted application identifier from the open source platform in the hosted application management platform by using the hosted application identifier so as to request the hosted service platform corresponding to the sending interface address.
In this embodiment, the hosted application may further receive the hosted application identifier and the user information of the hosted application sent by the hosted application, and further, the hosted application may send the hosted application identifier, the user information of the hosted application, and the hosted application terminal identifier of the user to the hosted service platform, so that the hosted service platform sends the push message to the hosted application.
The host application terminal identifier of the user may be a device identifier of a terminal where the host application is located, or may also be a host application user identifier of the user, which is not particularly limited in this embodiment. The host application user identifier is a unique identity identifier distributed by the host application for the user in the host application.
At this time, after receiving the data of the hosted application identifier, the user information of the hosted application, and the hosted application terminal identifier of the user, the hosted service platform may store the received data, so that the hosted service platform can perform query processing in response to a request of the hosted application management platform.
Based on the technical solution in the implementation process, the hosted application management platform may send the push message, the hosted application identifier, and the user information of the hosted application to the hosted service platform, so that the hosted service platform obtains the hosted application identifier and a hosted application terminal identifier of the hosted application corresponding to the user information of the hosted application, and sends the push message to the hosted application on the terminal indicated by the hosted application terminal identifier.
Specifically, after receiving the push message, the hosted application identifier, and the user information of the hosted application sent by the hosted application message service platform in the hosted application management platform, the hosted service platform may obtain, from the stored data, the hosted application terminal identifier of the hosted application corresponding to the hosted application identifier and the user information of the hosted application, and send the push message to the terminal indicated by the hosted application terminal identifier of the hosted application. The host application may output the push message in various manners.
It is understood that further steps performed by the four parties in this embodiment can be referred to in the related description of the first embodiment.
In this embodiment, the hosted application developer service platform that allocates the hosted application used by the user to the user through the hosted application management platform may send the authority information of the push message to the hosted application, so that the hosted application developer service platform can send the push message of the hosted application to the hosted application on which the hosted application runs through the hosted application management platform for output based on the acquired authority information of the push message, thereby enabling the push message of the hosted application to be output in the hosted application, and improving the running reliability of the hosted application.
In addition, by adopting the technical scheme provided by the application, the hosted application running in the host application has the capabilities of receiving messages, notifications and the like, and the experience of using the hosted application by a user is greatly improved.
Fig. 3 is a schematic diagram of a third embodiment according to the present application, as shown in fig. 3. The embodiment takes a small program as an example to describe the technical scheme provided by the application in detail.
The technical solution of this embodiment may include four main participants, which are:
user, refers to the user of the applet;
the applet developer service platform refers to a service end system of an applet developer;
the small program management platform refers to service end systems such as a small program message service platform, a small program user end (C end) service platform, an open source platform and the like;
and the host service platform refers to a service end system of a host application.
In this embodiment, the host application integrates the applet runtime SDK, and the applet runtime SDK loads the applet frame on which the applet runs.
The applet management platform allocates a unique identity identifier, namely a management platform user identifier, to the user, and allocates a management platform user identifier (uid) of the login user to the login user under the condition of user login; and in the case of no user login, distributing the management platform user identification (cuid) of the no-login user to the no-login user.
Under the condition of user login, the applet management platform can distribute a unique identity identifier, namely an applet user identifier (openid) of the user, in the applet for the user according to a management platform user identifier (uid) of a login user and the applet identifier (appkey) to serve as the applet user identifier (openid) of the login user; under the condition that the user does not log in, the applet management platform can distribute a unique identity for the user in the applet according to a management platform user identity (cuid) of the user who does not log in and the applet identity (appkey), namely, the applet user identity (swanid) of the user is generated and serves as the applet user identity (swanid) of the user who does not log in.
301. A message component in the applet sends a request for applying for authority information (msgid) of a push message to an applet user side (C side) service platform, wherein the request carries a host application identifier (hostname), an applet identifier (appke) and a management platform user identifier (uid/cuid) of a logged-in user/a logged-out user.
302. And the applet C-terminal service platform in the applet management platform feeds back the authority information (msgid) of the push message to the message component in the applet, and the message component in the applet sends the authority information (msgid) of the push message and the authority information (msgid) of the push message to the applet developer service platform.
303. And after the applet C-end service platform feeds back the normal state, the applet returns a return parameter to the host application, wherein the return parameter comprises a host application identifier (hostname), an applet identifier (appkey) and an applet user identifier (openid/swanid).
The host application saves the received return parameters.
304. And the host application sends the applet identification (appkey), the applet user identification (openid/swanid) and the host application terminal identification to the host service platform.
The hosting service platform saves the received data.
305. The applet developer service platform sends an applet user identifier (openid/swanid), a push message and permission information (msgid) through an Application Program Interface (API) of the applet management platform using an authorized Access Token (Access Token).
306. And an applet message service platform in the applet management platform requests an applet C-end service platform in the applet management platform to carry out validity verification on the authority information (msgid).
The applet C-side service platform can carry out validity verification on the authority information (msgid) by validity verification means such as validity period, whether value is reasonable and the like.
307. And after the legitimacy verification of the applet C-terminal service platform is completed, returning a corresponding host application identifier (hostname) to the applet message service platform.
The applet C-side service platform can utilize an applet user identifier (openid/swanid) to perform query, and returns an applet identifier (appkey) of the applet used by the user and a host application identifier (hostname) of a host application in which the applet runs, which correspond to the applet user identifier (openid/swanid), to the applet message service platform.
308. The applet message service platform utilizes the host application identifier (hostname) to inquire the sending interface address of the host message service corresponding to the host application identifier (hostname) from the open source platform in the applet management platform.
309. The applet message service platform sends a request to a host service platform corresponding to a sending interface address of a host message service, wherein the request carries a push message, an applet identifier (appkey) and an applet user identifier (openid/swanid).
310. The host service platform obtains a host application terminal identifier of the host application corresponding to the applet identifier (appkey) and the applet user identifier (openid/swanid) from the stored data, and sends the push message to the host application on the terminal indicated by the host application terminal identifier.
At this time, the host application can output the push message in various ways, so that the output of the push message of the applet in the host application is realized.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Fig. 4 is a schematic view of a fourth embodiment according to the present application, as shown in fig. 4. The push message processing apparatus 400 of the present embodiment may include a hosted application user side service platform 401 and a hosted application message service platform 402. The hosted application user side service platform 401 is used for distributing authority information of push messages which can be sent to hosted applications by a hosted application developer service platform; and the hosted application message service platform 402 is configured to respond to the push message and the permission information sent by the hosted application developer service platform, and according to the permission information, issue the push message to the hosted application through a hosted service platform of a hosted application on which the hosted application runs, so that the hosted application outputs the push message to a user of the hosted application.
It is to be understood that the host application may be a native program (native app) installed on the local terminal, or may also be a web page program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the hosted application message service platform 402 may be specifically configured to receive the push message and the permission information sent by the hosted application developer service platform; the hosted application user side service platform 401 may further be configured to determine, according to the permission information, a hosted application used by the user and a hosted application in which the hosted application runs; the hosted application message service platform 402 is specifically configured to issue the push message and the hosted application identifier of the hosted application to the hosted application determined by the hosted application user side service platform 401 through the hosted service platform of the hosted application, so that the hosted application outputs the push information to the user of the hosted application according to the hosted application identifier.
Optionally, in a possible implementation manner of this embodiment, the hosted application user side service platform 401 may be specifically configured to receive an authority request of a push message sent by the hosted application; generating permission information of a push message which can be sent to the hosted application by a hosted application developer service platform of the hosted application; and returning the permission information to the hosted application for the hosted application to send the permission information to the hosted application developer service platform.
Optionally, in a possible implementation manner of this embodiment, the hosted application message service platform 402 may be specifically configured to receive the user information, the push message, and the permission information of the hosted application sent by the hosted application developer service platform; the hosted application user side service platform 401 may be specifically configured to obtain, according to the permission information and the user information of the hosted application, a hosted application identifier of the hosted application used by the user and a hosted application identifier of a hosted application in which the hosted application runs.
Specifically, the hosted application user side service platform 401 is specifically configured to perform validity verification on the permission information; and if the legality verification is passed, matching the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application in which the hosted application runs according to the user information of the hosted application.
Optionally, in a possible implementation manner of this embodiment, the hosted application message service platform 402 may be specifically configured to send the push message, the hosted application identifier, and the user information of the hosted application to the hosted service platform according to the permission information, so that the hosted service platform obtains, based on the hosted application identifier received from the hosted application, the user information of the hosted application, and the hosted application terminal identifier of the user, a hosted application terminal identifier of the hosted application corresponding to the hosted application identifier and the user information of the hosted application, and sends the push message to the hosted application on a terminal indicated by the hosted application terminal identifier.
The apparatus 400 for processing a push message of this embodiment may further include an open source platform (not shown in the figure), configured to provide an open source data query to the hosted application client service platform 401 and the hosted application message service platform 402, for example, the hosted application message service platform 402 queries, by using the hosted application identifier, a sending interface address of the hosted message service corresponding to the hosted application identifier from the open source platform, so as to request the hosted service platform corresponding to the sending interface address.
It should be noted that the method in the embodiment corresponding to fig. 1 may be implemented by the processing device for push messages provided in this embodiment. For a detailed description, reference may be made to relevant contents in the embodiment corresponding to fig. 1, and details are not described here.
In this embodiment, the hosted application user side service platform allocates, to the user, the authority information of the push message that can be sent to the hosted application by the hosted application developer service platform of the hosted application used by the user, so that the hosted application developer service platform can send the push message of the hosted application to the hosted application operated by the hosted application for output through the hosted application user side service platform and the hosted application message service platform based on the acquired authority information of the push message, thereby enabling output of the push message of the hosted application in the hosted application to be achieved, and improving reliability of operation of the hosted application.
In addition, by adopting the technical scheme provided by the application, the hosted application running in the host application has the capabilities of receiving messages, notifications and the like, and the experience of using the hosted application by a user is greatly improved.
Fig. 5 is a schematic diagram of a fifth embodiment according to the present application, as shown in fig. 5. The push message processing apparatus 500 of the present embodiment includes a receiving unit 501 and a transmitting unit 502. The receiving unit 501 is configured to acquire authority information of a push message that is distributed by the hosted application management platform and can be sent to the hosted application; a sending unit 502, configured to send the push message and the permission information to the hosted application management platform, so that the hosted application management platform issues the push message to the hosted application through a hosted service platform of a hosted application on which the hosted application runs according to the permission information, so that the hosted application outputs the push message to a user of the hosted application.
It is to be understood that the application may be a native application (native app) installed on the local terminal, or may also be a web page program (webApp) of a browser on the local terminal, which is not limited in this embodiment.
Optionally, in a possible implementation manner of this embodiment, the receiving unit 501 is specifically configured to receive permission information of a push message that is sent by the hosted application and that can be sent by the hosted application developer service platform to the hosted application; wherein the authority information of the push message is allocated to the hosted application management platform.
Optionally, in a possible implementation manner of this embodiment, the sending unit 502 may be specifically configured to send the push message and the permission information to the hosted application management platform, so that the hosted application management platform determines, according to the permission information, a hosted application used by the user and a hosted application on which the hosted application runs.
It should be noted that the method in the embodiment corresponding to fig. 2 may be implemented by the processing device for push messages provided in this embodiment. For a detailed description, reference may be made to relevant contents in the embodiment corresponding to fig. 2, which is not described herein again.
In this embodiment, the hosted application developer service platform that allocates the hosted application used by the user to the user through the hosted application management platform may send the authority information of the push message to the hosted application, so that the sending unit can send the push message of the hosted application to the hosted application in which the hosted application operates for output through the hosted application management platform based on the authority information of the push message received by the receiving unit, and output of the push message of the hosted application in the hosted application can be implemented, thereby improving the reliability of the hosted application operation.
In addition, by adopting the technical scheme provided by the application, the hosted application running in the host application has the capabilities of receiving messages, notifications and the like, and the experience of using the hosted application by a user is greatly improved.
The present application also provides an electronic device and a non-transitory computer readable storage medium having computer instructions stored thereon, according to embodiments of the present application.
Fig. 6 is a schematic diagram of an electronic device for implementing a push message processing method according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI (graphical user interface) on an external input/output apparatus, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the push message processing method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the push message processing method provided by the present application.
The memory 602 is used as a non-transitory computer readable storage medium, and can be used to store non-transitory software programs, non-transitory computer executable programs, and units, such as program instructions/units corresponding to the processing method of the push message in the embodiment of the present application (for example, the hosted application client service platform 401 and the hosted application message service platform 402 shown in fig. 4, or the receiving unit 501 and the sending unit 502 shown in fig. 5, and the like). The processor 601 executes various functional applications of the server and data processing, i.e. implements the push message processing method in the above-described method embodiments, by running non-transitory software programs, instructions and units stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like created according to use of an electronic device implementing the push message processing method provided by the embodiment of the present application. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 may optionally include a memory remotely located from the processor 601, and these remote memories may be connected via a network to an electronic device implementing the push message processing method provided by the embodiments of the present application. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the push message processing method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of an electronic device implementing the push message processing method provided by the embodiment of the present application, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, and the like. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, an LCD (liquid crystal display), an LED (light emitting diode) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, PLDs (programmable logic devices)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (local area network), WAN (wide area network), internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
According to the technical scheme of the embodiment of the application, the hosted application developer service platform which distributes hosted applications used by the user to the user can send the authority information of the push message to the hosted application through the hosted application management platform, so that the hosted application developer service platform can send the push message of the hosted application to the hosted application operated by the hosted application for output through the hosted application management platform based on the acquired authority information of the push message, and the output of the push message of the hosted application in the hosted application can be realized, thereby improving the operation reliability of the hosted application.
In addition, by adopting the technical scheme provided by the application, the hosted application running in the host application has the capabilities of receiving messages, notifications and the like, and the experience of using the hosted application by a user is greatly improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (22)

1. A push message processing method comprises the following steps:
the hosted application management platform distributes authority information of push messages which can be sent to the hosted application by the hosted application developer service platform;
and the hosted application management platform responds to the push message and the permission information sent by the hosted application developer service platform, and sends the push message to the hosted application through a hosted service platform of the hosted application in which the hosted application runs according to the permission information so that the hosted application outputs the push message to a user of the hosted application.
2. The method of claim 1, wherein the hosted application management platform, in response to the push message and the permission information sent by the hosted application developer service platform, issues the push message to the hosted application according to the permission information through a hosting service platform of a hosting application on which the hosted application is running, including:
the hosted application management platform responds to the push message and the permission information sent by the hosted application developer service platform, and determines hosted applications used by the user and hosted applications operated by the hosted applications according to the permission information;
and the hosted application management platform issues the push message and the hosted application identifier of the hosted application to the hosted application through a hosted service platform of the hosted application, so that the hosted application outputs the push message to a user of the hosted application according to the hosted application identifier.
3. The method of claim 1, wherein the hosted application management platform assigns permission information for push messages that the hosted application developer service platform may send to the hosted application, comprising:
the hosted application management platform receives an authority request of a push message sent by the hosted application;
the hosted application management platform generates authority information of push messages which can be sent to the hosted application by a hosted application developer service platform of the hosted application;
and the hosted application management platform returns the permission information to the hosted application so that the hosted application sends the permission information to the hosted application developer service platform.
4. The method of claim 2, wherein the hosted application management platform, in response to the push message and the permission information sent by the hosted application developer service platform, determines, from the permission information, a hosted application used by the user and a hosted application on which the hosted application is running, comprising:
the hosted application management platform receives the user information, the push message and the authority information of the hosted application sent by the hosted application developer service platform;
and the hosted application management platform acquires the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application operated by the hosted application according to the authority information and the user information of the hosted application.
5. The method of claim 4, wherein the obtaining, by the hosted application management platform, the hosted application identifier of the hosted application and the hosted application identifier of the hosted application corresponding to the permission information and the hosted application user identifier according to the permission information and the user information of the hosted application comprises:
the boarder application management platform verifies the validity of the authority information;
and if the legality is verified, the hosted application management platform matches the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application in which the hosted application runs according to the user information of the hosted application.
6. The method of any of claims 1-5, wherein the hosted application management platform, in response to the push message and the permission information sent by the hosted application developer service platform, issues the push message to the hosted application via a hosting service platform of the hosting application on which the hosted application is running according to the permission information, and further comprising:
the host application receives the hosted application identification and the user information of the hosted application sent by the hosted application;
and the host application sends the hosted application identifier, the user information of the hosted application and the host application terminal identifier of the user to the host service platform, so that the host service platform sends the push message to the host application.
7. The method of claim 6, wherein the sending the push message to the hosted application by the hosted application management platform of the hosted application on which the hosted application runs according to the permission information comprises:
and the hosted application management platform sends the push message, the hosted application identifier and the user information of the hosted application to the hosted service platform according to the authority information, so that the hosted service platform obtains the hosted application identifier and a hosted application terminal identifier of the hosted application corresponding to the user information of the hosted application, and sends the push message to the hosted application on a terminal indicated by the hosted application terminal identifier.
8. A push message processing method comprises the following steps:
the hosted application developer service platform acquires authority information of push messages which are distributed by the hosted application management platform and can be sent to the hosted application;
and the hosted application developer service platform sends the push message and the permission information to the hosted application management platform, so that the hosted application management platform sends the push message to the hosted application through a hosted service platform of the hosted application in which the hosted application runs according to the permission information, and the hosted application outputs the push message to a user of the hosted application.
9. The method of claim 8, wherein the obtaining of the permission information of the push message that can be sent to the hosted application assigned by the hosted application management platform by the hosted application developer service platform comprises:
the hosted application developer service platform receives authority information of push messages which are sent by the hosted application and can be sent to the hosted application by the hosted application developer service platform; wherein the authority information of the push message is allocated to the hosted application management platform.
10. The method of claim 8, wherein the hosted application developer service platform, prior to receiving permission information for push messages sent by the hosted application that the hosted application developer service platform can send to the hosted application, comprises:
the hosted application management platform receives an authority request of a push message sent by the hosted application;
the hosted application management platform generates authority information of push messages which can be sent to the hosted application by the hosted application developer service platform;
and the hosted application management platform returns the permission information to the hosted application so that the hosted application sends the permission information to the hosted application developer service platform.
11. The method of any of claims 8-10, wherein the hosted application developer service platform sending the push message and the permission information to the hosted application management platform comprises:
and the hosted application developer service platform sends the push message and the permission information to the hosted application management platform, so that the hosted application management platform determines the hosted application used by the user and the hosted application operated by the hosted application according to the permission information.
12. A push message processing apparatus, comprising:
the hosted application user side service platform is used for distributing authority information of push messages which can be sent to the hosted application by the hosted application developer service platform;
and the hosted application message service platform is used for responding to the push message and the permission information sent by the hosted application developer service platform, and sending the push message to the hosted application through the hosted service platform of the hosted application on which the hosted application runs according to the permission information so that the hosted application can output the push message to the user of the hosted application.
13. The apparatus of claim 12, wherein,
the hosted application message service platform is specifically configured to receive the push message and the permission information sent by the hosted application developer service platform;
the hosted application user side service platform is further used for determining hosted applications used by the user and hosted applications in which the hosted applications run according to the permission information;
the hosted application message service platform is specifically configured to issue the push message and the hosted application identifier of the hosted application to the hosted application through the hosted service platform of the hosted application, so that the hosted application outputs the push message to a user of the hosted application according to the hosted application identifier.
14. The apparatus of claim 12, wherein the hosted application customer premises service platform is specifically configured to
Receiving an authority request of a push message sent by the hosted application;
generating permission information of a push message which can be sent to the hosted application by a hosted application developer service platform of the hosted application; and
and returning the permission information to the hosted application so that the hosted application sends the permission information to the hosted application developer service platform.
15. The apparatus of claim 13, wherein,
the hosted application message service platform is specifically configured to receive the user information, the push message, and the permission information of the hosted application sent by the hosted application developer service platform;
the hosted application user side service platform is specifically configured to obtain, according to the permission information and the user information of the hosted application, a hosted application identifier of the hosted application used by the user and a hosted application identifier of a hosted application on which the hosted application runs.
16. The apparatus of claim 15, wherein the hosted application customer premises service platform is specifically configured to
Carrying out validity verification on the authority information;
and if the legality verification is passed, matching the hosted application identifier of the hosted application used by the user and the hosted application identifier of the hosted application in which the hosted application runs according to the user information of the hosted application.
17. The apparatus according to any of claims 12-16, wherein the hosted application message service platform, in particular for hosting an application message service
And sending the push message, the hosted application identifier and the user information of the hosted application to the hosted service platform according to the permission information, so that the hosted service platform obtains the hosted application terminal identifier of the hosted application corresponding to the hosted application identifier and the user information of the hosted application based on the hosted application identifier, the user information of the hosted application and the hosted application terminal identifier of the user received from the hosted application, and sends the push message to the hosted application on a terminal indicated by the hosted application terminal identifier.
18. A push message processing apparatus, comprising:
the receiving unit is used for acquiring the authority information of the push message which is distributed by the hosted application management platform and can be sent to the hosted application;
a sending unit, configured to send the push message and the permission information to the hosted application management platform, so that the hosted application management platform sends the push message to the hosted application through a hosted service platform of a hosted application on which the hosted application runs according to the permission information, so that the hosted application outputs the push message to a user of the hosted application.
19. The apparatus of claim 18, wherein the receiving unit is specifically configured to
Receiving permission information of push messages which are sent by the hosted application and can be sent to the hosted application by the hosted application developer service platform; wherein the authority information of the push message is allocated to the hosted application management platform.
20. The apparatus according to claim 18 or 19, wherein the transmitting unit is specifically configured to
And sending the push message and the authority information to the hosted application management platform so that the hosted application management platform determines the hosted application used by the user and the hosted application operated by the hosted application according to the authority information.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7 or 8-11.
22. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of claims 1-7 or 8-11.
CN202010760232.2A 2020-07-31 2020-07-31 Push message processing method and device, electronic equipment and readable storage medium Active CN112000880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010760232.2A CN112000880B (en) 2020-07-31 2020-07-31 Push message processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010760232.2A CN112000880B (en) 2020-07-31 2020-07-31 Push message processing method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112000880A true CN112000880A (en) 2020-11-27
CN112000880B CN112000880B (en) 2024-01-23

Family

ID=73462637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010760232.2A Active CN112000880B (en) 2020-07-31 2020-07-31 Push message processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112000880B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125047A (en) * 2021-11-10 2022-03-01 携程商旅信息服务(上海)有限公司 Message pushing method, system, equipment and storage medium based on third-party system
CN114363088A (en) * 2022-02-18 2022-04-15 京东科技信息技术有限公司 Method and device for requesting data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017167679A (en) * 2016-03-14 2017-09-21 富士通株式会社 Information provision device, information provision method and information provision program
CN108763881A (en) * 2018-05-18 2018-11-06 上海掌门科技有限公司 Method and apparatus for controlling user right
CN108846100A (en) * 2018-06-19 2018-11-20 上海掌门科技有限公司 The method and apparatus of fast search boarding application
CN109995877A (en) * 2019-04-12 2019-07-09 上海连尚网络科技有限公司 Information-pushing method and device
CN110083465A (en) * 2019-04-26 2019-08-02 上海连尚网络科技有限公司 A kind of data transferring method between applying of lodging
CN110969463A (en) * 2018-09-30 2020-04-07 上海掌门科技有限公司 Method and equipment for distributing and acquiring promotion information bits

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017167679A (en) * 2016-03-14 2017-09-21 富士通株式会社 Information provision device, information provision method and information provision program
CN108763881A (en) * 2018-05-18 2018-11-06 上海掌门科技有限公司 Method and apparatus for controlling user right
CN108846100A (en) * 2018-06-19 2018-11-20 上海掌门科技有限公司 The method and apparatus of fast search boarding application
CN110969463A (en) * 2018-09-30 2020-04-07 上海掌门科技有限公司 Method and equipment for distributing and acquiring promotion information bits
CN109995877A (en) * 2019-04-12 2019-07-09 上海连尚网络科技有限公司 Information-pushing method and device
CN110083465A (en) * 2019-04-26 2019-08-02 上海连尚网络科技有限公司 A kind of data transferring method between applying of lodging

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈志刚;周司徒;刘刚;: "使用Java实现高并发推送服务", 电力信息与通信技术, no. 11, pages 70 - 74 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125047A (en) * 2021-11-10 2022-03-01 携程商旅信息服务(上海)有限公司 Message pushing method, system, equipment and storage medium based on third-party system
CN114363088A (en) * 2022-02-18 2022-04-15 京东科技信息技术有限公司 Method and device for requesting data
CN114363088B (en) * 2022-02-18 2024-04-16 京东科技信息技术有限公司 Method and device for requesting data

Also Published As

Publication number Publication date
CN112000880B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN111930852B (en) Data processing method, device and equipment based on block chain and storage medium
US9961017B2 (en) Demand policy-based resource management and allocation system
CA2936074C (en) On-premises agent for mobile cloud service
US9628491B1 (en) Secure assertion attribute for a federated log in
KR20170063788A (en) Compartmentalizing application distribution for disparate electronic devices
CN110865855A (en) Applet processing method and related device
CN112583867B (en) Sharing method and device of intelligent household electrical appliance, electronic equipment and medium
US10394587B2 (en) Self-terminating or self-shelving virtual machines and workloads
WO2016022925A2 (en) Policy based resource management and allocation system
CN112000880B (en) Push message processing method and device, electronic equipment and readable storage medium
CN111767091A (en) Method and device for acquiring user information by applet, electronic equipment and storage medium
JP2023511113A (en) Techniques for deploying infrastructure resources using declarative provisioning tools
US10547612B2 (en) System to resolve multiple identity crisis in indentity-as-a-service application environment
CN112069490B (en) Method and device for providing applet capability, electronic equipment and storage medium
CN113132304B (en) Rights and interests service processing method and device, electronic equipment and storage medium
CN111770176B (en) Traffic scheduling method and device
CN110968856B (en) Login method, login device, electronic equipment and storage medium
CN112379951A (en) Service interface access method, device, electronic equipment and medium
CN112565225A (en) Method and device for data transmission, electronic equipment and readable storage medium
JP2023511111A (en) Techniques for Detecting Drift in Deployment Orchestrators
CN112487454A (en) Data management method, device, equipment and storage medium
US11303587B2 (en) Chatbot information processing
CN112069137A (en) Method and device for generating information, electronic equipment and computer readable storage medium
US20170076245A1 (en) Automatic profile generator and scorer
CN111858089A (en) Method and device for calling Ether house node

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