CN116471288A - User information synchronization method and device - Google Patents

User information synchronization method and device Download PDF

Info

Publication number
CN116471288A
CN116471288A CN202310359677.3A CN202310359677A CN116471288A CN 116471288 A CN116471288 A CN 116471288A CN 202310359677 A CN202310359677 A CN 202310359677A CN 116471288 A CN116471288 A CN 116471288A
Authority
CN
China
Prior art keywords
server
user
user data
data
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310359677.3A
Other languages
Chinese (zh)
Inventor
刘国庆
温涛
丁伍洪
张�诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN202310359677.3A priority Critical patent/CN116471288A/en
Publication of CN116471288A publication Critical patent/CN116471288A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a user information synchronization method and a device, which are applied to a first service end, wherein the user information synchronization method comprises the following steps: according to the registration information and preset synchronous user information, the first server determines the user data to be synchronized; processing the user data to be synchronized into a target field format, and obtaining first synchronized user data by the first server; the first server pushes the first synchronous user data to a second server so that the second server monitors and stores the first synchronous user data; the second service end is in communication connection with the first service end, and the first service end and the second service end are allowed to transmit through the target field format. The invention can solve the problem that information synchronization can not be carried out between different service ends.

Description

User information synchronization method and device
Technical Field
The present invention relates to the field of data synchronization technologies, and in particular, to a user information synchronization method and apparatus.
Background
With the development of social informatization, social organization legal people are involved in more and more online business handling, and more information systems are required to be accessed, and when a plurality of application platforms or a plurality of service end faces to the same user group, a plurality of user management centers exist due to different system development platforms or bottom frameworks. For example, a social organization needs to access two different service system applications at the same time, the service system applications have different databases, and the table structures among the databases are different, so that user data cannot simultaneously meet a plurality of applications of a plurality of platforms, sometimes needs to simultaneously meet the requirement of accessing a mobile terminal, a large amount of data processing work is generated in the process, and the user is required to repeatedly perform the same operation for a plurality of times.
Disclosure of Invention
The present invention has been made to solve the above-mentioned technical problems. The embodiment of the invention provides a user information synchronization method and device, which can solve the problem that information synchronization cannot be performed among different service ends.
According to one aspect of the present invention, there is provided a user information synchronization method applied to a first service end, the user information synchronization method including: according to the registration information and preset synchronous user information, the first server determines the user data to be synchronized; processing the user data to be synchronized into a target field format, and obtaining first synchronized user data by the first server; the first server pushes the first synchronous user data to a second server so that the second server monitors and stores the first synchronous user data; the second service end is in communication connection with the first service end, and the first service end and the second service end are allowed to transmit through the target field format.
In an embodiment, the user information synchronization method further includes: monitoring a message queue between the first server and the second server; when second user synchronous data exists in the message queue, the first server side stores the second user synchronous data into the first server side; the second user synchronous data are synchronous user data pushed by the second server side.
In an embodiment, the preset synchronous user information includes a user name, a password, a unique identifier and a registration time, and the user data includes data of the user name, data of the password, data of the unique identifier and data of the registration time; wherein, according to the registration information and the preset synchronous user information, the determining, by the first server, the user data to be synchronized further includes: and according to the registration information, the user name, the password, the unique identifier and the registration time, the first server determines the data of the user name, the data of the password, the data of the unique identifier and the data of the registration time to be synchronized.
In an embodiment, a message scheduling device is connected between the first server and the second server, and the pushing, by the first server, the first synchronous user data to the second server, so that the second server monitors and stores the first synchronous user data includes: the first server transmits the first synchronous user data to the message scheduling device; the message scheduling device pushes the first synchronous user data to a message queue so that the second server monitors the message queue and stores the first synchronous user data.
In an embodiment, before the processing the user data to be synchronized into the target field format, the first server obtains first synchronized user data, the user information synchronization method includes: establishing a mapping relation between the user data to be synchronized and the target field format according to a preset conversion rule; wherein the preset conversion rule comprises a logic rule between the user data and the target field format; the processing the user data to be synchronized into a target field format, and the obtaining, by the first server, first synchronized user data includes: processing the user data into the target field format according to the mapping relation; and taking the user data converted into the target field format as the first synchronous user data, and obtaining the first synchronous user data by the first server side.
In an embodiment, a data repository is connected between the first server and the second server, the data repository allowing transmission through the target field format, wherein the pushing the first synchronization user data to the second server by the first server includes: the first server side sends the first synchronous user data to the data storage library; the data storage library pushes the first synchronous user data to a message queue of the second server so that the second server monitors and stores the first synchronous user data; the second server is any server in communication connection with the data storage library.
In one embodiment, the method for obtaining the target field format includes: acquiring the database type of the first server and the database type of the second server; and when the database type of the first server is different from the database type of the second server, determining the target field format based on the field type relation between the database of the first server and the database of the second server.
In an embodiment, the first service end includes a user monitoring component; wherein, the determining, by the first server, the user data to be synchronized according to the registration information and the preset synchronization user information includes: triggering a monitoring event when the first server monitors the registration information through the user monitoring component; the registration information indicates that a user is registered at the first server; and according to the monitoring event and the preset synchronous user information, the first server determines the user data to be synchronized.
In an embodiment, the first server and the second server adopt the same encryption rule; after the user data to be synchronized is processed into a target field format, the first server obtains first synchronized user data, and the user information synchronization method comprises the following steps: encrypting the first synchronous user data to obtain the encrypted first synchronous user data; the first server pushes the first synchronous user data to a second server so that the second server monitors and saves the first synchronous user data, and the method comprises the following steps: and pushing the encrypted first synchronous user data to a second server side so that the second server side monitors, decrypts and stores the first synchronous user data.
According to another aspect of the present invention, there is provided a user information synchronization apparatus applied to a first service side, the user information synchronization apparatus including: the determining module is used for determining the user data to be synchronized according to the registration information and preset synchronous user information; the acquisition module is used for processing the user data to be synchronized into a target field format, and the first server side acquires first synchronized user data; the first server side pushes the first synchronous user data to a second server side so that the second server side monitors and stores the first synchronous user data; the second service end is in communication connection with the first service end, and the first service end and the second service end are allowed to transmit through the target field format.
The embodiment of the invention provides a user information synchronization method and device, which realize user information synchronization among different service ends, can provide real-time accurate user synchronization for the different service ends, and can ensure that data is not lost when the problems of service downtime, network fluctuation and the like are encountered.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing embodiments of the present invention in more detail with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, and not constitute a limitation to the invention. In the drawings, like reference numerals generally refer to like parts or steps.
Fig. 1 is a flowchart of a user information synchronization method according to an exemplary embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a user information synchronization device according to an exemplary embodiment of the present invention.
Detailed Description
Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some embodiments of the present invention and not all embodiments of the present invention, and it should be understood that the present invention is not limited by the example embodiments described herein.
Exemplary method
Fig. 1 is a flowchart of a user information synchronization method according to an exemplary embodiment of the present invention, where, as shown in fig. 1, the user information synchronization method is applied to a first service end, and the user information synchronization method includes:
step 100: and according to the registration information and the preset synchronous user information, the first server determines the user data to be synchronized.
The first service end can be various platforms or various service ends, such as a computer and a mobile end, namely after a user registers an account number on a certain platform of the computer end, the user needs to use the same account number to log in on the mobile end, and the user information of the platform of the computer end and the mobile end needs to be synchronized, so that the repeated registration of the user can be avoided. Firstly, user data synchronization standards are defined among different service ends, namely synchronization user information is preset, the synchronization user information comprises user information such as user names, passwords, unique identifiers, registration time and the like, and when data corresponding to the synchronization user information appear, the first service end determines the data corresponding to the synchronization user information as user data to be synchronized. And a monitoring event is added in the user service layer, after the user successfully registers the account, the monitoring event can be triggered, and the first service end records information such as a user name, a password, a unique identifier, registration time and the like.
Step 200: and processing the user data to be synchronized into a target field format, and obtaining the first synchronized user data by the first server.
And processing the data to be synchronized, namely the data such as the user name, the password, the unique identifier, the registration time and the like registered by the user, into a target field format agreed between the first service end and the second service end, and identifying and storing the data transferred in the target field format by the first service end and the second service end so as to realize message synchronization. The first server obtains user data processed into a target field format as first synchronous user data, wherein the first synchronous user data is data for transmission and synchronization.
Step 300: the first server pushes the first synchronous user data to the second server so that the second server monitors and stores the first synchronous user data.
The second server is in communication connection with the first server, and the first server and the second server are allowed to transmit through the target field format.
The target field format agreed between the first service end and the second service end allows the first service end and the second service end to transmit through the target field format. The first server side can push the first synchronous user data to a message queue of the second server side, a message monitoring program is added to the second server side, after the second server side monitors the messages in the message queue, the first synchronous user data are stored, so that the message synchronization between the first server side and the second server side can be realized, the account information registered by the user at the first server side is synchronized to the second server side, and the user can log in by using the account information registered at the first server side when logging in at the second server side without secondary registration. The first service end and the second service end are in communication connection with each other, for example, the first service end can be a social organization integrated management service platform, the second service end can be a mobile phone mobile end, or the second service end is a mobile phone mobile end, the first service end is a social organization integrated management service platform, a user can log in at the other service end by adopting the same account information no matter whether the user registers at the mobile phone mobile end or the social organization integrated management service platform, namely, the user can log in by using the PC end and the mobile end system by using the same user password without repeated registration or accumulation of redundant data.
In an embodiment, the user information synchronization method may further include: monitoring a message queue between a first service end and a second service end; when second user synchronous data exists in the message queue, the first service end stores the second user synchronous data into the first service end; the second user synchronous data are synchronous user data pushed by the second server side.
The message synchronization may be synchronized from the first server to the second server, or the steps may be repeated reversely, and the second server synchronizes to the first server, i.e. the second server processes the user data to be synchronized into the target field format, and the second server obtains the second synchronized user data. The second server pushes the second synchronous user data to a message queue of the first server, and when the first server monitors the second synchronous user data in the message queue, the first server stores the second synchronous user data to the first server, so that the user data of the second server are synchronized to the first server. The message synchronization is bidirectional or multidirectional, and a plurality of service ends are connected with each other, so that the message can be mutually synchronized, and a user can log in a plurality of mutually synchronized service ends by using the same user password.
In an embodiment, the preset synchronous user information comprises a user name, a password, a unique identifier and a registration time, and the user data comprises data of the user name, data of the password, data of the unique identifier and data of the registration time; the step 100 may further include: according to the registration information, the user name, the password, the unique identification and the registration time, the first service end determines the data of the user name, the data of the password, the data of the unique identification and the data of the registration time to be synchronized.
The preset synchronous user information mainly comprises a user name, a password, a unique identifier, registration time and the like, and after an event of user registration is monitored, the data of the user name, the data of the password, the data of the unique identifier and the data of the registration time are read to generate user data to be synchronized. And synchronizing the user data, wherein the user can log in by adopting the same account information at the other server side, so that repeated registration is avoided.
In an embodiment, a message scheduling device is connected between the first service end and the second service end, and the step 300 may include: the first server transmits the first synchronous user data to the message scheduling device; the message scheduling device pushes the first synchronous user data to the message queue so that the second server monitors the message queue and stores the first synchronous user data.
For example, a message scheduling device is added between a computer end (a first service end) and a mobile end (a second service end), when a user registers the user by using a computer end system, a monitoring event is added in a user service layer, the event is triggered after the user is newly added successfully, information such as a user name, a password, a unique identifier, registration time and the like is recorded, and data such as the user name, the password, the unique identifier, the registration time and the like is pushed to a message queue through the message scheduling device. The mobile terminal application adds a message monitoring program, calls the mobile terminal registration user service after monitoring the new data of the message queue, and completes the user registration of the mobile terminal. Therefore, the real-time and accurate synchronization of the user information of the computer end and the mobile end is realized, and the user can log in to use the computer end and the mobile end system by using the same user password.
In an embodiment, before the step 200, the user information synchronization method may include: according to a preset conversion rule, establishing a mapping relation between user data to be synchronized and a target field format; the preset conversion rule comprises a logic rule between the user data and a target field format; the step 200 may include: processing the user data into a target field format according to the mapping relation; and taking the user data converted into the target field format as first synchronous user data, and obtaining the first synchronous user data by the first server side.
Different databases may be provided between different service ends, and the table structures between the databases are different, so that the user data cannot simultaneously meet multiple applications of multiple platforms, and sometimes, the user data needs to simultaneously meet the requirement of accessing the mobile end, and a large amount of data processing work is generated in the process. Moreover, because the system development platforms or the bottom layer frameworks are different, the user data may not be directly synchronized, and a conversion rule needs to be preset between the server side and the server side, that is, a field format which can be mutually communicated is agreed between the server side and the server side, the user data is processed into a target field format according to the mapping relation, and the user data is converted into the target field format, so that the message synchronization between different server sides is realized.
In an embodiment, a data repository is connected between the first service end and the second service end, and the data repository allows transmission through the target field format, where the step 300 may include: the first server side sends the first synchronous user data to a data storage library; the data storage library pushes the first synchronous user data to a message queue of the second server side so that the second server side monitors and stores the first synchronous user data; the second server is any server in communication connection with the data storage library.
The shared data storage library can be established between the server and the server, all user data are processed into a unified target field format, namely, the target field format which can be passed in the message synchronization system, after the user data are newly added in the first server, the synchronous data are processed into first synchronous user data, the first synchronous user data are synchronized to the shared data storage library, the data storage library pushes the first synchronous user data to a message queue of the second server, and the second server stores the first synchronous user data after monitoring the first synchronous user data so as to realize the message synchronization between the first server and the second server.
In one embodiment, a method for obtaining a target field format includes: acquiring a database type of a first server side and a database type of a second server side; when the database type of the first server is different from the database type of the second server, determining a target field format based on the field type relation between the database of the first server and the database of the second server.
Different databases may be provided between different service ends, and the table structures between the databases are different, so if a unified field format needs to be agreed between the two databases, the field formats which can be mutually read in the databases need to be determined according to the types of the two databases, so as to realize complete and accurate message synchronization.
In one embodiment, the first service side includes a user listening component; the step 100 may include: triggering a monitoring event when the first server monitors registration information through the user monitoring component; the registration information indicates that the user is registered at the first service end; and according to the monitoring event and the preset synchronous user information, the first server determines the user data to be synchronized.
The first service end adds a user monitoring component, triggers a monitoring event after the user is successfully registered, processes the user data into a contracted field format and transmits the contracted field format to the message scheduling device, and the message scheduling device pushes the processed data to the message queue. And the second server adds a message monitoring program, and stores the registered user data after monitoring the message in the message queue.
In an embodiment, the first service end and the second service end adopt the same encryption rule; wherein, after the above step 200, the user information synchronization method may include: encrypting the first synchronous user data to obtain encrypted first synchronous user data; the step 300 may include: and pushing the encrypted first synchronous user data to the second server side so that the second server side monitors, decrypts and stores the first synchronous user data.
Because the user data is used for logging in the account, the personal information safety of the user is related, in order to ensure the safety of the user data in the synchronous process, the same encryption rule can be agreed when unified field formats are agreed, the user data is encrypted, and after the synchronization is completed, the user data is decrypted and stored by the server side which receives the user data, so that the accuracy and the safety of the user data in the transmission process are ensured.
Exemplary apparatus
Fig. 2 is a schematic structural diagram of a user information synchronization device according to an exemplary embodiment of the present invention, as shown in fig. 2, the user information synchronization device 8 is applied to a first service side, and the user information synchronization device 8 includes: the determining module 81 determines user data to be synchronized according to the registration information and preset synchronous user information by the first server; an obtaining module 82, configured to process the user data to be synchronized into a target field format, where the first server obtains first synchronized user data; and a pushing module 83, where the first server pushes the first synchronous user data to the second server, so that the second server monitors and stores the first synchronous user data; the second server is in communication connection with the first server, and the first server and the second server are allowed to transmit through the target field format.
The embodiment of the invention provides a user information synchronization device, which realizes user information synchronization among different service ends, can provide real-time accurate user synchronization for the different service ends, and can ensure that data is not lost when the problems of service downtime, network fluctuation and the like are encountered.
In an embodiment, the user information synchronization device 8 may be configured to: monitoring a message queue between a first service end and a second service end; when second user synchronous data exists in the message queue, the first service end stores the second user synchronous data into the first service end; the second user synchronous data are synchronous user data pushed by the second server side.
In an embodiment, the preset synchronous user information comprises a user name, a password, a unique identifier and a registration time, and the user data comprises data of the user name, data of the password, data of the unique identifier and data of the registration time; the above determination module 81 may be further configured to: according to the registration information, the user name, the password, the unique identification and the registration time, the first service end determines the data of the user name, the data of the password, the data of the unique identification and the data of the registration time to be synchronized.
In an embodiment, a message scheduling device is connected between the first service end and the second service end, and the pushing module 83 may be configured to: the first server transmits the first synchronous user data to the message scheduling device; the message scheduling device pushes the first synchronous user data to the message queue so that the second server monitors the message queue and stores the first synchronous user data.
In an embodiment, the user information synchronization device 8 may be configured to: according to a preset conversion rule, establishing a mapping relation between user data to be synchronized and a target field format; the preset conversion rule comprises a logic rule between the user data and a target field format; correspondingly, the obtaining module 82 may be correspondingly configured to: processing the user data into a target field format according to the mapping relation; and taking the user data converted into the target field format as first synchronous user data, and obtaining the first synchronous user data by the first server side.
In an embodiment, a data repository is connected between the first service end and the second service end, and the data repository allows transmission through the target field format, where the pushing module 83 may be configured to: the first server side sends the first synchronous user data to a data storage library; the data storage library pushes the first synchronous user data to a message queue of the second server side so that the second server side monitors and stores the first synchronous user data; the second server is any server in communication connection with the data storage library.
In an embodiment, the user information synchronization device 8 may be configured to: acquiring a database type of a first server side and a database type of a second server side; when the database type of the first server is different from the database type of the second server, determining a target field format based on the field type relation between the database of the first server and the database of the second server.
In one embodiment, the first service side includes a user listening component; wherein, the determining module 81 may be configured to: triggering a monitoring event when the first server monitors registration information through the user monitoring component; the registration information indicates that the user is registered at the first service end; and according to the monitoring event and the preset synchronous user information, the first server determines the user data to be synchronized.
In an embodiment, the first service end and the second service end adopt the same encryption rule; wherein, the above-mentioned user information synchronization device 8 may be configured to: encrypting the first synchronous user data to obtain encrypted first synchronous user data; the pushing module 83 may be correspondingly configured to: and pushing the encrypted first synchronous user data to the second server side so that the second server side monitors, decrypts and stores the first synchronous user data.
The embodiment of the invention provides a user information synchronization device. The apparatus embodiments may be implemented by software, or may be implemented by hardware or a combination of hardware and software. In addition to the CPU, memory, network interfaces, and non-volatile storage, the device in which the apparatus of the embodiments is located may generally include other hardware, such as a forwarding chip responsible for processing the packet, and so on. Taking software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions in a nonvolatile memory into a memory by a CPU of a device where the device is located.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program for executing the user information synchronization method of any one of the above embodiments.
In addition to the methods and apparatus described above, embodiments of the invention may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in a user information synchronization method according to various embodiments of the invention described in the "exemplary methods" section of this specification.
According to another aspect of the present invention, there is provided an electronic device including: a processor; a memory for storing processor-executable instructions; and a processor, configured to execute the user information synchronization method of any one of the foregoing embodiments.
Furthermore, embodiments of the present invention may also be a computer-readable storage medium, having stored thereon computer program instructions, which when executed by a processor, cause the processor to perform the steps in a user information synchronization method according to various embodiments of the present invention described in the above-mentioned "exemplary method" section of the present specification.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (10)

