A master data system organization architecture and a method for synchronizing personnel to enterprise mailbox

By expanding the departmental tree structure of the master data system and enterprise email system into a path list in large enterprises, calculating departmental differences and performing difference-driven incremental synchronization and personnel affiliation correction, the problem of inconsistent personnel email affiliation during organizational structure changes was solved, improving synchronization efficiency and accuracy and reducing maintenance costs.

CN123048656APending Publication Date: 2026-11-06JIANGXI EAGLE DIGITAL ENERGY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611041670.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-14
Publication Date
2026-11-06

AI Technical Summary

Technical Problem

In large enterprises, when organizational structures change frequently, existing technologies cannot automatically correct the ownership of personnel email addresses, resulting in data inconsistencies, low synchronization efficiency, and high maintenance costs due to reliance on manual intervention.

Method used

By expanding the department tree structure of the master data system and the enterprise email system into a list of department paths, calculating the department difference set, and performing synchronization operations only on newly added and pending departments, personnel affiliation correction is performed after the organizational structure synchronization is completed, combining difference-driven incremental synchronization and personnel affiliation correction.

Benefits of technology

It achieves efficient and accurate organizational structure synchronization, reduces the amount of invalid data processing, ensures consistency between department trees and personnel relationships, and reduces maintenance costs and reliance on manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123048656A_ABST
    Figure CN123048656A_ABST
Patent Text Reader

Abstract

This invention discloses a method for synchronizing organizational structure and personnel data from a master data system to an enterprise email system. The method includes acquiring organizational structure data and personnel data; synchronizing with the enterprise email system; expanding the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists; calculating department difference sets by comparing the two department path lists; performing corresponding organizational structure synchronization operations only on newly added departments and departments to be processed; and after completing the organizational structure synchronization operation, performing unified attribution matching detection and correction on all personnel in the enterprise email system based on their latest department information in the master data system. This invention links organizational structure changes with personnel attribution changes, improves efficiency through incremental synchronization, and ensures consistency through unified attribution correction, fundamentally solving the problems of low efficiency and data corruption in existing synchronization schemes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of enterprise information system data synchronization technology, and in particular to a method for synchronizing the organizational structure of a master data system and personnel to enterprise email. Background Technology

[0002] In large enterprises, especially manufacturing companies, organizational structures change frequently, with frequent employee onboarding, offboarding, job transfers, departmental mergers and adjustments. As the authoritative data source for organizational, departmental, job, and personnel information, the master data system needs to synchronize this data to the corporate email system in a timely and accurate manner to ensure consistency in address books, permission groups, email distribution strategies, and other aspects.

[0003] However, existing synchronization technologies have many shortcomings. Common full-coverage synchronization methods process large amounts of data, are time-consuming, and carry the risk of mistakenly updating unchanged data, affecting system stability. While some incremental synchronization solutions reduce the amount of data processed, they cannot accurately distinguish between different scenarios such as "addition," "modification," "deletion," and "deactivation" within departments, making it difficult to implement targeted and efficient synchronization operations.

[0004] A more critical issue is that existing solutions generally treat organizational structure synchronization and personnel affiliation updates as two separate processes. When departments undergo adjustments such as mergers or dissolutions, the email affiliations of personnel within those departments cannot be automatically corrected, leading to data inconsistencies. Furthermore, existing technologies lack effective mechanisms for pre-processing data quality verification, compensatory retries after synchronization failures, and process auditing, relying heavily on manual intervention, resulting in high maintenance costs and poor reliability. Summary of the Invention

[0005] The purpose of this invention is to overcome the shortcomings of the existing technology. To achieve the above objectives, a master data system organizational structure and a method for synchronizing personnel to enterprise email are adopted to solve the problems mentioned in the background technology.

[0006] This invention provides a master data system organizational structure and a method for synchronizing personnel to enterprise email, including: Retrieve organizational structure and personnel data from the master data system; Synchronize the organizational structure data and personnel data to the enterprise email system; Expand the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists respectively; By comparing the two department path lists, a department difference set is calculated, which classifies departments into: unchanged departments with the same path in the master data system and the enterprise email system; newly added departments that exist in the master data system but not in the enterprise email system; and pending departments that exist in the enterprise email system but not in the master data system. The corresponding organizational structure synchronization operation will be performed only on the newly added department and the department to be processed; After completing the organizational structure synchronization operation, all personnel in the enterprise email system will undergo unified affiliation matching detection and correction based on their latest department information in the master data system.

[0007] As a further aspect of the present invention: the step of calculating the department difference set by comparing the two department path lists specifically includes: Determine if a department path exists in both lists simultaneously; if so, classify it as an invariant department. Determine whether a department path exists only in the list corresponding to the master data system. If so, classify it as a newly added department. Determine whether a department path exists only in the list corresponding to the enterprise email system. If so, classify it as a department to be processed.

[0008] As a further aspect of the present invention: the organizational structure synchronization operation performed on the department to be processed specifically includes: Migrate the email addresses of all personnel in the department to be processed to the preset root department; After the migration is complete, the department to be processed is removed from the corporate email system.

[0009] As a further aspect of the present invention, the step of performing unified attribution matching detection and correction specifically includes: Read the current department code of each person in the master data system one by one; Compare the current department code with the person's existing department in the corporate email system; If there is a discrepancy, the employee's corporate email address will be adjusted to the department corresponding to the current department code.

[0010] As a further aspect of the present invention, the step of performing unified attribution matching detection and correction further includes: Before adjusting the ownership of an employee's corporate email address, verify at least one of the following: legality, duplication, and null value. If the email address verification fails, the person will be filtered out and recorded as abnormal data, and the person's affiliation adjustment will not be performed.

[0011] As a further aspect of the present invention, the method further includes: The abnormal data is aggregated to form an early warning list, and the early warning list is sent to a preset early warning recipient.

[0012] As a further aspect of the present invention, the method further includes: Record the execution result of the synchronization operation, the execution result including at least the personnel record and / or department record of the synchronization failure; When synchronization is restarted, only the personnel records and / or department records that failed to synchronize in the previous attempt will be retried. Data items that have been successfully synchronized will not be processed again.

[0013] As a further aspect of the present invention, the method further includes: Generate a synchronization batch number for each synchronization operation, and record the synchronization range, number of successful synchronizations, number of failed synchronizations, exception information, and time consumption information in the synchronization log.

[0014] As a further aspect of the present invention: the step of obtaining organizational structure data and personnel data from the master data system includes: The data obtained from the master data interface is filtered according to at least one of the preset organizational scope, synchronization environment, and maximum number of synchronizations to form an input set to be synchronized.

[0015] The present invention also provides a synchronization device for synchronizing a master data system organizational structure and personnel to an enterprise email account using any of the above-described methods, comprising: The data acquisition module is used to acquire organizational structure data and personnel data from the master data system; The difference calculation module is used to expand the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists respectively, and calculate the department difference set by comparing the two department path lists. The department difference set classifies departments into unchanged departments, newly added departments, and departments to be processed. The organization synchronization module is used to perform the corresponding organizational structure synchronization operation only on the newly added department and the department to be processed; The personnel attribution correction module is used to perform unified attribution matching detection and correction for all personnel in the enterprise email system after the organizational structure synchronization operation is completed, based on their latest department information in the master data system.

[0016] Compared with the prior art, the present invention has the following technical advantages: By adopting the above technical solution, the department tree structure of the master data system and the enterprise email system is expanded into a department path list. The department difference set, which includes unchanged departments, newly added departments, and departments to be processed, is calculated by comparing the lists. The organizational structure synchronization operation is performed only on newly added departments and departments to be processed. After the organizational structure synchronization is completed, all personnel in the enterprise email system are uniformly matched and corrected based on their latest department information in the master data system. This decouples the complex problem of organizational changes and personnel affiliation into two controllable steps: difference-driven incremental organizational synchronization and personnel affiliation correction based on the latest data.

[0017] By accurately identifying changed departments through comparison of department path lists, incremental synchronization is performed only on the differences, significantly reducing the amount of invalid data processing and improving synchronization efficiency. At the same time, organizational adjustments and personnel affiliation are processed in conjunction. After organizational synchronization is completed, all personnel affiliation is uniformly corrected to ensure that the department tree and personnel relationships are strictly consistent. This effectively avoids the problem of incorrect personnel email affiliation caused by department changes and solves the technical pain points of fragmented synchronization, low efficiency, and insufficient accuracy in existing technologies. Attached Figure Description

[0018] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings: Figure 1 This is a schematic diagram illustrating the steps of the synchronization method according to an embodiment of this application; Figure 2 This is a sequence diagram of organizational and personnel interaction driven by departmental differences, as disclosed in this application. Figure 3 This is a diagram showing the synchronization status determination of organizations and personnel in an embodiment of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] Please refer to Figure 1 In this embodiment of the invention, a method for synchronizing the organizational structure of a master data system and personnel to an enterprise email account includes: Step S1: Obtain organizational structure data and personnel data from the master data system.

[0021] This step involves data loading and synchronization scope determination. The synchronization engine retrieves data through the standard interface provided by the master data system. The master data interface returns the latest organizational structure data, department data, and personnel data. The basic fields retrieved specifically include: organizational tree structure, department code, department name, employee ID, employee name, and email address.

[0022] After acquiring the full dataset, the synchronization engine reads the preset synchronization configuration and, in conjunction with parameters such as the organizational scope (used to filter root organizations), synchronization environment, and maximum synchronization quantity, filters and trims the acquired data to form the input set for this synchronization. Furthermore, the synchronized data is sorted in descending order by update timestamp, prioritizing the processing of the most recently changed data to ensure that urgent organizational or personnel changes are synchronized first.

[0023] At this point, the master data source to be synchronized is ready.

[0024] Step S2: Synchronize the organizational structure data and personnel data with the enterprise email system.

[0025] This step describes the overall synchronization operation's objective. Subsequent steps S3 through S6 focus on how to efficiently and accurately synchronize the organizational structure and personnel data obtained in step S1 to the enterprise email system. The following steps will elaborate on the specific implementation mechanism of this synchronization process.

[0026] Step S3: Expand the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists respectively.

[0027] This step performs organizational structure standardization. Since organizational structures in master data systems and enterprise email systems are typically stored in tree structures, direct comparison of tree structures is complex and error-prone. This invention uses a "tree unfolding into paths" method for flattening.

[0028] The specific operation involves traversing the department tree structure in the master data system based on the final leaf nodes and expanding it into a list of department paths. Similarly, the same expansion operation is performed on the department tree structure in the enterprise email system. The expanded path format is: "Root Organization / First-Level Department / Second-Level Department / ... / Leaf Department". For example, the department paths of a manufacturing company might look like: "Group Headquarters / Production Division / XX Factory / Final Assembly Workshop", "Group Headquarters / R&D Center / Testing Department", etc.

[0029] After this step, the tree-like organizational structure in both systems was uniformly converted into a flattened list that allows for direct string comparison, laying the foundation for the next step of difference calculation.

[0030] Step S4: By comparing the two department path lists, calculate the department difference set. This set categorizes departments into: unchanged departments with consistent paths in both the master data system and the enterprise email system; newly added departments existing in the master data system but not in the enterprise email system; and pending departments existing in the enterprise email system but not in the master data system. The master data department represents the actual architecture maintained by the company; the enterprise email department is a dedicated email service synchronized from the master data architecture.

[0031] In this embodiment, the step of calculating the department difference set by comparing the two department path lists specifically includes: Determine if a department path exists in both lists simultaneously; if so, classify it as an invariant department. Determine whether a department path exists only in the list corresponding to the master data system. If so, classify it as a newly added department. Determine whether a department path exists only in the list corresponding to the enterprise email system. If so, classify it as a department to be processed.

[0032] Specifically, this step, calculating departmental differences, is the core driving force behind the incremental synchronization of this algorithm. The departmental path list generated in step S3 is compared one by one with the departmental path list in the enterprise email system. The comparison logic is as follows: If a department path exists in both lists and the paths are completely identical, it is classified as an immutable department. These departments indicate that the master data and the data in the corporate email are already consistent and can be ignored, thus avoiding unnecessary data update operations.

