CN108989187A - Mail instant alerts system and method - Google Patents

Mail instant alerts system and method Download PDF

Info

Publication number
CN108989187A
CN108989187A CN201810852894.5A CN201810852894A CN108989187A CN 108989187 A CN108989187 A CN 108989187A CN 201810852894 A CN201810852894 A CN 201810852894A CN 108989187 A CN108989187 A CN 108989187A
Authority
CN
China
Prior art keywords
client
server
mail
push
user
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.)
Pending
Application number
CN201810852894.5A
Other languages
Chinese (zh)
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201810852894.5A priority Critical patent/CN108989187A/en
Publication of CN108989187A publication Critical patent/CN108989187A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Abstract

The invention discloses a kind of mail instant alerts system and methods, the system comprises: it is deployed in the mail server and proxy server of Intranet, and the push server of public network, mail server receive source client transmission when delivery email, proxy server will be sent to delivery email;Proxy server extracts PUSH message and target user's information to delivery email, according to the corresponding target device token of target user's information searching, and PUSH message and target device token is sent to push server;Push server searches destination client mark corresponding with target device token, is identified according to destination client PUSH message pushing to destination client.PUSH message pushed into destination client immediately due to the mail pushed by proxy server agent client receipt mail server, and by push server, can instant alerts user obtain mail, it is convenient and efficient, improve user experience.

Description

