Embodiment
With reference to the accompanying drawings the disclosed mail proxy server of the application, mail launch system and mail push method and portable terminal are elaborated.For simplicity's sake, in the explanation of each embodiment of the application, identical or similar device has used same or analogous Reference numeral.
Fig. 1 has shown a kind of mail proxy server 100 according to the application, by mail proxy server 100, the user can customized mail push (PushEmail) business, set propelling movement (PUSH) district or the non-PUSH district of mail, when portable terminal is in the PUSH district, carry out mail push, and when portable terminal is in non-PUSH district, then do not carry out mail push.
As shown in Figure 1, mail proxy server 100 comprises configuration module 110, location management module 120, and mail treatment respond module 130.The user can be professional by configuration module 110 customized mail push, and definite PUSH district.Location management module 120 can be determined the current location of portable terminal and judge whether the current location of portable terminal is positioned at the PUSH district.When location management module 120 judged that the current location of described portable terminal is positioned at mail PUSH district, 130 indications of mail treatment respond module were to the portable terminal delivery email.
The user comprises by the process of configuration module 110 customized mail push business: the user binds terminal iidentification and the subscriber mailbox account of portable terminal.Wherein, customer mobile terminal sign is any sign that can unique definite portable terminal, for example can be subscriber phone number.
According to a kind of embodiment, can determine the PUSH district in order to make the user, configuration module 110 can be for the user provides inputting interface, and the user can input the bond-allocating parameter by inputting interface.The bond-allocating parameter can be the address information in PUSH district or non-PUSH district, for example, and the information such as street number code.
According to another kind of embodiment, can determine more intuitively the PUSH district in order to make the user, configuration module 110 can be connected with geographic information services (GIS) system (not shown in figure 1), for the user provides visualized graph interface.Thereby the user can directly select PUSH district or non-PUSH district by visualized graph interface.Wherein, generalized information system is the existing system that can obtain, put in order, analyze and manage geographical spatial data.Configuration module 110 can for example be connected with generalized information system by the XML application interface, and obtains map datum from generalized information system, such as urban geography map etc., thinks that the user provides visualized graph interface.Visualized graph interface can provide and Baidu's map or the similar urban geography map of Google Maps for the user.The user can directly select one or more geographic areas as PUSH district or the non-PUSH district of mail at the urban geography map.For example, the user can be by the urban geography map that presents in the visualized graph interface, selects the zone at its company place and family shelter region as the non-PUSH district of mail, and other zones then are the PUSH district.
Fig. 2 has shown a kind of mail push method according to the application.As shown in Figure 2, professional by the customized mail push of user in step 201, and definite mail PUSH district.Wherein, determine that the process in mail PUSH district can adopt aforesaid mode by input bond-allocating parameter, perhaps realize by the mode that provides visualized graph interface and in the interface, directly select.In step 202, judged whether that new mail arrives mailbox.When having new mail to arrive, then in step 203, determine the current location of portable terminal.In step 204, judge whether the current location of portable terminal is positioned at the mail push zone.If the current location of portable terminal is not positioned at the mail push zone, then do not carry out mail push business (step 205).Otherwise, if the current location of portable terminal is positioned at the mail push zone, then push new mail (step 206) to portable terminal.
In order to determine the current location information of portable terminal, can determine that the device of mobile terminal locations is connected with any according to the application's mail proxy server, and obtain the information relevant with the current location of portable terminal from this device.According to a kind of execution mode of the application, mail proxy server 100 can be connected with positioner, and obtains the current location information of portable terminal by the mode of inquiry positioner.According to the application's another kind of execution mode, mail proxy server 100 can obtain by the mode that indicating mobile terminal returns the cell ID (Cell-ID) of current residential quarter of living in the current location information of portable terminal.Respectively this dual mode is described in detail below with reference to concrete mail launch system.
Fig. 3 has shown a mail launch system 1000 according to the application.In mail launch system 1000, mail proxy server 100 can obtain by the mode of inquiry positioner 300 current location information of portable terminal.
As shown in Figure 3, mail launch system 1000 comprises mail proxy server 100, generalized information system 200, positioner 300, mail push server 400, portable terminal 500, and mailbox system 600.
Mail proxy server 100 comprises configuration module 110, location management module 120, and mail treatment respond module 130.
Configuration module 110 is connected with generalized information system 200, and obtains map datum from generalized information system 200, thereby provides visualized graph interface for the user.The user can be professional by configuration module 110 customized mail push, and select the PUSH district in visualized graph interface.Be appreciated that mail launch system 1000 also can comprise generalized information system 200, at this moment, configuration module 110 can as previously mentioned, for the user provides common inputting interface, can be determined the bond-allocating parameter in PUSH district by user's input.
When having new mail to arrive mailbox system 600, mailbox system 600 arrives circular mail acting server 100 new mails, and is obtained the current location information of portable terminal by inquiry positioner 300 by the location management module 120 of mail proxy server 100.Alternatively, mail proxy server 100 can determine whether that by the mode of active inquiry mailbox system 600 new mail arrives, and when having new mail to arrive, obtained the current location information of portable terminal by inquiry positioner 300 by the location management module 120 of mail proxy server 100.
According to present embodiment, location management module 120 comprises locating module 121 and judge module 122.Locating module 121 is connected with positioner 300.Locating module 121 can send Location Request to positioner 300, and obtains the current location of portable terminal from positioner 300.Judge module 122 judges whether the current location of portable terminal is positioned at the PUSH district that is set by configuration module 110 by the user.
Positioner 300 can be any device that can determine portable terminal 500 current locations, such as GPS positioner or Big Dipper positioner etc.As a kind of example, in the present embodiment, positioner 300 is location-based service (LBS) positioners 300 that location-based service (Location BasedServices) can be provided.LBS refers to the business relevant with customer location, is generally the business that the location adds map, for example navigation, emergency assistance services, the business that the property location tracking is relevant with other positions.LBS positioner 300 can comprise location-based service management platform (LBMP) 310 and positioning service platform (LSP) 320.The LBMP platform can provide the sector application access service, for example is responsible for professional authentication, mandate, charging, privacy of user protection.The LSP platform is connected with generalized information system, and can finish positioning function, billing function etc. usually.Being appreciated that the generalized information system that is connected with the LSP platform namely can share the generalized information system 200 in the mail launch system 1000, also can be independent generalized information system, can also be LBS positioner 300 self with a generalized information system.Wherein, be connected with generalized information system by the LSP platform and realize the concrete mode of positioning function, billing function, to similar in the prior art, be not described in detail at this.
Locating module 121 in the location management module 120 for example accesses LBMP 310 by the standard interface of China Mobile Communications Corporation (CMCC) definition.When having new mail to arrive mailbox system 600, mailbox system 600 circular mail acting servers 100 new mail arrival events.The locating module 121 of mail proxy server 100 sends the LBS Location Request to LBMP 310.
LBMP 310 does positioning authentication in response to the LBS Location Request that receives, and sends Location Request to LSP320.LSP 320 is back to LBMP 310 with this information after obtaining the current location information (for example, address information) of portable terminal.LBMP 310 sends to locating module 121 with the current location information of portable terminal.
Locating module 121 sends to judge module 122 with the current location information that receives.Judge module 122 judges whether the current location of portable terminal is positioned at the PUSH district that is set by configuration module 110 by the user, and judged result is sent to mail treatment respond module 130.If be positioned at non-PUSH district, then do not carry out the mail push business.Otherwise if be positioned at the PUSH district, 130 indications of then mail treatment respond module are to portable terminal 500 delivery emails, and comprising: mail treatment respond module 130 is obtained new mail from mailbox system 600, and indication mail push server 400 is carried out propelling movement.Subsequently, mail push server 400 is pushed to portable terminal 500 with the new mail in the subscriber mailbox.Concrete mail push process and prior art are similar, do not repeat them here.
Mail push by mail launch system 1000 executive basis the application, as mentioned above, only need to improve at existing PushEmail business platform, and need not user's terminal equipment is done any change, just can realize deciding the mail push business of carrying out according to customer location.
The below is with reference to Fig. 4, describes the mail proxy server 100 by one embodiment of the present invention in detail, in mail launch system 1000 for the detailed process of the execution mail push of customized PushEmail service-user.
Step 401: mail arrives mailbox system, mailbox system for example sends mail by http protocol to mail proxy server and reaches notice, so that user account and new mail unique identifier (UID) are sent to mail proxy server, wherein user account comprises customer mobile terminal sign and Malibox Account, and the customer mobile terminal sign can for example be subscriber phone number;
Step 402: mail proxy server sends to LBMP with customer mobile terminal sign and transmission service relevant information by the LBS Location Request;
Step 403:LBMP makes positioning authentication, i.e. order relations authentication and privacy authentication;
Step 404:LBMP sends Location Request to LSP;
Step 405:LSP implements the location, obtains the customer mobile terminal current location information;
Step 406:LSP returns to LBMP with the customer mobile terminal current location information;
Step 407:LBMP will return to mail proxy server from the customer mobile terminal current location information that LSP receives;
Step 408: after mail proxy server obtains the portable terminal current location information, whether judge portable terminal in the PUSH zone, if not, then finish mail push; If in the PUSH zone, then enter step 409;
Step 409: mail proxy server for example reads new mail by the POP3 agreement from mailbox system;
Step 410: mail proxy server sends to mail push server and pushes indication, and wherein, pushing indication for example can be mail notification message (EMN);
Step 411: carry out mail push to portable terminal by mail push server.
Be appreciated that, in step 411 in the performed mail push process, mail push server can be first to portable terminal delivery email notification message (EMN), after portable terminal is received EMN, can initiatively connect popular mail proxy server and mails.Above-mentioned mail push detailed process and prior art are similar, no longer describe in detail at this.
Fig. 5 has shown a mail launch system 2000 according to the mail proxy server 100 ' of the application's another kind of execution mode.
As shown in Figure 5, mail launch system 2000 comprises mail proxy server 100 ', generalized information system 200, mail push server 400, portable terminal 500, and mailbox system 600.In the present embodiment, mail proxy server 100 can obtain by portable terminal 500 cell ID (Cell-ID) of this terminal residential quarter of living in, to determine the portable terminal current location.
It will be understood by those skilled in the art that in mobile communication system when portable terminal entered a certain mobile communication cells, this portable terminal need to be registered at current mobile communication cells.For this reason, can in portable terminal 500, increase cell ID acquisition module 510 and cell ID sending module 520.Portable terminal 500 can obtain by cell ID acquisition module 510 cell ID (Cell-ID) of current mobile communication cells from mobile communication system (for example cell base station), be appreciated that, Cell-ID can indicate the current mobile communication cells of living in of portable terminal, that is the information that, comprises the current location that to determine portable terminal among the Cell-ID.Portable terminal 500 can send to mail proxy server 100 ' with the Cell-ID that obtains by cell ID sending module 520.Wherein, cell ID acquisition module 510 and cell ID sending module 520 can adopt hardware to realize, also can adopt the mode of PushEmail client terminal software updating to realize.
Like this, just can send Location Request to portable terminal by mail proxy server, portable terminal is in response to the Location Request that receives, can obtain current cell ID from the base station of current communication cell of living in by the cell ID acquisition module, and will be sent to mail proxy server by the cell ID that the cell ID acquisition module obtains by the cell ID sending module.Thereby mail proxy server can be determined according to cell ID the current location of portable terminal.
As shown in Figure 5, mail proxy server 100 ' comprises configuration module 110 '; Location management module 120 '; And mail treatment respond module 130 '.
In the present embodiment, configuration module 110 ' is connected with generalized information system 200, and obtains map datum from generalized information system 200, thereby provides visualized graph interface for the user.The user can be professional by configuration module the 110 ' customized mail push, and select the PUSH district in visualized graph interface.Be appreciated that mail launch system 2000 also can comprise generalized information system 200, at this moment, configuration module 110 ' can as previously mentioned, for the user provides common inputting interface, can be determined the bond-allocating parameter in PUSH district by user's input.
Location management module 120 ' comprises locating module 121 ', position determination module 123 and judge module 122 '.When having new mail to arrive mailbox system 600, mailbox system 600 circular mail acting servers 100 ' new mail arrival event.The locating module 121 ' of mail proxy server 100 ' sends Location Request to portable terminal 500.Portable terminal 500 obtains the Cell-ID of current area in response to the Location Request of receiving by cell ID acquisition module 510 from mobile communication system, and this Cell-ID is sent to the locating module 121 ' of mail proxy server 100 ' by cell ID sending module 520.Alternatively, portable terminal 500 need not to wait for and receives the Cell-ID that just obtains current area after the Location Request, but can be when entering a certain mobile communication cells and registering in this residential quarter, just obtain the Cell-ID of corresponding residential quarter by cell ID acquisition module 510, and with the Cell-ID storage of obtaining.Like this, after receiving the Location Request that locating module 121 ' sends, can will be stored in current area Cell-ID in the portable terminal 500 and directly send to by cell ID sending module 520 locating module 121 ' of mail proxy server 100 '.
The current C ell-ID that position determination module 123 receives according to locating module 121 ' determines the current location of portable terminal.For example, position determination module 123 can be calculated by current Cell-ID the longitude and latitude of portable terminal residential quarter of living in, and this latitude and longitude information is sent to judge module 122 '.Judge module 122 ' then judges according to this latitude and longitude information whether the current location of portable terminal is positioned at the PUSH district that is set by configuration module 110 ' by the user.According to an embodiment, after the user has determined the PUSH zone by visualized graphs circle, can store this PUSH regional address information, and calculate further and store the latitude and longitude information in this PUSH district.The longitude and latitude of this portable terminal residential quarter of living in that position determination module 123 is calculated and PUSH zone latitude and longitude information compare, and determine whether the current location of portable terminal is positioned at the PUSH district that is set by configuration module 110 ' by the user.
Alternatively, position determination module 123 can be connected with generalized information system, and obtains map datum from generalized information system 200, and the latitude and longitude information that calculates is converted to address information, and this address information is sent to judge module 122 '.Judge module 122 ' then judges according to the address information that receives whether the current location of portable terminal is positioned at the PUSH district that is set by configuration module 110 ' by the user.
Judge module 122 ' sends to mail treatment respond module 130 ' with judged result.If be positioned at non-PUSH district, then mail treatment respond module 130 ' is not carried out the mail push business.Otherwise if be positioned at the PUSH district, the 130 ' indication of then mail treatment respond module is to portable terminal 500 delivery emails, and comprising: mail treatment respond module 130 ' is obtained new mail from mailbox system 600, and indication mail push server 400 is carried out mail push.Subsequently, mail push server 400 is pushed to portable terminal 500 with the new mail in the subscriber mailbox.Concrete mail push process and prior art are similar, do not repeat them here.
Mail push by mail launch system 2000 executive basis the application, can be by user's acquisition for mobile terminal Cell-ID, thereby obtain the current positional information of user, like this, can't provide positioning service platform (for example LBS) or can't with situation that the positioning service platform is connected under just can realize determining whether carrying out the mail push business according to customer location.
The below describes mail proxy server 100 ' by one embodiment of the present invention in detail with reference to Fig. 6, in mail launch system 2000 for the detailed process of the execution mail push of customized PushEmail service-user.
Step 601: new mail arrives subscriber mailbox system 600, mailbox system for example sends mail by http protocol to mail proxy server 100 ' and reaches notice, so that user account and new mail UID (Unique ID) are sent to mail proxy server, wherein user account comprises customer mobile terminal sign and Malibox Account, and the customer mobile terminal sign can for example be subscriber phone number;
Step 602: mail proxy server 100 ' sends Location Request to user's portable terminal 500;
Step 603: portable terminal 500 receives Location Request, transfers the cell ID current of living in (Cell-ID) of storing in the portable terminal 500;
Step 604: portable terminal 500 returns the Cell-ID of current residential quarter of living in to mail proxy server 100 ';
Step 605: mail proxy server 100 ' calculates the longitude and latitude in the current zone of living in of portable terminal according to the Cell-ID of current residential quarter of living in;
Step 606-607: mail proxy server 100 ' converts the latitude and longitude information in the current zone of living in of portable terminal to address information by generalized information system 200;
Step 608: after mail proxy server obtains station address information, whether judge the user in the PUSH zone, if not, then finish mail push; If the user then enters step 609 in the PUSH zone;
Step 609: mail proxy server 100 ' reads new mail by for example POP3 agreement from mailbox system;
Step 610: mail proxy server 100 ' sends to mail push server 400 and pushes indication, and wherein, pushing indication for example can be mail notification message (EMN);
Step 611: carry out mail push to portable terminal 500 by mail push server 400.
Abovely be described with reference to the exemplary embodiment of accompanying drawing to the application.Those skilled in the art should understand that; above-mentioned embodiment only is the example of lifting for illustrative purposes; rather than be used for limiting; all in the application instruction and the claim protection range under do any modification, be equal to replacement etc., all should be included in the claimed scope of the application.