Third-party human resource SaaS management system and enterprise internal system data synchronization method
By realizing data synchronization between third-party human resources SaaS management system and internal systems in the user data center, the problem of lack of data synchronization between internal systems in the enterprise is solved, improving the efficiency of human resources management and simplifying work processes, and reducing labor costs.
Patent Information
- Application Number
- CN202411992106.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The lack of data synchronization between the third-party human resources SaaS management system within the enterprise and the internal system within the enterprise has led to the need for human resources managers to operate multiple systems, which increases cumbersome work processes and labor costs.
Data synchronization is achieved by establishing a user data center to connect third-party human resources SaaS management system and enterprise internal systems. The specific steps include receiving data update information, querying whether the target user's original data exists in the user data center, writing and saving the data if it does not exist, and utilizing the corresponding internal enterprise system permissions based on the user department information.
The data synchronization between the third-party human resources SaaS management system and the internal system of the enterprise is achieved, reducing the operational burden of human resources management personnel, improving work efficiency, and reducing labor costs.
Smart Images

Figure CN120067207A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of enterprise management technology, and in particular to a method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system. Background Art
[0002] At present, most companies use third-party human resources SaaS management systems, which have little connection with the company's internal systems. As a result, the company's human resources management personnel need to operate multiple internal systems, understand the use of each system and the allocation of permissions, and do more tedious and repetitive work, which invisibly increases labor costs. Summary of the invention
[0003] The present invention provides a method for synchronizing data between a third-party human resources SaaS management system and an enterprise's internal system, which connects the human resources SaaS system to the enterprise's internal system to achieve unified user information, identity authentication, and data management and maintenance. The enterprise's human resources management personnel only need to focus on using the human resources system, improve human resources management capabilities, be freed from cumbersome business processes, improve work efficiency, and reduce labor costs.
[0004] The present invention provides a method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system, which is applied to a user data center, wherein the user data center is connected to the third-party human resources SaaS management system and the internal enterprise system respectively, and comprises:
[0005] Receiving data update information of the third-party human resources SaaS management system, wherein the data update information includes: user personal information of the target user and user department information of the target user;
[0006] querying the user data center whether the original user data of the target user already exists according to the user personal information;
[0007] If not, the data update information is written and saved, and the authority of the enterprise internal system corresponding to the target user is opened according to the user department information.
[0008] A method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system provided by the present invention also includes:
[0009] If yes, the original user data is updated according to the data update information to obtain updated user data of the target user.
[0010] A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system provided by the present invention. If so, after updating the original user data according to the data update information to obtain the updated user data of the target user, it further includes:
[0011] If the second user department information of the updated user data is different from the first user department information of the original user data, recover the first permission of the enterprise internal system corresponding to the target user according to the first user department information;
[0012] Open the second permission of the enterprise internal system corresponding to the target user according to the second user department information.
[0013] A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system provided by the present invention. If so, updating the original user data according to the data update information to obtain the updated user data of the target user includes:
[0014] If the original user data already exists in the user data center, generate a first md5 value according to the data update information;
[0015] Obtain the second md5 value of the original user data;
[0016] Compare the first md5 value with the second md5 value to obtain a comparison result;
[0017] If the comparison result is different, update the original user data according to the data update information to obtain the updated user data.
[0018] A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system provided by the present invention. After comparing the first md5 value with the second md5 value to obtain a comparison result, it further includes:
[0019] If the comparison result is the same, no processing is performed.
[0020] A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system provided by the present invention further includes:
[0021] Receive the department structure update information of the third-party human resources SaaS management system;
[0022] Update the global user data according to the department structure update information;
[0023] Adjust the permissions of the enterprise internal system of the global users according to the department structure update information.
[0024] A method for data synchronization between a third - party human resources SaaS management system and an enterprise internal system provided by the present invention. After receiving the data update information of the third - party human resources SaaS management system, it further includes:
[0025] Performing signature verification on the data update information;
[0026] When the verification is legal, execute the step of querying whether the original user data of the target user already exists in the user data center according to the user personal information.
[0027] The present invention also provides a data synchronization device between a third - party human resources SaaS management system and an enterprise internal system, including:
[0028] A receiving module, configured to receive the data update information of the third - party human resources SaaS management system, where the data update information includes: user personal information of the target user, user department information of the target user;
[0029] A query module, configured to query whether the original user data of the target user already exists in the user data center according to the user personal information;
[0030] A processing module, configured to, if not, write and save the data update information, and open the permission of the corresponding enterprise internal system for the target user according to the user department information.
[0031] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the method for data synchronization between a third - party human resources SaaS management system and an enterprise internal system as described in any one of the above.
[0032] The present invention also provides a non - transitory computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the method for data synchronization between a third - party human resources SaaS management system and an enterprise internal system as described in any one of the above.
[0033] A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system provided by the present invention. By establishing a user data center, the user data center is respectively connected to the third-party human resources SaaS management system and the enterprise internal system. When an enterprise HR updates enterprise personnel data in the third-party human resources SaaS management system, the data update information will be automatically sent to the user data center. The user data center queries whether the original user data of the target user already exists according to the user's personal information. If it does not exist, it is new user data, writes and saves the data update information, and automatically opens the permissions of the corresponding enterprise internal system for the target user according to the user's department information, realizing the data synchronization between the third-party human resources SaaS management system and the enterprise internal system. The enterprise HR only needs to operate data updates in the third-party human resources SaaS management system to trigger the update of user information in the enterprise internal system and the automatic opening of permissions for each enterprise internal system, enabling the HR to only focus on using the third-party human resources SaaS management system, improving the human resources management ability, and freeing the HR from the cumbersome business processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0035] Figure 1 It is a schematic diagram of the enterprise system structure of the method for synchronizing data between the third-party human resources SaaS management system and the enterprise internal system provided by the present invention;
[0036] Figure 2 It is a schematic diagram of the process of the method for synchronizing data between the third-party human resources SaaS management system and the enterprise internal system provided by the present invention;
[0037] Figure 3 It is a schematic diagram of the structure of the device for synchronizing data between the third-party human resources SaaS management system and the enterprise internal system provided by the present invention;
[0038] Figure 4 It is a schematic diagram of the structure of the electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.
[0040] It should be noted that in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the presence of additional identical elements in the process, method, article or device including the element. The orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "mount", "connect", "couple" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0041] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and do not limit the number of objects. For example, the first object may be one or more.
[0042] The following Figures 1 to 4 describes the method for synchronizing data between the third-party human resource SaaS management system and the enterprise internal system of the present invention.
[0043] The present invention provides a method for synchronizing data between a third-party human resource SaaS management system and an enterprise internal system, which can be applied to a user data center, such as Figure 1As shown in the figure, the user data center is respectively connected to a third-party human resources SaaS management system and an enterprise internal system. The third-party human resources SaaS management system can be a human resources management system available on the market such as DingTalk, Xinrenxinshi, etc. The enterprise internal system can include various subsystems developed by the enterprise itself, such as a performance system, an approval system, an inventory system, and so on. The user data center can provide functions of unified user information, identity authentication management, and system permission configuration to the enterprise internal system. As Figure 2 shown, the method may specifically include the following steps:
[0044] Step 210, receiving data update information from the third-party human resources SaaS management system, where the data update information includes: the user personal information of the target user and the user department information of the target user.
[0045] Specifically, when an enterprise HR operates in the third-party human resources SaaS management system and performs operations such as adding, deleting, and updating user information, a change notice is sent to the user data center, and the data update information is sent to the user data center. The target user can be a newly recruited employee, a departing employee, or an employee with a job transfer. The user personal information may include, but is not limited to: name, mobile phone number, ID number, and so on. The user department information can be the department where the target user is newly recruited, the department where the target user departs, or the transferred department, as well as the job level of the target user.
[0046] In some embodiments, after step 210, it may further include: performing signature verification on the data update information; when the verification is legal, step 220 is executed.
[0047] In this embodiment, the user data center first performs secret signature verification on the data update information. When the verification is a legal request, it enters the data processing logic (i.e., step 220); when the verification is an illegal request, the data update information is ignored and not processed.
[0048] Step 220, querying the user data center according to the user personal information to check whether the original user data of the target user already exists.
[0049] Step 230, if not, writing and saving the data update information, and opening the permissions of the corresponding enterprise internal system for the target user according to the user department information.
[0050] Specifically, the user data center can query whether the data of the target user already exists according to the unique mobile phone number in the user personal information. If not, the current data update is a case of a new employee joining, and the data of the target user included in the data update information is written and saved. And, according to the department where the target user is newly recruited and the job level, the permissions of the corresponding enterprise internal system are opened.
[0051] On the contrary, if so, update the original user data according to the data update information to obtain the updated user data of the target user. If it exists, this data update is a case of user information change (such as job transfer, etc.), that is, update the data of the target user according to the data update information.
[0052] In some embodiments, after the step of if so, update the original user data according to the data update information to obtain the updated user data of the target user, it further includes:
[0053] If the second user department information of the updated user data is different from the first user department information of the original user data, recover the first permission of the enterprise internal system corresponding to the target user according to the first user department information;
[0054] Open the second permission of the enterprise internal system corresponding to the target user according to the second user department information.
[0055] In this embodiment, for the case where this data update is a change in user information, it is also necessary to compare whether the user department information has changed. If so, at least part of the permissions of the enterprise internal system corresponding to the original department and original job level need to be recovered, and the permissions of the enterprise internal system corresponding to the changed department and job level need to be opened. Further, for general permissions, they can be left unprocessed and remain in a usable state, and only the permissions different due to department or job level are processed.
[0056] In some embodiments, the step of if so, update the original user data according to the data update information to obtain the updated user data of the target user includes:
[0057] If the original user data already exists in the user data center, generate a first md5 value according to the data update information;
[0058] Obtain the second md5 value of the original user data;
[0059] Compare the first md5 value with the second md5 value to obtain a comparison result;
[0060] If the comparison result is different, update the original user data according to the data update information to obtain the updated user data;
[0061] If the comparison result is the same, no processing is required.
[0062] In this embodiment, when it is queried that the data already exists, an MD5 value is generated for the data update information and compared with the MD5 value of the original user data. If the comparison result is different, it means the data has changed, and then the stored data is updated according to the data update information; otherwise, this update is ignored and the data update information is not processed. In this way, it is possible to avoid repeated updates due to repeated operations by personnel.
[0063] In the case of an employee's departure, the enterprise HR deletes the operator information in the third-party human resources SaaS management system, and also notifies the user data center for changes. Accordingly, a user deletion request is sent to the user data center. The user data center deletes the information of the target user stored in the user data center according to the personal information of the user in the user deletion request, and recovers all the permissions of its corresponding enterprise internal system.
[0064] In some embodiments, the method may further include:
[0065] Receiving the department structure update information of the third-party human resources SaaS management system;
[0066] Updating the global user data according to the department structure update information;
[0067] Adjusting the permissions of the enterprise internal system of the global users according to the department structure update information.
[0068] In this embodiment, when the enterprise HR operates on the enterprise department structure change in the third-party human resources SaaS management system, it also notifies the user data center for changes, and sends the department structure update information to the user data center, and the user data center then updates the global user data. The department structure change information may also include department permission change information. For the permission changes caused by the department structure change or the users whose departments have changed, the permissions of the corresponding enterprise internal systems are all adjusted.
[0069] In some embodiments, the user data center may also regularly synchronously pull the user information of the third-party human resources SaaS management system for data comparison and correction to prevent data inconsistency problems caused by network anomalies during the process of the third-party human resources SaaS management system notifying changes.
[0070] A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system provided by the present invention. By establishing a user data center, the user data center is respectively connected to the third-party human resources SaaS management system and the enterprise internal system. When an enterprise HR updates enterprise personnel data in the third-party human resources SaaS management system, the data update information will be automatically sent to the user data center. The user data center queries whether the original user data of the target user already exists according to the user's personal information. If it does not exist, it is new user data, writes and saves the data update information, and automatically opens the permissions of the corresponding enterprise internal system for the target user according to the user's department information, realizing the data synchronization between the third-party human resources SaaS management system and the enterprise internal system. The enterprise HR only needs to operate data updates in the third-party human resources SaaS management system to trigger the update of user information in the enterprise internal system and the automatic opening of permissions for each enterprise internal system, enabling the HR to only focus on using the third-party human resources SaaS management system, improving the human resources management ability, and freeing the HR from the cumbersome business processes.
[0071] The following describes the data synchronization device between the third-party human resources SaaS management system and the enterprise internal system provided by the present invention. The data synchronization device between the third-party human resources SaaS management system and the enterprise internal system described below can be mutually corresponding and referred to the data synchronization method between the third-party human resources SaaS management system and the enterprise internal system described above.
[0072] As Figure 3 shown, the present invention also provides a data synchronization device between a third-party human resources SaaS management system and an enterprise internal system, including:
[0073] A receiving module 310, configured to receive the data update information of the third-party human resources SaaS management system, where the data update information includes: the user's personal information of the target user and the user's department information of the target user;
[0074] A query module 320, configured to query whether the original user data of the target user already exists in the user data center according to the user's personal information;
[0075] A processing module 330, configured to, if not, write and save the data update information, and open the permissions of the corresponding enterprise internal system for the target user according to the user's department information.
[0076] Figure 4 Illustrates a schematic physical structure diagram of an electronic device, as Figure 4As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440. Among them, the processor 410, the communications interface 420, and the memory 430 complete mutual communication through the communication bus 440. The processor 410 may call the logical instructions in the memory 430 to execute the method for synchronizing data between the third-party human resources SaaS management system and the enterprise internal system. The method includes: receiving the data update information of the third-party human resources SaaS management system, where the data update information includes: the user personal information of the target user, the user department information of the target user; querying whether the original user data of the target user already exists in the user data center according to the user personal information; if not, writing and saving the data update information, and according to the user department information, opening the permissions of the enterprise internal system corresponding to the target user.
[0077] In addition, when the logical instructions in the above-mentioned memory 430 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0078] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for synchronizing data between the third-party human resources SaaS management system and the enterprise internal system provided by the above-mentioned various methods. The method includes: receiving the data update information of the third-party human resources SaaS management system, where the data update information includes: the user personal information of the target user, the user department information of the target user; querying whether the original user data of the target user already exists in the user data center according to the user personal information; if not, writing and saving the data update information, and according to the user department information, opening the permissions of the enterprise internal system corresponding to the target user.
[0079] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is used to implement the method for synchronizing data between the third-party human resource SaaS management system and the enterprise internal system provided by the above-mentioned various methods. The method includes: receiving data update information of the third-party human resource SaaS management system, where the data update information includes: user personal information of a target user and user department information of the target user; querying whether the original user data of the target user already exists in the user data center according to the user personal information; if not, writing and saving the data update information, and according to the user department information, opening the permission of the corresponding enterprise internal system for the target user.
[0080] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0081] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for synchronizing data between a third-party human resources SaaS management system and an enterprise internal system, characterized in that: Applied to the user data center, which is connected to the third-party human resources SaaS management system and the enterprise internal system, including: Receiving data update information of the third-party human resources SaaS management system, wherein the data update information includes: user personal information of the target user and user department information of the target user; querying the user data center whether the original user data of the target user already exists according to the user personal information; If not, the data update information is written and saved, and the authority of the enterprise internal system corresponding to the target user is opened according to the user department information.
2. The method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system according to claim 1, characterized in that: Also includes: If yes, the original user data is updated according to the data update information to obtain updated user data of the target user.
3. The method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system according to claim 2, characterized in that: If yes, after updating the original user data according to the data update information and obtaining the updated user data of the target user, the method further includes: If the second user department information of the updated user data is different from the first user department information of the original user data, reclaiming the first permission of the internal enterprise system corresponding to the target user according to the first user department information; The second permission of the internal enterprise system corresponding to the target user is opened according to the second user department information.
4. The method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system according to claim 2, characterized in that: If yes, updating the original user data according to the data update information to obtain updated user data of the target user includes: If the original user data already exists in the user data center, generating a first md5 value according to the data update information; Obtain a second md5 value of the original user data; Compare the first md5 value with the second md5 value to obtain a comparison result; If the comparison result is different, the original user data is updated according to the data update information to obtain updated user data.
5. The method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system according to claim 4, characterized in that: After comparing the first md5 value with the second md5 value and obtaining the comparison result, the method further includes: If the comparison result is the same, no processing will be performed.
6. The method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system according to claim 1, characterized in that: Also includes: Receive department structure update information of the third-party human resources SaaS management system; Update global user data according to the department structure update information; According to the department structure update information, the permissions of the internal enterprise system of the global user are adjusted.
7. The method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system according to claim 1, characterized in that: After receiving the data update information of the third-party human resources SaaS management system, the method further includes: Performing signature verification on the data update information; When the verification is legal, the step of querying the user data center whether the original user data of the target user already exists according to the user personal information is executed.
8. A data synchronization device between a third-party human resources SaaS management system and an enterprise internal system, characterized in that: include: A receiving module, used to receive data update information of the third-party human resources SaaS management system, wherein the data update information includes: user personal information of the target user and user department information of the target user; A query module, used to query the user data center whether the original user data of the target user already exists according to the user personal information; The processing module is used to write and save the data update information if not, and to open the authority of the enterprise internal system corresponding to the target user according to the user department information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the method for synchronizing data between a third-party human resources SaaS management system and an internal enterprise system as described in any one of claims 1 to 7.