Mail instant alerts system and method
Technical field
The present invention relates to the communications field more particularly to a kind of mail instant alerts system and methods.
Background technique
Exchange (Exchange Server) is a set of E-mail service component of Microsoft, be message with Cooperative system, Exchange mail server have the function of instant delivery email.
However, on the mobile terminal device, most of Mail Clients are not available Exchange mail instant alerts function Can, such as QQ mailbox client, Netease's mailbox client.Even if there is individual client to support Exchange instant alerts, such as Outlook, it can only be used in public network, once Exchange is deployed under intranet environment, outlook can not also be received i.e. When mail reminder, because of the crash mail prompting function of outlook, need exchange server connection public network Push Service Device.And in most enterprises working environment, for safety, most of mailbox servers are must to be deployed in intranet environment.
Therefore, under intranet environment, currently without a general scheme, most of Mail Clients be can solve in movement The problem of crash mail is reminded on terminal device.
Summary of the invention
The main purpose of the present invention is to provide a kind of mail instant alerts system and methods, it is intended to solve in the prior art Mail Clients can not receive the technical issues of Exchange crash mail is reminded.
To achieve the above object, the present invention provides a kind of mail instant alerts system, the system comprises: it is deployed in Intranet Mail server and proxy server and public network push server;
The mail server, for receive source client transmission when delivery email, by the postal to be pushed Part is sent to the proxy server;
The proxy server, for from described to extract PUSH message and target user's information in delivery email, according to The corresponding target device token of target user's information searching, and the PUSH message and the target device token are sent To the push server;
The push server, for searching destination client mark corresponding with the target device token, according to institute It states destination client mark and the PUSH message is pushed into destination client.
Preferably, the push server is also used to receive device identification and client identification that each client is sent, root According to the device identification and the client identification generating device token, the device token is returned to corresponding client, and Establish the first corresponding relationship of device token and device identification, client identification;
Correspondingly, the push server is also used to search in first corresponding relationship and target device order Board corresponding target device mark and destination client mark, and the PUSH message is pushed into target device mark and described Destination client identifies the destination client in corresponding target terminal equipment.
The client is also used to obtain user information, and the user information and the device token is sent to institute State proxy server;
The proxy server is also used to receive user information and device token that the client is sent, establishes user Second corresponding relationship of information and device token;
Correspondingly, the proxy server is also used to search in second corresponding relationship and believe with the target user Corresponding target device token is ceased, and the PUSH message and the target device token are sent to the push server.
Preferably, the mail instant alerts system further include:
Package server injects default for obtaining default client installation kit in the default client installation kit Function code generates destination client installation kit;
Terminal device installs the destination client installation kit for obtaining the destination client installation kit, To obtain the client.
Preferably, the mail server is also used to after receiving the subscription request that the proxy server is sent, mentions The user information subscribed in request is taken, and the user information is saved into user message table;
Correspondingly, the mail server, be also used to receive the transmission of source client when delivery email, from described To in delivery email extract target user's information, target user's information is matched with the user message table, The proxy server is sent to delivery email by described when with success.
Further, to achieve the above object, the present invention also provides a kind of mail instant alerts methods, instant based on mail System for prompting, the system comprises: it is deployed in the mail server of Intranet and the Push Service of proxy server and public network Device, the mail instant alerts method the following steps are included:
The mail server receive the transmission of source client when delivery email, described will be sent to delivery email To the proxy server;
The proxy server from described to extract PUSH message and target user's information in delivery email, according to the mesh It marks user information and searches corresponding target device token, and the PUSH message and the target device token be sent to described Push server;
The push server searches destination client mark corresponding with the target device token, according to the target The PUSH message is pushed to destination client by client identification.
Preferably, the mail server receive source client transmission when delivery email, by described wait push Mail is sent to before the proxy server, the mail instant alerts method further include:
The push server receives the client identification and device identification that each client is sent, according to the client mark Know with the device identification generating device token, return to the device token to corresponding client, and establish device token with Device identification, client identification the first corresponding relationship;
Correspondingly, the push server searches destination client mark corresponding with the target device token, according to The PUSH message is pushed to destination client by the destination client mark, is specifically included:
The push server searches target device mark corresponding with the target device token in the first corresponding relationship Know and destination client identifies, and the PUSH message is pushed into target device mark and destination client mark correspondence Target terminal equipment on destination client.
Preferably, it is described establish device token and device identification, client identification the first corresponding relationship after, the postal Part instant alerts method further include:
The client obtains user information, and the user information and the device token are sent to the agency and taken Business device;
The proxy server receives the user information and device token that the client is sent, and establishes user information and sets Second corresponding relationship of standby token;
Correspondingly, described according to the corresponding target device token of target user's information searching, and the push is disappeared Breath and the target device token are sent to the push server, specifically include:
The proxy server is searched target corresponding with target user's information in second corresponding relationship and is set Standby token, and the PUSH message and the target device token are sent to the push server.
Preferably, the mail server receive source client transmission when delivery email, by described wait push Mail is sent to before the proxy server, the mail instant alerts method further include:
Package server obtains default client installation kit, and preset function generation is injected in the default client installation kit Code generates destination client installation kit;
Terminal device obtains the destination client installation kit, installs to the destination client installation kit, to obtain Obtain the client.
Preferably, the proxy server receives the user information and device token that the client is sent, and establishes user After second corresponding relationship of information and device token, the method also includes:
The mail server extracts the subscription request after receiving the subscription request that the proxy server is sent In user information, and the user information is saved into user message table;
Correspondingly, the mail server receive source client transmission when delivery email, by described wait push Mail is sent to the proxy server, specifically includes:
The mail server receive source client transmission when delivery email, from described to be mentioned in delivery email Target user's information is taken, target user's information is matched with the user message table, it will be described in successful match The proxy server is sent to delivery email.
Mail instant alerts system provided by the invention, the system comprises: it is deployed in mail server and the generation of Intranet Manage server, and be deployed in the push server of public network, the mail server receive the transmission of source client wait push away When sending mail, the proxy server is sent to delivery email by described;The proxy server is from described to delivery email Middle extraction PUSH message and target user's information, according to the corresponding target device token of target user's information searching, and will The PUSH message and the target device token are sent to push server;The push server is searched to be enabled with target device The corresponding destination client mark of board, identifies according to destination client PUSH message pushing to destination client.Pass through agency The mail of server agent client receipt mail server push, and pushed to PUSH message immediately by push server Destination client, can instant alerts user obtain mail, it is convenient and efficient, improve user experience.
Detailed description of the invention
Fig. 1 is the structural block diagram of mail instant alerts system first embodiment of the present invention;
Fig. 2 is the structural block diagram of mail instant alerts system 3rd embodiment of the present invention;
Fig. 3 is the flow diagram of mail instant alerts method first embodiment of the present invention;
Fig. 4 is the flow diagram of mail instant alerts method second embodiment of the present invention;
Fig. 5 is the flow diagram of mail instant alerts method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the structural block diagram of mail instant alerts system first embodiment of the present invention.The mail is instant System for prompting includes: the push server 30 of the mail server 10 and proxy server 20 and public network that are deployed in Intranet;
It should be noted that the mail server 10 refers to management mail, and mail transmission/reception service is provided for user Control centre, the mail server 10 is passed through in the mail contact between each client, for the peace of certified mail contact The mail server 10 is deployed in Intranet by Quan Xing.The instant delivery email function of Exchange needs client to keep Long connection leads to most of clients since the operating system of terminal device does not support the client of running background using long connection The instant delivery email function without Exchange is held, when mail server receives the mail of source client transmission, nothing Mail is directly sent to corresponding destination client by method.Thus the present embodiment affixes one's name to proxy server 20 in the middle part of Intranet, described Proxy server 20 is run in the system for supporting the instant push function of mail, such as Windows system, the proxy server 20 connection Intranets mail server 10, be capable of agent client receipt mail server 10 send mail, client into Mail is sent to client when entering inbox.In order to make user get the mail immediately, by the push server 30 of public network to Client sends message and is reminded, and the push server 30 can keep long connection status, such as apple to push away with terminal device Send notice (Apple Push Notification service, APNs) server therefore will use institute in the present embodiment It states push server 30 and sends message to client, to remind user to receive mail.
It in the present embodiment, is source client to the transmitting terminal of delivery email, receiving end is destination client, the source visitor Family end and the destination client can select to be deployed in Intranet or public network as needed, when the source client deployment is in interior When in net, since the mail server is deployed in Intranet, the source client can be counted directly with the mail server According to interaction;When the source client deployment is in public network, Virtual Private Network (Virtual is can be used in the source client Private Network, VPN) and mail server progress data interaction;And the destination client is either deployed in Intranet is still deployed in public network, as long as it may be coupled to public network, the destination client can receive the push The mail instant alerts message that server is sent.
The mail server 10, for receive source client transmission when delivery email, by described wait push Mail is sent to the proxy server 20;
It should be noted that the mail server 10 receive that the source client sends after delivery email, will It is described to be forwarded to proxy server 20 to delivery email.
In the concrete realization, it when source customer end A is intended to delivery email to destination client B, will send to delivery email extremely The mail server 10, and mail distribution is carried out by the mail server 10.
The proxy server 20 is used for from described to extract PUSH message and target user's information, root in delivery email It is sent out according to the corresponding target device token of target user's information searching, and by the PUSH message and the target device token It send to push server 30;
It is understood that in order to accurately push to destination client to delivery email and PUSH message, described A set of lookup scheme will be set between mail server 10, proxy server 20 and push server 30, and proxy server 20 is logical It crosses user information and searches device token, push server 30 searches client identification by device token, to accurately determine Destination client.
It should be noted that target user's information refers to target user (i.e. mail recipient) on the client Associated login information, including the information such as user name and login password, device token (Device Token) are that can be used for uniquely knowing The mark of client on other terminal device and this terminal device, the target device token are that can be used for unique identification target The mark of destination client on terminal device and this target terminal equipment.
In the concrete realization, proxy server 20 receives when delivery email, in order to accurate to delivery email by described in Ground pushes to destination client, will be existed from described to extract target user's information in delivery email according to target user's information Corresponding target device token is searched in corresponding relationship, meanwhile, from described to extract PUSH message, the push in delivery email Message includes: the information such as mail matter topics and sender, and the PUSH message and the target device token are sent to push clothes Business device 30, so that the PUSH message is pushed to destination client by the push server 30.
The push server 30, for searching destination client mark corresponding with the target device token, according to The PUSH message is pushed to destination client by the destination client mark.
It is understood that the local corresponding relationship for preserving device token and client identification of push server 30, It, will be according to the corresponding target of the target device token lookup described in receiving when delivery email and the target device token Client identification, and according to the destination client mark by the PUSH message push to the destination client mark it is corresponding Destination client reminds user to receive mail immediately to realize.
In the present embodiment, the destination client, for receive user input check instruction, check finger according to described It enables obtaining from the proxy server 20 and described be shown to delivery email, and to described to delivery email.
In the concrete realization, when user receives the PUSH message, the PUSH message is clicked into the target Client, clicks inbox, the destination client received in real time from proxy server 20 it is described to delivery email, to it is described to Delivery email is shown, for user's reading.
Mail instant alerts system provided in this embodiment, the system comprises: it is deployed in the mail server 10 of Intranet With proxy server 20, and it is deployed in the push server 30 of public network, the mail server 10 is receiving source client Send when delivery email, be sent to the proxy server 20 to delivery email for described;The proxy server 20 from It is described to extract PUSH message and target user's information in delivery email, according to the corresponding target of target user's information searching Device token, and the PUSH message and the target device token are sent to push server 30;The push server 30 search destination client mark corresponding with the target device token, are identified according to the destination client by the push Message pushes to destination client.Since proxy server 20 has the instant push function of mail, push server 30 and client End keeps long connection, the mail pushed by 20 agent client receipt mail server 10 of proxy server, and passes through push PUSH message is pushed to destination client by server 30 immediately, can instant alerts user obtain mail, it is convenient and efficient, improve User experience.
Further, it is based on above-mentioned mail instant alerts system first embodiment, proposes mail instant alerts of the present invention system The second embodiment of system.
The push server 30 is also used to receive device identification and client identification that each client is sent, according to institute Device identification and the client identification generating device token are stated, returns to the device token to corresponding client, and establish First corresponding relationship of device token and device identification, client identification;
It should be noted that push server 30 will pre-establish before searching client identification according to device token The corresponding relationship of device token and client identification.Client sends the client identification of the client and installs the client Terminal device device identification to push server 30, push server 30 is generated according to the device identification and client identification Device token, and establish the first corresponding relationship of device token and device identification, client identification.
Correspondingly, the push server 30 is also used to search and the target device in first corresponding relationship The corresponding target device mark of token and destination client mark, and the PUSH message is pushed into target device mark and institute It states destination client and identifies destination client in corresponding target terminal equipment.
It is understood that push server 30 when receiving target device token, can be looked into the first corresponding relationship Look for corresponding with target device token target device to identify and destination client mark, according to target device mark with It is whole to be pushed to the target by the destination client on destination client identifier lookup to target terminal equipment for the PUSH message Destination client in end equipment.
Further, the client, is also used to obtain user information, and by the user information and the device token It is sent to the proxy server 20;
The proxy server 20 is also used to receive user information and device token that the client is sent, establishes and uses Second corresponding relationship of family information and device token;
It should be noted that proxy server 20 will pre-establish use before searching device token according to user information The corresponding relationship of family information and device token.In order to establish the corresponding relationship of user information and device token, proxy server 20 It will acquire the corresponding user information of same client and device token, client obtains user information with from push server 30 Device token be sent to proxy server 20.When the user information first logs into client by user, client obtains automatically Take the user information.
Correspondingly, the proxy server 20 is also used to search and the target user in second corresponding relationship The corresponding target device token of information, and the PUSH message and the target device token are sent to the push server 30。
It is understood that proxy server 20 when receiving target user's information, can be looked into the second corresponding relationship Target device token corresponding with target user's information is looked for, and the target device token is sent to push server 30, So that PUSH message is pushed to destination client by the push server 30.
Further, the mail instant alerts system further include:
Package server injects default for obtaining default client installation kit in the default client installation kit Function code generates destination client installation kit;
Terminal device installs the destination client installation kit for obtaining the destination client installation kit, To obtain the client.
It should be noted that existing client does not have Exchange crash mail push function, can be taken by encapsulation Business device injects preset function code in default client installation kit and realizes Exchange crash mail push function.It is described default Client installation kit is existing client installation kit, and the preset function code is for realizing mail instant alerts system The program code of source client and destination client function in system, when the terminal device of user is installed according to the destination client After packet installation client, the client of acquisition can be used as the source client or the destination client, can make described There is client Exchange crash mail push function can connect proxy server, agency service after client terminal start-up Device can know the corresponding device token of the client, push server can be allowed to know, message is pushed to corresponding visitor Family end.
In the concrete realization, push server obtains the default client installation kit in several ways, such as: it receives The default client installation kit that user uploads, or default client installation kit is downloaded in default website.Obtain the default visitor After the installation kit of family end, push server injects preset function code in the default client installation kit, generates target visitor Family end installation kit, and the destination client installation kit is uploaded, wherein the preset function code pushes away for crash mail Function code is sent, so that terminal device receives the destination client installation kit of the upload, the destination client is installed Packet is installed, to obtain the client with crash mail push function.
In the present embodiment, by establishing the second corresponding relationship of user information and device token, device token and client The first corresponding relationship for holding mark, receives when delivery email in proxy server 20, is arrived according to target user's information searching Target device token, and then destination client is found, it can conveniently and efficiently find unique destination client, accuracy Height, and preset function code is injected in default client installation kit by package server, generate destination client installation Packet, after terminal device installs client according to destination client installation kit, client will have Exchange crash mail Push function.
Further, referring to Fig. 2, mail instant alerts system of the present invention is proposed based on first embodiment and second embodiment 3rd embodiment be illustrated in the present embodiment based on first embodiment.
The mail server 10 is also used to after receiving the subscription request that the proxy server 20 is sent, extracts The user information subscribed in request, and the user information is saved into user message table;
It is understood that client before using mail push service, need to subscribe to mail to mail server 10 and push away Function is sent, in the present embodiment, client receives mail by proxy server 20, thus proxy server 20 is by proxy client It holds to send to mail server 10 and subscribes to request, the subscription request refers to that user passes through client and the use according to the user The request for the subscription mail push function that family information is initiated to mail server 10, so that mail server 10 can be to the user Mail pushed.The user information refers to the associated login information of user on the client, including user name with step on The information such as password are recorded, mail server 10 extracts user information from subscription request, the user information is saved to user and is believed It ceases in table, which refers to the list of storage user information, as the push foundation of mail server 10, only user The mail push of client ability receipt mail server 10 of the information in the user message table.
Correspondingly, the mail server 10, be also used to receive source client transmission when delivery email, from institute It states to extract target user's information in delivery email, target user's information is matched with the user message table, The proxy server 20 is sent to delivery email by described when successful match.
It should be noted that mail server 10 receive the transmission of source client when delivery email, will be from described To extract target user's information in delivery email, target user's information is verified, judges target user's information pair Whether the client answered has subscribed to mail push function.It is carried out especially by by target user's information and the user message table Matching, i.e., search target user's information in the user message table, when finding the mesh in the user message table When marking user information, assert that successful match, i.e., the corresponding client of described target user's information have subscribed to mail push function, it will It is described to be sent to the proxy server 20 to delivery email, so that the proxy server 20 should by push server 30 Destination client is pushed to delivery email.
In the present embodiment, mail server 10 mentions after receiving the subscription request that the proxy server 20 is sent The user information subscribed in request is taken, and the user information is saved into user message table.20 generation of proxy server It manages client and sends subscription request to mail server 10, so that mail server 10 can carry out the mail of the user Push.
Referring to Fig. 3, the present invention provides a kind of mail instant alerts method, is based on mail instant alerts system, the mail Instant alerts system includes being deployed in the push server of the mail server and proxy server and public network of Intranet, described Mail instant alerts method the following steps are included:
Step S10: the mail server receive source client transmission when delivery email, by described wait push Mail is sent to the proxy server.
It should be noted that the mail server 10 refers to management mail, and mail transmission/reception service is provided for user Control centre, the mail server 10 is passed through in the mail contact between each client, for the peace of certified mail contact The mail server 10 is deployed in Intranet by Quan Xing.The instant delivery email function of Exchange needs client to keep Long connection leads to most of clients since the operating system of terminal device does not support the client of running background using long connection The instant delivery email function without Exchange is held, when mail server receives the mail of source client transmission, nothing Mail is directly sent to corresponding destination client by method.Thus the present embodiment affixes one's name to proxy server 20 in the middle part of Intranet, described Proxy server 20 is run in the system for supporting the instant push function of mail, such as Windows system, the proxy server 20 connection Intranets mail server 10, be capable of agent client receipt mail server 10 send mail, client into Mail is sent to client when entering inbox.In order to make user get the mail immediately, by the push server 30 of public network to Client sends message and is reminded, and the push server 30 can keep long connection status, such as apple to push away with terminal device Send notice (Apple Push Notification service, APNs) server therefore will use institute in the present embodiment It states push server 30 and sends message to client, to remind user to receive mail.
It in the present embodiment, is source client to the transmitting terminal of delivery email, receiving end is destination client, the source visitor Family end and the destination client can select to be deployed in Intranet or public network as needed, when the source client deployment is in interior When in net, since the mail server is deployed in Intranet, the source client can be counted directly with the mail server According to interaction;When the source client deployment is in public network, Virtual Private Network (Virtual is can be used in the source client Private Network, VPN) and mail server progress data interaction;And the destination client is either deployed in Intranet is still deployed in public network, as long as it may be coupled to public network, the destination client can receive the push The mail instant alerts message that server is sent.
It should be noted that the mail server receive that the source client sends after delivery email, by institute It states and is forwarded to delivery email to proxy server.
In the concrete realization, it when source customer end A is intended to delivery email to destination client B, will send to delivery email extremely The mail server, and mail distribution is carried out by the mail server.
Step S20: the proxy server is from described to extract PUSH message and target user's information, root in delivery email It is sent out according to the corresponding target device token of target user's information searching, and by the PUSH message and the target device token It send to push server.
It is understood that in order to accurately push to destination client to delivery email and PUSH message, described A set of lookup scheme will be set between mail server, proxy server and push server, and proxy server is believed by user Breath searches device token, and push server searches client identification by device token, to accurately determine destination client.
It should be noted that target user's information refers to the associated login information of target user on the client, Including the information such as user name and login password, device token (Device Token) is that can be used for unique identification terminal device and this The mark of client on terminal device, the target device token are that can be used for unique identification target terminal equipment and this mesh Mark the mark of the destination client on terminal device.
In the concrete realization, proxy server receives when delivery email, in order to will it is described to delivery email accurately Destination client is pushed to, it will be from described to extract target user's information in delivery email, according to target user's information right It should be related to the corresponding target device token of middle lookup, meanwhile, from described to extract PUSH message in delivery email, the push disappears Breath includes: the information such as mail matter topics and sender, and the PUSH message and the target device token are sent to Push Service Device, so that the PUSH message is pushed to destination client by the push server.
Step S30: the push server searches destination client mark corresponding with the target device token, according to The PUSH message is pushed to destination client by the destination client mark.
It is understood that push server locally preserves the corresponding relationship of device token and client identification, connecing It, will be according to the corresponding target visitor of the target device token lookup described in receiving when delivery email and the target device token Family end mark, and the PUSH message is pushed to by the destination client according to destination client mark and identifies corresponding mesh Client is marked, reminds user to receive mail immediately to realize.
In the present embodiment, the destination client, for receive user input check instruction, check finger according to described It enables and being shown from proxy server acquisition is described to delivery email, and to described to delivery email.
In the concrete realization, when user receives the PUSH message, the PUSH message is clicked into the target Client clicks inbox, and the destination client is described to delivery email from proxy server reception in real time, to described wait push away Mail is sent to be shown, for user's reading.
Mail instant alerts method provided in this embodiment is based on mail instant alerts system, the system comprises: deployment In the mail server and proxy server of Intranet, and it is deployed in the push server of public network, the mail server is connecing Receive source client transmission when delivery email, be sent to the proxy server to delivery email for described;The agency Server from described to extract PUSH message and target user's information in delivery email, according to target user's information searching pair The target device token answered, and the PUSH message and the target device token are sent to push server;The push Server searches destination client mark corresponding with the target device token, will be described according to destination client mark PUSH message pushes to destination client.Since proxy server has the instant push function of mail, push server and client End keeps long connection, the mail pushed by proxy server agent client receipt mail server, and passes through Push Service Mail is pushed to destination client by device immediately, can instant alerts user obtain mail, it is convenient and efficient, improve user's body It tests.
It is the flow diagram of mail instant alerts method second embodiment of the present invention referring to Fig. 4, Fig. 4, is based on above-mentioned postal Part instant alerts method first embodiment proposes the second embodiment of mail instant alerts method of the present invention.
In the present embodiment, before the step S10, the mail instant alerts method further include:
Step S01: the push server receives the device identification and client identification that each client is sent, according to described Device identification and the client identification generating device token, establish device token and device identification, client identification first Corresponding relationship.
It should be noted that push server is set before searching client identification according to device token by pre-establishing The corresponding relationship of standby token and client identification.Client sends the client identification of the client and installs the client The device identification of terminal device to push server, push server is enabled according to the device identification and client identification generating device Board, and establish the first corresponding relationship of device token and device identification, client identification.
Correspondingly, the step S30, specifically includes:
Step S300: the push server searches mesh corresponding with the target device token in the first corresponding relationship Marking device mark and destination client mark, and the PUSH message is pushed into target device mark and the destination client Identify the destination client in corresponding target terminal equipment.
It is understood that push server when receiving target device token, can search in the first corresponding relationship Target device mark corresponding with the target device token and destination client mark, according to target device mark and mesh Mark client identification finds the destination client in target terminal equipment, pushes to the target end to delivery email for described Destination client in end equipment.
Further, after the step S01, the mail instant alerts method further include:
Step S02: the client obtains user information, and the user information and the device token are sent to institute State proxy server.
Step S03: the proxy server receives the user information and device token that the client is sent, and establishes user Second corresponding relationship of information and device token.
It should be noted that proxy server will pre-establish user before searching device token according to user information The corresponding relationship of information and device token.In order to establish the corresponding relationship of user information and device token, proxy server will be obtained Take the corresponding user information of same client and device token, equipment of the client by user information with obtaining from push server Token is sent to proxy server.When the user information first logs into client by user, client obtains the user automatically Information.
Correspondingly, the step S20, specifically includes:
Step S200: the proxy server is searched corresponding with target user's information in second corresponding relationship Target device token, and the PUSH message and the target device token are sent to the push server.
It is understood that proxy server when receiving target user's information, can be searched in the second corresponding relationship Target device token corresponding with target user's information, and the target device token is sent to push server, so that PUSH message is pushed to destination client by the push server.
Further, before the step S10, the mail instant alerts method further include:
Package server obtains default client installation kit, and preset function generation is injected in the default client installation kit Code generates destination client installation kit.
Terminal device obtains the destination client installation kit, installs to the destination client installation kit, to obtain Obtain the client.
It should be noted that existing client does not have Exchange crash mail push function, can be taken by encapsulation Business device injects preset function code in default client installation kit and realizes Exchange crash mail push function.It is described default Client installation kit is existing client installation kit, and the preset function code is for realizing mail instant alerts system The program code of source client and destination client function in system, when the terminal device of user is installed according to the destination client After packet installation client, the client of acquisition can be used as the source client or the destination client, can make described There is client Exchange crash mail push function can connect proxy server, agency service after client terminal start-up Device can know the corresponding device token of the client, push server can be allowed to know, message is pushed to corresponding visitor Family end.
In the concrete realization, push server obtains the default client installation kit in several ways, such as: it receives The default client installation kit that user uploads, or default client installation kit is downloaded in default website.Obtain the default visitor After the installation kit of family end, push server injects preset function code in the default client installation kit, generates target visitor Family end installation kit, and the destination client installation kit is uploaded, wherein the preset function code pushes away for crash mail Function code is sent, so that terminal device receives the destination client installation kit of the upload, the destination client is installed Packet is installed, to obtain the client with crash mail push function.
In the present embodiment, by establishing the second corresponding relationship of user information and device token, device token and client The first corresponding relationship for holding mark, receives when delivery email in proxy server, according to target user's information searching to mesh Marking device token, and then destination client is found, it can conveniently and efficiently find unique destination client, accuracy Height, and preset function code is injected in default client installation kit by package server, generate destination client installation Packet, after terminal device installs client according to destination client installation kit, client will have Exchange crash mail Push function.
It is the flow diagram of mail instant alerts method 3rd embodiment of the present invention referring to Fig. 5, Fig. 5, is based on above-mentioned postal Part instant alerts method first embodiment and second embodiment propose the 3rd embodiment of mail instant alerts method of the present invention, In the present embodiment, it is illustrated based on second embodiment.
In the present embodiment, after the step S03, the mail instant alerts method further include:
Step S04: the mail server is after receiving the subscription request that the proxy server is sent, described in extraction The user information in request is subscribed to, and the user information is saved into user message table.
It is understood that client before using mail push service, need to subscribe to mail push to mail server Function, in the present embodiment, client receive mail by proxy server, thus proxy server by agent client to postal Part server, which is sent, subscribes to request, subscriptions request refer to user pass through client and according to the user information of the user to The request for the subscription mail push function that mail server is initiated, so that mail server can push away the mail of the user It send.The user information refers to the associated login information of user on the client, including the information such as user name and login password, Mail server extracts user information from subscription request, and the user information is saved into user message table, user letter Breath table refers to the list of storage user information, and as the push foundation of mail server, only user information is in the user information The mail push of client ability receipt mail server in table.
Correspondingly, the step S10, specifically includes:
Step S100: the mail server receive source client transmission when delivery email, from described wait push away Send in mail extraction target user's information, target user's information matched with the user message table, match at The proxy server is sent to delivery email by described when function.
It should be noted that mail server receive source client transmission when delivery email, will from it is described to Target user's information is extracted in delivery email, target user's information is verified, and judges that target user's information is corresponding Client whether subscribed to mail push function.It is carried out especially by by target user's information and the user message table Match, i.e., search target user's information in the user message table, when finding the target in the user message table When user information, successful match is assert, i.e., the corresponding client of described target user's information has subscribed to mail push function, by institute It states and is sent to the proxy server to delivery email, so that the proxy server passes through push server for the postal to be pushed Part pushes to destination client.
In the present embodiment, mail server extracts institute after receiving the subscription request that the proxy server is sent The user information subscribed in request is stated, and the user information is saved into user message table.Proxy server proxy client It holds to send to mail server and subscribes to request, so that mail server can push the mail of the user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
The use of word first, second, and third does not indicate any sequence, these words can be construed to title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, the computer software product be stored in one it is computer-readable In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of mail instant alerts system, which is characterized in that the system comprises: it is deployed in mail server and the generation of Intranet Manage the push server of server and public network;
The mail server, for receive the transmission of source client when delivery email, described will be sent out to delivery email It send to the proxy server;
The proxy server is used for from described to extract PUSH message and target user's information in delivery email, according to described The corresponding target device token of target user's information searching, and the PUSH message and the target device token are sent to institute State push server;
The push server, for searching destination client mark corresponding with the target device token, according to the mesh It marks client identification and the PUSH message is pushed into destination client.
2. mail instant alerts system as described in claim 1, which is characterized in that the push server is also used to receive The device identification and client identification that each client is sent, enable according to the device identification and the client identification generating device Board returns to the device token to corresponding client, and establishes device token and device identification, first pair of client identification It should be related to;
Correspondingly, the push server is also used to search and the target device token pair in first corresponding relationship The target device mark and destination client mark answered, and the PUSH message is pushed into target device mark and the target Destination client in the corresponding target terminal equipment of client identification.
3. mail instant alerts system as claimed in claim 2, which is characterized in that the client is also used to obtain user Information, and the user information and the device token are sent to the proxy server;
The proxy server is also used to receive user information and device token that the client is sent, establishes user information With the second corresponding relationship of device token;
Correspondingly, the proxy server is also used to search and target user's information pair in second corresponding relationship The target device token answered, and the PUSH message and the target device token are sent to the push server.
4. mail instant alerts system as claimed in claim 3, which is characterized in that the mail instant alerts system is also wrapped It includes:
Package server injects preset function in the default client installation kit for obtaining default client installation kit Code generates destination client installation kit;
Terminal device is installed the destination client installation kit, for obtaining the destination client installation kit to obtain Obtain the client.
5. such as mail instant alerts system of any of claims 1-4, which is characterized in that the mail server, It is also used to after receiving the subscription request that the proxy server is sent, extracts the user information subscribed in request, and The user information is saved into user message table;
Correspondingly, the mail server, be also used to receive source client transmission when delivery email, from described wait push away Send in mail extraction target user's information, target user's information matched with the user message table, match at The proxy server is sent to delivery email by described when function.
6. a kind of mail instant alerts method, which is characterized in that it is based on the mail instant alerts system, the system comprises: It is deployed in the mail server of Intranet and the push server of proxy server and public network, the mail instant alerts method The following steps are included:
The mail server receive source client transmission when delivery email, be sent to institute to delivery email for described State proxy server;
The proxy server, to extract PUSH message and target user's information in delivery email, is used from described according to the target The corresponding target device token of family information searching, and the PUSH message and the target device token are sent to the push Server;
The push server searches destination client mark corresponding with the target device token, according to the target customer The PUSH message is pushed to destination client by end mark.
7. mail instant alerts method as claimed in claim 6, which is characterized in that the mail server is receiving source visitor Family end send when delivery email, by it is described be sent to the proxy server to delivery email before, the mail is instant Based reminding method further include:
The push server receives the device identification and client identification that each client is sent, according to the device identification and institute Client identification generating device token is stated, returns to the device token to corresponding client, and establish device token and equipment First corresponding relationship of mark, client identification;
Correspondingly, the push server searches destination client mark corresponding with the target device token, according to described The PUSH message is pushed to destination client by destination client mark, is specifically included:
The push server searches target device mark corresponding with the target device token in first corresponding relationship Know and destination client identifies, and the PUSH message is pushed into target device mark and destination client mark correspondence Target terminal equipment on destination client.
8. mail instant alerts method as claimed in claim 7, which is characterized in that described to establish device token and equipment mark Know, after the first corresponding relationship of client identification, the mail instant alerts method further include:
The client obtains user information, and the user information and the device token are sent to the agency service Device;
The proxy server receives the user information and device token that the client is sent, and establishes user information and equipment enables Second corresponding relationship of board;
Correspondingly, described according to the corresponding target device token of target user's information searching, and by the PUSH message and The target device token is sent to the push server, specifically includes:
The proxy server is searched target device corresponding with target user's information in second corresponding relationship and is enabled Board, and the PUSH message and the target device token are sent to the push server.
9. mail instant alerts method as claimed in claim 8, which is characterized in that the mail server is receiving source visitor Family end send when delivery email, by it is described be sent to the proxy server to delivery email before, the mail is instant Based reminding method further include:
Package server obtains default client installation kit, and preset function code is injected in the default client installation kit, Generate destination client installation kit;
Terminal device obtains the destination client installation kit, installs to the destination client installation kit, to obtain State client.
10. the mail instant alerts method as described in any one of claim 6-9, which is characterized in that the proxy server Receive user information and device token that the client is sent, establish user information and device token the second corresponding relationship it Afterwards, the mail instant alerts method further include:
The mail server extracts in the subscription request after receiving the subscription request that the proxy server is sent User information, and the user information is saved into user message table;
Correspondingly, the mail server receive the transmission of source client when delivery email, will be described to delivery email It is sent to the proxy server, is specifically included:
The mail server receive source client transmission when delivery email, from described to extract mesh in delivery email User information is marked, target user's information is matched with the user message table, in successful match by described wait push away Mail is sent to be sent to the proxy server.
CN201810852894.5A 2018-07-27 2018-07-27 Mail instant alerts system and method Pending CN108989187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810852894.5A CN108989187A (en) 2018-07-27 2018-07-27 Mail instant alerts system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810852894.5A CN108989187A (en) 2018-07-27 2018-07-27 Mail instant alerts system and method