[0033] If a department path exists in the master data list but not in the enterprise email list, it is classified as a newly added department. This type of department indicates that an organizational node has been created in the master data system and needs to be created in the enterprise email system.

[0034] If a department path exists in the corporate email list but not in the master data list, it is categorized as a department pending processing. This category covers various scenarios such as changes, deletions, and deactivation: it could be that the department has been deleted from the master data, or that the old path has disappeared due to changes in the department name or hierarchy.

[0035] After this comparison and calculation, only the three scenarios mentioned above were obtained; a fourth scenario did not exist. The difference calculation result will serve as the driving basis for all subsequent synchronization operations. All subsequent add, delete, and modify operations will be performed on the enterprise email system, with the master data provider always acting as the authoritative data source. This mechanism fundamentally avoids indiscriminate full updates.

[0036] Step S5: Perform the corresponding organizational structure synchronization operation only for the newly added department and the department to be processed.

[0037] like Figure 2 As shown, the diagram illustrates the timeline of organizational and personnel interactions driven by departmental differences. This step performs targeted synchronization operations on the corporate email system based on the departmental difference set calculated in step S4. Departments that remain unchanged are ignored and no action is taken. Only newly added departments and departments awaiting processing are processed separately.

[0038] For newly added departments: Execute the new department processing flow. Retrieve the parent-child relationships based on the new department's path, and process them level by level from parent to child. Specifically: Check if the parent department already exists in the enterprise email system. If it exists, skip creation and directly create the child departments under it; if the parent department does not exist, create the parent department first, then create the child departments level by level until all departments along the entire path have been created. After synchronization, ensure that the enterprise email system contains all organizational departments from the master data system.

[0039] For departments awaiting processing: Implement the unified processing rules for departments that have been changed, deleted, or deactivated. These departments no longer exist in the master data (possibly due to deletion, deactivation, or changes in name / level), requiring cleanup of the corresponding departments in the enterprise email system. The core steps of this process are as follows: The first step is to migrate personnel. Locate all email accounts belonging to these departments and migrate them all to the designated root department. This is a crucial step that must be performed because corporate email systems typically require the department to be deleted to be empty (without any members); directly deleting a department containing personnel will cause the operation to fail.

[0040] The second step is to delete departments. After confirming that there are no personnel assigned to any of the departments to be processed, perform a unified deletion operation on these empty departments. After the operation is completed, the department tree in the enterprise email system is completely consistent with the department tree in the master data system, and the organizational structure synchronization phase is now complete.

[0041] Meanwhile, if synchronization fails, there are two possible scenarios: 1. Due to force majeure events such as network hardware problems, the next round of tasks can be executed normally once the network is restored; 2. Abnormal corporate email addresses of employees: Abnormal email addresses will be logged and notified to administrators via email.

[0042] Step S6: After completing the organizational structure synchronization operation, perform unified attribution matching detection and correction on all personnel in the enterprise email system based on their latest department information in the master data system.

[0043] This step performs all personnel affiliation matching checks and adjustments. It's important to note that in a corporate email system, a person's email address is the same as their email account's department affiliation in the address book.

[0044] After the organizational structure synchronization is completed in step S5, the department tree of the enterprise email system is consistent with the master data system. However, the department affiliation of personnel may still be inconsistent: for example, personnel who were migrated to the root department in step S5 need to be reassigned, or there may be personnel whose department affiliation is inconsistent with the master data due to simple job transfers. This step is designed to solve these problems.

[0045] The specific operation involves reading each individual's current record in the master data system and obtaining their latest department code and email address. Regardless of whether the change in department is due to a job transfer or organizational restructuring, the master data system returns the individual's latest and correct department information.

[0046] The system reads the current department code and compares it with the employee's actual department in the corporate email system. If they do not match, it calls the corporate email system's interface to adjust the employee's corporate email address to the correct target department, completing the correction.