1. The user information synchronization method is applied to a first service end and is characterized by comprising the following steps:
according to the registration information and preset synchronous user information, the first server determines the user data to be synchronized;
processing the user data to be synchronized into a target field format, and obtaining first synchronized user data by the first server; and
the first server pushes the first synchronous user data to a second server so that the second server monitors and stores the first synchronous user data; the second service end is in communication connection with the first service end, and the first service end and the second service end are allowed to transmit through the target field format.
2. The user information synchronization method according to claim 1, characterized in that the user information synchronization method further comprises:
monitoring a message queue between the first server and the second server;
when second user synchronous data exists in the message queue, the first server side stores the second user synchronous data into the first server side; the second user synchronous data are synchronous user data pushed by the second server side.
3. The user information synchronization method according to claim 1, wherein the preset synchronization user information includes a user name, a password, a unique identifier, and a registration time, and the user data includes data of the user name, data of the password, data of the unique identifier, and data of the registration time; wherein, according to the registration information and the preset synchronous user information, the determining, by the first server, the user data to be synchronized further includes:
and according to the registration information, the user name, the password, the unique identifier and the registration time, the first server determines the data of the user name, the data of the password, the data of the unique identifier and the data of the registration time to be synchronized.
4. The method for synchronizing user information according to claim 1, wherein a message scheduling device is connected between the first server and the second server, and the first server pushing the first synchronized user data to the second server so that the second server monitors and saves the first synchronized user data comprises:
the first server transmits the first synchronous user data to the message scheduling device;
the message scheduling device pushes the first synchronous user data to a message queue so that the second server monitors the message queue and stores the first synchronous user data.
5. The method for synchronizing user information according to claim 1, wherein before the processing the user data to be synchronized into a target field format, the first server obtains first synchronized user data, the method for synchronizing user information comprises:
establishing a mapping relation between the user data to be synchronized and the target field format according to a preset conversion rule; wherein the preset conversion rule comprises a logic rule between the user data and the target field format;
the processing the user data to be synchronized into a target field format, and the obtaining, by the first server, first synchronized user data includes:
processing the user data into the target field format according to the mapping relation;
and taking the user data converted into the target field format as the first synchronous user data, and obtaining the first synchronous user data by the first server side.
6. The method of claim 1, wherein a data repository is connected between the first server and the second server, the data repository allowing transmission via the target field format, wherein the first server pushing the first synchronized user data to the second server comprises:
the first server side sends the first synchronous user data to the data storage library;
the data storage library pushes the first synchronous user data to a message queue of the second server so that the second server monitors and stores the first synchronous user data; the second server is any server in communication connection with the data storage library.
7. The user information synchronization method according to claim 1, wherein the method of acquiring the target field format comprises:
acquiring the database type of the first server and the database type of the second server;
and when the database type of the first server is different from the database type of the second server, determining the target field format based on the field type relation between the database of the first server and the database of the second server.
8. The method for synchronizing user information according to claim 1, wherein the first service side comprises a user listening component; wherein, the determining, by the first server, the user data to be synchronized according to the registration information and the preset synchronization user information includes:
triggering a monitoring event when the first server monitors the registration information through the user monitoring component; the registration information indicates that a user is registered at the first server;
and according to the monitoring event and the preset synchronous user information, the first server determines the user data to be synchronized.
9. The user information synchronization method according to claim 1, wherein the first server and the second server adopt the same encryption rule; after the user data to be synchronized is processed into a target field format, the first server obtains first synchronized user data, and the user information synchronization method comprises the following steps:
encrypting the first synchronous user data to obtain the encrypted first synchronous user data;
the first server pushes the first synchronous user data to a second server so that the second server monitors and saves the first synchronous user data, and the method comprises the following steps:
and pushing the encrypted first synchronous user data to a second server side so that the second server side monitors, decrypts and stores the first synchronous user data.
10. A user information synchronization device applied to a first service end, wherein the user information synchronization device comprises:
the determining module is used for determining the user data to be synchronized according to the registration information and preset synchronous user information;
the acquisition module is used for processing the user data to be synchronized into a target field format, and the first server side acquires first synchronized user data; and
the pushing module pushes the first synchronous user data to a second server side by the first server side so that the second server side monitors and stores the first synchronous user data; the second service end is in communication connection with the first service end, and the first service end and the second service end are allowed to transmit through the target field format.
CN202310359677.3A 2023-04-03 2023-04-03 User information synchronization method and device Pending CN116471288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310359677.3A CN116471288A (en) 2023-04-03 2023-04-03 User information synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310359677.3A CN116471288A (en) 2023-04-03 2023-04-03 User information synchronization method and device

