CN109274681B - Information synchronization method and device, storage medium and server - Google Patents

Information synchronization method and device, storage medium and server Download PDF

Info

Publication number
CN109274681B
CN109274681B CN201811249661.2A CN201811249661A CN109274681B CN 109274681 B CN109274681 B CN 109274681B CN 201811249661 A CN201811249661 A CN 201811249661A CN 109274681 B CN109274681 B CN 109274681B
Authority
CN
China
Prior art keywords
server
sub
information
user
association
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.)
Active
Application number
CN201811249661.2A
Other languages
Chinese (zh)
Other versions
CN109274681A (en
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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201811249661.2A priority Critical patent/CN109274681B/en
Priority to PCT/CN2018/123792 priority patent/WO2020082580A1/en
Publication of CN109274681A publication Critical patent/CN109274681A/en
Application granted granted Critical
Publication of CN109274681B publication Critical patent/CN109274681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an information synchronization method, an information synchronization device, a storage medium and a server, wherein the information synchronization method comprises the following steps: the method comprises the steps that a first sub-server reads a user identifier of a current login client when detecting an authentication request sent by the client and sends an information calling request to a central server, the central server judges whether the first sub-server has an information calling authority, if the first sub-server has the information calling authority, a second sub-server associated with the first sub-server is determined, whether authentication information of a user exists in the second sub-server is searched according to the user identifier, and if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server. The invention can realize the synchronous sharing of the information of different branch companies in the same group, simplify the authentication operation of the user when the user transacts the service in different branch companies, save the time of the user and enhance the user experience.

Description

Information synchronization method and device, storage medium and server
Technical Field
The present invention relates to the field of information synchronization technologies, and in particular, to an information synchronization method, an information synchronization apparatus, a storage medium, and a server.
Background
In recent years, the economy has rapidly developed, and many large enterprises set up a plurality of subsidiaries. In a traditional management mode, subsidiaries belonging to the same group operate independently, service data are distributed in the subsidiaries, the subsidiaries may be respectively provided with websites or APPs, but user information of the websites or APPs cannot be intercommunicated, namely, as customer information of the subsidiaries is not intercommunicated, for services of different subsidiaries in the same group, users need to log in the websites or APPs of the subsidiaries respectively and authenticate respectively, and the operation is complex and time is wasted.
Disclosure of Invention
Embodiments of the present invention provide an information synchronization method, an information synchronization device, a storage medium, and a server, so as to solve the problems in the prior art that, because client information of subsidiaries is not intercommunicated, for services of different subsidiaries in the same group, a user needs to log in a website or APP of each subsidiary respectively, perform authentication respectively, and are cumbersome to operate and time-consuming.
A first aspect of an embodiment of the present invention provides an information synchronization method, including:
if the first sub server detects an authentication request sent by a client, reading a user identifier of a user currently logging in the client based on the authentication request;
the first sub server sends an information calling request to a central server, wherein the information calling request carries the user identification of the user and the first server identification of the first sub server;
the central server judges whether the first sub-server has information calling authority or not according to the first server identifier;
if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to the first server identifier and a preset server association comparison table, and the preset server association comparison table is established according to the association degree between the sub-servers;
the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification;
and if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server.
A second aspect of an embodiment of the present invention provides an information synchronization apparatus, including:
a calling request sending unit, configured to send, by the first sub-server, an information calling request to a central server, where the information calling request carries a user identifier of the user and a first server identifier of the first sub-server;
the authority verification unit is used for judging whether the first sub-server has information calling authority or not by the central server according to the first server identifier;
the related server searching unit is used for determining a second sub server related to the first sub server according to the first server identifier and a preset server related comparison table if the first sub server has the information calling authority, and the preset server related comparison table is established according to the relevance between the sub servers;
the information searching unit is used for searching whether the authentication information of the user exists in the second sub-server or not by the central server according to the user identification;
and the information synchronization unit is used for synchronizing the authentication information to the first sub-server by the central server if the authentication information of the user exists in the second sub-server.
A third aspect of the embodiments of the present invention provides a server, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the following steps:
if the first sub server detects an authentication request sent by a client, reading a user identifier of a user currently logging in the client based on the authentication request;
the first sub server sends an information calling request to a central server, wherein the information calling request carries the user identification of the user and the first server identification of the first sub server;
the central server judges whether the first sub-server has information calling authority or not according to the first server identifier;
if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to the first server identifier and a preset server association comparison table, and the preset server association comparison table is established according to the association degree between the sub-servers;
the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification;
and if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
if the first sub server detects an authentication request sent by a client, reading a user identifier of a user currently logging in the client based on the authentication request;
the first sub server sends an information calling request to a central server, wherein the information calling request carries the user identification of the user and the first server identification of the first sub server;
the central server judges whether the first sub-server has information calling authority or not according to the first server identifier;
if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to the first server identifier and a preset server association comparison table, and the preset server association comparison table is established according to the association degree between the sub-servers;
the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification;
and if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server.
In the embodiment of the invention, when a first sub-server detects an authentication request sent by a client, a user identifier of a user currently logging in the client is read based on the authentication request, the first sub-server sends an information calling request to a central server, the information calling request carries the user identifier of the user and a first server identifier of the first sub-server, the central server judges whether the first sub-server has an information calling authority or not according to the first server identifier, verifies whether the first sub-server is a sub-server under the same group or not, if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to a first server identifier and a preset server association comparison table, the preset server association comparison table is established according to association between sub-servers, the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification, if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server, the common use of the authentication information between the first sub-server and the second sub-server is realized, when the user transacts services in different branch companies in the same group, the authentication is not required to be performed again, the operation steps of service transaction are simplified, the time of the user is saved, and the user experience can be enhanced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of an information synchronization method provided in an embodiment of the present invention;
fig. 2 is a flowchart illustrating a specific implementation of establishing a preset server association comparison table in the information synchronization method according to the embodiment of the present invention;
fig. 3 is a flowchart illustrating another specific implementation of establishing a preset server association comparison table in the information synchronization method according to the embodiment of the present invention;
fig. 4 is a flowchart illustrating another specific implementation of establishing a preset server association comparison table in the information synchronization method according to the embodiment of the present invention;
fig. 5 is a schematic view of an application scenario of an information synchronization method according to an embodiment of the present invention;
fig. 6 is a block diagram of an information synchronization apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a server provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows an implementation flow of the information synchronization method provided by the embodiment of the present invention, where the method flow includes steps S101 to S106. The specific realization principle of each step is as follows:
s101: and if the first sub server detects an authentication request sent by the client, reading the user identification of the user currently logging in the client based on the authentication request.
Specifically, before step S101, when the first sub-server detects a login request of a user, obtaining login information of the user, including an account and a password, determining whether the account is a registered account on the first sub-server according to a server identifier carried by the account, and if not, prompting the user to perform information authentication. When the first sub server detects an authentication request sent by a client, reading the user identification of a user currently logging in the client based on the authentication request. The user identifier may be an identification number of the user, or biometric information of the user, such as a face image, a fingerprint, an iris, or the like, which may uniquely identify the user.
Optionally, if it is determined that the account is not a registered account on the first sub-server, sending an account inquiry request to a central server, and determining, by the central server, whether the account is a registered account on another sub-server associated with the central server.
S102: and the first sub server sends an information calling request to a central server, wherein the information calling request carries the user identification of the user and the first server identification of the first sub server.
Specifically, the user may use a first sub-server (e.g., sub-company a) to register an account and fill in registration information, including the user's name, gender, phone number, certificate type, and identification number. When a first sub-server is associated with a second sub-server associated with a central server, a user may log directly on the first sub-server using an account registered on the second sub-server.
In the embodiment of the invention, the user can log in a plurality of other subsidiary company servers to browse information by using the account and the password registered on the first subsidiary server, but authentication is needed when the user wants to purchase financial products on other subsidiary companies. When the logged-in user triggers the authentication request, time is saved for simplifying operation, the user is prevented from inputting authentication information again, and the first sub-server sends an information calling request to the central server to search the information authenticated by the user on other sub-servers.
S103: and the central server judges whether the first sub-server has the information calling authority or not according to the first server identifier.
Specifically, the central server verifies whether the sub-server is a sub-server subordinate to the group according to the server identifier. In this embodiment, the central server is a group-level server, and a user registers authentication information on a sub-company, and synchronously registers the authentication information from the sub-servers to the central server in real time or periodically, specifically, a database of the central server includes a plurality of information sets, the information sets use a server identifier as a tag, information of the same sub-server is synchronized to the same information set using a corresponding tag as a server identifier, and the central server allocates information call permissions to the sub-servers respectively.
Optionally, the central server allocates a corresponding information invoking right to the sub-server according to the service type corresponding to the sub-server.
In this embodiment, the central server determines whether the first sub-server has the information invoking right according to the first server identifier. And if the first sub-server does not have the information calling authority, rejecting the information calling request of the first sub-server so that the first sub-server can timely inform the user of the client to carry out authentication.
S104: if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to the first server identification and a preset server association comparison table, and the preset server association comparison table is established according to the association degree between the sub-servers.
In embodiments of the present invention, a child server may invoke information for other child servers associated therewith. Specifically, if the association degree between the first sub-server and the second sub-server reaches a preset association degree threshold, it is determined that the first sub-server has the authority to call the authentication information in the second sub-server; and if the preset association threshold value is not reached, judging that the first sub-server does not have the authority of calling the authentication information in the second sub-server.
In the embodiment of the invention, information exchange is not carried out on all the subsidiaries belonging to the same group, but information calling can be carried out between the affiliated subsidiaries, so that the safety of information is effectively guaranteed.
As an embodiment of the present invention, as shown in fig. 2, the step of establishing the preset server association comparison table according to the association degree between the sub servers specifically includes:
a1: and respectively acquiring a first business data report of the first sub-server and a second business data report of the second sub-server. The business data report is a data report containing the business information of the sub-servers, the data in the business data report is arranged according to attributes, and the attributes comprise business types, business levels and the like.
A2: and calculating the number of the overlapped attribute fields of the first business data report and the second business data report.
A3: and determining the association degree between the first sub-server and the second sub-server according to the number of the attribute fields overlapped by the report. Specifically, the greater the number of overlapping attribute fields, the stronger the association.
A4: and establishing the server association comparison table according to the association degree between the first sub server and the second sub server. The second sub-server refers to other sub-servers except for the first sub-server, and is not limited to only one sub-server.
In the embodiment of the invention, the association degree of the services among the sub-servers is determined according to the overlapped attribute fields of the service data reports among the sub-servers, the server association comparison table is established according to the association degree among the sub-servers, and the sub-servers are arranged on the server association comparison table according to the association degree.
As an embodiment of the present invention, as shown in fig. 3, the step of establishing the preset server association comparison table according to the association degree between the sub servers specifically includes:
b1: and respectively acquiring a first target client type of the service corresponding to the first sub-server and a second target client type of the service corresponding to the second sub-server.
B2: and calculating the association degree between the first sub server and the second sub server according to the first target client type and the second target client type.
B3: and establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
In the embodiment of the invention, the association degree between the sub-servers is determined according to the types of the target clients corresponding to the sub-servers, if the target client types are partially or completely the same, the previous association of the sub-servers is judged, and the association degree is determined according to the same degree of the types of the target clients.
As an embodiment of the present invention, as shown in fig. 4, the step of establishing the preset server association comparison table according to the association degree between the sub servers specifically includes:
c1: and respectively acquiring the business data reports of the sub-servers according to the server identification, and calculating the number of the overlapped attribute fields between the business data reports of the sub-servers.
C2: and acquiring the target client type of the service corresponding to each sub-server according to the server identification, and calculating the client similarity of the service corresponding to each sub-server according to the target client type.
C3: and calculating the association degree between the sub-servers according to the number of the overlapped attribute fields between the sub-servers and the client similarity.
C4: and establishing the server association comparison table according to the association degree among the sub-servers.
In the embodiment of the invention, the association degree between the sub-servers is determined by combining the services corresponding to the sub-servers and the target client type.
Specifically, as an embodiment of the present invention, the step C3 specifically includes:
calculating the association degree between the sub-servers according to the following formula:
CorrDegree=Func(SimdegreeA,B)*N_overlapA,B (1),
wherein, A is used for identifying the first sub-server, B is used for identifying the second sub-server, SimdegreeA,BRepresenting a client similarity, N _ overlap, of the service corresponding to the first sub-server A and the service corresponding to the second sub-server BA,BThe number of attribute fields representing the overlap of the business data report of the first sub-server A and the business data report of the second sub-server B, Func is a monotonically increasing function of any implementation of the mapping from [0, + ∞) to [0, 1). In this embodiment, Func may take any one of the following functions:
Figure GDA0003282198400000091
s105: and the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification.
In the embodiment of the present invention, the central server is a group-level server, the user registers the authentication information on the subsidiary company, and synchronously registers the authentication information from the subsidiary server to the central server in real time or periodically, if the central server does not find the authentication information of the user in the second subsidiary server, it is determined that the user is not authenticated, and the central server rejects the information calling request of the first subsidiary server.
S106: and if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server.
Exemplarily, as shown in fig. 5 below, a sub-company a sends an information invocation request to a group O, where the information invocation request includes a user identifier of a client requesting to invoke and a server identifier of the sub-company a, the group O first determines whether the sub-company a has an invocation authority according to the server identifier of the sub-company a, if so, determines the sub-company associated with the sub-company a according to a preset server association comparison table and the server identifier of the sub-company a, if it is found that the sub-company a is associated with the sub-company B, searches authentication information of the user in a sub-server of the sub-company B, and if found, the group O returns the authentication information of the user to the sub-company a.
In the embodiment of the invention, when a first sub-server detects an authentication request sent by a client, a user identifier of a user currently logging in the client is read based on the authentication request, the first sub-server sends an information calling request to a central server, the information calling request carries the user identifier of the user and a first server identifier of the first sub-server, the central server judges whether the first sub-server has an information calling authority or not according to the first server identifier, verifies whether the first sub-server is a sub-server under the same group or not, if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to a first server identifier and a preset server association comparison table, the preset server association comparison table is established according to association between sub-servers, the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification, if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server, the common use of the authentication information between the first sub-server and the second sub-server is realized, when the user transacts services in different branch companies in the same group, the authentication is not required to be performed again, the operation steps of service transaction are simplified, the time of the user is saved, and the user experience can be enhanced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 6 shows a block diagram of an information synchronization apparatus provided in an embodiment of the present application, corresponding to the information synchronization method described in the above embodiment, and only the relevant parts of the embodiment of the present application are shown for convenience of description.
Referring to fig. 6, the information synchronization apparatus includes: an identifier reading unit 61, a call request sending unit 62, a right verification unit 63, an association server searching unit 64, an information searching unit 66, and an information synchronization unit 66, wherein:
the identifier reading unit 61 is configured to, if the first sub server detects an authentication request sent by a client, read a user identifier of a user currently logging in the client based on the authentication request;
a calling request sending unit 62, configured to send, by the first sub-server, an information calling request to a central server, where the information calling request carries a user identifier of the user and a first server identifier of the first sub-server;
an authority verification unit 63, configured to determine, by the central server, whether the first sub-server has an information invoking authority according to the first server identifier;
the associated server searching unit 64 is configured to, if the first sub-server has the information invoking permission, determine, by the central server, a second sub-server associated with the first sub-server according to the first server identifier and a preset server association comparison table, where the preset server association comparison table is established according to an association degree between the sub-servers;
an information searching unit 65, configured to search, by the central server, whether the authentication information of the user exists in the second sub-server according to the user identifier;
an information synchronization unit 66, configured to, if the authentication information of the user exists in the second sub-server, synchronize the authentication information with the first sub-server by the central server.
Optionally, the association server searching unit 64 includes:
the data report acquisition module is used for respectively acquiring a first business data report of the first sub-server and a second business data report of the second sub-server;
the field overlapping quantity determining module is used for calculating the quantity of the attribute fields overlapped by the first business data report and the second business data report;
the association degree determining module is used for determining the association degree between the first sub-server and the second sub-server according to the number of the attribute fields overlapped by the report;
and the first comparison table establishing module is used for establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
Optionally, the association server searching unit 64 includes:
the client type acquisition module is used for respectively acquiring a first target client type of the service corresponding to the first sub-server and a second target client type of the service corresponding to the second sub-server;
a second association degree determining module, configured to calculate, according to the first target client type and the second target client type, an association degree between the first sub server and the second sub server;
and the second comparison table establishing module is used for establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
Optionally, the association server searching unit 64 includes:
the information determining module is used for respectively acquiring the business data reports of each sub-server according to the server identification and calculating the number of the overlapped attribute fields between the business data reports of each sub-server;
the client similarity determining module is used for acquiring a target client type of the service corresponding to each sub-server according to the server identification and calculating the client similarity of the service corresponding to each sub-server according to the target client type;
a third relevancy determining module, configured to calculate relevancy between the respective sub-servers according to the number of overlapped attribute fields between the respective sub-servers and the client similarity;
and the third comparison table establishing module is used for establishing the server association comparison table according to the association degree among the sub servers.
Optionally, the third association determining module includes:
the relevancy calculation module is used for calculating the relevancy among the sub servers according to the following formula:
CorrDegree=Func(Sim deg reeA,B)*N_overlapA,B
wherein, A is used for identifying the first sub-server, B is used for identifying the second sub-server, SimdegreeA,BRepresenting a client similarity, N _ overlap, of the service corresponding to the first sub-server A and the service corresponding to the second sub-server BA,BThe number of attribute fields representing the overlap of the business data report of the first sub-server A and the business data report of the second sub-server B, Func is a monotonically increasing function of any implementation of the mapping from [0, + ∞) to [0, 1).
In the embodiment of the invention, when a first sub-server detects an authentication request sent by a client, a user identifier of a user currently logging in the client is read based on the authentication request, the first sub-server sends an information calling request to a central server, the information calling request carries the user identifier of the user and a first server identifier of the first sub-server, the central server judges whether the first sub-server has an information calling authority or not according to the first server identifier, verifies whether the first sub-server is a sub-server under the same group or not, if the first sub-server has the information calling authority, the central server determines a second sub-server associated with the first sub-server according to a first server identifier and a preset server association comparison table, the preset server association comparison table is established according to association between sub-servers, the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification, if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server, the common use of the authentication information between the first sub-server and the second sub-server is realized, when the user transacts services in different branch companies in the same group, the authentication is not required to be performed again, the operation steps of service transaction are simplified, the time of the user is saved, and the user experience can be enhanced.
Fig. 7 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 7, the server 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72, such as an information synchronization program, stored in said memory 71 and operable on said processor 70. The processor 70, when executing the computer program 72, implements the steps in the various information synchronization method embodiments described above, such as the steps 101 to 106 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the units 61 to 66 shown in fig. 6.
Illustratively, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 72 in the server 7.
The server 7 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The server may include, but is not limited to, a processor 70, a memory 71. Those skilled in the art will appreciate that fig. 7 is merely an example of a server 7 and does not constitute a limitation of the server 7 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 71 may be an internal storage unit of the server 7, such as a hard disk or a memory of the server 7. The memory 71 may also be an external storage device of the server 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the server 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the server 7. The memory 71 is used for storing the computer program and other programs and data required by the server. The memory 71 may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. An information synchronization method, comprising:
when a first sub-server detects a login request of a user, obtaining login information of the user, including an account and a password, judging whether the account is a registered account on the first sub-server according to a server identifier carried by the account, and if not, prompting the user to perform information authentication;
if the first sub server detects an authentication request sent by a client, reading a user identifier of a user currently logging in the client based on the authentication request;
the first sub server sends an information calling request to a central server, wherein the information calling request carries the user identification of the user and the first server identification of the first sub server; wherein, the central server is a group-level server;
the central server judges whether the first sub-server has information calling authority or not according to the first server identification, specifically, a database of the central server comprises a plurality of information sets, the information sets take the server identification as a label, information of the same sub-server is synchronized to the same information set with the corresponding label as the server identification, the central server verifies whether the sub-server is a sub-server subordinate to the group or not according to the server identification, and the central server distributes the information calling authority to each sub-server subordinate to the group respectively;
if the first sub-server has the information invoking authority, the central server determines a second sub-server associated with the first sub-server according to the first server identifier and a preset server association comparison table, wherein the preset server association comparison table is established according to the association degree between the sub-servers, and the method comprises the following steps: respectively acquiring the business data reports of each sub-server according to the server identification, and calculating the number of the overlapped attribute fields between the business data reports of each sub-server; acquiring a target client type of the service corresponding to each sub-server according to the server identification, and calculating the client similarity of the service corresponding to each sub-server according to the target client type; calculating the association degree between the sub-servers according to the number of the overlapped attribute fields between the sub-servers and the client similarity; establishing the server association comparison table according to the association degree among the sub-servers; specifically, if the association degree between the first sub-server and the second sub-server reaches a preset association degree threshold, it is determined that the first sub-server has the authority to call the authentication information in the second sub-server; if the preset association threshold is not reached, judging that the first sub-server does not have the authority of calling the authentication information in the second sub-server;
the central server searches whether the authentication information of the user exists in the second sub-server or not according to the user identification;
and if the authentication information of the user exists in the second sub-server, the central server synchronizes the authentication information to the first sub-server.
2. The information synchronization method according to claim 1, wherein the preset server association look-up table is established according to the association degree between the sub-servers, and comprises:
respectively acquiring a first business data report of a first sub-server and a second business data report of a second sub-server;
calculating the number of the overlapped attribute fields of the first business data report and the second business data report;
determining the association degree between the first sub-server and the second sub-server according to the number of the attribute fields overlapped by the report;
and establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
3. The information synchronization method according to claim 1, wherein the preset server association look-up table is established according to the association degree between the sub-servers, and comprises:
respectively acquiring a first target client type of a service corresponding to a first sub-server and a second target client type of a service corresponding to a second sub-server;
calculating the association degree between the first sub server and the second sub server according to the first target client type and the second target client type;
and establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
4. The information synchronization method according to claim 1, wherein the calculating the association degree between the sub-servers according to the number of the attribute fields overlapped between the sub-servers and the client similarity comprises:
calculating the association degree between the sub-servers according to the following formula:
CorrDegree=Func(SimdegreeA,B)*N_overlapA,B
wherein, A is used for identifying the first sub-server, B is used for identifying the second sub-server, SimdegreeA,BRepresenting a client similarity, N _ overlap, of the service corresponding to the first sub-server A and the service corresponding to the second sub-server BA,BThe number of attribute fields representing the overlap of the business data report of the first sub-server A and the business data report of the second sub-server B, Func is a monotonically increasing function of any implementation of the mapping from [0, + ∞) to [0, 1).
5. An information synchronization apparatus, characterized in that the information synchronization apparatus comprises:
the identification reading unit is used for acquiring login information of a user, including an account and a password, when the first sub-server detects a login request of the user, judging whether the account is a registered account on the first sub-server or not according to a server identification carried by the account, and if not, prompting the user to perform information authentication; if the first sub server detects an authentication request sent by a client, reading a user identifier of a user currently logging in the client based on the authentication request;
a calling request sending unit, configured to send, by the first sub-server, an information calling request to a central server, where the information calling request carries a user identifier of the user and a first server identifier of the first sub-server; wherein, the central server is a group-level server;
the authority verification unit is used for judging whether the first sub-server has information calling authority or not by the central server according to the first server identification, specifically, a database of the central server comprises a plurality of information sets, the information sets take the server identification as a label, information of the same sub-server is synchronized to the same information set with the corresponding label as the server identification, the central server verifies whether the sub-server is a sub-server subordinate to the group or not according to the server identification, and the central server distributes the information calling authority to each sub-server subordinate to the group respectively;
the related server searching unit is used for determining a second sub server related to the first sub server according to the first server identifier and a preset server related comparison table if the first sub server has the information calling authority, and the preset server related comparison table is established according to the relevance between the sub servers; specifically, if the association degree between the first sub-server and the second sub-server reaches a preset association degree threshold, it is determined that the first sub-server has the authority to call the authentication information in the second sub-server; if the preset association threshold is not reached, judging that the first sub-server does not have the authority of calling the authentication information in the second sub-server; the correlation server searching unit comprises:
the information determining module is used for respectively acquiring the business data reports of each sub-server according to the server identification and calculating the number of the overlapped attribute fields between the business data reports of each sub-server;
the client similarity determining module is used for acquiring a target client type of the service corresponding to each sub-server according to the server identification and calculating the client similarity of the service corresponding to each sub-server according to the target client type;
a third relevancy determining module, configured to calculate relevancy between the respective sub-servers according to the number of overlapped attribute fields between the respective sub-servers and the client similarity;
a third comparison table establishing module, configured to establish the server association comparison table according to the association degrees between the respective sub servers;
the information searching unit is used for searching whether the authentication information of the user exists in the second sub-server or not by the central server according to the user identification;
and the information synchronization unit is used for synchronizing the authentication information to the first sub-server by the central server if the authentication information of the user exists in the second sub-server.
6. The information synchronization apparatus according to claim 5, wherein the association server search unit includes:
the data report acquisition module is used for respectively acquiring a first business data report of the first sub-server and a second business data report of the second sub-server;
the field overlapping quantity determining module is used for calculating the quantity of the attribute fields overlapped by the first business data report and the second business data report;
the first association degree determining module is used for determining the association degree between the first sub-server and the second sub-server according to the number of the attribute fields overlapped by the report;
and the first comparison table establishing module is used for establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
7. The information synchronization apparatus according to claim 5, wherein the association server search unit includes:
the client type acquisition module is used for respectively acquiring a first target client type of the service corresponding to the first sub-server and a second target client type of the service corresponding to the second sub-server;
a second association degree determining module, configured to calculate, according to the first target client type and the second target client type, an association degree between the first sub server and the second sub server;
and the second comparison table establishing module is used for establishing the server association comparison table according to the association degree between the first sub server and the second sub server.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the information synchronization method according to any one of claims 1 to 4.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the information synchronization method according to any one of claims 1 to 4 when executing the computer program.
CN201811249661.2A 2018-10-25 2018-10-25 Information synchronization method and device, storage medium and server Active CN109274681B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811249661.2A CN109274681B (en) 2018-10-25 2018-10-25 Information synchronization method and device, storage medium and server
PCT/CN2018/123792 WO2020082580A1 (en) 2018-10-25 2018-12-26 Information synchronization method and apparatus, and storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811249661.2A CN109274681B (en) 2018-10-25 2018-10-25 Information synchronization method and device, storage medium and server

Publications (2)

Publication Number Publication Date
CN109274681A CN109274681A (en) 2019-01-25
CN109274681B true CN109274681B (en) 2021-11-16

Family

ID=65195109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811249661.2A Active CN109274681B (en) 2018-10-25 2018-10-25 Information synchronization method and device, storage medium and server

Country Status (2)

Country Link
CN (1) CN109274681B (en)
WO (1) WO2020082580A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110233857B (en) * 2019-06-28 2022-04-15 深圳开立生物医疗科技股份有限公司 Ultrasonic equipment authorization method, system, equipment and computer storage medium
CN112350975B (en) * 2019-08-06 2023-01-31 广东元心科技有限公司 Method and system for synchronizing product information
CN114582461A (en) * 2022-03-10 2022-06-03 柔济(广州)互联网科技有限公司 Prescription circulation management system for electronic commerce

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604075A (en) * 2004-11-22 2005-04-06 北京北大方正技术研究院有限公司 Method for conducting words reading sequence recovery for newspaper pages
CN101977202A (en) * 2010-11-11 2011-02-16 北京航空航天大学 One-time password authentication system and authentication method used for B/S (Browser/Server) network structure
CN104270386A (en) * 2014-10-22 2015-01-07 中国建设银行股份有限公司 Cross-application-system user information integration method and identity information management server
CN104301418A (en) * 2014-10-23 2015-01-21 西安未来国际信息股份有限公司 Cross-domain single point login system and method based on SAML
CN105049246A (en) * 2015-07-03 2015-11-11 北京遨迈网络科技有限公司 Group user management and service method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080092516A (en) * 2007-04-12 2008-10-16 아이네오 가부시키가이샤 Client and server system and method for setting up and certifying rights of storage medium in client and server system
CN101931613B (en) * 2009-06-23 2014-12-10 中兴通讯股份有限公司 Centralized authenticating method and centralized authenticating system
JP4892093B1 (en) * 2010-11-09 2012-03-07 株式会社東芝 Authentication linkage system and ID provider device
US10476857B2 (en) * 2015-11-19 2019-11-12 Electronics And Telecommunications Research Institute Method and apparatus for communication between heterogeneous platforms
CN107193671A (en) * 2017-05-26 2017-09-22 山东浪潮云服务信息科技有限公司 One kind is served by interoperability methods and system
CN108076042A (en) * 2017-11-02 2018-05-25 深圳市金立通信设备有限公司 User information acquiring method, server and computer-readable medium
CN107833019B (en) * 2017-11-16 2020-08-21 平安科技(深圳)有限公司 Channel management method and device, computer equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604075A (en) * 2004-11-22 2005-04-06 北京北大方正技术研究院有限公司 Method for conducting words reading sequence recovery for newspaper pages
CN101977202A (en) * 2010-11-11 2011-02-16 北京航空航天大学 One-time password authentication system and authentication method used for B/S (Browser/Server) network structure
CN104270386A (en) * 2014-10-22 2015-01-07 中国建设银行股份有限公司 Cross-application-system user information integration method and identity information management server
CN104301418A (en) * 2014-10-23 2015-01-21 西安未来国际信息股份有限公司 Cross-domain single point login system and method based on SAML
CN105049246A (en) * 2015-07-03 2015-11-11 北京遨迈网络科技有限公司 Group user management and service method and system

Also Published As

Publication number Publication date
WO2020082580A1 (en) 2020-04-30
CN109274681A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
US12028343B2 (en) Decentralized identities for access to multiple computing resource systems
US20210084105A1 (en) System and apparatus to manage data using a peer-to-peer network and the blockchain
US20210217001A1 (en) Decentralized tokenization technologies
US11138300B2 (en) Multi-factor profile and security fingerprint analysis
US11048690B2 (en) Contribution of multiparty data aggregation using distributed ledger technology
US20200287874A1 (en) System and associated method for ensuring data privacy
US10984410B2 (en) Entity-sovereign data wallets using distributed ledger technology
WO2019184120A1 (en) Account management method and apparatus, terminal device, and storage medium
US20090271635A1 (en) Methods and systems for authentication
EP3537684B1 (en) Apparatus, method, and program for managing data
CN109274681B (en) Information synchronization method and device, storage medium and server
US11106659B2 (en) Blockchain-based recording and querying operations
JP2016521932A (en) Terminal identification method, and method, system, and apparatus for registering machine identification code
CN111709860B (en) Method, device, equipment and storage medium for processing heritage
WO2019136802A1 (en) Password changing method and apparatus, terminal device, and storage medium
KR20210059164A (en) Secondary copyright ownership issuance system using blockchain
CN109413203A (en) A kind of transaction data acquisition methods and device
CN111612452A (en) Intellectual property management system and method based on block chain
CN111832001B (en) Identity management method and identity management system based on block chain
US11461361B2 (en) Rapid hyperledger onboarding platform
CN109544207A (en) A kind of information processing method, storage medium and server
US10841079B1 (en) Data registration-aware storage systems
US20230325521A1 (en) Data processing method and apparatus based on blockchain network, device, and storage medium
CN111324799B (en) Search request processing method and device
CN110110955A (en) Investigate distribution method, device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant