CN106911553B - Message reminding method and device - Google Patents

Message reminding method and device Download PDF

Info

Publication number
CN106911553B
CN106911553B CN201510975711.5A CN201510975711A CN106911553B CN 106911553 B CN106911553 B CN 106911553B CN 201510975711 A CN201510975711 A CN 201510975711A CN 106911553 B CN106911553 B CN 106911553B
Authority
CN
China
Prior art keywords
user
application platform
browser
message
access token
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510975711.5A
Other languages
Chinese (zh)
Other versions
CN106911553A (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.)
3600 Technology Group Co ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510975711.5A priority Critical patent/CN106911553B/en
Publication of CN106911553A publication Critical patent/CN106911553A/en
Application granted granted Critical
Publication of CN106911553B publication Critical patent/CN106911553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a message reminding method and device, comprising the following steps: when a user logs in a browser, acquiring an offline message of the user in an offline state on at least one application platform from the at least one application platform establishing a cooperative relationship with the browser according to a first user identifier used by the user to log in the browser; and respectively displaying the offline messages on a display interface of the browser so as to remind the user. Therefore, when the cooperation relationship is established between the browser and the application platform and a user logs in the browser, the browser can actively acquire the offline message of the user in the offline state on the application platform from the application platform establishing the cooperation relationship with the browser, and display the received offline message on the display interface of the browser, so that the acquisition requirement of the user on the application message is greatly met, and the user experience of the user on the application platform is further improved.

Description

Message reminding method and device
Technical Field
The invention relates to the technical field of internet, in particular to a message reminding method and device.
Background
With the rapid development of internet technology, various application platforms appear in the internet, such as: microblog platforms, wechat platforms, etc., through which people can implement various application services, such as: people can realize communication service through the microblog platform, and can realize instant messaging service through the WeChat platform. The application platforms bring great convenience to daily life of people.
Generally, a user needs to use a browser when accessing the internet, different login interfaces are deployed on the browser for each application platform, and after the user starts the browser, the user logs in different application platforms by using the login interfaces to acquire application messages on the application platforms. Specifically, first, a user opens a display interface of a browser; secondly, searching a login interface of the application platform needing to be logged in the browser through a search box; thirdly, inputting a user name and a password used for logging in the application platform in the searched login interface of the application platform; and finally, after the application platform passes the identity authentication of the user, the user logs in the application platform, and further the user can acquire the application message on the application platform in time.
However, with the increase of the number of application platforms, for different application platforms, a user needs to search the browser for login interfaces of different application platforms, and after the login operation is completed, application messages generated by the user on different application platforms can be acquired. In the operation process, a user not only needs to search a login interface of an application platform, but also needs to input a user name and a password of the user in different login interfaces to sequentially log in different application platforms, and once the user name and the password input by the user are wrong, the user login fails, and the required application message cannot be obtained in time. Therefore, the current acquisition mode of the application message is complicated, the requirements of the user cannot be met, and the user experience of the user on the application platform is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a message reminding method and device, which are used to solve the problem of poor user experience caused by a relatively complicated acquisition manner of an application message in the prior art.
The invention provides a message reminding method, which comprises the following steps:
when a user logs in a browser, acquiring an offline message of the user in an offline state on at least one application platform from the at least one application platform establishing a cooperative relationship with the browser according to a first user identifier used by the user to log in the browser;
and respectively displaying the offline messages on a display interface of the browser so as to remind the user.
The invention also provides a message reminding method, which comprises the following steps:
receiving an information acquisition message sent by a browser establishing a cooperative relationship with an application platform, wherein the information acquisition message comprises an access token corresponding to the application platform, and the information acquisition message is used for requesting to acquire an offline message of a user in an offline state on the application platform;
and determining an offline message of the user in an offline state on the application platform according to the access token, and sending the offline message to the browser so as to be convenient for the browser to display the offline message.
The invention provides a message reminding device, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an offline message of a user when the user is in an offline state on at least one application platform in a cooperative relationship with a browser according to a first user identifier used by the user for logging in the browser when the user is determined to log in the browser;
and the display unit is used for respectively displaying the offline messages on a display interface of the browser so as to remind the user.
The invention also provides a message reminding device, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving information acquisition information sent by a browser establishing a cooperative relationship with an application platform, the information acquisition information comprises an access token corresponding to the application platform, and the information acquisition information is used for requesting to acquire an offline message of a user in an offline state on the application platform;
and the processing unit is used for determining the offline message of the user in the offline state on the application platform according to the access token and sending the offline message to the browser so as to facilitate the browser to display the offline message.
The invention has the following beneficial effects:
according to the scheme provided by the embodiment of the invention, when a user logs in a browser, according to a first user identifier used by the user for logging in the browser, an offline message of the user in an offline state on at least one application platform is acquired from the at least one application platform establishing a cooperative relationship with the browser; and respectively displaying the offline messages on a display interface of the browser so as to remind the user. Therefore, when the cooperation relationship is established between the browser and the application platform and a user logs in the browser, the browser can actively acquire the offline message of the user in the offline state on the application platform from the application platform establishing the cooperation relationship with the browser and display the received offline message on the display interface of the browser, the user does not need to log in the application platform, namely, the user can acquire the application message generated on the application platform in real time by logging in the browser, the existing acquisition mode of the application message is improved, the acquisition requirement of the user on the application message is greatly met, and the user experience of the user on the application platform is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a message reminding method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a message reminder according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a message reminding method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a message reminding method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message reminding apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a message reminding apparatus according to an embodiment of the present invention.
Detailed Description
In order to solve the problem that the process of viewing a new application message by a user is complicated, a mode exists: configuring application plug-ins on an application platform which a user currently logs in, pre-establishing a cooperation relationship between the application platforms corresponding to different application plug-ins and a browser which the user currently logs in, and regularly acquiring new application messages of the user on the application platform corresponding to the application plug-ins through the application plug-ins after the user logs in the current browser. However, the extensibility of each application plug-in this way is poor, that is, each application plug-in can only correspond to one application platform, and cannot be extended. With the increase of the number of application platforms, in this way, the browser needs to deploy a large number of application plug-ins, which results in a large consumption of system resources of the browser.
In order to achieve the purpose of the present invention, an embodiment of the present invention provides a message reminding method and device, where when it is determined that a user logs in a browser, an offline message of the user in an offline state on at least one application platform is obtained from the at least one application platform that establishes a cooperative relationship with the browser according to a first user identifier used by the user to log in the browser; and respectively displaying the offline messages on a display interface of the browser so as to remind the user. Therefore, when the cooperation relationship is established between the browser and the application platform and a user logs in the browser, the browser can actively acquire the offline message of the user in the offline state on the application platform from the application platform establishing the cooperation relationship with the browser and display the received offline message on the display interface of the browser, the user does not need to log in the application platform, namely, the user can acquire the application message generated on the application platform in real time by logging in the browser, the existing acquisition mode of the application message is improved, the acquisition requirement of the user on the application message is greatly met, and the user experience of the user on the application platform is further improved.
The technical scheme provided by the embodiment of the invention not only can effectively solve the problem of complicated application message acquisition mode, but also can realize the reminding of the application messages of a plurality of application platforms without a plurality of application plug-ins, and solves the problem of relatively large system resource consumption caused by the deployment of a large number of application plug-ins by the existing application platforms.
Various embodiments of the present invention will be described in further detail with reference to the drawings attached hereto, and it should be understood that the described embodiments are only some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a message reminding method according to an embodiment of the present invention, and the method is described as follows. The execution subject of the embodiment of the present invention may be a browser.
Step 101: when a user logs in a browser, according to a first user identifier used by the user to log in the browser, acquiring an offline message of the user in an offline state on at least one application platform from the at least one application platform establishing a cooperative relationship with the browser.
In step 101, the browser obtains an offline message of a user in an offline state on the at least one application platform that establishes a cooperative relationship with the browser.
It should be noted that, in the embodiment provided by the present invention, the browser may be a fox search browser or a dog search browser, which is not limited specifically. The number of the application platforms may be one or more, and is not particularly limited, and the application platforms may be microblog platforms or WeChat platforms, and is not particularly limited herein.
In the embodiment provided by the present invention, the method for determining that the user logs in the browser may include the following two methods:
the first method comprises the following steps: the method comprises the steps that a user logs in the browser through a login interface of the browser provided by the browser, and after the browser receives a first user identification used for user login and a user password corresponding to the first user identification, the user is allowed to log in the browser, and the user is determined to log in the browser.
The second method comprises the following steps: when a user logs in the browser last time, the browser saves a first user identification used by the user for logging in the browser and a user password corresponding to the first user identification, and records equipment information used by the user for logging in the browser at the same time, so that when the user enters the display interface of the browser again, the browser judges the equipment information currently used by the user, and when the equipment information currently used by the user is determined to be consistent with the equipment information recorded by the browser last time when the user logs in the browser, the user is allowed to log in the browser under the condition that the first user identification and the user password corresponding to the first user identification are not required to be input, and the user is determined to log in the browser. The device information here may be a device used by the user, or may be an IP address of the device used by the user, and is not particularly limited.
The offline message of the user in the offline state on the at least one application platform includes, but is not limited to, the following, which is specifically described below by taking one application platform as an example:
the first method comprises the following steps: the user logs in the application platform on the used device, but the display interface of the device used by the user is not the display interface of the application platform, and at this time, the offline message acquired by the browser may be a new application message provided by the application platform for the user within a time period from when the device used by the user leaves the display interface of the application platform to the current time.
And the second method comprises the following steps: the user does not log in the application platform on the used device, and at this time, the offline message may be a new application message provided by the application platform for the user in a time period from the last time the user logs out of the application platform to the current time.
It should be noted that the offline message may be provided by any application platform for the user and the user fails to see the application message, which is not specifically limited in the embodiment provided in the present invention.
It should be noted that the browser needs to establish a cooperative relationship with the at least one application platform in advance, so that the browser can acquire, according to the first user identifier, an offline message of a user in an offline state on the at least one application platform from the at least one application platform with which the browser establishes the cooperative relationship.
Specifically, the offline message of the user in the offline state on the at least one application platform may be obtained by:
the first step is as follows: and searching at least one access token corresponding to the first user identifier from an access token library of the browser according to the corresponding relation between the first user identifier and the access token.
Wherein each of the access tokens is used to determine an application platform that establishes a collaborative relationship with the browser.
After it is determined that the user logs in the browser, the first user identifier may be determined, where the first user identifier may be determined according to the first user identifier pre-stored in the browser, or may be determined according to the first user identifier used by the user to log in the browser through a login interface provided by the browser, which is not specifically limited herein.
After the first user identifier is determined, the access token corresponding to the first user identifier may be searched in an access token library of the browser according to a corresponding relationship between the first user identifier and the access token.
It should be noted that, the access token library of the browser stores the correspondence between the first user identifier and the access token in advance, so that after the first user identifier is determined, the access token corresponding to the first user identifier may be searched in the access token library of the browser according to the correspondence between the first user identifier and the access token.
Optionally, the correspondence between the first user identifier and the access token may be stored in an access token pool of the browser by:
when determining that a user logs in an application platform through a login interface of the application platform provided by a browser and establishing a cooperative relationship with the user for the first time, receiving an access token sent by the application platform, wherein the access token is generated and sent by the application platform according to a second user identifier used for logging in;
and establishing a corresponding relation among the first user identification, the access token and the identification of the application platform, and storing the corresponding relation into the access token library.
It should be noted that the number of the application platforms that establish a cooperative relationship with the browser is at least one, and a specific description will be given by taking one of the application platforms as an example.
After the cooperation relationship is established between the browser and the application platform, the browser can load a login interface for logging in the application platform on a display interface of the browser, so that the user is prompted to input a second user identifier used for logging in the application platform and a user password corresponding to the second user identifier.
When a user logs in the application platform through a login interface provided by a browser for the first time, the application platform receives a second user identifier used by the user for logging in the application platform, and generates an access token corresponding to the application platform according to the second user identifier.
After the application platform generates the access token, the access token is sent to the browser, the browser receives the access token sent by the application platform, after the access token is received, the corresponding relation among the first user identification, the access token and the identification of the application platform is established, and the corresponding relation is stored in an access token library of the browser, so that the browser can search the access token corresponding to the first user identification in the access token library of the browser according to the first user identification, and search the application platform corresponding to the access token according to the access token.
For at least one application platform establishing a cooperative relationship with the browser, the browser establishes a corresponding relationship between the first user identifier and at least one application platform and an access token corresponding to the at least one application platform, so that the browser can search for at least one access token corresponding to the first user identifier in an access token library of the first application platform according to the first user identifier.
The second step is that: and respectively sending information acquisition information to the application platform corresponding to each found access token.
Each information acquisition message comprises an access token corresponding to an application platform receiving the information acquisition message, and the information acquisition message is used for requesting to acquire an offline message of the user in an offline state on the application platform.
After finding the at least one access token corresponding to the first user identifier, the browser may find each application platform corresponding to each access token in an access token library of the browser according to the at least one found access token, and after finding each application platform, send an information acquisition message to each application platform to request to acquire an offline message of the user in an offline state on each application platform.
The third step: and receiving an offline message sent by each application platform when the user is in an offline state on the application platform.
Wherein the offline message contains an identification of the application platform.
After the information acquisition message is sent to each application platform, for one application platform, the application platform sends the offline message of the user in the offline state on the application platform to the browser according to the received information acquisition message, and the browser receives the offline message sent by the application platform.
For each application platform, the browser may receive an offline message sent by each application platform when the user is in an offline state on each application platform.
Step 102: and respectively displaying the offline messages on a display interface of the browser so as to remind the user.
In step 102, the browser respectively displays the received offline messages of the user in an offline state on at least one application platform which establishes a cooperative relationship with the browser on a display interface of the browser.
Optionally, before the browser determines that the user logs in the browser, the method further includes:
creating a label for each application platform establishing a cooperative relationship with a browser, wherein the label is used for displaying offline messages of the user in an offline state on the application platform.
That is to say, when the browser establishes a cooperative relationship with at least one application platform, the browser creates a tag for each application platform, so as to correspondingly display an offline message of a user in an offline state on each application platform on each tag, where the tag is located on a display interface of the browser.
Specifically, for the offline message sent by each application platform, the offline message may be respectively displayed on a display interface of the browser in the following manner:
firstly, according to the identifier of the application platform contained in the received offline message, a tag corresponding to the identifier of the application platform is determined.
It should be noted that, when the browser creates a tag for the application platform, the browser may establish a corresponding relationship between the identifier of the application platform and the tag, and store the corresponding relationship in the browser, so that after receiving an offline message that includes the identifier of the application platform and is sent by the application platform, the browser may determine the tag corresponding to the application platform according to the identifier of the application platform.
And secondly, generating prompt information aiming at the offline message according to the offline message, and displaying the prompt information on the determined label.
After receiving the offline message, the browser may generate a prompt message according to the offline message, and display the prompt message on the tag.
It should be noted that the prompt message may be the number of the offline message, or may be a link corresponding to the offline message, and is not particularly limited.
When the offline message is displayed, the number of the offline message may be displayed, and a link corresponding to the offline message may also be displayed, without specific limitation.
For example, when the number of the offline messages is displayed on the tag, assuming that the application platform is a microblog platform, the number of new microblogs when the user is in an offline state on the microblog platform, or the number of new comments when the user is in an offline state on the microblog platform, or the sum of the number of the new microblogs and the number of the new comments when the user is in an offline state on the microblog platform may be displayed on the tag corresponding to the microblog platform, which is not specifically limited.
For another example, when the tag displays the link corresponding to the offline message, assuming that the application platform is a microblog platform, the tag corresponding to the microblog platform may display a link corresponding to a new microblog when the user is in an offline state on the microblog platform, or display a link corresponding to a new comment when the user is in an offline state on the microblog platform, or simultaneously display a link corresponding to a new microblog when the user is in an offline state on the microblog platform and a link corresponding to a new comment, without specific limitations.
Fig. 2 is a schematic diagram of a message reminder according to an embodiment of the present invention.
Fig. 2 shows a display interface of a browser, where tags corresponding to two application platforms that establish a cooperative relationship with the browser are displayed on the display interface of the browser, where the tag corresponding to one application platform is a tag 21, and the tag corresponding to the other application platform is a tag 22.
Assuming that the application platform corresponding to the tag 21 is a mailbox and the application platform corresponding to the tag 22 is a microblog platform, as shown in fig. 2, a small circle at the upper right corner of the tag 21 may display the number of offline messages of the user in an offline state on the mailbox, where the number of offline messages may include the number of normal mails of the user in the offline state on the mailbox or the number of subscribed mails of the user in the offline state on the mailbox.
When the browser receives the offline message sent by the mailbox, the browser can flash the small circle at the upper right corner of the tag 21 so as to remind the user.
As shown in fig. 2, a small circle at the top right corner of the label 22 may also display the number of offline messages of the user when the user is offline on the microblog platform, where the number of offline messages may include the number of friend messages of the user when the user is offline on the microblog platform, and may also include the number of microblog system messages of the user when the user is offline on the microblog platform. When pointing to the tag 22 by using a mouse or a gesture operation, the tag 22 may further display a link corresponding to the friend message and a link of the microblog system message.
According to the scheme provided by the embodiment of the invention, when a user logs in a browser, according to a first user identifier used by the user for logging in the browser, an offline message of the user in an offline state on at least one application platform is acquired from the at least one application platform establishing a cooperative relationship with the browser; and respectively displaying the offline messages on a display interface of the browser so as to remind the user. Therefore, when the cooperation relationship is established between the browser and the application platform and a user logs in the browser, the browser can actively acquire the offline message of the user in the offline state on the application platform from the application platform establishing the cooperation relationship with the browser and display the received offline message on the display interface of the browser, the user does not need to log in the application platform, namely, the user can acquire the application message generated on the application platform in real time by logging in the browser, the existing acquisition mode of the application message is improved, the acquisition requirement of the user on the application message is greatly met, and the user experience of the user on the application platform is further improved.
Fig. 3 is a schematic flow chart of a message reminding method according to an embodiment of the present invention, and the method is described as follows. The execution subject of the embodiment of the present invention may be an application platform.
Step 301: and receiving an information acquisition message sent by a browser establishing a cooperative relationship with the application platform.
The information acquisition message comprises an access token corresponding to the application platform, and the information acquisition message is used for requesting to acquire an offline message of a user in an offline state on the application platform.
In step 301, an application platform receives an information acquisition message sent by a browser that establishes a cooperative relationship with the application platform.
Optionally, before receiving the information acquisition message sent by the browser, the method further includes:
when the user is determined to log in the application platform through the login interface of the application platform provided by the browser for the first time, determining a second user identifier used by the user for logging in the application platform;
and generating the access token according to the second user identification, and sending the access token to the browser.
After the user logs in the application platform through a login interface provided by the browser and used for logging in the application platform for the first time, the application platform generates an access token corresponding to the application platform according to a received second application identifier used for logging in the user, and sends the access token to the browser, wherein a specific process of generating the access token by the application platform and a specific process of sending the access token to the browser are specifically described in the first embodiment provided by the invention, and are not described repeatedly here.
Optionally, the method further comprises:
after the access token is generated, establishing a corresponding relation between the second user identification and the access token, and storing the corresponding relation into an access token library of the application platform.
After the application platform generates the access token, storing the corresponding relationship between the second user identifier and the access token in an access token library of the application platform, so that when the application platform receives the message acquisition information sent by the browser, the second user identifier can be determined according to the access token contained in the message acquisition information.
Step 302: and determining an offline message of the user in an offline state on the application platform according to the access token, and sending the offline message to the browser so as to be convenient for the browser to display the offline message.
In step 302, the application platform determines an offline message of the user in an offline state on the application platform according to the access token, and sends the offline message to the browser.
Specifically, according to the access token, searching a second user identifier, corresponding to the access token, used by the user for logging in the application platform in an access token library of the application platform;
and determining an offline message of the user in an offline state on an application platform according to the second user identifier, wherein the offline message comprises the identifier of the application platform.
It should be noted that, in the above-mentioned step 301, the access token base of the application platform stores a corresponding relationship between the access token and a second user identifier used by the user to log in the application platform, so that after the application platform receives the access token, the application platform may search for the second user identifier corresponding to the access token in the access token base of the application platform according to the corresponding relationship between the access token and the second user identifier.
After the second user identifier is found, an offline message of the user in an offline state on the application platform may be determined according to the second user identifier, and the determined offline message is sent to the browser, so that the browser displays the offline message.
It should be noted that the offline message includes an identifier of the application platform, so that when the browser receives the offline message, a tag for displaying the offline message may be determined according to the identifier of the application platform included in the offline message.
The following specifically describes a specific implementation process of the message alert method provided by the present invention by taking one of the application platforms establishing a cooperative relationship with the browser as an example.
Fig. 4 is a schematic flow chart of a message reminding method according to an embodiment of the present invention, and the method is described as follows.
Step 401: when the browser determines that a user logs in the browser, one access token corresponding to a first user identifier is searched in an access token library of the browser according to the corresponding relation between the first user identifier used when the user logs in the browser and the access token.
Wherein the access token is used for determining an application platform establishing a cooperative relationship with the browser.
The first user identifier, the access token and the corresponding relationship between at least one application platform establishing a cooperative relationship with the browser are stored in advance in the access token library of the browser, so that the browser can search one access token corresponding to the first user identifier in the access token library of the browser according to the first user identifier, and after the access token is searched, the application platform corresponding to the access token can be determined.
Step 402: and the browser sends an information acquisition message to the application platform corresponding to the found access token.
The information acquisition message includes the access token, and the information acquisition message is used for requesting to acquire the offline message of the user in the offline state on the application platform corresponding to the access token.
Step 403: and the application platform receives the information acquisition message sent by the browser, and determines the offline message of the user in the offline state on the application platform according to the access token contained in the information acquisition message.
Wherein, the offline message sent by the application platform contains the identifier of the application platform.
After receiving the access token, the application platform may search, in an access token library of the application platform, a second user identifier used when the user corresponding to the access token logs in the application platform, and determine, according to the second user identifier, an offline message when the user is in an offline state on the application platform.
Step 404: and the application platform sends the determined offline message to the browser.
Step 405: and the browser receives the offline message sent by the application platform and displays the offline message on a display interface of the browser so as to remind the user.
And the browser determines a label corresponding to the application platform according to the identifier of the application platform contained in the received offline message, and displays the received offline message sent by the application platform on the label.
Fig. 5 is a schematic structural diagram of a message reminding apparatus according to an embodiment of the present invention. The message reminding device comprises: an acquisition unit 51, a display unit 52, a reception unit 53, a storage unit 54, and a creation unit 55, wherein:
an obtaining unit 51, configured to, when it is determined that a user logs in a browser, obtain, according to a first user identifier used by the user to log in the browser, an offline message of the user in an offline state on at least one application platform from the at least one application platform that establishes a cooperative relationship with the browser;
the display unit 52 is configured to display the offline messages on a display interface of the browser, so as to remind the user.
The obtaining unit 51 obtains an offline message of the user in an offline state on at least one application platform from the at least one application platform that establishes a cooperative relationship with the browser according to a first user identifier used by the user to log in the browser, including:
according to the corresponding relation between the first user identification and the access token, at least one access token corresponding to the first user identification is searched from an access token library of the browser, wherein each access token is used for determining an application platform establishing a cooperative relation with the browser;
respectively sending information acquisition messages to the application platforms corresponding to the found access tokens, wherein each information acquisition message comprises an access token corresponding to the application platform receiving the information acquisition message, and the information acquisition messages are used for requesting to acquire the offline messages of the user in an offline state on the application platforms;
and receiving an offline message sent by each application platform when the user is in an offline state on the application platform, wherein the offline message contains the identifier of the application platform.
Optionally, the message reminding apparatus further includes a receiving unit 53 and a storage unit 54, wherein:
the receiving unit 53 is configured to, before determining that the user logs in the browser, receive the access token sent by the application platform when determining that the user logs in the application platform through a login interface of the application platform provided by the browser and establishing a cooperative relationship with the user for the first time, where the access token is generated and sent by the application platform according to a second user identifier used for logging in;
the storage unit 54 is configured to establish a corresponding relationship between the first user identifier, the access token, and the identifier of the application platform, and store the corresponding relationship in the access token library.
Optionally, the message reminding apparatus further includes a creating unit 55, wherein:
the creating unit 55 is configured to, before the obtaining unit 51 determines that the user logs in the browser, create a tag for each application platform that establishes a cooperative relationship with the browser, where the tag is used to display an offline message when the user is in an offline state on the application platform;
the display unit 52 displays the offline messages on the display interfaces of the browsers respectively, and includes:
for the offline message sent by each application platform, respectively executing the following operations:
determining a label corresponding to the identifier of the application platform according to the identifier of the application platform contained in the received offline message;
and generating prompt information aiming at the offline message according to the offline message, and displaying the prompt information on the determined label.
It should be noted that the message reminding device provided in the embodiment of the present invention may be implemented in a hardware manner, or may be implemented in a software manner, which is not limited herein.
Fig. 6 is a schematic structural diagram of a message reminding apparatus according to an embodiment of the present invention. The message reminding device comprises: a receiving unit 61, a processing unit 62, a determining unit 63, a transmitting unit 64 and a storing unit 65, wherein:
a receiving unit 61, configured to receive an information acquisition message sent by a browser that establishes a cooperative relationship with an application platform, where the information acquisition message includes an access token corresponding to the application platform, and the information acquisition message is used to request to acquire an offline message of a user when the user is in an offline state on the application platform;
and the processing unit 62 is configured to determine, according to the access token, an offline message of the user in an offline state on the application platform, and send the offline message to the browser, so that the browser displays the offline message.
Optionally, before the receiving unit 61 receives the information acquisition message sent by the browser, the message reminding apparatus further includes a determining unit 63 and a sending unit 64, where:
the determining unit 63 is configured to determine, when it is determined that the user logs in the application platform through the login interface of the application platform provided by the browser for the first time, a second user identifier used by the user to log in the application platform;
the sending unit 64 is configured to generate the access token according to the second user identifier, and send the access token to the browser.
Optionally, the message alert device further comprises a storage unit 65, wherein:
the storage unit 65 is configured to establish a corresponding relationship between the second user identifier and the access token after the access token is generated, and store the corresponding relationship in an access token library of the application platform.
The processing unit 62 determines, according to the access token, an offline message of the user in an offline state on the application platform, including:
searching a second user identifier, corresponding to the access token, used by the user for logging in the application platform in an access token library of the application platform according to the access token;
and determining an offline message of the user in an offline state on an application platform according to the second user identifier, wherein the offline message comprises the identifier of the application platform.
It should be noted that the message reminding device provided in the embodiment of the present invention may be implemented in a hardware manner, or may be implemented in a software manner, which is not limited herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A message reminding method is characterized by comprising the following steps:
when a user logs in a browser, acquiring an offline message of the user in an offline state on at least one application platform from the at least one application platform establishing a cooperative relationship with the browser according to a first user identifier used by the user to log in the browser; according to the corresponding relation between the first user identification and the access token, at least one access token corresponding to the first user identification is searched from an access token library of the browser, wherein each access token is used for determining an application platform establishing a cooperative relation with the browser; respectively sending information acquisition messages to the application platforms corresponding to the found access tokens, wherein each information acquisition message comprises an access token corresponding to the application platform receiving the information acquisition message, and the information acquisition messages are used for requesting to acquire the offline messages of the user in an offline state on the application platforms; receiving an offline message sent by each application platform when the user is in an offline state on the application platform, wherein the offline message contains an identifier of the application platform;
and respectively displaying the offline messages on a display interface of the browser so as to remind the user.
2. The message alert method as in claim 1, wherein prior to determining that the user is logged into the browser, the method further comprises:
when determining that a user logs in an application platform through a login interface of the application platform provided by a browser and establishing a cooperative relationship with the user for the first time, receiving an access token sent by the application platform, wherein the access token is generated and sent by the application platform according to a second user identifier used for logging in;
and establishing a corresponding relation among the first user identification, the access token and the identification of the application platform, and storing the corresponding relation into the access token library.
3. A message alert method as claimed in claim 1 or 2, wherein prior to determining that the user is logged into the browser, the method further comprises:
creating a label for each application platform establishing a cooperative relationship with a browser, wherein the label is used for displaying an offline message of the user in an offline state on the application platform;
respectively displaying the offline messages on a display interface of the browser, wherein the displaying comprises:
for the offline message sent by each application platform, respectively executing the following operations:
determining a label corresponding to the identifier of the application platform according to the identifier of the application platform contained in the received offline message;
and generating prompt information aiming at the offline message according to the offline message, and displaying the prompt information on the determined label.
4. A message reminding method is characterized by comprising the following steps:
receiving an information acquisition message sent by a browser establishing a cooperative relationship with an application platform, wherein the information acquisition message comprises an access token corresponding to the application platform, and the information acquisition message is used for requesting to acquire an offline message of a user in an offline state on the application platform; the method comprises the steps that a browser searches at least one access token corresponding to a first user identifier from an access token library of the browser according to the corresponding relation between the first user identifier and the access token used by a user for logging in the browser, wherein each access token is used for determining an application platform establishing a cooperative relation with the browser; respectively sending information acquisition messages to the application platforms corresponding to the found access tokens;
and determining an offline message of the user in an offline state on the application platform according to the access token, and sending the offline message to the browser so as to be convenient for the browser to display the offline message.
5. The message alert method as claimed in claim 4, wherein before receiving the information acquisition message sent by the browser, the method further comprises:
when the user is determined to log in the application platform through the login interface of the application platform provided by the browser for the first time, determining a second user identifier used by the user for logging in the application platform;
and generating the access token according to the second user identification, and sending the access token to the browser.
6. The message alert method as in claim 5, wherein the method further comprises:
after the access token is generated, establishing a corresponding relation between the second user identification and the access token, and storing the corresponding relation into an access token library of the application platform.
7. The message alert method as recited in claim 6, wherein determining an offline message of the user while offline on the application platform based on the access token comprises:
searching a second user identifier, corresponding to the access token, used by the user for logging in the application platform in an access token library of the application platform according to the access token;
and determining an offline message of the user in an offline state on an application platform according to the second user identifier, wherein the offline message comprises the identifier of the application platform.
8. A message alert device, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an offline message of a user when the user is in an offline state on at least one application platform in a cooperative relationship with a browser according to a first user identifier used by the user for logging in the browser when the user is determined to log in the browser; the acquisition unit is further configured to: according to the corresponding relation between the first user identification and the access token, at least one access token corresponding to the first user identification is searched from an access token library of the browser, wherein each access token is used for determining an application platform establishing a cooperative relation with the browser; respectively sending information acquisition messages to the application platforms corresponding to the found access tokens, wherein each information acquisition message comprises an access token corresponding to the application platform receiving the information acquisition message, and the information acquisition messages are used for requesting to acquire the offline messages of the user in an offline state on the application platforms; receiving an offline message sent by each application platform when the user is in an offline state on the application platform, wherein the offline message contains an identifier of the application platform;
and the display unit is used for respectively displaying the offline messages on a display interface of the browser so as to remind the user.
9. The message reminder device of claim 8, further comprising a receiving unit and a storage unit, wherein:
the receiving unit is used for receiving the access token sent by the application platform when the user logs in the application platform through a login interface, provided by the browser, of the application platform establishing a cooperative relationship with the user for the first time before the user logs in the browser is determined, wherein the access token is generated and sent by the application platform according to a second user identifier used for logging in;
the storage unit is configured to establish a correspondence between the first user identifier, the access token, and the identifier of the application platform, and store the correspondence in the access token library.
10. The message alert device as in claim 8 or 9, wherein the message alert device further comprises a creating unit, wherein:
the creating unit is used for creating a label for each application platform establishing a cooperative relationship with the browser before determining that the user logs in the browser, wherein the label is used for displaying an offline message of the user in an offline state on the application platform;
the display unit respectively displays the offline messages on a display interface of the browser, and the display unit comprises:
for the offline message sent by each application platform, respectively executing the following operations:
determining a label corresponding to the identifier of the application platform according to the identifier of the application platform contained in the received offline message;
and generating prompt information aiming at the offline message according to the offline message, and displaying the prompt information on the determined label.
11. A message alert device, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving information acquisition information sent by a browser establishing a cooperative relationship with an application platform, the information acquisition information comprises an access token corresponding to the application platform, and the information acquisition information is used for requesting to acquire an offline message of a user in an offline state on the application platform; the method comprises the steps that a browser searches at least one access token corresponding to a first user identifier from an access token library of the browser according to the corresponding relation between the first user identifier and the access token used by a user for logging in the browser, wherein each access token is used for determining an application platform establishing a cooperative relation with the browser; respectively sending information acquisition messages to the application platforms corresponding to the found access tokens;
and the processing unit is used for determining the offline message of the user in the offline state on the application platform according to the access token and sending the offline message to the browser so as to facilitate the browser to display the offline message.
12. The message alert device as claimed in claim 11, wherein the receiving unit further includes a determining unit and a transmitting unit before receiving the information acquisition message transmitted by the browser, wherein:
the determining unit is configured to determine a second user identifier used by the user to log in the application platform when it is determined that the user logs in the application platform through a login interface of the application platform provided by the browser for the first time;
and the sending unit is used for generating the access token according to the second user identifier and sending the access token to the browser.
13. The message reminder device of claim 12, further comprising a storage unit, wherein:
and the storage unit is used for establishing a corresponding relation between the second user identifier and the access token after the access token is generated, and storing the corresponding relation into an access token library of the application platform.
14. The message alert device as in claim 13, wherein the processing unit determines an offline message of the user while in an offline state on the application platform based on the access token, comprising:
searching a second user identifier, corresponding to the access token, used by the user for logging in the application platform in an access token library of the application platform according to the access token;
and determining an offline message of the user in an offline state on an application platform according to the second user identifier, wherein the offline message comprises the identifier of the application platform.
CN201510975711.5A 2015-12-22 2015-12-22 Message reminding method and device Active CN106911553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510975711.5A CN106911553B (en) 2015-12-22 2015-12-22 Message reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510975711.5A CN106911553B (en) 2015-12-22 2015-12-22 Message reminding method and device

Publications (2)

Publication Number Publication Date
CN106911553A CN106911553A (en) 2017-06-30
CN106911553B true CN106911553B (en) 2020-02-18

Family

ID=59200876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510975711.5A Active CN106911553B (en) 2015-12-22 2015-12-22 Message reminding method and device

Country Status (1)

Country Link
CN (1) CN106911553B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986081B (en) * 2021-10-28 2024-04-19 维沃移动通信有限公司 Reminding task creation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023907A (en) * 2012-12-21 2013-04-03 北京奇虎科技有限公司 Method, equipment and system for acquiring website information
CN103023974A (en) * 2012-11-16 2013-04-03 北京奇虎科技有限公司 Website message notifying method and device
CN103095802A (en) * 2012-12-07 2013-05-08 网际傲游(北京)科技有限公司 Method and device for managing multiple accounts with Internet explorer
CN104135502A (en) * 2013-07-09 2014-11-05 腾讯科技(深圳)有限公司 Method of implementing application notification as well as associated equipment and system
CN104601639A (en) * 2014-03-13 2015-05-06 腾讯科技(深圳)有限公司 Webpage application message push method, client, server and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2844724A1 (en) * 2014-03-04 2015-09-04 Guest Tek Interactive Entertainment Ltd. Leveraging push notification capabilities of mobile app to send event-triggered invitations to upgrade service offered by hospitality establishment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023974A (en) * 2012-11-16 2013-04-03 北京奇虎科技有限公司 Website message notifying method and device
CN103095802A (en) * 2012-12-07 2013-05-08 网际傲游(北京)科技有限公司 Method and device for managing multiple accounts with Internet explorer
CN103023907A (en) * 2012-12-21 2013-04-03 北京奇虎科技有限公司 Method, equipment and system for acquiring website information
CN104135502A (en) * 2013-07-09 2014-11-05 腾讯科技(深圳)有限公司 Method of implementing application notification as well as associated equipment and system
CN104601639A (en) * 2014-03-13 2015-05-06 腾讯科技(深圳)有限公司 Webpage application message push method, client, server and system

Also Published As

Publication number Publication date
CN106911553A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US10454856B2 (en) Instant message processing method, apparatus, and system
US20180043264A1 (en) Game Accessing Method and Processing Method, Server, Terminal, and System
WO2016082718A1 (en) Information access processing method and device
CN103259795B (en) Perform registration logs in automatically method, mobile terminal and server
JP2020047290A (en) Method and device for information interaction and association between human biological feature data and account
CN105574398B (en) A kind of verification code verification method and device
CN109561272A (en) The display methods and device of conferencing information
CN104793870A (en) Data sharing method and device
CN104090899A (en) Method and device for feeding back display content information
US20140310778A1 (en) Method and system for third-party service platform login
CN104811461B (en) Data push method and device
CN104376022B (en) Data processing method and device
CN106911634B (en) Login method and device
CN112134779B (en) Network information processing method, device, system, client and readable storage medium
JP2018500670A (en) Handling unstructured messages
CN103490984B (en) A kind of method and apparatus obtaining user profile
CN106911553B (en) Message reminding method and device
US10616371B2 (en) Information terminal, access system, information processing method, and program
CN105490913B (en) Instant message processing method and device
CN113271610A (en) Network distribution method and device for door lock equipment, door lock equipment and storage medium
CN106390458B (en) Webpage game on-hook method, server, mobile terminal and browser client
CN105512208B (en) Information publishing method, device and system
WO2014169498A1 (en) Method and system for third-party service platform login
CN114390452B (en) Message sending method and related equipment
CN107203915B (en) Data storage method and device

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
TR01 Transfer of patent right

Effective date of registration: 20220830

Address after: No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science and Technology Park, High-tech Zone, Binhai New District, Tianjin 300000

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right