Publications (1)

Publication Number Publication Date
CN116471288A true CN116471288A (en) 2023-07-21

Family

ID=87172817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310359677.3A Pending CN116471288A (en) 2023-04-03 2023-04-03 User information synchronization method and device

Country Status (1)

Country Link
CN (1) CN116471288A (en)

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN108923908B (en) Authorization processing method, device, equipment and storage medium
US10073904B2 (en) Event triggered service for the lightweight directory access protocol
CN110932918B (en) Log data acquisition method and device and storage medium
CN111240862A (en) Universal interface platform and data conversion method
CN114598749A (en) Service access method and device
WO2023131058A1 (en) System and method for scheduling resource service application in digital middle office of enterprise
CN111666205A (en) Data auditing method, system, computer equipment and storage medium
CN111917630A (en) Data transmission method, data transmission device, storage medium and electronic device
US9665732B2 (en) Secure Download from internet marketplace
CN111008220A (en) Dynamic identification method and device of data source, storage medium and electronic device
CN112363997B (en) Data version management method, device and storage medium
CN115525449B (en) Micro-service data transmission system, method and storage medium
CN111045928A (en) Interface data testing method, device, terminal and storage medium
CN116471288A (en) User information synchronization method and device
CN115982133A (en) Data processing method and device
CN113342845B (en) Data synchronization method, computer device and readable storage medium
CN104579741B (en) Business management system
CN104753774A (en) Distributed enterprise integrated access gateway
CN113472715A (en) Data transmission method and device
CN112860746A (en) Cache reduction-based method, equipment and system
CN112583890A (en) Message pushing method and device based on enterprise office system and computer equipment
CN113315875B (en) Call information synchronization method and device, call information synchronization equipment and storage medium
CN114900531B (en) Data synchronization method, device and system
CN115168489B (en) Data certification method and device based on blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination