CN106453038A - Mail synchronization method and system, and related device - Google Patents

Mail synchronization method and system, and related device Download PDF

Info

Publication number
CN106453038A
CN106453038A CN201610828547.XA CN201610828547A CN106453038A CN 106453038 A CN106453038 A CN 106453038A CN 201610828547 A CN201610828547 A CN 201610828547A CN 106453038 A CN106453038 A CN 106453038A
Authority
CN
China
Prior art keywords
mail
notes
server
store path
addressee
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
CN201610828547.XA
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610828547.XA priority Critical patent/CN106453038A/en
Publication of CN106453038A publication Critical patent/CN106453038A/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The invention relates to the field of computer technology and discloses a mail synchronization method and system, and a related device. In the method, when a Notes mailbox of a user in a Notes server receives a new Notes mail, an execution agent notifies a synchronization server of the mail address of the new Notes mail to trigger the synchronization server to store an instruction containing the mail address of the new Notes mail into an execution queue. The method includes the steps of acquiring, by a synchronization executor, the instruction in the execution queue; and according to the mail address of the new Notes mail included in the instruction, synchronizing the new Notes mail from the Notes server to a mail server. The embodiment of the invention can be implemented for reducing the waste of network resources.

Description

A kind of mail synchronization method and system, relevant device
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of mail synchronization method and system, relevant device.
Background technology
At present, user generally can check mail using two ways, and a kind of mode is to be stepped on by mobile client The Notes mailbox of record Notes server, such that it is able to check the mail in Notes mailbox;Another way is by electricity Brain webpage logging in mail server, such that it is able to check the mail in mail server.Because user both can pass through Log in Notes server to check mail it is also possible to check mail by logging in mail server, this allows for Notes clothes Need to carry out mail synchronization between business device and mail server.In practice, it has been found that mail server often adopts polling mode Mail synchronization is carried out to the Notes mailbox of each of Notes server user, if the Notes mailbox of user is long-time Do not receive new mail, then this mail synchronization is carried out with polling mode will cause network resources waste.
Content of the invention
The embodiment of the invention discloses a kind of mail synchronization method and system, relevant device, can reduce to Internet resources Waste.
Embodiment of the present invention first aspect discloses a kind of mail synchronization method, when a certain user's in Notes server When Notes mailbox receives Notes new mail, by execution, the addresses of items of mail of described Notes new mail is notified synchronous service by agency The instruction of the addresses of items of mail comprising described Notes new mail is stored in execution queue to trigger described sync server by device, described Method includes:
Synchronous actuator obtains the described instruction in described execution queue;
The addresses of items of mail of the described Notes new mail that described synchronous actuator comprises according to described instruction, by described Notes New mail is from described Notes server sync to mail server.
As a kind of optional embodiment, in embodiment of the present invention first aspect, described synchronous actuator is according to institute State the addresses of items of mail of the described Notes new mail that instruction comprises, by described Notes new mail from described Notes server sync To mail server, including:
Described synchronous actuator sends Notes new mail to described Notes server and obtains request, described Notes new stamp Part obtains the addresses of items of mail that request bag contains described Notes new mail;
The addresses of items of mail that described synchronous actuator receives the described Notes new mail that described Notes server returns corresponds to Notes new mail;
Described synchronous actuator sends the described Notes new mail receiving to document adapter, to trigger described literary composition Shelves adapter extracts annex and the image content that described Notes new mail comprises, and will be described attached by described document adapter Part and image content store to file adapter, and receive, by described document adapter, the institute that described file adapter returns State the annex and image content store path in described file adapter, and by described document adapter by described storage The clip Text of path and described Notes new mail generates html file;Wherein, described clip Text comprises sender, addressee People and title;
Described synchronous actuator receives the described html file that described document adapter returns;
Described html file is stored storage adapter corresponding to mail server by described synchronous actuator.
As a kind of optional embodiment, in embodiment of the present invention first aspect, described synchronous actuator receives institute After stating the described html file of document adapter return, and described synchronous actuator stores described html file to mail Before the corresponding storage adapter of server, methods described also includes:
Described store path and addressee that described synchronous actuator comprises according to described html file, are described addressee Generate the access rights for described store path;
Described synchronous actuator stores the access rights of described store path to drm controller, so that mail server When receiving the access request of the described store path comprising for described html file that described addressee initiates, by described postal Part server judges the described the store path whether access rights that described addressee possesses are stored with described drm controller Access rights match, if matched, by described mail server obtain from described file adapter described annex and Image content, and described annex and image content are showed described addressee.
As a kind of optional embodiment, in embodiment of the present invention first aspect, described synchronous actuator will be described The access rights of store path store to after drm controller, and methods described also includes:
Described synchronous actuator receives the response message that described drm controller returns, and described response message is used for showing institute State drm controller to be stored the access rights of described store path.
As a kind of optional embodiment, in embodiment of the present invention first aspect, described synchronous actuator is according to institute State described store path and the addressee that html file comprises, be the access right that described addressee generates for described store path Limit, including:
Described synchronous actuator sets up joining between the described store path that described html file comprises and described addressee To relation, using described pair relationhip as the access rights for described store path generating for described addressee.
Embodiment of the present invention second aspect discloses a kind of synchronous actuator, when a certain user's in Notes server When Notes mailbox receives Notes new mail, by execution, the addresses of items of mail of described Notes new mail is notified synchronous service by agency The instruction of the addresses of items of mail comprising described Notes new mail is stored in execution queue to trigger described sync server by device, described Synchronous actuator includes:
Acquiring unit, for obtaining the described instruction in described execution queue;
Lock unit, the addresses of items of mail of the described Notes new mail for being comprised according to described instruction, by described Notes New mail is from described Notes server sync to mail server.
As a kind of optional embodiment, in embodiment of the present invention second aspect, described lock unit includes:
First subelement, obtains request, described Notes new stamp for sending Notes new mail to described Notes server Part obtains the addresses of items of mail that request bag contains described Notes new mail;
Second subelement, the addresses of items of mail for receiving the described Notes new mail that described Notes server returns corresponds to Notes new mail;
3rd subelement, for sending the described Notes new mail receiving to document adapter, to trigger described literary composition Shelves adapter extracts annex and the image content that described Notes new mail comprises, and will be described attached by described document adapter Part and image content store to file adapter, and receive, by described document adapter, the institute that described file adapter returns State the annex and image content store path in described file adapter, and by described document adapter by described storage The clip Text of path and described Notes new mail generates html file;Wherein, described clip Text comprises sender, addressee People and title;
4th subelement, for receiving the described html file that described document adapter returns;
5th subelement, for storing storage adapter corresponding to mail server by described html file.
As a kind of optional embodiment, in embodiment of the present invention second aspect, described lock unit also includes:
Authority subelement, for described 4th subelement receive the described html file that described document adapter returns it Afterwards, and before described html file is stored storage adapter corresponding to mail server by described 5th subelement, root The described store path comprising according to described html file and addressee, are the visit that described addressee generates for described store path Ask authority;
Control subelement, for the access rights of described store path are stored to drm controller, so that mail service Device when receiving the access request of the described store path comprising for described html file that described addressee initiates, by described Mail server judges the described the store path whether access rights that described addressee possesses are stored with described drm controller Access rights match, if matched, by described mail server obtain from described file adapter described annex with And image content, and described annex and image content are showed described addressee.
As a kind of optional embodiment, in embodiment of the present invention second aspect, described control subelement is additionally operable to Receive the response message that described drm controller returns, described response message is used for showing that described drm controller is deposited described The access rights in storage path are stored.
As a kind of optional embodiment, in embodiment of the present invention second aspect, described authority subelement is according to institute State described store path and the addressee that html file comprises, be the access right that described addressee generates for described store path The mode of limit is specially:
Joining between the described store path that described html file comprises and described addressee set up by described authority subelement To relation, using described pair relationhip as the access rights for described store path generating for described addressee.
The embodiment of the present invention third aspect discloses a kind of mail synchronization system, including Notes server, execute agency, with Step server, synchronous actuator and mail server, wherein:
Described execute agency, for the Notes mailbox of a certain user in described Notes server, to receive Notes new During mail, the addresses of items of mail of described Notes new mail is notified described sync server;
Described sync server, for being stored in execution queue by the instruction of the addresses of items of mail comprising described Notes new mail;
Described synchronous actuator, for obtaining the described instruction in described execution queue;
Described synchronous actuator, is additionally operable to the addresses of items of mail of described Notes new mail comprising according to described instruction, by institute State Notes new mail from described Notes server sync to described mail server.
As a kind of optional embodiment, in the embodiment of the present invention third aspect, described synchronous actuator is according to institute State the addresses of items of mail of the described Notes new mail that instruction comprises, by described Notes new mail from described Notes server sync Mode to described mail server is specially:
Described synchronous actuator sends Notes new mail to described Notes server and obtains request, described Notes new stamp Part obtains the addresses of items of mail that request bag contains described Notes new mail;
The addresses of items of mail that described synchronous actuator receives the described Notes new mail that described Notes server returns corresponds to Notes new mail;
Described synchronous actuator sends the described Notes new mail receiving to document adapter;
Described document adapter extracts annex and the image content that described Notes new mail comprises, and by described document Adapter stores described annex and image content to file adapter;And receive the described of described file adapter return The annex and image content store path in described file adapter, and will be new to described store path and described Notes The clip Text of mail generates html file;Wherein, described clip Text comprises sender, addressee and title;
Described synchronous actuator receives the described html file that described document adapter returns;
Described html file is stored storage adapter corresponding to mail server by described synchronous actuator.
As a kind of optional embodiment, in the embodiment of the present invention third aspect:
Described synchronous actuator, is additionally operable to after receiving the described html file that described document adapter returns, and Before described html file is stored storage adapter corresponding to mail server, according to described html file comprises Store path and addressee, are the access rights that described addressee generates for described store path;And, by described storage road The access rights in footpath store to drm controller;
Described mail server is receiving the described storage road comprising for described html file that described addressee initiates During the access request in footpath, judge the described the storage whether access rights that described addressee possesses are stored with described drm controller The access rights in path match, if matched, obtain described annex and image content from described file adapter, and Described annex and image content are showed described addressee.
As a kind of optional embodiment, in the embodiment of the present invention third aspect, described synchronous actuator is additionally operable to After storing the access rights of described store path to drm controller, the response receiving described drm controller return disappears Breath, described response message is used for showing that the access rights of described store path are stored by described drm controller.
As a kind of optional embodiment, in the embodiment of the present invention third aspect, described synchronous actuator is according to institute State described store path and the addressee that html file comprises, be the access right that described addressee generates for described store path The mode of limit is specially:
Described synchronous actuator sets up joining between the described store path that described html file comprises and described addressee To relation, using described pair relationhip as the access rights for described store path generating for described addressee.
Compared with prior art, the embodiment of the present invention possesses following beneficial effect:
In the embodiment of the present invention, when the Notes mailbox of a certain user in Notes server receives Notes new mail, By execution, the addresses of items of mail of Notes new mail is notified sync server by agency, and sync server can be new by comprising Notes The instruction of the addresses of items of mail of mail is stored in execution queue so that synchronous actuator timing acquisition executes the instruction in queue, and root The addresses of items of mail of the Notes new mail comprising according to instruction, by Notes new mail from Notes server sync to mail server. It can be seen that, implement the embodiment of the present invention, mail server need not be using polling mode to each of Notes server user's Notes mailbox carries out mail synchronization, such that it is able to reduce the waste to Internet resources.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings Figure.
Fig. 1 is a kind of schematic flow sheet of mail synchronization method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of mail synchronization method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of mail synchronization method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of synchronous actuator disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of synchronization actuator disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of mail synchronization system disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of not making creative work Apply example, broadly fall into the scope of protection of the invention.
It should be noted that term " first " in the embodiment of the present invention and above-mentioned accompanying drawing, " second " etc. are for distinguishing Similar object, without for describing specific order or precedence.Additionally, term " comprising " and " having " and they Any deformation it is intended that covering non-exclusive comprising, for example, contain the process of series of steps or unit, method, be System, product or equipment are not necessarily limited to those steps or the unit clearly listed, but may include clearly not listing or For these processes, method, product or the intrinsic other steps of equipment or unit.
The embodiment of the invention discloses a kind of mail synchronization method and system, relevant device, can reduce to Internet resources Waste.Below it is combined accompanying drawing to be described in detail.
Embodiment one
Refer to Fig. 1, Fig. 1 is a kind of schematic flow sheet of mail synchronization method disclosed in the embodiment of the present invention.Wherein, scheme Mail synchronization method shown in 1 is to be described from the angle of synchronous actuator.In mail synchronization method shown in Fig. 1, Being monitored of the Notes mailbox to each user in Notes server can be acted on behalf of using execution, and when Notes clothes When the Notes mailbox of a certain user in business device receives Notes new mail, acted on behalf of the mail of this Notes new mail by execution Address notifies sync server, to trigger sync server, the instruction of the addresses of items of mail comprising Notes new mail is stored in execution Queue.As shown in figure 1, this mail synchronization method may comprise steps of:
101st, synchronous actuator obtains the instruction in execution queue.
In the embodiment of the present invention, synchronous actuator can periodically obtain the instruction in execution queue.For example, synchronously hold Row device can obtain instruction every 5 minutes from execution queue, during such that it is able to avoiding receiving many envelope mails in a period of time, with Step actuator is performed a plurality of times mail synchronization.
In the embodiment of the present invention, execution queue be also Microsoft Message queue (Microsoft Message Queue, MSMQ), it is a kind of asynchronous transfer mode realizing being in communication with each other between multiple different applications, the application being in communication with each other is permissible It is distributed on same machine any position it is also possible to be distributed in connected cyberspace.Open in execution the actual of queue It is also possible to MSMQ is replaced with RabitMQ or even Redis during sending out, the embodiment of the present invention is not construed as limiting.
102nd, the addresses of items of mail of the Notes new mail that synchronous actuator comprises according to this instruction, by this Notes new mail from Notes server sync is to mail server.
In the embodiment of the present invention, synchronous actuator can send Notes new mail to Notes server and obtain request, should Notes new mail obtains the addresses of items of mail that request can comprise this Notes new mail, and for example, this Notes new mail obtains request The addresses of items of mail of this Notes new mail can be comprised using list mode;Correspondingly, synchronous actuator can receive Notes clothes The addresses of items of mail corresponding Notes new mail of the Notes new mail that business device returns, for example, synchronous actuator can receive Notes The addresses of items of mail corresponding Notes new mail of the Notes new mail being comprised with list mode that server returns, and by Notes New mail is synchronized to mail server.
In method described by Fig. 1, when the Notes mailbox of a certain user in Notes server receives Notes new stamp During part, by execution, the addresses of items of mail of Notes new mail is notified sync server by agency, and sync server can will comprise The instruction of the addresses of items of mail of Notes new mail is stored in execution queue so that synchronous actuator timing acquisition executes the finger in queue Order, and the addresses of items of mail of the Notes new mail being comprised according to instruction, by Notes new mail from Notes server sync to mail Server.It can be seen that, implement the method described by Fig. 1, mail server need not be using polling mode to every in Notes server The Notes mailbox of one user carries out mail synchronization, such that it is able to reduce the waste to Internet resources.
Embodiment two
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of mail synchronization method disclosed in the embodiment of the present invention.As Fig. 2 Shown, this mail synchronization method may comprise steps of:
201st, when the Notes mailbox of a certain user in Notes server receives Notes new mail, execution agency will The addresses of items of mail of this Notes new mail notifies sync server.
In the embodiment of the present invention, after sync server receives the notice of execution agency, it is right to return to execution agency The response message answered.
202nd, the instruction of the addresses of items of mail comprising Notes new mail is stored in execution queue by sync server.
In the embodiment of the present invention, execute queue after storage finishes the instruction of the addresses of items of mail comprising Notes new mail, Corresponding response message can be returned to sync server.
203rd, synchronous actuator obtains the instruction in execution queue.
In the embodiment of the present invention, synchronous actuator periodically can send instruction to execution queue and obtain request, and receives and hold The instruction that row queue returns.
204th, synchronous actuator sends Notes new mail to Notes server and obtains request, and this Notes new mail obtains Request comprises the addresses of items of mail of Notes new mail with list mode.
205th, synchronous actuator receives the mail of the Notes new mail comprising with list mode that Notes server returns Address corresponding Notes new mail.
206th, synchronous actuator sends the Notes receiving new mail to document adapter.
In the embodiment of the present invention, synchronous actuator can send the Notes new mail of the XML format receiving to document Adapter.
207th, document adapter extracts the annex that comprises of Notes new mail and image content, and by annex and picture Content stores to file adapter.
In the embodiment of the present invention, the major function of file adapter is to store annex, image content, can be general Logical file server, or exist in nosql server and wait to quote.
208th, document adapter receives annex and image content the depositing in file adapter that file adapter returns Storage path.
209th, the clip Text of this store path and Notes new mail is generated html file and returns to by document adapter Synchronous actuator;Wherein, clip Text comprises sender, addressee and title.
In the embodiment of the present invention, the clip Text of this store path and Notes new mail can also be turned by document adapter It is changed to the form that plain text etc. is easy to read, process.
210th, html file is stored storage adapter corresponding to mail server by synchronous actuator.
In the embodiment of the present invention, the major function of storage adapter is to preserve the html file after conversion to be easy to search.
In the embodiment of the present invention, implement above-mentioned steps 206~step 210, can effectively change the Fu Wen in Notes mail Basis, picture and text mixing, document links content, enable his typesetting to be substantially consistent with original Notes mail.
It can be seen that, implement the method described by Fig. 2, mail server need not be using polling mode in Notes server The Notes mailbox of each user carries out mail synchronization, such that it is able to reduce the waste to Internet resources.Meanwhile, implement Fig. 2 institute The method of description, can effectively change rich text in Notes mail, picture and text mixing, document links content, enable his typesetting Enough substantially it is consistent with original Notes mail.
Embodiment three
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of another kind of mail synchronization method disclosed in the embodiment of the present invention.As Fig. 3 Shown, this mail synchronization method may comprise steps of:
Wherein, step 301~step 309 is identical with the step 201~step 209 in preceding embodiment, and the present invention is implemented Example does not repeat.
310th, synchronous actuator comprises according to html file this store path and addressee, are that addressee generates for should The access rights of store path, and store to drm controller.
For example, synchronous actuator comprises according to html file this store path and addressee, are addressee's generation Mode for the access rights of this store path is specifically as follows:
Synchronous actuator sets up the pair relationhip between this store path and addressee that html file comprises, and this is matched Relation is as the access rights generating for addressee for this store path.
As a kind of optional embodiment, synchronous actuator can receive the response message of drm controller return, should Response message is used for showing that the access rights of this store path are stored by drm controller.
311st, html file is stored storage adapter corresponding to mail server by synchronous actuator.
In the embodiment of the present invention, mail server is receiving this storage road comprising for html file of addressee's initiation During the access request in footpath, mail server may determine that access rights that addressee possesses whether with drm controller storage should The access rights of store path match, if matched, by mail server obtain from file adapter this annex and Image content, and this annex and image content are showed addressee.
In the embodiment of the present invention, implement above-mentioned steps 310~step 311, the access of document links in mail can be controlled Authority is it is ensured that information security.
In the embodiment of the present invention, can also include sending the mail stage, you can to directly invoke native interface, HTML is write Enter.
It can be seen that, the method described by implementing Fig. 3, mail server need not be using polling mode in Notes server The Notes mailbox of each user carries out mail synchronization, such that it is able to reduce the waste to Internet resources.Meanwhile, implementing Fig. 3 institute The method of description, can effectively change rich text in Notes mail, picture and text mixing, document links content, enable his typesetting Enough substantially it is consistent with original Notes mail.Meanwhile, the method described by implementing Fig. 3, can control document chain in mail The access rights that connect are it is ensured that information security.
Additionally, the enforcement embodiment of the present invention, it is possible to achieve the Notes mail in Notes server is converted into browser Discernible HTML content, the B/S (Browser/Server, browser/server) such that it is able to realize Notes mailbox changes, Further, the embodiment of the present invention may also reach up following effect:
1st, the rich text of Notes mail and picture and text mixing content can be directly changed into HTML and present at B/S end.
2nd, multiserver, simultaneously to Content Transformation, is easy to extend.
3rd, in effective control mail document links access rights.
4th, compatible lowest version Notes mailbox.
Example IV
Refer to Fig. 4, Fig. 4 is a kind of structural representation of synchronous actuator disclosed in the embodiment of the present invention.Implementing Fig. 4 During shown synchronous actuator, when the Notes mailbox of a certain user in Notes server receives Notes new mail, by holding The addresses of items of mail of Notes new mail is notified sync server by row agency, will comprise Notes new mail to trigger sync server The instruction of addresses of items of mail be stored in execution queue.As shown in figure 4, this synchronous actuator can include:
Acquiring unit 401, for obtaining the instruction in execution queue;
Lock unit 402, for the addresses of items of mail of Notes new mail being comprised according to instruction, by Notes new mail from Notes server sync is to mail server.
Wherein, implement the synchronous actuator described by Fig. 4, mail server need not be serviced to Notes using polling mode The Notes mailbox of each of device user carries out mail synchronization, such that it is able to reduce the waste to Internet resources.
Embodiment five
Refer to Fig. 5, Fig. 5 is the structural representation of another kind of synchronization actuator disclosed in the embodiment of the present invention.Wherein, scheme Synchronous actuator shown in 5 is that synchronous actuator as shown in Figure 4 is optimized and obtains.Synchronous actuator shown in Fig. 5 In, lock unit 402 can include:
First subelement 4021, obtains request for sending Notes new mail to Notes server, Notes new mail obtains Request bag is taken to contain the addresses of items of mail of Notes new mail;
Second subelement 4022, the addresses of items of mail for receiving the Notes new mail of Notes server return is corresponding Notes new mail;
3rd subelement 4023, for sending the Notes receiving new mail to document adapter, is fitted with triggering document Orchestration extracts the annex that comprises of Notes new mail and image content, and by document adapter by this annex and image content Store to file adapter, and this annex by document adapter reception file adapter return and image content are in file Store path in adapter, and by document adapter, the clip Text of this store path and Notes new mail is generated Html file;Wherein, clip Text comprises sender, addressee and title;
4th subelement 4024, for receiving the html file of document adapter return;
5th subelement 4025, for storing storage adapter corresponding to mail server by html file.
Wherein, the first above-mentioned subelement 4021, the second subelement 4022, the 3rd subelement the 4023, the 4th son list are implemented Unit 4024 and the 5th subelement 4025, can effectively change rich text in Notes mail, picture and text mixing, in document links Hold, so that his typesetting is substantially consistent with original Notes mail.
As a kind of optional embodiment, in the synchronous actuator shown in Fig. 5, lock unit 402 also includes:
Authority subelement 4026, after receiving, in the 4th subelement 4024, the html file that document adapter returns, And before html file is stored storage adapter corresponding to mail server by the 5th subelement 4025, according to HTML literary composition This store path and addressee that part comprises, are the access rights that addressee generates for this store path;
Control subelement 4027, for the access rights of this store path are stored to drm controller, so that mail clothes Business device, when receiving the access request of the store path comprising for html file of addressee's initiation, is judged by mail server The access rights of the store path whether access rights that addressee possesses are stored with drm controller match, if phase Join, this annex and image content are obtained from file adapter by mail server, and by this annex and image content exhibition Show to addressee.
Wherein, the 5th subelement 4025 can control subelement 4027 to store the access rights of this store path to power After limit controller, html file is stored storage adapter corresponding to mail server.
Wherein, implement above-mentioned authority subelement 4026, control subelement 4027, to control the visit of document links in mail Ask authority it is ensured that information security.
In the embodiment of the present invention, subelement 4027 is controlled to be additionally operable to receive the response message that drm controller returns, this sound Message is answered to be used for showing that the access rights of this store path are stored by drm controller.
In the embodiment of the present invention, store path and addressee that authority subelement 4026 comprises according to html file, for receiving The mode that part people generates the access rights for this store path is specially:
The pair relationhip between the store path that html file comprises and addressee set up by authority subelement 4026, will match Relation is as the access rights generating for addressee for store path.
It can be seen that, implement the synchronous actuator described by Fig. 5, mail server need not be serviced to Notes using polling mode The Notes mailbox of each of device user carries out mail synchronization, such that it is able to reduce the waste to Internet resources.Meanwhile, real Apply the synchronous actuator described by Fig. 5, can effectively change rich text in Notes mail, picture and text mixing, in document links Hold, so that his typesetting is substantially consistent with original Notes mail.Meanwhile, implement the synchronization execution described by Fig. 5 Device, can control the access rights of document links in mail it is ensured that information security.
Embodiment six
Refer to Fig. 6, Fig. 6 is a kind of structural representation of mail synchronization system disclosed in the embodiment of the present invention.As Fig. 6 institute Show, this mail synchronization system can include:
Execution agency 601, the Notes mailbox for a certain user in Notes server 600 receives Notes new stamp During part, the addresses of items of mail of Notes new mail is notified sync server 602;
Sync server 602, for being stored in execution queue 603 by the instruction of the addresses of items of mail comprising Notes new mail;
Synchronous actuator 604, for obtaining the instruction in execution queue 603;
Synchronous actuator 604, is additionally operable to according to the addresses of items of mail instructing the Notes new mail comprising, by Notes new mail It is synchronized to mail server 605 from Notes server 600.
As a kind of optional embodiment, in the mail synchronization system shown in Fig. 6, synchronous actuator 604 is according to finger Make the addresses of items of mail of the Notes new mail comprising, Notes new mail is synchronized to mail server from Notes server 600 605 mode is specially:
Synchronous actuator 604 sends Notes new mail to Notes server 600 and obtains request, and Notes new mail obtains Request bag contains the addresses of items of mail of Notes new mail;
Synchronous actuator 604 receives the corresponding Notes of addresses of items of mail of the Notes new mail that Notes server 600 returns New mail;
Synchronous actuator 604 sends the Notes receiving new mail to document adapter 606;
Document adapter 606 extracts the annex that comprises of Notes new mail and image content, and by this annex and picture Content stores to file adapter 607;And, this annex that reception file adapter 607 returns and image content are in file Store path in adapter 607, and the clip Text of this store path and Notes new mail is generated html file;Its In, clip Text comprises sender, addressee and title;
Synchronous actuator 604 receives the html file that document adapter 606 returns;
Html file is stored storage adapter corresponding to mail server 605 by synchronous actuator 604.
As a kind of optional embodiment, in the mail synchronization system shown in Fig. 6:
Synchronous actuator 604, is additionally operable to after receiving the html file that document adapter 606 returns, and by HTML Before file stores storage adapter 608 corresponding to mail server 605, this store path of being comprised according to html file and Addressee, is the access rights that addressee generates for this store path;And, by the access rights of this store path store to Drm controller 608;
Mail server 605 is in the access request of the store path comprising for html file receiving addressee's initiation When, judge that the access rights of the store path whether access rights that addressee possesses are stored with drm controller 608 match, If matched, obtain this annex and image content from file adapter 607, and this annex and image content are shown To addressee.
As a kind of optional embodiment, in the mail synchronization system shown in Fig. 6, synchronous actuator 604 is additionally operable to After storing the access rights of store path to drm controller 608, the response receiving drm controller 608 return disappears Breath, this response message is used for showing that the access rights of this store path are stored by drm controller 608.
As a kind of optional embodiment, in the mail synchronization system shown in Fig. 6, synchronous actuator 604 basis Store path and addressee that html file comprises, are that the mode of the access rights that addressee generates for store path is concrete For:
Synchronous actuator 604 sets up the pair relationhip between the store path that html file comprises and addressee, will match Relation is as the access rights generating for addressee for store path.
It can be seen that, implement the mail synchronization system described by Fig. 6, mail server need not be taken to Notes using polling mode The Notes mailbox of each of business device user carries out mail synchronization, such that it is able to reduce the waste to Internet resources.Meanwhile, Implement the mail synchronization system described by Fig. 6, can effectively change rich text in Notes mail, picture and text mixing, document links Content, enables his typesetting to be substantially consistent with original Notes mail.Meanwhile, implement the mail synchronization described by Fig. 6 System, can control the access rights of document links in mail it is ensured that information security.
Additionally, the enforcement embodiment of the present invention, it is possible to achieve the Notes mail in Notes server is converted into browser Discernible HTML content, the B/S (Browser/Server, browser/server) such that it is able to realize Notes mailbox changes, Further, the embodiment of the present invention may also reach up following effect:
1st, the rich text of Notes mail and picture and text mixing content can be directly changed into HTML and present at B/S end.
2nd, multiserver, simultaneously to Content Transformation, is easy to extend.
3rd, in effective control mail document links access rights.
4th, can compatible lowest version Notes mailbox.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), Programmable read only memory (Programmable Read-only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disc store, magnetic tape storage or can For carry or data storage any other medium computer-readable.
Above detailed Jie is carried out to mail synchronization method a kind of disclosed in the embodiment of the present invention and system, relevant device Continue, specific case used herein is set forth to the principle of the present invention and embodiment, the explanation of above example is only It is to be used to help understand the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to this Bright thought, all will change in specific embodiments and applications, and in sum, this specification content should not be managed Solve as limitation of the present invention.

Claims (15)

1. a kind of mail synchronization method is it is characterised in that the Notes mailbox working as a certain user in Notes server receives During Notes new mail, by execution, the addresses of items of mail of described Notes new mail is notified sync server by agency, described to trigger The instruction of the addresses of items of mail comprising described Notes new mail is stored in execution queue by sync server, and methods described includes:
Synchronous actuator obtains the described instruction in described execution queue;
The addresses of items of mail of the described Notes new mail that described synchronous actuator comprises according to described instruction, by described Notes new stamp Part is from described Notes server sync to mail server.
2. mail synchronization method according to claim 1 is it is characterised in that described synchronous actuator is according to described instruction bag The addresses of items of mail of the described Notes new mail containing, described Notes new mail is taken from described Notes server sync to mail Business device, including:
Described synchronous actuator sends Notes new mail to described Notes server and obtains request, and described Notes new mail obtains Request bag is taken to contain the addresses of items of mail of described Notes new mail;
The addresses of items of mail that described synchronous actuator receives the described Notes new mail that described Notes server returns is corresponding Notes new mail;
Described synchronous actuator sends the described Notes new mail receiving to document adapter, is fitted with triggering described document Orchestration extracts the annex that comprises of described Notes new mail and image content, and by described document adapter by described annex with And image content stores to file adapter, and the described attached of described file adapter return is received by described document adapter The part and image content store path in described file adapter, and by described document adapter by described store path Generate html file with the clip Text of described Notes new mail;Wherein, described clip Text comprise sender, addressee with And title;
Described synchronous actuator receives the described html file that described document adapter returns;
Described html file is stored storage adapter corresponding to mail server by described synchronous actuator.
3. mail synchronization method according to claim 2 is it is characterised in that the described synchronous actuator described document of reception is fitted After the described html file that orchestration returns, and described synchronous actuator stores described html file to mail server pair Before the storage adapter answered, methods described also includes:
Described store path and addressee that described synchronous actuator comprises according to described html file, are that described addressee generates Access rights for described store path;
Described synchronous actuator stores the access rights of described store path to drm controller, so that mail server is being received During the access request of the described store path comprising for described html file initiated to described addressee, taken by described mail Business device judges the access of the described the store path whether access rights that described addressee possesses are stored with described drm controller Authority matches, if matched, obtains described annex and picture by described mail server from described file adapter Content, and described annex and image content are showed described addressee.
4. mail synchronization method according to claim 3 is it is characterised in that described synchronous actuator is by described store path Access rights store to after drm controller, methods described also includes:
Described synchronous actuator receives the response message that described drm controller returns, and described response message is used for showing described power The access rights of described store path are stored by limit controller.
5. the mail synchronization method according to claim 3 or 4 is it is characterised in that described synchronous actuator is according to described Described store path and addressee that html file comprises, are the access right that described addressee generates for described store path Limit, including:
The pairing that described synchronous actuator is set up between the described store path that described html file comprises and described addressee is closed System, using described pair relationhip as the access rights for described store path generating for described addressee.
6. a kind of synchronous actuator is it is characterised in that the Notes mailbox working as a certain user in Notes server receives Notes During new mail, by execution, the addresses of items of mail of described Notes new mail is notified sync server by agency, to trigger described synchronous clothes The instruction of the addresses of items of mail comprising described Notes new mail is stored in execution queue by business device, and described synchronous actuator includes:
Acquiring unit, for obtaining the described instruction in described execution queue;
Lock unit, the addresses of items of mail of the described Notes new mail for being comprised according to described instruction, by described Notes new stamp Part is from described Notes server sync to mail server.
7. synchronous actuator according to claim 6 is it is characterised in that described lock unit includes:
First subelement, obtains request for sending Notes new mail to described Notes server, described Notes new mail obtains Request bag is taken to contain the addresses of items of mail of described Notes new mail;
Second subelement, the addresses of items of mail for receiving the described Notes new mail that described Notes server returns is corresponding Notes new mail;
3rd subelement, for sending the described Notes new mail receiving to document adapter, is fitted with triggering described document Orchestration extracts the annex that comprises of described Notes new mail and image content, and by described document adapter by described annex with And image content stores to file adapter, and the described attached of described file adapter return is received by described document adapter The part and image content store path in described file adapter, and by described document adapter by described store path Generate html file with the clip Text of described Notes new mail;Wherein, described clip Text comprise sender, addressee with And title;
4th subelement, for receiving the described html file that described document adapter returns;
5th subelement, for storing storage adapter corresponding to mail server by described html file.
8. synchronous actuator according to claim 7 is it is characterised in that described lock unit also includes:
Authority subelement, after receiving, in described 4th subelement, the described html file that described document adapter returns, And before described html file is stored storage adapter corresponding to mail server by described 5th subelement, according to institute State described store path and the addressee that html file comprises, be the access right that described addressee generates for described store path Limit;
Control subelement, for storing the access rights of described store path to drm controller, so that mail server exists When receiving the access request of the described store path comprising for described html file that described addressee initiates, by described mail Server judges the visit of the described the store path whether access rights that described addressee possesses are stored with described drm controller Asking that authority matches, if matched, described annex and figure being obtained from described file adapter by described mail server Piece content, and described annex and image content are showed described addressee.
9. synchronous actuator according to claim 8 is it is characterised in that described control subelement is additionally operable to receive described power The response message that limit controller returns, described response message is used for showing described drm controller by the visit of described store path Ask that authority is stored.
10. synchronous actuator according to claim 8 or claim 9 is it is characterised in that described authority subelement is according to described HTML Described store path and addressee that file comprises, are the side of the access rights that described addressee generates for described store path Formula is specially:
The pairing that described authority subelement is set up between the described store path that described html file comprises and described addressee is closed System, using described pair relationhip as the access rights for described store path generating for described addressee.
A kind of 11. mail synchronization systems are it is characterised in that including Notes server, executing agency, sync server, synchronously hold Row device and mail server, wherein:
Described execute agency, the Notes mailbox for a certain user in described Notes server receives Notes new mail When, the addresses of items of mail of described Notes new mail is notified described sync server;
Described sync server, for being stored in execution queue by the instruction of the addresses of items of mail comprising described Notes new mail;
Described synchronous actuator, for obtaining the described instruction in described execution queue;
Described synchronous actuator, is additionally operable to the addresses of items of mail of described Notes new mail comprising according to described instruction, will be described Notes new mail is from described Notes server sync to described mail server.
12. mail synchronization systems according to claim 11 are it is characterised in that described synchronous actuator is according to described instruction The addresses of items of mail of the described Notes new mail comprising, by described Notes new mail from described Notes server sync to described The mode of mail server is specially:
Described synchronous actuator sends Notes new mail to described Notes server and obtains request, and described Notes new mail obtains Request bag is taken to contain the addresses of items of mail of described Notes new mail;
The addresses of items of mail that described synchronous actuator receives the described Notes new mail that described Notes server returns is corresponding Notes new mail;
Described synchronous actuator sends the described Notes new mail receiving to document adapter;
Described document adapter extracts annex and the image content that described Notes new mail comprises, and by described document fit Device stores described annex and image content to file adapter;And receive the described annex that described file adapter returns And store path in described file adapter for the image content, and by described store path and described Notes new mail Clip Text generate html file;Wherein, described clip Text comprises sender, addressee and title;
Described synchronous actuator receives the described html file that described document adapter returns;
Described html file is stored storage adapter corresponding to mail server by described synchronous actuator.
13. mail synchronization systems according to claim 12 it is characterised in that:
Described synchronous actuator, is additionally operable to after receiving the described html file that described document adapter returns, and by institute State the described storage before html file stores storage adapter corresponding to mail server, comprising according to described html file Path and addressee, are the access rights that described addressee generates for described store path;And, by described store path Access rights store to drm controller;
Described mail server is receiving the described store path comprising for described html file that described addressee initiates During access request, judge the described the store path whether access rights that described addressee possesses are stored with described drm controller Access rights match, if matched, from described file adapter, obtain described annex and image content, and by institute State annex and image content shows described addressee.
14. mail synchronization systems according to claim 13 are it is characterised in that described synchronous actuator is additionally operable to by institute The access rights stating store path store to after drm controller, receive the response message that described drm controller returns, institute State response message for showing that the access rights of described store path are stored by described drm controller.
The 15. mail synchronization systems according to claim 13 or 14 are it is characterised in that described synchronous actuator is according to described Described store path and addressee that html file comprises, are the access rights that described addressee generates for described store path Mode be specially:
The pairing that described synchronous actuator is set up between the described store path that described html file comprises and described addressee is closed System, using described pair relationhip as the access rights for described store path generating for described addressee.
CN201610828547.XA 2016-09-18 2016-09-18 Mail synchronization method and system, and related device Pending CN106453038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610828547.XA CN106453038A (en) 2016-09-18 2016-09-18 Mail synchronization method and system, and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610828547.XA CN106453038A (en) 2016-09-18 2016-09-18 Mail synchronization method and system, and related device

Publications (1)

Publication Number Publication Date
CN106453038A true CN106453038A (en) 2017-02-22

Family

ID=58168637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610828547.XA Pending CN106453038A (en) 2016-09-18 2016-09-18 Mail synchronization method and system, and related device

Country Status (1)

Country Link
CN (1) CN106453038A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222710A1 (en) * 2007-03-05 2008-09-11 Microsoft Corporation Simplified electronic messaging system
CN101483835A (en) * 2009-02-24 2009-07-15 诚迈科技(南京)有限公司 Implementing method and system for novel mobile mail
CN101674266A (en) * 2009-10-22 2010-03-17 中国电信股份有限公司 Mail synchronization method and device based on mailbox active notification
CN102394839A (en) * 2011-11-17 2012-03-28 中兴通讯股份有限公司 Downloading method of email attachment and email system
CN103428298A (en) * 2013-08-30 2013-12-04 华南理工大学 Multi-party e-mail attachment sharing management method based on Cloud storage
US20150350133A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Message attachment management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222710A1 (en) * 2007-03-05 2008-09-11 Microsoft Corporation Simplified electronic messaging system
CN101483835A (en) * 2009-02-24 2009-07-15 诚迈科技(南京)有限公司 Implementing method and system for novel mobile mail
CN101674266A (en) * 2009-10-22 2010-03-17 中国电信股份有限公司 Mail synchronization method and device based on mailbox active notification
CN102394839A (en) * 2011-11-17 2012-03-28 中兴通讯股份有限公司 Downloading method of email attachment and email system
CN103428298A (en) * 2013-08-30 2013-12-04 华南理工大学 Multi-party e-mail attachment sharing management method based on Cloud storage
US20150350133A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Message attachment management

Similar Documents

Publication Publication Date Title
JP5063258B2 (en) System, method and computer program for recording operation log
US8312538B2 (en) Site check method
CN104243154B (en) Server user's permission centralized control system and method
CN103595703B (en) Linux safety file transmission system based on OpenSSL and Linux safety file transmission method based on OpenSSL
CN103023933B (en) A kind of log-on message Integrated Processing System and method
CN104378423B (en) Metadata cluster distributed memory system and reading, the method for write-in storage data
CN109063457A (en) The cross-platform login unified certification interconnection method of one kind, storage medium, electronic equipment
RU2004131856A (en) METHODS AND DEVICE FOR SYNCHRONIZING HOW DATA IS STORED IN VARIOUS DATA STORAGES
CN110278187A (en) Multiple terminals single-point logging method, system, sync server and medium
CN108460577A (en) Students' archives management method, platform and its system
CN103051646A (en) Information synchronization method and device
CN106878483A (en) A kind of IP address distribution method and device
JP2007501969A (en) Method, system, and computer program for creating collaborative e-mail documents (collaborative e-mail)
JP2017513151A (en) Private cloud connection device cluster architecture
CN103347020B (en) A kind of system and method across application authorization access
CN100512158C (en) Network measuring system structure and realizing method thereof
CN108764902A (en) Method, node and block catenary system for storing data
CN106603711A (en) Communication method and system and message server
CN103825863A (en) Account management method and account management device
CN103200146B (en) The method of data synchronization of terminal and server and device
CN109918867B (en) Peer-to-peer system file tracing method based on block chain
CN103491092A (en) Method and system for separating and binding of application platform and databank
CN109981677A (en) A kind of credit management method and device
CN111935260B (en) Account synchronization method and device, electronic equipment and storage medium
CN106453038A (en) Mail synchronization method and system, and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20170222