Publications (1)

Publication Number Publication Date
CN108989187A true CN108989187A (en) 2018-12-11

Family

ID=64551996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810852894.5A Pending CN108989187A (en) 2018-07-27 2018-07-27 Mail instant alerts system and method

Country Status (1)

Country Link
CN (1) CN108989187A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743246A (en) * 2018-12-29 2019-05-10 天津字节跳动科技有限公司 The urgent based reminding method of message, device and electronic equipment
CN110620670A (en) * 2019-10-15 2019-12-27 深圳市小赢信息技术有限责任公司 Token acquisition method, data acquisition system, proxy server, and storage medium
CN111901227A (en) * 2020-07-31 2020-11-06 广东佳米科技有限公司 Simple and lightweight message real-time pushing system and implementation method thereof
CN114844995A (en) * 2022-04-07 2022-08-02 中国联合网络通信集团有限公司 Information processing method, server and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316423A (en) * 2010-07-06 2012-01-11 华为技术有限公司 Information pushing method, device and system
CN103259714A (en) * 2013-04-28 2013-08-21 深圳市深信服电子科技有限公司 Instant information notification method and device
US8843601B1 (en) * 2013-07-12 2014-09-23 Vonage Network, Llc Systems and methods for VOIP communication completion to a mobile device
CN104243271A (en) * 2013-06-09 2014-12-24 深圳中兴网信科技有限公司 Method and system for realizing off-line message pushing through XMPP
CN107026832A (en) * 2016-10-10 2017-08-08 阿里巴巴集团控股有限公司 Account logon method, equipment and server
CN107995095A (en) * 2017-11-09 2018-05-04 用友网络科技股份有限公司 Method based on prompting message under the do-not-disturb mode of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316423A (en) * 2010-07-06 2012-01-11 华为技术有限公司 Information pushing method, device and system
CN103259714A (en) * 2013-04-28 2013-08-21 深圳市深信服电子科技有限公司 Instant information notification method and device
CN104243271A (en) * 2013-06-09 2014-12-24 深圳中兴网信科技有限公司 Method and system for realizing off-line message pushing through XMPP
US8843601B1 (en) * 2013-07-12 2014-09-23 Vonage Network, Llc Systems and methods for VOIP communication completion to a mobile device
CN107026832A (en) * 2016-10-10 2017-08-08 阿里巴巴集团控股有限公司 Account logon method, equipment and server
CN107995095A (en) * 2017-11-09 2018-05-04 用友网络科技股份有限公司 Method based on prompting message under the do-not-disturb mode of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743246A (en) * 2018-12-29 2019-05-10 天津字节跳动科技有限公司 The urgent based reminding method of message, device and electronic equipment
WO2020135431A1 (en) * 2018-12-29 2020-07-02 天津字节跳动科技有限公司 Message urgent reminding method and apparatus, and electronic device
CN109743246B (en) * 2018-12-29 2021-07-20 天津字节跳动科技有限公司 Message emergency reminding method and device and electronic equipment
CN110620670A (en) * 2019-10-15 2019-12-27 深圳市小赢信息技术有限责任公司 Token acquisition method, data acquisition system, proxy server, and storage medium
CN111901227A (en) * 2020-07-31 2020-11-06 广东佳米科技有限公司 Simple and lightweight message real-time pushing system and implementation method thereof
CN114844995A (en) * 2022-04-07 2022-08-02 中国联合网络通信集团有限公司 Information processing method, server and terminal

Similar Documents

Publication Publication Date Title
CN108989187A (en) Mail instant alerts system and method
US9544409B2 (en) Automated caller identifier from contact lists of a user's contacts
CN102611636B (en) Method for sending and receiving information of binding instant messaging tools by mobile terminal instant messaging client of collective communication system
US8756317B2 (en) System and method for authenticating a user for accessing an email account using authentication token
US8255983B2 (en) Method and apparatus for email communication
US6779022B1 (en) Server that obtains information from multiple sources, filters using client identities, and dispatches to both hardwired and wireless clients
CN1767508B (en) File transmission method in instant messaging service and mobile communications terminal for supporting the same
US20150169202A1 (en) Declassifying of suspicious messages
CN104519107B (en) A kind of method and device for expanding contact person
US20080001717A1 (en) System and method for group management
EP1239392A3 (en) Electronic mail processing system and mail server
EP2297983A1 (en) System and method for facilitating the growth of a mobile community
CN102394839A (en) Downloading method of email attachment and email system
WO2001044953A1 (en) Method and system for confirming receipt of electronic mail transmitted via a communications network
CN103731334B (en) Message status methods of exhibiting and device
US8886234B2 (en) Techniques for unified messaging
CN102761843A (en) System and method for mobile terminal user to obtain mails and based on full-text search and WAPPUSH
CN106411694B (en) System and method for using XMPP that content is broadcast to recipient's device
JP2004172983A (en) Mail server, mobile communication terminal, and program
CN106921554B (en) Message transmission method and device
CN101087268A (en) System, method and device for realizing Email notification
JP2006345331A (en) E-mail system
EP2073502B1 (en) Providing communication services at a mobile terminal in dependence of a foreign recipient's contact data
CN109218162A (en) Mail distribution method and device
CN105516934B (en) Method and device for realizing community information reminding

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211