Method and system for integrating extension mailbox

Through the identity authentication and information push mechanism of the mailbox service module, exchange mailbox information is synchronized to the local server, and an encapsulation interface is provided to solve the integration problem of different mailbox systems and collaborative office software, achieving efficient mailbox function integration and user experience improvement.

CN118784609APending Publication Date: 2024-10-15SHENZHEN LANYOU TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411055197.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Clients of different email systems are difficult to integrate into collaborative office software, resulting in limited application of email functions in office environments.

Method used

Identity authentication is performed through the mailbox service module, user access requests are pushed to the distributed publish-subscribe messaging system, email information from the exchange mailbox server is synchronized to the local server, and interface interaction is provided through the encapsulation interface to realize the integration of mailboxes and collaborative office systems.

Benefits of technology

It achieves effective integration of exchange mailboxes and collaborative office systems, improves user access efficiency and data security, provides an online preview function, and simplifies mailbox operations and management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784609A_ABST
    Figure CN118784609A_ABST
Patent Text Reader

Abstract

The invention discloses a method for integrating an extension mailbox. According to the method, firstly, a user access request sent to a mailbox service module is used for carrying out identity authentication on an identity authentication platform of the collaborative office system; then, information related to the user access request is pushed to a distributed message publishing and subscribing system through a mailbox service module; according to the information pushed to the distributed publishing and subscribing message system, the latest mail information related to the extension mailbox server is synchronously stored to a local server through a synchronization service module; and finally, the latest mail information stored in the local server is returned to the user through the mailbox service module. Therefore, effective integration of the extension mailbox and the original collaborative office system can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software technology, and in particular to a method and system for integrating an exchange mailbox. Background Art

[0002] Email communication plays a vital role in a company. It is not only an indispensable communication tool in daily work, but also essential for maintaining a formal and professional communication environment. There are many corporate email systems on the market, such as Tencent Enterprise Email, Alibaba Enterprise Email, and NetEase Enterprise Email. However, different email systems have their own clients, and it is often difficult to integrate email clients into your collaborative office software. Summary of the invention

[0003] The main purpose of the present invention is to provide a method and system for integrating an exchange mailbox in view of the shortcomings of the prior art.

[0004] To achieve the above object, the present invention provides a method for integrating an exchange mailbox, comprising:

[0005] Use the user access request sent to the mailbox service module to authenticate the identity of the collaborative office system's identity authentication center;

[0006] After the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module;

[0007] According to the information pushed to the distributed publish-subscribe messaging system, the latest email information in the exchange mailbox server is synchronously stored in the local server through the synchronization service module;

[0008] The latest email information stored in the local server is returned to the user through the mailbox service module.

[0009] In the method for integrating an exchange mailbox provided by the present invention, the mailbox service module provides a plurality of encapsulation interfaces, and the ews interface of the exchange mailbox is called through the plurality of encapsulation interfaces according to a user access request to form an interface interaction.

[0010] In the method for integrating an exchange mailbox provided by the present invention, the encapsulation interface includes a mail list query interface, a mail detail query interface, a mail unread count query interface, a mail folder list query interface, and a mail sending and receiving interface.

[0011] The method for integrating exchange mailboxes provided by the present invention also includes: when a user accesses an attachment or a picture, the mailbox service module stores the corresponding file to the local server by calling the file service module, and provides an online preview through the document middle platform of the collaborative office system.

[0012] In addition, to achieve the above object, the present invention also provides a system for integrating an exchange mailbox, comprising:

[0013] The mailbox service module is used to perform identity authentication on the identity authentication center of the collaborative office system according to the user access request, and after the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system;

[0014] A synchronization service module, used to synchronize and store the latest email information in the exchange mailbox server to the local server according to the information pushed to the distributed publish-subscribe message system;

[0015] The mailbox service module is also used to return the latest email information stored in the local server to the user.

[0016] In the system for integrating an exchange mailbox provided by the present invention, the mailbox service module provides a plurality of encapsulation interfaces, and the ews interface of the exchange mailbox is called through the plurality of encapsulation interfaces according to a user access request to form an interface interaction.

[0017] In the system for integrating exchange mailboxes provided by the present invention, the encapsulation interface includes a mail list query interface, a mail detail query interface, a mail unread count query interface, a mail folder list query interface, and a mail sending and receiving interface.

[0018] The system for integrating exchange mailboxes provided by the present invention also includes a file service module. When a user accesses an attachment or a picture, the mailbox service module stores the corresponding file to the local server by calling the file service module, and provides an online preview through the document middle platform of the collaborative office system.

[0019] The present invention also provides a device for integrating an exchange mailbox, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method for integrating an exchange mailbox as described above are implemented.

[0020] The present invention also provides a storage medium storing one or more programs, wherein the one or more programs can be executed by one or more processors to implement the steps of the method for integrating an exchange mailbox as described above.

[0021] The system and method for integrating exchange mailboxes provided by the present invention have the following beneficial effects: the present invention first uses the user access request sent to the mailbox service module to perform identity authentication on the identity authentication middle platform of the collaborative office system; then, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module; then, based on the information pushed to the distributed publish-subscribe message system, the relevant latest email information in the exchange mailbox server is synchronized and stored in the local server through the synchronization service module; finally, the latest email information stored in the local server is returned to the user through the mailbox service module; thereby, the effective integration of the exchange mailbox and the original collaborative office system can be realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings in the following description are only embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative work:

[0023] Figure 1 Shown is a flow chart of a method for integrating an exchange mailbox provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to facilitate understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Typical embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0026] The general idea of ​​the present invention is: the present invention first uses the user access request sent to the mailbox service module to perform identity authentication on the identity authentication middle platform of the collaborative office system; then, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module; then, based on the information pushed to the distributed publish-subscribe message system, the relevant latest email information in the exchange mailbox server is synchronized and stored in the local server through the synchronization service module; finally, the latest email information stored in the local server is returned to the user through the mailbox service module; thereby, the effective integration of the exchange mailbox and the original collaborative office system can be realized.

[0027] In order to better understand the above-mentioned technical scheme, the above-mentioned technical scheme will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[0028] Figure 1 FIG. 1 is a flow chart of a method for integrating an exchange mailbox provided by an embodiment of the present invention. Figure 1 As shown, the method for integrating an exchange mailbox includes the following steps:

[0029] Step S1: Perform identity authentication on the identity authentication center of the collaborative office system using the user access request sent to the mailbox service module;

[0030] Specifically, in one embodiment of the present invention, when a user logs in to the mailbox application on the client, an access request is triggered. This request includes the user's account name and password, which are used to verify the user's identity and permissions. The user's access request first passes through network components such as nginx and gateway, and finally reaches the mailbox service module. After the mailbox service module receives the user's access request, it needs to perform identity authentication and complete the identity authentication by calling the component specifically responsible for identity authentication in the collaborative office system, such as the identity authentication middle station.

[0031] In this embodiment, the mailbox service module uses the user's account name and password to send an authentication request to the identity authentication center of the collaborative office system in a secure manner. The identity authentication center is responsible for verifying the correctness and validity of the credential information provided by the user, including checking whether the user's username and password match, and whether there are other required authentication factors (such as two-factor authentication). If the identity authentication center is verified, confirming that the user's identity is legal and has the right to access the mailbox service, a successful login confirmation message is returned to the mailbox service module. After receiving the confirmation that the authentication is successful, the mailbox service module can continue to process the user's mailbox access request, allowing the user to access the content and functions of their mailbox. Through this process, secure user identity authentication and authorization management are achieved, the security and reliability of the mailbox service are guaranteed, and the confidentiality and integrity of user data and communications are ensured.

[0032] Step S2: after the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module;

[0033] Specifically, in one embodiment of the present invention, when the mailbox service module confirms that the user identity authentication is passed, after the identity authentication is passed, the mailbox service module pushes information related to the user access request to the distributed publish-subscribe messaging system. Such information may include the user's login event, the specific mailbox operation accessed (such as sending an email, inbox operation, etc.), etc. The distributed publish-subscribe messaging system is usually designed to efficiently process a large number of messages, support real-time and scalability, and ensure that information can be stored and transmitted safely and reliably.

[0034] Step S3: Based on the information pushed to the distributed publish-subscribe messaging system, the latest email information in the exchange mailbox server is synchronously stored in the local server through the synchronization service module;

[0035] Specifically, in one embodiment of the present invention, when new information related to user access requests is generated, this information is pushed to the distributed publish-subscribe message system. This may include the user's email access request or other operations that need to be processed. Once the information is pushed to the distributed publish-subscribe message system, the system will trigger the synchronization service module to process this information. The synchronization service module will connect to the interface of the Exchange mailbox server and obtain the latest email information through Exchange Web Services (EWS) or other appropriate APIs. This information may include email lists, email content, attachments, etc. The obtained email information will be stored in the database or file system of the local server by the synchronization service module. In this way, access efficiency can be improved and offline operations or backup requirements can be supported.

[0036] Step S4: Return the latest email information stored in the local server to the user through the mailbox service module.

[0037] Specifically, in one embodiment of the present invention, in step S3, the synchronization service module synchronizes the latest email information in the Exchange mailbox server to the local server. This information may include the email title, sender, recipient, date, body content, etc. When users need to access the latest email, they will initiate a request. After receiving the user's request, the mailbox service module retrieves the corresponding email information from the local server according to the content of the request, such as a specific email list, emails within a specific time range, etc. The email information is returned to the user: the obtained email information is formatted and processed and returned to the user's client. This may include displaying the email list on the user interface, providing an email preview, or the option to download the complete email.

[0038] Furthermore, in one embodiment of the present invention, the mailbox service module provides multiple encapsulation interfaces, through which the EWS interface of the exchange mailbox is called according to the user's access request to form an interface interaction. Among them, the encapsulation interface includes an email list query interface, an email detail query interface, an email unread query interface, an email folder list query interface, and an email sending and receiving interface. After the user successfully passes the identity authentication, the mailbox service module will call the appropriate encapsulation interface according to the user's access request. For example, if the user requires to view the email list, the mailbox service module will call the email list query interface; if the user needs to view the specific email content, the email detail query interface will be called. These interfaces interact with the EWS interface of the Exchange mailbox to achieve data acquisition and operation, and display the results on the user interface to form an interactive interface between the user and the mailbox system. By calling the EWS interface, the mailbox service module can obtain real-time mailbox data and dynamically update and display it according to user requests. Users can browse emails, manage folders, send new emails, and other operations through interface interaction, which improves user experience and operation efficiency.

[0039] Furthermore, in one embodiment of the present invention, when a user accesses an attachment or a picture, the mailbox service module calls the file service module to store the corresponding file on the local server, and provides an online preview through the document middle platform of the collaborative office system. Specifically, when a user requests to access an attachment or a picture, the mailbox service module receives the request, and then processes the attachment or picture file by calling the file service module, that is, pulling the file from the mail server or other storage location to the local server. The file service module is responsible for storing the corresponding attachment or picture on the local server, which can improve the access speed and user experience, especially for large files or files that need to be accessed frequently. At the same time, the attachments or pictures stored on the local server can provide an online preview function through the document middle platform of the integrated collaborative office system. For example, in combination with WPS services or other office software services, users can preview the document content in the attachment directly in the browser without downloading it locally. Thus, a faster access and preview experience is provided, and data security and access rights can be better controlled by using local server storage.

[0040] The present invention also provides a system for integrating an exchange mailbox, comprising:

[0041] The mailbox service module is used to perform identity authentication on the identity authentication center of the collaborative office system according to the user access request, and after the identity authentication is passed, push the information related to the user access request to the distributed publish-subscribe message system; and also used to return the latest email information stored in the local server to the user;

[0042] A synchronization service module, used to synchronize and store the latest email information in the exchange mailbox server to the local server according to the information pushed to the distributed publish-subscribe message system;

[0043] File service module: when a user accesses an attachment or a picture, the mailbox service module calls the file service module to store the corresponding file in the local server, and provides an online preview through the document middle platform of the collaborative office system.

[0044] Furthermore, in one embodiment of the present invention, the mailbox service module provides multiple encapsulation interfaces, through which the EWS interface of the exchange mailbox is called according to the user access request to form an interface interaction. The encapsulation interface includes a mail list query interface, a mail detail query interface, a mail unread query interface, a mail folder list query interface, and a mail sending and receiving interface.

[0045] The embodiment of the present invention further provides a device for integrating an exchange mailbox, which may include:

[0046] Memory for storing computer programs;

[0047] The processor can implement the following steps when executing the computer program stored in the above memory:

[0048] The user access request sent to the mailbox service module is used to perform identity authentication on the identity authentication center of the collaborative office system; after the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module; based on the information pushed to the distributed publish-subscribe message system, the relevant latest email information in the exchange mailbox server is synchronized and stored in the local server through the synchronization service module; the latest email information stored on the local server is returned to the user through the mailbox service module.

[0049] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps can be implemented;

[0050] The user access request sent to the mailbox service module is used to perform identity authentication on the identity authentication center of the collaborative office system; after the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module; based on the information pushed to the distributed publish-subscribe message system, the relevant latest email information in the exchange mailbox server is synchronized and stored in the local server through the synchronization service module; the latest email information stored on the local server is returned to the user through the mailbox service module.

[0051] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM)> a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0052] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0053] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.

[0054] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0055] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

Claims

1. A method for integrating an exchange mailbox, characterized in that: include: Use the user access request sent to the mailbox service module to authenticate the identity of the collaborative office system's identity authentication center; After the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system through the mailbox service module; According to the information pushed to the distributed publish-subscribe messaging system, the latest email information in the exchange mailbox server is synchronously stored in the local server through the synchronization service module; The latest email information stored in the local server is returned to the user through the mailbox service module.

2. The method for integrating an exchange mailbox according to claim 1, characterized in that: The mailbox service module provides multiple encapsulation interfaces, through which the EWS interface of the exchange mailbox is called according to user access requests to form interface interaction.

3. The method for integrating an exchange mailbox according to claim 2, characterized in that: The encapsulation interface includes a mail list query interface, a mail details query interface, a mail unread count query interface, a mail folder list query interface, and a mail sending and receiving interface.

4. The method for integrating an exchange mailbox according to claim 1, characterized in that: Also includes: When a user accesses an attachment or a picture, the mailbox service module stores the corresponding file in the local server by calling the file service module, and provides an online preview through the document middle platform of the collaborative office system.

5. A system for integrating exchange mailboxes, characterized in that: include: The mailbox service module is used to perform identity authentication on the identity authentication center of the collaborative office system according to the user access request, and after the identity authentication is passed, the information related to the user access request is pushed to the distributed publish-subscribe message system; A synchronization service module, used to synchronize and store the latest email information in the exchange mailbox server to the local server according to the information pushed to the distributed publish-subscribe message system; The mailbox service module is also used to return the latest email information stored in the local server to the user.

6. The system for integrating exchange mailboxes as claimed in claim 5, characterized in that: The mailbox service module provides multiple encapsulation interfaces, through which the EWS interface of the exchange mailbox is called according to user access requests to form interface interaction.

7. The system for integrating exchange mailboxes as claimed in claim 6, characterized in that: The encapsulation interface includes a mail list query interface, a mail details query interface, a mail unread count query interface, a mail folder list query interface, and a mail sending and receiving interface.

8. The system for integrating exchange mailboxes as claimed in claim 5, characterized in that: It also includes a file service module. When a user accesses an attachment or a picture, the mailbox service module stores the corresponding file to the local server by calling the file service module, and provides an online preview through the document center of the collaborative office system.

9. A device for integrating an exchange mailbox, characterized in that: The invention comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method for integrating an exchange mailbox as claimed in any one of claims 1 to 4 are implemented.

10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method for integrating an exchange mailbox according to any one of claims 1 to 4.