[0047] In this embodiment, the organizational structure synchronization operation performed on the department to be processed specifically includes: Migrate the email addresses of all personnel in the department to be processed to the preset root department; After the migration is complete, the department to be processed is removed from the corporate email system.

[0048] In this embodiment, the steps of performing unified attribution matching detection and correction specifically include: Read the current department code of each person in the master data system one by one; Compare the current department code with the person's existing department in the corporate email system; If there is a discrepancy, the employee's corporate email address will be adjusted to the department corresponding to the current department code.

[0049] In this embodiment, the step of performing unified attribution matching detection and correction further includes: Before adjusting the ownership of an employee's corporate email address, verify at least one of the following: legality, duplication, and null value. If the email address verification fails, the person will be filtered out and recorded as abnormal data, and the person's affiliation adjustment will not be performed.

[0050] Specifically, the attribution matching detection process is as follows: Iterate through the data of every individual within the current synchronization scope. For each individual, use their unique identifier (e.g., employee ID) to call the user query interface of the enterprise email system to obtain their current "department" attribute in the enterprise email. Compare this attribute value with the "current department code" in the master data. If the strings do not match, it is determined to be inconsistent, and the user update interface of the enterprise email is then called, passing in the individual's unique identifier and the correct target department code to complete the attribution migration.

[0051] like Figure 3 As shown, the diagram illustrates the synchronization status determination of the organization and its personnel. All personnel affiliation matching detection and adjustment (in corporate email, personnel are email addresses).

[0052] Based on the employee's department, position, and email address, the employee's email address is linked and corrected to the company's email department.

[0053] ① Read the employee's current department code and email address. Regardless of whether it is a job transfer or organizational restructuring, the master data returned will always be the employee's latest department.

[0054] ② If the employee's current department is different from the department listed in their corporate email address, then adjust the department affiliation of the corporate email address. The target department refers to the department of the employee listed in the corporate email address.

[0055] ③ If a person's email address is invalid, filter the email address and record it as abnormal data.

[0056] ④ If a person's email address is duplicated or missing, the warning process will be initiated.

[0057] In this embodiment, the method further includes: The abnormal data is aggregated to form an early warning list, and the early warning list is sent to a preset early warning recipient.

[0058] In this embodiment, the method further includes: Record the execution result of the synchronization operation, the execution result including at least the personnel record and / or department record of the synchronization failure; When synchronization is restarted, only the personnel records and / or department records that failed to synchronize in the previous attempt will be retried. Data items that have been successfully synchronized will not be processed again.

[0059] In this embodiment, the method further includes: Generate a synchronization batch number for each synchronization operation, and record the synchronization range, number of successful synchronizations, number of failed synchronizations, exception information, and time consumption information in the synchronization log.

[0060] In this embodiment, the steps of obtaining organizational structure data and personnel data from the master data system include: The data obtained from the master data interface is filtered according to at least one of the preset organizational scope, synchronization environment, and maximum number of synchronizations to form an input set to be synchronized.

[0061] In a specific implementation, the synchronization results are also stored in the database and logged.

[0062] After synchronization is complete, the results will be written to the synchronization log and status table.

[0063] ① Record the synchronization batch number, synchronization range, number of successful synchronizations, number of failed synchronizations, exception information, and time taken.

[0064] ② Record details of departmental differences, personnel differences, and email anomalies.

[0065] ③ When synchronization fails, a traceable identifier is retained, supporting subsequent synchronization or retry.

[0066] Simultaneously, a compensation and retry mechanism is set up, specifically as follows: In the event of synchronization failure or partial failure, the system can initiate incremental synchronization again based on the difference data.

[0067] ① Only record departments and personnel whose retry attempts failed.

[0068] ② Re-execute synchronization after correcting the cause of failure.

[0069] ③ Ensure that successfully processed data is not processed repeatedly to reduce secondary impact.

[0070] The present invention also provides a synchronization device for synchronizing a master data system organizational structure and personnel to an enterprise email account using any of the above-described methods, comprising: The data acquisition module is used to acquire organizational structure data and personnel data from the master data system; The difference calculation module is used to expand the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists respectively, and calculate the department difference set by comparing the two department path lists. The department difference set classifies departments into unchanged departments, newly added departments, and departments to be processed. The organization synchronization module is used to perform the corresponding organizational structure synchronization operation only on the newly added department and the department to be processed; The personnel attribution correction module is used to perform unified attribution matching detection and correction for all personnel in the enterprise email system after the organizational structure synchronization operation is completed, based on their latest department information in the master data system.

[0071] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention. The scope of the invention is defined by the appended claims and their equivalents, all of which should be included within the scope of protection of the invention.

Claims

1. A master data system organizational structure and a method for synchronizing personnel to enterprise email, characterized in that, include: Retrieve organizational structure and personnel data from the master data system; Synchronize the organizational structure data and personnel data to the enterprise email system; Expand the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists respectively; By comparing the two department path lists, a department difference set is calculated, which classifies departments into: unchanged departments with the same path in the master data system and the enterprise email system; newly added departments that exist in the master data system but not in the enterprise email system; and pending departments that exist in the enterprise email system but not in the master data system. The corresponding organizational structure synchronization operation will be performed only on the newly added department and the department to be processed; After completing the organizational structure synchronization operation, all personnel in the enterprise email system will undergo unified affiliation matching detection and correction based on their latest department information in the master data system.

2. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The step of calculating the department difference set by comparing the two department path lists specifically includes: Determine if a department path exists in both lists simultaneously; if so, classify it as an invariant department. Determine whether a department path exists only in the list corresponding to the master data system. If so, classify it as a newly added department. Determine whether a department path exists only in the list corresponding to the enterprise email system. If so, classify it as a department to be processed.

3. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The organizational structure synchronization operation performed on the department to be processed specifically includes: Migrate the email addresses of all personnel in the department to be processed to the preset root department; After the migration is complete, the department to be processed is removed from the corporate email system.

4. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The steps for performing unified attribution matching detection and correction specifically include: Read the current department code of each person in the master data system one by one; Compare the current department code with the person's existing department in the corporate email system; If there is a discrepancy, the employee's corporate email address will be adjusted to the department corresponding to the current department code.

5. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The steps for performing unified attribution matching detection and correction also include: Before adjusting the ownership of an employee's corporate email address, verify at least one of the following: legality, duplication, and null value. If the email address verification fails, the person will be filtered out and recorded as abnormal data, and the person's affiliation adjustment will not be performed.

6. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The method further includes: The abnormal data is aggregated to form an early warning list, and the early warning list is sent to a preset early warning recipient.

7. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The method further includes: Record the execution result of the synchronization operation, the execution result including at least the personnel record and / or department record of the synchronization failure; When synchronization is restarted, only the personnel records and / or department records that failed to synchronize in the previous attempt will be retried. Data items that have been successfully synchronized will not be processed again.

8. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The method further includes: Generate a synchronization batch number for each synchronization operation and record the synchronization range, number of successful synchronizations, number of failed synchronizations, exception information, and time consumption information in the synchronization log.

9. The master data system organizational structure and personnel synchronization method to enterprise email as described in claim 1, characterized in that, The steps for obtaining organizational structure data and personnel data from the master data system include: The data obtained from the master data interface is filtered according to at least one of the preset organizational scope, synchronization environment, and maximum number of synchronizations to form an input set to be synchronized.

10. A synchronization device for applying the master data system organizational structure and personnel synchronization method to enterprise email as described in claims 1 to 9, characterized in that, include: The data acquisition module is used to acquire organizational structure data and personnel data from the master data system; The difference calculation module is used to expand the department tree structure of the master data system and the department tree structure of the enterprise email system into department path lists respectively, and calculate the department difference set by comparing the two department path lists. The department difference set classifies departments into unchanged departments, newly added departments, and departments to be processed. The organization synchronization module is used to perform the corresponding organizational structure synchronization operation only on the newly added department and the department to be processed; The personnel attribution correction module is used to perform unified attribution matching detection and correction for all personnel in the enterprise email system after the organizational structure synchronization operation is completed, based on their latest department information in the master data system.