The method and device of authorized offspring's logon account, generation transmission and pickup receiving emails
Technical field
The present invention relates to Computer Applied Technology field, more particularly to authorized offspring logs in mailbox, generation sends and generation
Receive the method and device of mail.
Background technology
E-mail system is typically all made up of Mail Clients and mail server, and Mail Clients is referred to as postal
Part user agent(MUA, Mail User Agent), mail server is by mail transport agent(MTA, Mail Transfer
Agent)With mail delivery agency(MDA, Mail Delivery Agent)Composition.
E-mail system as shown in Figure 1, in outbox side side, when the Mail Clients of outbox side(That is, MUA1)Step on
The account server of record outbox side, and, after logining successfully, the new mail that sender writes is sent to the mail of outbox side by MUA1
Transmission agency(That is, MTA1), MTA1 passes through to check the domain name of address of the addressee, obtains the mail transport agent of recipient(That is,
MTA2)Address, MTA1 sets up TCP according to the address of MTA2 with MTA2 and is connected, and by network, new mail is transferred to MTA2,
In addition, this new mail also can be saved in the mail delivery agency of outbox side by MTA1(That is, MDA1)In, so that MUA1 passes through MTA1
The mail having sent is read from MDA1.In recipient side, after MTA2 receives new mail, this new mail is saved in receipts
The mail delivery agency of part side(That is, MDA2)In.When the Mail Clients of recipient logs in the account server of recipient, and,
After logining successfully, the Mail Clients of recipient(That is, MUA2)The mail of reception is read by MTA2 from MDA2.
In actual applications, due to email accounts both can as recipient, meanwhile, also can as outbox side, therefore,
One email accounts should have the Mail Clients of an outbox side, has the Mail Clients of a recipient again.Above institute
" Mail Clients of outbox side " and " Mail Clients of recipient " claiming, and " account server of outbox side " and " receipts
The account server of part side " is only the differentiation functionally carrying out, in fact, for email accounts, outbox side
Mail Clients and the Mail Clients of recipient can be same Mail Clients, and, the account service of outbox side
The mail server of device and recipient can also be same mail server.
It can be seen that, for email accounts, when it wants to send or receive mail, the mail visitor of this email accounts
Family end must first sign in on the corresponding account in account server.If because of a variety of causes, the mail visitor of this email accounts
Family end cannot sign in in the correspondence in account server, will be unable to process the mail under the account in time, to using this postal
The user of case account applies upper inconvenience to have carried.
Content of the invention
In order to solve above-mentioned technical problem, embodiments provide authorized offspring and log in mailbox, generation transmission and generation
Receive the method and device of mail, so that the Mail Clients of Mail Clients generation the second email accounts by the first email accounts
Process the mail under the second email accounts in time, be the facility being provided using the user of the second email accounts in application.
The embodiment of the invention discloses following technical scheme:
A kind of method that authorized offspring logs in email accounts, including:
The Mail Clients of Mail Clients generation second email accounts of account server mandate first email accounts logs in
To on the second email accounts, wherein, the first email accounts and the second email accounts belong to same account server;
Mail visitor when described first email accounts having signed in the first email accounts by the first email accounts information
When the request of family end logs in described second email accounts, described account server allows the Mail Clients of described first email accounts
Sign in on described second email accounts.
Preferably, the mail of Mail Clients generation second email accounts of described account server mandate first email accounts
Client signs in on the second email accounts, including:
Described account server receives the mandate login request message that the Mail Clients of the second email accounts sends, described
Authorize in login request message and carry the first email accounts information;
Described account server according to client push from described first email accounts information to described first email accounts
Authorize and log in mail, described mandate logs in mail and is used for pointing out the Mail Clients acceptance of described first email accounts or refusal to step on
Record authorizes;
Described account server receives and authorizes login response message;
When the described Mail Clients authorizing login response message to indicate described first email accounts accepts to authorize and logs in,
The Mail Clients of the first email accounts described in described account server record and the Mail Clients of described second email accounts
Between have login mandate relation;
Then described account server allows the Mail Clients of described first email accounts to sign in described second mailbox account
It is specially on family:
Described account server inquiry record, and the Mail Clients according to described first email accounts inquiring and institute
State login mandate relation between the Mail Clients of the second email accounts it is allowed to the Mail Clients of described first email accounts
Sign in on described second email accounts.
It is further preferred that receive awarding of the Mail Clients transmission of described first email accounts in described account server
After power login response message, also include:
Described account server notifies the client of described second email accounts to log in and authorizes success or failure.
Preferably, also include:
The Mail Clients of Mail Clients generation first email accounts of account server mandate the 3rd email accounts logs in
To on the second email accounts, wherein, the first email accounts, the second email accounts and the 3rd email accounts belong to same account
Server;
Mail visitor when described 3rd email accounts having signed in the 3rd email accounts by the 3rd email accounts information
When the request of family end logs in described second email accounts, described account server allows the Mail Clients of described 3rd email accounts
Sign in on described second email accounts.
A kind of method that authorized offspring sends mail, including:
The Mail Clients of account server mandate first email accounts is stepped on behalf of the Mail Clients of the second email accounts
Record on the second email accounts, and send mail using the second email accounts, wherein, the first mail account and the second email accounts
Belong to same account server;
Mail visitor when described first email accounts having signed in the first email accounts by the first email accounts information
When the request of family end logs in described second email accounts, described account server allows the Mail Clients of described first email accounts
Sign in on described second email accounts;
When the Mail Clients request of described first email accounts signing in described second email accounts uses second
When email accounts send mail, described account server allows the Mail Clients of described first email accounts to use the second mailbox
Account sends mail.
Preferably, the Mail Clients of described account server mandate first email accounts is on behalf of the postal of the second email accounts
Part client signs in on the second email accounts, and sends mail using the second email accounts, including:
Described account server receives the mandate transmission request message that the Mail Clients of described first email accounts sends,
Described mandate in transmission request message carries the first email accounts information;
Described account server according to client push from described first email accounts information to described first email accounts
Authorize and send mail, described mandate sends mail and is used for pointing out the Mail Clients of described first email accounts to accept or break off relations to send out
Send mandate;
Described account server receives to authorize and sends response message;
When the described Mail Clients authorizing transmission response message to indicate described first email accounts accepts to send and authorizes,
The Mail Clients of the first email accounts described in described account server record and the Mail Clients of described second email accounts
Between have login mandate relation and send mandate relation;
Then described account server allows the Mail Clients of described first email accounts to sign in described second mailbox account
It is specially on family:
Described account server inquiry record, and the Mail Clients according to described first email accounts inquiring and institute
State login mandate relation between the Mail Clients of the second email accounts it is allowed to the Mail Clients of described first email accounts
Sign in on described second email accounts;
Described account server allows the Mail Clients of described first email accounts to use the second email accounts to send postal
Part is specially:
Described account server inquiry record, and the Mail Clients according to described first email accounts inquiring and institute
State transmission mandate relation between the Mail Clients of the second email accounts it is allowed to the Mail Clients of described first email accounts
Send mail using the second email accounts.
It is further preferred that receive awarding of the Mail Clients transmission of described first email accounts in described account server
After power sends response message, also include:
Described account server notifies the Mail Clients of described second email accounts to send and authorizes success or failure.
Preferably, also include:
The Mail Clients of account server mandate the 3rd email accounts is stepped on behalf of the Mail Clients of the first email accounts
Record on the second email accounts, and send mail, wherein, the first email accounts, the second email accounts using the second email accounts
Belong to same account server with the 3rd email accounts;
Mail visitor when described 3rd email accounts having signed in the 3rd email accounts by the 3rd email accounts information
When the request of family end signs in described second email accounts, described account server allows the mail client of described 3rd email accounts
End signs in on described second email accounts;
When the Mail Clients request of described 3rd email accounts signing in described second email accounts uses second
When email accounts send mail, described account server allows the Mail Clients of described 3rd email accounts to use the second mailbox
Account sends mail.
A kind of method that authorized offspring receives mail, including:
The Mail Clients of Mail Clients generation second email accounts of account server mandate first email accounts logs in
To on the second email accounts, and receive mail using the second email accounts, wherein, the first email accounts are returned with the second email accounts
Belong to same account server;
Mail visitor when described first email accounts having signed in the first email accounts by the first email accounts information
When the request of family end logs in described second email accounts, described account server allows the Mail Clients of described first email accounts
Sign in on described second email accounts;
When the Mail Clients request of described first email accounts signing in described second email accounts uses second
When email accounts receive mail, described account server allows the Mail Clients of the first email accounts to use the second email accounts
Receive mail.
Preferably, described account server accepts the mail of Mail Clients generation second email accounts of the first email accounts
Client signs in on the second email accounts, and sends mail using the second email accounts, including:
Described account server receives the mandate reception request message that the Mail Clients of described first email accounts sends,
Described mandate in reception request message carries the first email accounts information;
Described account server according to client push from described first email accounts information to described first email accounts
Authorize and receive mail, described mandate receives mail and is used for pointing out the Mail Clients of described first email accounts to accept or break off relations to connect
Receive and grant power;
Described account server receives to authorize and receives response message;
When the described Mail Clients authorizing reception response message to indicate described first email accounts accepts to receive and authorizes,
The Mail Clients of the first email accounts described in described account server record and the Mail Clients of described second email accounts
Between have login mandate relation and receive mandate relation;
Then described account server allows the Mail Clients of described first email accounts to sign in described second mailbox account
It is specially on family:
Described account server inquiry record, and the Mail Clients according to described first email accounts inquiring and institute
State login mandate relation between the Mail Clients of the second email accounts it is allowed to the Mail Clients of described first email accounts
Sign in on described second email accounts;
Described account server allows the Mail Clients of described first email accounts to use the second email accounts to receive postal
Part is specially:
Described account server inquiry record, and the Mail Clients according to described first email accounts inquiring and institute
State reception mandate relation between the Mail Clients of the second email accounts it is allowed to the Mail Clients of described first email accounts
Receive mail using the second email accounts.
It is further preferred that receive awarding of the Mail Clients transmission of described first email accounts in described account server
After power receives response message, also include:
Described account server notifies the Mail Clients of described second email accounts to receive and authorizes success or failure.
Preferably, also include:
The Mail Clients of account server mandate the 3rd email accounts is stepped on behalf of the Mail Clients of the first email accounts
Record on the second email accounts, and receive mail, wherein, the first email accounts, the second email accounts using the second email accounts
Belong to same account server with the 3rd email accounts;
Mail visitor when described 3rd email accounts having signed in the 3rd email accounts by the 3rd email accounts information
When the request of family end signs in described second email accounts, described account server allows the mail client of described 3rd email accounts
End signs in on described second email accounts;
When the Mail Clients request of described 3rd email accounts signing in described second email accounts uses second
When email accounts receive mail, described account server allows the Mail Clients of described 3rd email accounts to use the second mailbox
Account receives mail.
A kind of authorized offspring logs in the device of email accounts, including:
Log in granted unit, for authorizing the mail client of Mail Clients generation second email accounts of the first email accounts
End signs in on the second email accounts, and wherein, the first email accounts and the second email accounts belong to same account server;
Allow to log in unit, signed in described the first of the first email accounts by the first email accounts information for working as
The Mail Clients request of email accounts logs in during described second email accounts it is allowed to the mail client of described first email accounts
End signs in on described second email accounts.
Preferably, described login granted unit includes:
Authorize login request message receiving subelement, the mandate that the Mail Clients for receiving the second email accounts sends
Login request message, carries the first email accounts information in described mandate login request message;
Authorize log in mail push subelement, for according to described first email accounts information to described first email accounts
Client push mandate log in mail, described mandate logs in mail and is used for pointing out the Mail Clients of described first email accounts
Accept or refusal logs in and authorizes;
Authorize login response message sink subelement, the Mail Clients for receiving described first email accounts sends
Authorize login response message;
Log in and authorize relation record subelement, for indicating described first email accounts when described mandate login response message
Mail Clients accept to log in when authorizing, record the Mail Clients of described first email accounts and described second email accounts
Mail Clients between have login mandate relation;
Then described permission logs in unit, specifically for inquiry record, and according to described first email accounts inquiring
Login mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family signs in on described second email accounts.
It is further preferred that also including:
Log in authorization notification unit, for receiving described first mailbox in described mandate login response message sink subelement
After the mandate login response message that the Mail Clients of account sends, notify the client of described second email accounts to log in and award
Power success or failure.
A kind of authorized offspring sends the device of mail, including:
Send granted unit, for authorizing the mail visitor on behalf of the second email accounts for the Mail Clients of the first email accounts
Family end signs in on the second email accounts, and sends mail, wherein, the first mail account and the second postal using the second email accounts
Case account belongs to same account server;
Allow to log in unit, signed in described the first of the first email accounts by the first email accounts information for working as
The Mail Clients request of email accounts logs in during described second email accounts it is allowed to the mail client of described first email accounts
End signs in on described second email accounts;
Allow transmitting element, for ought sign in the mail visitor of described first email accounts of described second email accounts
The request of family end is sent during mail it is allowed to the Mail Clients of the first email accounts uses the second mailbox account using the second email accounts
Family sends mail.
Preferably, described transmission granted unit includes:
Authorize and send request message receiving subelement, the Mail Clients for receiving described first email accounts sends
Authorize and send request message, described mandate sends in request message and carries the first email accounts information;
Authorize send mail push subelement, for according to described first email accounts information to described first email accounts
Client push mandate send mail, described mandate sends mail and is used for pointing out the Mail Clients of described first email accounts
Accept or break off relations transmission to authorize;
Authorize and send response message receiving subelement, send response message for receiving to authorize;
Send and authorize relation record subelement, for sending response message described first email accounts of instruction when described mandate
Mail Clients accept to send when authorizing, record the Mail Clients of described first email accounts and described second email accounts
Mail Clients between have login mandate relation and send mandate relation;
Then described permission logs in unit, specifically for inquiry record, and according to described first email accounts inquiring
Login mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family signs in on described second email accounts;
Described permission transmitting element, specifically for inquiry record, and the postal according to described first email accounts inquiring
Transmission mandate relation between the Mail Clients of part client and described second email accounts is it is allowed to described first email accounts
Mail Clients use second email accounts send mail.
Preferably, also include:
Authorize and send notification unit, the mandate for sending in the Mail Clients receiving described first email accounts sends
After response message, notify the Mail Clients of described second email accounts to send and authorize success or failure.
A kind of authorized offspring receives the device of mail, including:
Receive granted unit, for authorizing the mail client of Mail Clients generation second email accounts of the first email accounts
Hold and sign in on the second email accounts, and receive mail using the second email accounts, wherein, the first email accounts and the second mailbox
Account belongs to same account server;
Allow to log in unit, signed in described the first of the first email accounts by the first email accounts information for working as
The Mail Clients request of email accounts logs in during described second email accounts it is allowed to the mail client of described first email accounts
End signs in on described second email accounts;
Allow receiving unit, for ought sign in the mail visitor of described first email accounts of described second email accounts
The request of family end is received during mail it is allowed to the Mail Clients of the first email accounts uses the second mailbox account using the second email accounts
Family receives mail.
Preferably, described reception granted unit includes:
Authorize and receive request message receiving subelement, the Mail Clients for receiving described first email accounts sends
Authorize and receive request message, described mandate receives in request message and carries the first email accounts information;
Authorize receive mail push subelement, for according to described first email accounts information to described first email accounts
Client push mandate receive mail, described mandate receives mail and is used for pointing out the Mail Clients of described first email accounts
Accept or break off relations reception to authorize;
Authorize and receive response message receiving subelement, the Mail Clients for receiving described first email accounts sends
Receive authorization response message;
Receive and authorize relation record subelement, for receiving response message described first email accounts of instruction when described mandate
Mail Clients accept to receive when authorizing, record the Mail Clients of described first email accounts and described second email accounts
Mail Clients between have login mandate relation and receive mandate relation;
Then described permission logs in unit, specifically for inquiry record, and according to described first email accounts inquiring
Login mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family signs in on described second email accounts;
Then described permission receiving unit, specifically for inquiry record, and according to described first email accounts inquiring
Reception mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family uses the second email accounts to receive mail.
It is further preferred that also including:
Authorize and receive notification unit, the mandate for sending in the Mail Clients receiving described first email accounts receives
After response message, notify the Mail Clients of described second email accounts to receive and authorize success or failure.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, log in
Afterwards, also can be sent using the second email accounts further or receive mail, therefore, can process in time under the second email accounts
Mail, is the facility being provided using the user of the second email accounts in application.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, also may be used
So that other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the Organization Chart of e-mail system of the prior art;
Fig. 2 is the flow chart of the method that a kind of authorized offspring that the embodiment of the present invention one discloses logs in email accounts;
Fig. 3 is that a kind of present invention Mail Clients B logs in the method signaling diagram of email accounts for Mail Clients A;
Fig. 4 is the flow chart of the method that a kind of authorized offspring that the embodiment of the present invention two discloses sends mail;
Fig. 5 is that a kind of present invention Mail Clients B sends the method signaling diagram of mail for Mail Clients A;
Fig. 6 is the flow chart of the method that a kind of authorized offspring that the embodiment of the present invention three discloses receives mail;
Fig. 7 is that a kind of present invention Mail Clients B receives the method signaling diagram of mail for Mail Clients A;
Fig. 8 is the structure chart of the device that a kind of authorized offspring that the embodiment of the present invention four discloses logs in email accounts;
Fig. 9 is a kind of structure chart of login granted unit that the embodiment of the present invention four discloses;
Figure 10 is the structure chart of the device that a kind of authorized offspring that the embodiment of the present invention five discloses sends mail;
Figure 11 is a kind of structure chart of transmission granted unit that the embodiment of the present invention five discloses;
Figure 12 is the structure chart of the device that a kind of authorized offspring that the embodiment of the present invention six discloses receives mail;
Figure 13 is a kind of structure chart of reception granted unit that the embodiment of the present invention six discloses.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, below in conjunction with the accompanying drawings to the present invention
Embodiment is described in detail.
Embodiment one
Refer to Fig. 2, it is the method that a kind of authorized offspring that the embodiment of the present invention one discloses logs in email accounts
Flow chart, the method comprises the following steps:
Step 201:The mail visitor of Mail Clients generation second email accounts of account server mandate first email accounts
Family end signs in on the second email accounts, and wherein, the first email accounts and the second email accounts belong to same account service
Device;
For example, there are two email accounts, respectively:User1@gmail.com and user2@gmail.com, mail client
End can be signed in on corresponding email accounts respectively by the accounts information of two email accounts, wherein, signs in email accounts
Mail Clients on user1@gmail.com is Mail Clients A, and signs in on email accounts user2@gmail.com
Mail Clients be Mail Clients B, two email accounts all belong to same account server C, and account server C can
Signed in on user2@gmail.com for Mail Clients B with authorized mail customer end A, account server C can also authorize postal
Part customer end B signs in on user1@gmail.com for Mail Clients A.
A kind of the login mode is preferably authorized to be:The Mail Clients that described account server receives the second email accounts is sent out
The mandate login request message sent, carries the second email accounts information in described mandate login request message;Described account clothes
Business device logs in mail according to described first email accounts information to the client push mandate of described first email accounts, described awards
Power logs in mail and is used for pointing out the Mail Clients of described first email accounts to accept or refuses to log in authorizing;Described account service
Device receives and authorizes login response message;When the described Mail Clients authorizing login response message to indicate described first email accounts
Accept to log in when authorizing, the Mail Clients of the first email accounts described in described account server record and described second mailbox account
There is between the Mail Clients at family login mandate relation.
For example, logging request is authorized to disappear as shown in figure 3, Mail Clients A sends one to account server C that it belongs to
Breath, carries the accounts information of email accounts user2@gmail.com, account server C in this mandate login request message
After receiving this mandate login request message, according to carrying email accounts user2@in this mandate login request message
The accounts information of gmail.com knows that this mandate logging request is aimed at Mail Clients B, pushes away to Mail Clients B
Mandate is sent to log in mail, this mandate logs in mail and is used for pointing out Mail Clients B acceptance or the login of refusal Mail Clients A to award
Weigh, e.g., this mandate login mail comprises one and confirms to authorize link to refuse to authorize link with one.When user clicks on wherein
Confirmation mandate link when, browser open this link and to account server C send one there is HTTP message body form
Authorize login response message, this mandate login response message indicates that Mail Clients B accepts the login mandate of Mail Clients A;
When user click on therein refusal authorize link when, browser open this link and to account server C send one have
The mandate login response message of HTTP message body form, this mandate login response message instruction Mail Clients B refusal mail visitor
The login mandate of family end A.When the mandate login response message that account server C receives indicates that Mail Clients B accepts mail
After the login mandate of customer end A, there is login mandate relation, i.e. record between record Mail Clients B and Mail Clients A
Mail Clients A allows Mail Clients B to sign in on email accounts user1@gmail.com for Mail Clients A.
Preferably authorize in login mode another kind of, can further include:Account server notifies described second
The Mail Clients of email accounts logs in and authorizes success or failure.
As shown in figure 3, account server C circular mail customer end A logs in authorizing successfully.
It should be noted that above-mentioned " account server " is the mail transmission generation in the e-mail system shown in Fig. 1
Reason.
Step 202:When described first email accounts having signed in the first email accounts by the first email accounts information
Mail Clients request when logging in described second email accounts, described account server allows the postal of described first email accounts
Part client signs in on described second email accounts.
For example, Mail Clients B signs in email accounts by the accounts information of email accounts user2@gmail.com
After on user2@gmail.com, sign in on email accounts user1@gmail.com to the request of account server C, account service
Device C inquiry record, when inquire record Mail Clients B and Mail Clients A between have login mandate relation when, i.e. look into
Inquiry knows that Mail Clients A allows Mail Clients B to sign in on email accounts user1@gmail.com for Mail Clients A,
Account server C allows Mail Clients B to sign in on email accounts user1@gmail.com.
It should be noted that the Mail Clients of the first email accounts can be using mail in existing e-mail system
The mode that client logs in email accounts signs in on the second email accounts, therefore, the mail to the first email accounts for the present invention
The concrete login process that client signs in the second email accounts is no longer described in detail.
In the concrete application to technical solution of the present invention, account server can authorize the mail of multiple different accounts
Client signs in in its account for the Mail Clients of same account.For example, account server is authorizing the mail of B account
Client signs in in A account it is also possible to authorize the Mail Clients of C account more also for A account for the Mail Clients of A account
Mail Clients sign in in A account.
In addition, after there is after the Mail Clients of B account is authorized the authority signing in A account, if the postal of B account
Part client also cannot sign in in account A because of a variety of causes, and account server can also authorize the mail visitor of D account further
Family end signs in in account A for the Mail Clients of B account.
By the embodiment of the present invention as can be seen that compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, therefore,
The mail under the second email accounts can be processed in time, particularly manage the mail under the second email accounts, be using the second mailbox
The user of account provides the facility in application.
Embodiment two
Refer to Fig. 4, it is the flow process of the method that a kind of authorized offspring that the embodiment of the present invention two discloses sends mail
Figure, the method comprises the following steps:
Step 401:The Mail Clients of account server mandate first email accounts is on behalf of the mail of the second email accounts
Client signs in on the second email accounts, and sends mail, wherein, the first email accounts and second using the second email accounts
Email accounts belong to same account server;
For example, there are two email accounts, respectively:User1@gmail.com and user2@gmail.com, mail client
End can be signed in on corresponding email accounts respectively by the accounts information of two email accounts, wherein, signs in email accounts
Mail Clients on user1@gmail.com is Mail Clients A, and signs in on email accounts user2@gmail.com
Mail Clients be Mail Clients B, two email accounts all belong to same account server C, and account server C can
Signed in on user2@gmail.com for Mail Clients B with authorized mail customer end A, and authorized mail customer end A uses postal
Case account user2@gmail.com sends mail, and account server C can also authorized mail customer end B be stepped on for Mail Clients A
Record on user1@gmail.com, and authorized mail customer end B uses email accounts user1@gmail.com to send mail.
A kind of the sending method is preferably authorized to be:Described account server receives the mail client of described first email accounts
The mandate that end sends sends request message, and described mandate sends in request message and carries the first email accounts information;Described account
Family server sends mail, institute according to described first email accounts information to the client push mandate of described first email accounts
State the Mail Clients authorizing transmission mail to be used for pointing out described first email accounts to accept or break off relations transmission to authorize;Described account
Server receives to authorize and sends response message;When described mandate sends the mail visitor that response message indicates described first email accounts
Family termination by send authorize when, the Mail Clients of the first email accounts described in described account server record and described second postal
There is between the Mail Clients of case account login mandate relation and send mandate relation.
For example, transmission request is authorized to disappear as shown in figure 5, Mail Clients A sends one to account server C that it belongs to
Breath, sends the accounts information carrying email accounts user2@gmail.com in request message, account server C in this mandate
After receiving this mandate transmission request message, carry email accounts user2@according to sending in request message in this mandate
The accounts information of gmail.com knows that this mandate sends request and is aimed at Mail Clients B, pushes away to Mail Clients B
Mandate is sent to send mail, this mandate sends mail and is used for pointing out Mail Clients B acceptance or the transmission of refusal Mail Clients A to award
Weigh, e.g., this mandate transmission mail comprises one and confirms to authorize link to refuse to authorize link with one.When user clicks on wherein
Confirmation mandate link when, browser open this link and to account server C send one there is HTTP message body form
Authorize and send response message, this mandate sends response message and indicates that Mail Clients B accepts the transmission mandate of Mail Clients A;
When user click on therein refusal authorize link when, browser open this link and to account server C send one have
The mandate of HTTP message body form sends response message, and this mandate sends response message instruction Mail Clients B refusal mail visitor
The transmission mandate of family end A.Accept mail when the mandate that account server C receives sends response message instruction Mail Clients B
After the transmission mandate of customer end A, between record Mail Clients B and Mail Clients A, there is login mandate relation and transmission is awarded
Power relation, i.e. record Mail Clients A allows Mail Clients B to sign in email accounts user1@for Mail Clients A
On gmail.com, and Mail Clients B is allowed to use email accounts user1@gmail.com to send mail.
Preferably authorize in sending method another kind of, can further include:Account server notifies described second
The Mail Clients of email accounts sends and authorizes success or failure.
As shown in figure 5, account server C circular mail customer end A sends authorizing successfully.
It should be noted that above-mentioned " account server " is the mail transmission generation in the e-mail system shown in Fig. 1
Reason.
Step 402:When described first email accounts having signed in the first email accounts by the first email accounts information
Mail Clients request when logging in described second email accounts, described account server allows the postal of described first email accounts
Part client signs in on described second email accounts;
The detailed implementation of this step may refer to the step 202 in embodiment one, will not be described here.
Step 403:Mail Clients request when described first email accounts signing in described second email accounts
When sending mail using the second email accounts, described account server allows the Mail Clients of described first email accounts to use
Second email accounts send mail.
For example, when account server C allows Mail Clients B to sign in on user1@gmail.com, and Mail Clients
After B has also signed in on email accounts user1@gmail.com, use email accounts user1@to the request of account server C
Gmail.com sends mail, account server C inquiry record, has Mail Clients B and Mail Clients A when inquiring record
Between have transmission mandate relation when, i.e. inquiry know Mail Clients A allow Mail Clients B use email accounts
User1@gmail.com sends mail, and account server C allows Mail Clients B to use email accounts user1@gmail.com
Send mail.
It should be noted that the Mail Clients of the first email accounts can be using mail visitor in existing e-mail system
The mode that family end sends mail uses the second email accounts to send mail, therefore, the mail visitor to the first email accounts for the present invention
Family end is no longer described in detail using the concrete transmission process that the second email accounts send mail.
In the concrete application to technical solution of the present invention, account server can authorize the mail of multiple different accounts
Client signs in in its account for the Mail Clients of same account, and sends mail using the account.For example, account clothes
Business device signs in in A account for the Mail Clients of A account in the Mail Clients authorizing B account, and the A that accesses to your account sends postal
It is also possible to authorize the Mail Clients of C account again, also the Mail Clients for A account signs in in A account part, and also using account
Family A sends mail.
In addition, have after the Mail Clients of B account is authorized signing in in A account, and send mail using A account
Authority after, if the Mail Clients of B account is because a variety of causes also cannot sign in in account A or cannot use A after logging in
Account sends mail, and account server can also authorize the Mail Clients of D account to step on for the Mail Clients of B account further
Record in account A, and send mail using A account.
By the embodiment of the present invention as can be seen that compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, log in
Afterwards, also can send mail using the second email accounts further, therefore, the mail under the second email accounts can be processed in time,
It is the facility being provided using the user of the second email accounts in application.
Embodiment three
Refering to Fig. 6, it is the flow chart of the method that a kind of authorized offspring that the embodiment of the present invention three discloses receives mail,
The method comprises the following steps:
Step 601:The mail visitor of Mail Clients generation second email accounts of account server mandate first email accounts
Family end signs in on the second email accounts, and receives mail, wherein, the first email accounts and the second postal using the second email accounts
Case account belongs to same account server;
For example, there are two email accounts, respectively:User1@gmail.com and user2@gmail.com, mail client
End can be signed in on corresponding email accounts respectively by the accounts information of two email accounts, wherein, signs in email accounts
Mail Clients on user1@gmail.com is Mail Clients A, and signs in on email accounts user2@gmail.com
Mail Clients be Mail Clients B, two email accounts all belong to same account server C, and account server C can
Signed in on user2@gmail.com for Mail Clients B with authorized mail customer end A, and authorized mail customer end A uses postal
Case account user2@gmail.com receives mail, and account server C can also authorized mail customer end B be stepped on for Mail Clients A
Record on user1@gmail.com, and authorized mail customer end B uses email accounts user1@gmail.com to receive mail.
A kind of the reception mode is preferably authorized to be:Described account server receives the mail client of described first email accounts
The mandate that end sends receives request message, and described mandate receives in request message and carries the first email accounts information;Described account
Family server receives mail, institute according to described first email accounts information to the client push mandate of described first email accounts
State the Mail Clients authorizing reception mail to be used for pointing out described first email accounts to accept or break off relations reception to authorize;Described account
Server receives to authorize and receives response message;When described mandate receives the mail visitor that response message indicates described first email accounts
Family termination by receive authorize when, the Mail Clients of the first email accounts described in described account server record and described second postal
There is between the Mail Clients of case account login mandate relation and receive mandate relation.
For example, reception request is authorized to disappear as shown in fig. 7, Mail Clients A sends one to account server C that it belongs to
Breath, receives the accounts information carrying email accounts user2@gmail.com in request message, account server C in this mandate
After receiving this mandate reception request message, carry email accounts user2@according to receiving in request message in this mandate
The accounts information of gmail.com knows that this mandate receives request and is aimed at Mail Clients B, pushes away to Mail Clients B
Mandate is sent to receive mail, this mandate receives mail and is used for pointing out Mail Clients B acceptance or the transmission of refusal Mail Clients A to award
Weigh, e.g., this mandate reception mail comprises one and confirms to authorize link to refuse to authorize link with one.When user clicks on wherein
Confirmation mandate link when, browser open this link and to account server C send one there is HTTP message body form
Authorize and receive response message, this mandate receives response message and indicates that Mail Clients B accepts the reception mandate of Mail Clients A;
When user click on therein refusal authorize link when, browser open this link and to account server C send one have
The mandate of HTTP message body form receives response message, and this mandate receives response message instruction Mail Clients B refusal mail visitor
The reception mandate of family end A.Accept mail when the mandate that account server C receives receives response message instruction Mail Clients B
After the reception mandate of customer end A, between record Mail Clients B and Mail Clients A, there is login mandate relation and reception is awarded
Power relation, i.e. record Mail Clients A allows Mail Clients B to sign in email accounts user1@for Mail Clients A
On gmail.com, and mailbox customer end B is allowed to use email accounts user1@gmail.com to receive mail.
Preferably authorize in reception mode another kind of, can further include:Account server notifies described second
The Mail Clients of email accounts receives and authorizes success or failure.
As shown in fig. 7, account server C circular mail customer end A receives authorizing successfully.
It should be noted that above-mentioned " account server " is the mail transmission generation in the e-mail system shown in Fig. 1
Reason.
Step 602:When described first email accounts having signed in the first email accounts by the first email accounts information
When client request logs in described second email accounts, described account server allows the mail client of described first email accounts
End signs in on described second email accounts;
The detailed implementation of this step may refer to the step 202 in embodiment one, will not be described here.
Step 603:When the Mail Clients of described first email accounts signing in described second email accounts uses
When second email accounts receive mail, described account server allows the Mail Clients of the first email accounts to use the second mailbox
Account receives mail.
For example, when account server C allows Mail Clients B to sign in on user1@gmail.com, and Mail Clients
After B has also signed in on email accounts user1@gmail.com, use email accounts user1@to the request of account server C
Gmail.com sends mail, account server C inquiry record, has Mail Clients B and Mail Clients A when inquiring record
Between have reception mandate relation when, i.e. inquiry know Mail Clients A allow Mail Clients B use email accounts
User1@gmail.com receives mail, and account server C allows Mail Clients B to use email accounts user1@gmail.com
Receive mail.
It should be noted that the Mail Clients of the first email accounts can be using mail visitor in existing e-mail system
The mode that family terminates receiving emails uses the second email accounts to receive mail, therefore, the mail visitor to the first email accounts for the present invention
Family end is no longer described in detail using the concrete reception process that the second email accounts receive mail.
In the concrete application to technical solution of the present invention, account server can authorize the mail of multiple different accounts
Client signs in in its account for the Mail Clients of same account, and receives mail using the account.For example, account clothes
Business device signs in in A account for the Mail Clients of A account in the Mail Clients authorizing B account, and the A that accesses to your account receives postal
It is also possible to authorize the Mail Clients of C account again, also the Mail Clients for A account signs in in A account part, and also using account
Family A receives mail.
In addition, have after the Mail Clients of B account is authorized signing in in A account, and receive mail using A account
Authority after, if the Mail Clients of B account is because a variety of causes also cannot sign in in account A or cannot use A after logging in
Account receives mail, and account server can also authorize the Mail Clients of D account to step on for the Mail Clients of B account further
Record in account A, and receive mail using A account.
By the embodiment of the present invention as can be seen that compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, log in
Afterwards, also can receive mail using the second email accounts further, therefore, the mail under the second email accounts can be processed in time,
It is the facility being provided using the user of the second email accounts in application.
Example IV
Corresponding with the method that a kind of above-mentioned authorized offspring logs in email accounts, the embodiment of the present invention additionally provides one kind
Authorized offspring logs in the device of email accounts.Refer to Fig. 8, it is a kind of authorized offspring that the embodiment of the present invention four discloses
Log in the structure chart of the device of email accounts, this device includes:Log in granted unit 801 and allow to log in unit 802.Tie below
The operation principle closing this device is further described its internal structure and annexation.
Log in granted unit 801, for authorizing the mail of Mail Clients generation second email accounts of the first email accounts
Client signs in on the second email accounts, and wherein, the first email accounts and the second email accounts belong to same account clothes
Business device;
Allow to log in unit 802, signed in described in the first email accounts by the first email accounts information for working as
The Mail Clients request of the first email accounts logs in during described second email accounts it is allowed to the mail of described first email accounts
Client signs in on described second email accounts.
As shown in figure 9, log in granted unit 801 further including:
Authorize login request message receiving subelement 8011, the Mail Clients for receiving the second email accounts sends
Authorize login request message, in described mandate login request message, carry the first email accounts information;
Authorize log in mail push subelement 8012, for according to described first email accounts information to described first mailbox
The client push mandate of account logs in mail, and described mandate logs in the mail visitor that mail is used for pointing out described first email accounts
Family termination is subject to or refusal login authorizes;
Authorize login response message sink subelement 8013, the Mail Clients for receiving described first email accounts is sent out
The mandate login response message sent;
Log in and authorize relation record subelement 8014, for indicating described first mailbox when described mandate login response message
When the Mail Clients of account accepts to log in mandate, record the Mail Clients of described first email accounts and described second mailbox
There is between the Mail Clients of account login mandate relation;
Then allow to log in unit 802, specifically for inquiry record, and the postal according to described first email accounts inquiring
Login mandate relation between the Mail Clients of part client and described second email accounts is it is allowed to described first email accounts
Mail Clients sign in on described second email accounts.
Preferably, this device also includes:Log in authorization notification unit, in described mandate login response message sink
After unit receives the mandate login response message of Mail Clients transmission of described first email accounts, notify described second postal
The client of case account logs in and authorizes success or failure.
It is further preferred that logging in the Mail Clients generation first that granted unit 801 is additionally operable to authorize the 3rd email accounts
The Mail Clients of email accounts signs in on the second email accounts, wherein, the first email accounts, the second email accounts and the 3rd
Email accounts belong to same account server;
Allow to log in unit 802, be additionally operable to when the institute having signed in the 3rd email accounts by the 3rd email accounts information
The Mail Clients request stating the 3rd email accounts logs in during described second email accounts it is allowed to the postal of described 3rd email accounts
Part client signs in on described second email accounts.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, therefore,
The mail under the second email accounts can be processed in time, particularly manage the mail under the second email accounts, be using the second mailbox
The user of account provides the facility in application.
Embodiment five
Corresponding with the method that a kind of above-mentioned authorized offspring sends mail, the embodiment of the present invention additionally provides one kind through awarding
Power offspring sends the device of mail.Refer to Figure 10, it is that a kind of authorized offspring that the embodiment of the present invention five discloses sends postal
The structure chart of the device of part, this device includes:Send granted unit 1001, allow to log in unit 1002 and allow transmitting element
1003.It is further described its internal structure and annexation with reference to the operation principle of this device.
Send granted unit 1001, for authorizing the postal on behalf of the second email accounts for the Mail Clients of the first email accounts
Part client signs in on the second email accounts, and sends mail using the second email accounts, wherein, the first mail account and the
Two email accounts belong to same account server;
Allow to log in unit 1002, signed in described in the first email accounts by the first email accounts information for working as
The Mail Clients request of the first email accounts logs in during described second email accounts it is allowed to the mail of described first email accounts
Client signs in on described second email accounts;
Allow transmitting element 1003, for ought sign in the postal of described first email accounts of described second email accounts
Part client request uses the second email accounts to send during mail it is allowed to the Mail Clients of the first email accounts uses the second postal
Case account sends mail.
As shown in figure 11, send granted unit 1001 to further include:
Authorize and send request message receiving subelement 10011, for receiving the Mail Clients of described first email accounts
The mandate sending sends request message, and described mandate sends in request message and carries the first email accounts information;
Authorize send mail push subelement 10012, for according to described first email accounts information to described first postal
The client push mandate of case account sends mail, and described mandate sends mail and is used for pointing out the mail of described first email accounts
Client accepts or breaks off relations transmission to authorize;
Authorize and send response message receiving subelement 10013, send response message for receiving to authorize;
Send and authorize relation record subelement 10014, for sending response message described first postal of instruction when described mandate
When the Mail Clients of case account accepts to send mandate, record the Mail Clients of described first email accounts and described second postal
There is between the Mail Clients of case account login mandate relation and send mandate relation.
Then allow to log in unit 1002, specifically for inquiry record, and according to described first email accounts inquiring
Login mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family signs in on described second email accounts;
Allow transmitting element 1003, for inquiry record, and the mail visitor according to described first email accounts inquiring
Transmission mandate relation between the Mail Clients of family end and described second email accounts is it is allowed to the postal of described first email accounts
Part client uses the second email accounts to send mail.
Preferably, this device also includes:Authorize and send notification unit, in the mail receiving described first email accounts
After the mandate that client sends sends response message, notify the Mail Clients of described second email accounts to send and authorize successfully
Or failure.
It is further preferred that sending granted unit 1001, be additionally operable to authorize the Mail Clients of the 3rd email accounts on behalf of
The Mail Clients of the first email accounts signs in on the second email accounts, and sends mail using the second email accounts, wherein,
First email accounts, the second email accounts and the 3rd email accounts belong to same account server;
Allow to log in unit 1002, be additionally operable to when the institute having signed in the 3rd email accounts by the 3rd email accounts information
The Mail Clients request of stating the 3rd email accounts signs in during described second email accounts it is allowed to described 3rd email accounts
Mail Clients signs in on described second email accounts;
Allow transmitting element 1003, be additionally operable to ought sign in described 3rd email accounts of described second email accounts
Mail Clients request is sent during mail it is allowed to the Mail Clients of described 3rd email accounts uses using the second email accounts
Second email accounts send mail.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, log in
Afterwards, also can send mail using the second email accounts further, therefore, the mail under the second email accounts can be processed in time,
It is the facility being provided using the user of the second email accounts in application.
Embodiment six
Corresponding with the method that a kind of above-mentioned authorized offspring receives mail, the embodiment of the present invention additionally provides one kind through awarding
Power offspring receives the device of mail.Refer to Figure 12, it is that a kind of authorized offspring that the embodiment of the present invention six discloses receives postal
The structure chart of the device of part, this device includes:Receive granted unit 1201, allow to log in unit 1202 and allow receiving unit
1203.It is further described its internal structure and annexation with reference to the operation principle of this device.
Receive granted unit 1201, for authorizing the mail of Mail Clients generation second email accounts of the first email accounts
Client signs in on the second email accounts, and receives mail, wherein, the first email accounts and second using the second email accounts
Email accounts belong to same account server;
Allow to log in unit 1202, signed in described in the first email accounts by the first email accounts information for working as
The Mail Clients request of the first email accounts logs in during described second email accounts it is allowed to the mail of described first email accounts
Client signs in on described second email accounts;
Allow receiving unit 1203, for ought sign in the postal of described first email accounts of described second email accounts
Part client request uses the second email accounts to receive during mail it is allowed to the Mail Clients of the first email accounts uses the second postal
Case account receives mail.
As shown in figure 13, receive granted unit 1201 to further include:
Authorize and receive request message receiving subelement 12011, for receiving the Mail Clients of described first email accounts
The mandate sending receives request message, and described mandate receives in request message and carries the first email accounts information;
Authorize receive mail push subelement 12012, for according to described first email accounts information to described first postal
The client push mandate of case account receives mail, and described mandate receives mail and is used for pointing out the mail of described first email accounts
Client accepts or breaks off relations reception to authorize;
Authorize and receive response message receiving subelement 12013, for receiving the Mail Clients of described first email accounts
The reception authorization response message sending;
Receive and authorize relation record subelement 12014, for receiving response message described first postal of instruction when described mandate
When the Mail Clients of case account accepts to receive mandate, record the Mail Clients of described first email accounts and described second postal
There is between the Mail Clients of case account login mandate relation and receive mandate relation.
Then allow to log in unit 1202, specifically for inquiry record, and according to described first email accounts inquiring
Login mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family signs in on described second email accounts;
Then allow receiving unit 1203, specifically for inquiry record, and according to described first email accounts inquiring
Reception mandate relation between the Mail Clients of Mail Clients and described second email accounts is it is allowed to described first mailbox account
The Mail Clients at family uses the second email accounts to receive mail.
Preferably, this device also includes:Authorize and receive notification unit, in the mail receiving described first email accounts
After the mandate that client sends receives response message, notify the Mail Clients of described second email accounts to receive and authorize successfully
Or failure.
It is further preferred that receiving granted unit 1201, be additionally operable to authorize the Mail Clients of the 3rd email accounts on behalf of
The Mail Clients of the first email accounts signs in on the second email accounts, and receives mail using the second email accounts, wherein,
First email accounts, the second email accounts and the 3rd email accounts belong to same account server;
Allow to log in unit 1202, be additionally operable to when the institute having signed in the 3rd email accounts by the 3rd email accounts information
The Mail Clients request of stating the 3rd email accounts signs in during described second email accounts it is allowed to described 3rd email accounts
Mail Clients signs in on described second email accounts;
Allow receiving unit 1203, be additionally operable to ought sign in described 3rd email accounts of described second email accounts
Mail Clients request is received during mail it is allowed to the Mail Clients of described 3rd email accounts uses using the second email accounts
Second email accounts receive mail.
As can be seen from the above-described embodiment, compared with prior art, the invention has the advantages that:
For two email accounts belonging to same account server(First email accounts and the second email accounts),
Second email accounts can be logged in by the Mail Clients of Mail Clients generation second email accounts of the first email accounts, log in
Afterwards, also can receive mail using the second email accounts further, therefore, the mail under the second email accounts can be processed in time,
It is the facility being provided using the user of the second email accounts in application.
It should be noted that one of ordinary skill in the art will appreciate that realizing the whole or portion in above-described embodiment method
Split flow, can be by computer program to complete come the hardware to instruct correlation, described program can be stored in a computer
In read/write memory medium, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described
Storage medium can be magnetic disc, CD, read-only memory(Read-Only Memory, ROM)Or random access memory
(Random Access Memory, RAM)Deng.
Method and apparatus to authorized offspring's logon account provided by the present invention, generation transmission and pickup receiving emails above
It is described in detail, specific embodiment used herein is set forth to the principle of the present invention and embodiment, above
The explanation of embodiment is only intended to help and understands the method for the present invention and its core concept;General skill simultaneously for this area
Art personnel, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this
Description should not be construed as limitation of the present invention.