CN115004668A - Data synchronization method and related product - Google Patents

Data synchronization method and related product Download PDF

Info

Publication number
CN115004668A
CN115004668A CN202080094668.0A CN202080094668A CN115004668A CN 115004668 A CN115004668 A CN 115004668A CN 202080094668 A CN202080094668 A CN 202080094668A CN 115004668 A CN115004668 A CN 115004668A
Authority
CN
China
Prior art keywords
information
authority
service system
data
pieces
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
CN202080094668.0A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN115004668A publication Critical patent/CN115004668A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

A data synchronization method and related products are applied to a service platform, and the method comprises the following steps: the method comprises the following steps: acquiring first authority information of a first service system and acquiring N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer (101); authenticating according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, wherein M is a positive integer less than or equal to N (102); acquiring data to be synchronized of the first service system and acquiring a synchronization operation configuration parameter (103); and synchronizing the data to be synchronized to second service systems (104) corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters. The method can improve the data synchronization efficiency.

Description

Data synchronization method and related product Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data synchronization method and a related product.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, etc.), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of users.
At present, when the authority data between the existing systems are synchronized, the two systems usually interact directly, when many systems in an enterprise need to synchronize the authority data, the calling between the systems may be many and disordered, and in addition, because of strong dependency between the systems, when a certain service system goes wrong, other service systems may be affected.
Disclosure of Invention
The embodiment of the application provides a data synchronization method and a related product, which can improve the data synchronization efficiency when data synchronization is carried out among a plurality of systems.
In a first aspect, a data synchronization method in an embodiment of the present application is applied to a service platform, and includes:
acquiring first authority information of a first service system and acquiring N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer;
authenticating according to the first authority information and the N pieces of second authority information to obtain M pieces of second authority information successfully authenticated with the first authority information, wherein M is a positive integer smaller than or equal to N;
acquiring data to be synchronized of the first service system and acquiring a synchronization operation configuration parameter;
and synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
In a second aspect, an embodiment of the present application provides a data synchronization apparatus, which is applied to a service platform, and the apparatus includes: a first acquisition unit, an authentication unit, a second acquisition unit and a synchronization unit, wherein,
the first obtaining unit is used for obtaining first authority information of a first service system and obtaining N pieces of second authority information, each piece of second authority information corresponds to one second service system, and N is a positive integer;
the authentication unit is used for performing authentication according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, wherein M is a positive integer less than or equal to N;
the second obtaining unit is configured to obtain data to be synchronized of the first service system, and obtain a synchronization operation configuration parameter;
and the synchronization unit is used for synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
In a third aspect, an embodiment of the present application provides a service platform, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
Drawings
Reference will now be made in brief to the drawings that are needed in describing embodiments or prior art.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of a service platform provided in an embodiment of the present application;
fig. 1B is a schematic flowchart of a data synchronization method disclosed in an embodiment of the present application;
fig. 1C is a schematic diagram illustrating a system architecture for implementing a data synchronization method disclosed in an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of another data synchronization method disclosed in the embodiments of the present application;
FIG. 3 is a schematic flow chart diagram of another data synchronization method disclosed in the embodiments of the present application;
fig. 4 is a schematic structural diagram of another service platform disclosed in an embodiment of the present application;
fig. 5A is a schematic structural diagram of a data synchronization apparatus disclosed in an embodiment of the present application;
FIG. 5B is a schematic diagram of another data synchronization apparatus disclosed in the embodiments of the present application;
fig. 5C is a schematic structural diagram of another data synchronization apparatus disclosed in the embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
The terms "first," "second," and the like in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The service system related to the embodiment of the present application may include a common server, a cloud server, a block chain, and the like, which are not limited herein.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of a service platform disclosed in an embodiment of the present application, and the service platform 100 may include a control circuit, which may include a storage and processing circuit 110. The storage and processing circuitry 110 may be a memory, such as a hard drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. The processing circuitry in storage and processing circuitry 110 may be used to control the operation of service platform 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 110 may be used to run software in the service platform 100, such as an internet browsing application, a Voice Over Internet Protocol (VOIP) phone call application, an email application, a media playing application, operating system functions, and so forth. Such software may be used to perform control operations such as camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality implemented based on a status indicator such as a status indicator light of a light emitting diode, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the service platform 100, to name a few, embodiments of the present application are not limited.
The service platform 100 may also include input-output circuitry 150. The input-output circuit 150 may be used to enable the service platform 100 to input and output data, i.e., to allow the service platform 100 to receive data from external devices and also to allow the service platform 100 to output data from the service platform 100 to external devices. The input-output circuit 150 may further include a sensor 170. The sensors 170 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or used independently as a touch sensor structure), acceleration sensors, gravity sensors, and other sensors, among others.
Input-output circuitry 150 may also include one or more displays, such as display 130. Display 130 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. Display 130 may include an array of touch sensors (i.e., display 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The audio component 140 may be used to provide audio input and output functionality for the service platform 100. The audio components 140 in the service platform 100 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuit 120 may be used to provide the service platform 100 with the capability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 120 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuitry in communication circuitry 120 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 120 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
The service platform 100 may further include a battery, power management circuitry, and other input-output units 160. The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may input commands through the input-output circuitry 150 to control operation of the service platform 100 and may use output data of the input-output circuitry 150 to enable receipt of status information and other outputs from the service platform 100.
Referring to fig. 1B, fig. 1B is a schematic flowchart of a data synchronization method according to an embodiment of the present disclosure, where the data synchronization method described in the present embodiment is applied to the service platform shown in fig. 1A, and the data synchronization method includes:
101. the method comprises the steps of obtaining first authority information of a first service system and obtaining N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer.
The first service system may be disposed in a first device, the second service system may be disposed in a second device, both the first device and the second device may be electronic devices, and the electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have a wireless communication function, and various forms of User Equipment (UE), a Mobile Station (MS), a terminal device (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices, and the electronic devices may also be servers, service platforms, and the like.
The data synchronization method described in this embodiment of the present application may be applied to the system described in fig. 1C, where the Service platform may be a web server, the Service platform may include a scheduling module (Scheduler), a calculator (calculator), a Service Holder, a Log module, and a monitoring module (Monitor), the Service system may be connected to each Service system, each Service system may include a plurality of services, and in addition, the Service platform may be connected to a Message Queue, a DB, and a Cache. In specific implementation, the embodiment of the application can be applied to a scene in which permission data synchronization needs to be performed among a plurality of systems. For example, if a company has A, B, C three systems, a system a is a company unified account system, a system B is a company development management system, and a system C is a company development operation and maintenance deployment system, there may be scenarios: the system A is used as a unified account system and needs to synchronize user data with the system B and the system C, the system B is used as a research and development permission data source and synchronizes the user permission data with the system C, and the like, so that A, B, C data synchronization among the three systems can be realized through a service platform.
In the embodiment of the application, the first authority information and the second authority information may be at least one of the following: the permission metadata interface, the permission addition/deletion interface, the system health status check interface, the device identification information of the electronic device, the login information of the business system of the electronic device, and the like, which are not limited herein, wherein the device identification information of the electronic device may be at least one of the following: an IP address, a MAC address, an Integrated Circuit Card Identification (ICCID), and the like, which are not limited herein. The login information of the business system of the electronic device may include at least one of: a user name, a login password, a login time, a login location, etc., and the login password is not limited herein, and may be at least one of the following: character strings, touch tracks, face images, iris images, fingerprint images, vein images, voiceprint information, and the like, without limitation.
In specific implementation, a service platform may obtain first authority information of a first service system and obtain N pieces of second authority information, where each piece of second authority information corresponds to one second service system, N is a positive integer, e.g., N is 1 or N is an integer greater than 1, when N is 1, the embodiment of the present application may implement data synchronization between the two systems, and when N is greater than 1, the embodiment of the present application may implement data synchronization between more than two devices. Taking the first device as an example, after the first device starts the first Service system, the first device may register the first Service system itself as an independent component Service to the Service platform, and in the Service platform, a "Service Holder" module may maintain all registered components (Service systems), and the Service system may provide a permission operation API interface according to a specification, and may report the first permission information to the Service platform through the permission operation API interface. Of course, the specific operation of the second device may be analogized.
102. And authenticating according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, wherein M is a positive integer less than or equal to N.
In the embodiment of the application, the service platform may authenticate the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, specifically, may authenticate the first authority information and the N second authority information respectively, and may also compare the first authority information with each of the N second authority information.
In a possible example, the step 102, performing authentication according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, may include the following steps:
a21, acquiring first authority operation interface information corresponding to the first authority information;
a22, authenticating the first authority operation interface information;
a23, when the first authority operation interface information is successfully authenticated, acquiring second authority operation interface information corresponding to the N pieces of second authority information to obtain N pieces of second authority operation interface information;
and A24, authenticating the N pieces of second authority operation interface information to obtain M pieces of second authority information successfully authenticated with the first authority information.
In the embodiment of the present application, the first permission operation interface information and the second permission operation interface information may be at least one of the following information: an authority metadata interface, an authority increase and decrease deleting interface and a system health state checking interface.
In a specific implementation, the service platform may obtain first permission operation interface information corresponding to the first permission information, and authenticate the first permission operation interface information, for example, whether an authentication permission metadata interface exists in a preset interface information list, where the preset interface information list may be stored in the service platform in advance, and the preset interface information list includes at least one piece of interface information. Furthermore, when the first authority operation interface information is successfully authenticated, the service platform can acquire the second authority operation interface information corresponding to the N second authority information to acquire the N second authority operation interface information, and authenticate the N second authority operation interface information to acquire the M second authority information successfully authenticated with the first authority information.
In a possible example, the step 102, performing authentication according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, may include the following steps:
b21, acquiring first authentication information of the first authority information;
b22, acquiring second authentication information of the N pieces of second authority information to obtain N pieces of second authentication information;
and B23, matching the first authentication information with the N pieces of second authentication information to obtain M pieces of second authority information successfully authenticated with the first authority information.
The first authentication information may be understood as login information of a service system of the electronic device in the first authority information. The second authentication information may be understood as login information of a business system of the electronic device in the second authority information.
In specific implementation, the service platform may obtain first authentication information of the first permission information, obtain second authentication information of the N second permission information, obtain the N second authentication information, and further match the first authentication information with the N second authentication information to obtain M second permission information successfully authenticated with the first permission information. For example, when the first authentication information is a first fingerprint image and the second authentication information is a second fingerprint image, the first fingerprint image and the second fingerprint image may be matched to obtain a matching result, when the matching result is greater than a preset matching threshold, the second authority information corresponding to the second fingerprint image may be regarded as the second authority information successfully authenticated with the first fingerprint image, otherwise, the second authority information corresponding to the second fingerprint image may not be regarded as the second authority information successfully authenticated with the first fingerprint image, and of course, the preset matching threshold may be preset or default to the system.
103. And acquiring data to be synchronized of the first service system and acquiring a synchronization operation configuration parameter.
The data to be synchronized may be part of data or all of data of the first service system, and the synchronization operation configuration parameter may include at least one of the following: storage location, storage space size, data transfer rate, etc., without limitation. In a specific implementation, the service platform may obtain data to be synchronized of the first service system, where the data to be synchronized may be marked by the first service system or may be marked by an administrator of the service platform, or may obtain the data to be synchronized from a storage space corresponding to the first service system. In addition, the service platform may obtain a synchronization operation configuration parameter, which may include an operation configuration parameter and a synchronization mapping table. For example, a scheduling module of the service platform may schedule and execute a synchronization task that meets a trigger condition, and when the permission synchronization task is triggered, taking full synchronization of permission data of the system a to the system B as an example, the following steps are generally performed: and the API is respectively called to obtain the full authority data DataA and DataB in the system A and the system B, and the calculator can calculate the data item to be changed and call the API of the target service system to execute the authority change according to the synchronous mapping table and the original authority data.
In one possible example, the steps 102 and 103 may be preceded by the following steps:
c1, acquiring operating environment parameters;
and C2, when the operating environment parameter meets a preset condition, executing the steps of acquiring the data to be synchronized of the first service system and synchronizing the operation configuration parameters.
The preset condition can be set by the user or the system defaults. Wherein the operating environment parameters include at least one of: touch parameters, run time, geographic location, environmental parameters. The touch parameter may be at least one of the following: the touch strength of the touch screen, the touch area of the touch screen, the touch duration of the touch screen, the touch frequency of the touch screen, the touch temperature of the touch screen, and the like, which are not limited herein, wherein the environmental parameter may be at least one of the following: ambient light brightness, ambient temperature, ambient humidity, magnetic field interference intensity, etc., without limitation. For example, step 103 needs to be executed when the running time is a specified time; for another example, step 103 needs to be executed when the geographic location is a designated location.
In specific implementation, the service platform may obtain the operation environment parameter, and execute step 103 when the operation environment parameter meets a preset condition, otherwise, may not execute step 103.
In one possible example, the step 103 of obtaining the synchronization operation configuration parameters may include the following steps:
31. acquiring system environment parameters of a second service system corresponding to the M pieces of second permission information to obtain M pieces of system environment parameters;
32. determining operation configuration parameters corresponding to the M system environment parameters according to a preset mapping relation between the system environment parameters and the operation configuration parameters to obtain M operation configuration parameters;
33. determining a synchronous mapping table between the first service system and the M second service systems;
34. and taking the M operation configuration parameters and the synchronization mapping table as the synchronization operation configuration parameters.
In this embodiment, the system environment parameter may be at least one of the following: network bandwidth, system load, CPU performance (e.g., core count, model number, etc.), etc., without limitation. The operational configuration parameter may be at least one of: network bandwidth allocation parameters, thread or process allocation number, transmission priority, transmission delay, etc., without limitation. The network bandwidth allocation parameter is used for allocating different network bandwidths for different service systems, the thread or process allocation number is used for allocating different numbers of threads or processes for different service systems, and the transmission priority is used for setting different transmission sequences for different service systems. The transmission delay is used to allocate different delays for different traffic systems.
In a specific implementation, the service platform may obtain system environment parameters of the second service system corresponding to the M second rights information, to obtain M system environment parameters, the service platform may store a mapping relationship between preset system environment parameters and operation configuration parameters in advance, and further, may determine, according to the mapping relationship between preset system environment parameters and operation configuration parameters, the operation configuration parameters corresponding to the M system environment parameters, to obtain M operation configuration parameters, and determine a synchronization mapping table between the first service system and the M second service systems, where the synchronization mapping table may include a storage location or a storage space size, and for example, a synchronization mapping table is provided as follows:
Figure PCTCN2020077213-APPB-000001
wherein, a represents identification information of the first service system, b1, b2, b3, ·, bM represents identification information of M second service systems, e1, e2, e3,. and eM represents storage locations of the M second service systems, f1, f2, f3,. and fM represent storage space sizes of the M second service systems, and further, the service platform may use M operation configuration parameters and a synchronization mapping table as synchronization operation configuration parameters.
104. And synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
The service platform can synchronize the data to be synchronized to the second service systems corresponding to the M second authority information based on the synchronization operation configuration parameters, so that the M second service systems can all realize data synchronization.
In specific implementation, the embodiment of the application can realize the isolation of the authority synchronization logic from the service system logic, reduce the coupling between systems, reduce the direct call between systems, improve the independence and reliability of the service system, and aggregate all the authority synchronization items into the authority synchronization service platform, so that the authority synchronization is more convenient to manage and maintain, and the systems are more modularized.
In a possible example, the step 104 of synchronizing the data to be synchronized to the second service systems corresponding to the M second authority information according to the synchronization operation configuration parameter may include the following steps:
41. acquiring historical data of the first service system corresponding to a target second service system, wherein the target second service system is any one of the M second service systems;
42. filtering the data to be synchronized according to the historical data to obtain final synchronous data;
43. and synchronizing the final synchronous data to the target second service system according to the operation configuration data corresponding to the target second service system and the synchronous mapping table.
Wherein the second service system may have some data of the first service system, since the first service system may have been previously synchronized in the second service system.
In specific implementation, taking a target second service system as an example, the target second service system is any one of M second service systems, and the service platform may obtain historical data of a first service system corresponding to the target second service system, perform a filtering operation on data to be synchronized according to the historical data to obtain final synchronization data, specifically, compare the data to be synchronized with the historical data to obtain the same data therebetween, filter the same data from the data to be synchronized to obtain the final synchronization data, and further synchronize the final synchronization data to the target second service system according to operation configuration data corresponding to the target second service system and a synchronization mapping table.
In one possible example, after the step 104, the following steps may be further included:
d1, monitoring the first service system and the M second service systems;
d2, when a service system i of the first service system and the M second service systems fails, stopping executing the step of synchronizing the data to be synchronized to the second service systems corresponding to the M second authority information according to the synchronization operation configuration parameters, wherein the service system i is any one of the first service system and the M second service systems;
d3, recording the fault in a log.
In a specific implementation, the service platform may monitor the first service system and the M second service systems, taking the service system i as an example, where the service system i is any one of the first service system and the M second service systems, when the service system i in the first service system and the M second service systems fails, the execution step 104 may be stopped, and the failure may be recorded in a Log, specifically, a monitoring module and a Log module in the service platform may stop the call of all related synchronization tasks when the authority service platform detects a failure of a certain service system, and determine whether to call again according to the situation after the system recovers, so as to not only facilitate a maintenance person to analyze the failure reason, but also terminate the synchronization operation, ensure the validity of data synchronization, and effectively prevent the synchronization failure, resulting in the disadvantage of wasting system resources.
In one possible example, after the step D3, the following steps may be further included:
and after the service system i is recovered, continuing to execute the step of synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
In a specific implementation, the service platform may continue to execute step 104 after the service system i is recovered, so that it may be ensured that the synchronization operation continues to be executed, and normal operation of data synchronization is effectively ensured.
It can be seen that the data synchronization method described in the above embodiment of the present application is applied to a service platform, and is configured to obtain first right information of a first service system and obtain N second right information, where each second right information corresponds to a second service system, N is a positive integer, perform authentication according to the first right information and the N second right information, obtain M second right information successfully authenticated with the first right information, where M is a positive integer less than or equal to N, obtain data to be synchronized of the first service system, obtain a synchronization configuration parameter, and synchronize the data to be synchronized to the second service systems corresponding to the M second right information according to the synchronization configuration parameter, so that right synchronization logic can be isolated from the service system logic, coupling between the systems is reduced, and direct call between the systems is reduced, the independence and the reliability of the service system are improved, and the data synchronization efficiency is improved.
In accordance with the above, please refer to fig. 2, fig. 2 is a schematic flowchart of another data synchronization method provided in the embodiment of the present application, where the data synchronization method described in the embodiment is applied to the service platform shown in fig. 1A, and the method may include the following steps:
201. the method comprises the steps of obtaining first authority information of a first service system and obtaining N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer.
202. And authenticating according to the first authority information and the N pieces of second authority information to obtain M pieces of second authority information successfully authenticated with the first authority information, wherein M is a positive integer smaller than or equal to N.
203. And acquiring the operating environment parameters.
204. And when the operating environment parameters meet preset conditions, acquiring data to be synchronized of the first service system and acquiring synchronization operation configuration parameters.
205. And synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
The specific implementation process of the step 201-205 can refer to the corresponding description in the method shown in fig. 1B, and is not described herein again.
It can be seen that the data synchronization method described in the embodiment of the present application is applied to a service platform, and can implement data synchronization between service systems when a running environment parameter meets a preset condition, so that the permission synchronization logic and the service system logic can be isolated, coupling between systems is reduced, direct call between systems is reduced, independence and reliability of the service systems are improved, and data synchronization efficiency is facilitated to be improved.
In accordance with the above, please refer to fig. 3, which is a schematic flow chart of another data synchronization method provided in the embodiment of the present application, where the data synchronization method described in the embodiment is applied to the service platform shown in fig. 1A, and the method may include the following steps:
301. the method comprises the steps of obtaining first authority information of a first service system and obtaining N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer.
302. And authenticating according to the first authority information and the N pieces of second authority information to obtain M pieces of second authority information successfully authenticated with the first authority information, wherein M is a positive integer smaller than or equal to N.
303. And acquiring data to be synchronized of the first service system and acquiring a synchronization operation configuration parameter.
304. And synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
305. And monitoring the first service system and the M second service systems.
306. And stopping executing the step 304 when a service system i in the first service system and the M second service systems fails.
307. The fault is recorded in a log.
The specific implementation process of steps 301-307 can refer to the corresponding description in the method shown in fig. 1B, and is not described herein again.
It can be seen that, according to the data synchronization method described in the embodiments of the present application, on one hand, the permission synchronization logic can be isolated from the service system logic, coupling between systems is reduced, direct call between systems is reduced, independence and reliability of the service systems are improved, and data synchronization efficiency is facilitated to be improved.
In accordance with the above, please refer to fig. 4, where fig. 4 is a service platform provided in an embodiment of the present application, including: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of:
acquiring first authority information of a first service system and acquiring N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer;
authenticating according to the first authority information and the N pieces of second authority information to obtain M pieces of second authority information successfully authenticated with the first authority information, wherein M is a positive integer smaller than or equal to N;
acquiring data to be synchronized of the first service system and acquiring a synchronization operation configuration parameter;
and synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
It can be seen that the service platform described in the above embodiment of the present application obtains the first authority information of the first service system and obtains N second authority information, each second authority information corresponds to a second service system, N is a positive integer, performs authentication according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, M is a positive integer less than or equal to N, obtains the data to be synchronized of the first service system, obtains the configuration parameters of the synchronization operation, and synchronizes the data to be synchronized to the second service systems corresponding to the M second authority information according to the configuration parameters of the synchronization operation, so that the isolation of the authority synchronization logic from the service system logic can be realized, the coupling between the systems is reduced, the direct call between the systems is reduced, and the independence and reliability of the service systems are improved, the data synchronization efficiency is improved.
In one possible example, in the aspect that the authentication is performed according to the first authority information and the N second authority information, and M second authority information successfully authenticated with the first authority information is obtained, the program includes instructions for performing the following steps:
acquiring first authority operation interface information corresponding to the first authority information;
authenticating the first authority operation interface information;
when the first authority operation interface information is successfully authenticated, acquiring second authority operation interface information corresponding to the N pieces of second authority information to obtain N pieces of second authority operation interface information;
and authenticating the N pieces of second authority operation interface information to obtain M pieces of second authority information successfully authenticated with the first authority information.
In one possible example, in terms of obtaining M second permission information successfully authenticated with the first permission information by performing authentication according to the first permission information and the N second permission information, the program includes instructions for performing the following steps:
acquiring first authentication information of the first authority information;
acquiring second authentication information of the N pieces of second authority information to obtain N pieces of second authentication information;
and matching the first authentication information with the N pieces of second authentication information to obtain M pieces of second authority information successfully authenticated with the first authority information.
In one possible example, the program further includes instructions for performing the steps of:
acquiring operating environment parameters;
and when the operating environment parameters meet preset conditions, executing the steps of acquiring the data to be synchronized of the first service system and synchronizing operation configuration parameters.
In one possible example, the operating environment parameter includes at least one of: touch parameters, run time, geographic location, environmental parameters.
In one possible example, in the obtaining synchronized operational configuration parameters, the program includes instructions for performing the steps of:
acquiring system environment parameters of a second service system corresponding to the M pieces of second permission information to obtain M pieces of system environment parameters;
determining operation configuration parameters corresponding to the M system environment parameters according to a preset mapping relation between the system environment parameters and the operation configuration parameters to obtain M operation configuration parameters;
determining a synchronous mapping table between the first service system and the M second service systems;
and taking the M operation configuration parameters and the synchronization mapping table as the synchronization operation configuration parameters.
In a possible example, in the aspect of synchronizing the data to be synchronized to the second service systems corresponding to the M second permission information according to the synchronization operation configuration parameter, the program includes instructions for performing the following steps:
acquiring historical data of the first service system corresponding to a target second service system, wherein the target second service system is any one of the M second service systems;
filtering the data to be synchronized according to the historical data to obtain final synchronous data;
and synchronizing the final synchronous data to the target second service system according to the operation configuration data corresponding to the target second service system and the synchronous mapping table.
In one possible example, the program further comprises instructions for performing the steps of:
monitoring the first service system and the M second service systems;
when a service system i in the first service system and the M second service systems fails, stopping executing the step of synchronizing the data to be synchronized to the M second service systems corresponding to the second authority information according to the synchronization operation configuration parameters, wherein the service system i is any one of the first service system and the M second service systems;
the fault is recorded in a log.
In one possible example, the program further comprises instructions for performing the steps of:
and after the service system i is recovered, continuing to execute the step of synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the service platform comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments provided herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the service platform may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing 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. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 5A, fig. 5A is a schematic structural diagram of a data synchronization apparatus provided in the present embodiment. The data synchronization apparatus 500 is applied to the service platform shown in fig. 1A, and the apparatus 500 includes: a first acquisition unit 501, an authentication unit 502, a second acquisition unit 503, and a synchronization unit 504, wherein,
the first obtaining unit 501 is configured to obtain first right information of a first service system, and obtain N pieces of second right information, where each piece of second right information corresponds to one second service system, and N is a positive integer;
the authentication unit 502 is configured to perform authentication according to the first permission information and the N second permission information, to obtain M second permission information successfully authenticated with the first permission information, where M is a positive integer smaller than or equal to N;
the second obtaining unit 503 is configured to obtain data to be synchronized of the first service system, and obtain a synchronization operation configuration parameter;
the synchronization unit 504 is configured to synchronize the data to be synchronized to the second service systems corresponding to the M second permission information according to the synchronization operation configuration parameter.
It can be seen that the data synchronization apparatus described in the above embodiment of the present application is applied to a service platform, obtains first right information of a first service system, and obtains N second right information, each second right information corresponds to a second service system, N is a positive integer, performs authentication according to the first right information and the N second right information, obtains M second right information successfully authenticated with the first right information, M is a positive integer less than or equal to N, obtains data to be synchronized of the first service system, obtains a synchronization configuration parameter, and synchronizes the data to be synchronized to the second service systems corresponding to the M second right information according to the synchronization configuration parameter, so that the right synchronization logic can be isolated from the service system logic, reduces coupling between systems, and reduces direct call between systems, the independence and the reliability of the service system are improved, and the data synchronization efficiency is improved.
In a possible example, in terms of obtaining M pieces of second right information successfully authenticated with the first right information by performing authentication according to the first right information and the N pieces of second right information, the authentication unit 502 is specifically configured to:
acquiring first authority operation interface information corresponding to the first authority information;
authenticating the first authority operation interface information;
when the first authority operation interface information is successfully authenticated, acquiring second authority operation interface information corresponding to the N pieces of second authority information to obtain N pieces of second authority operation interface information;
and authenticating the N pieces of second authority operation interface information to obtain M pieces of second authority information successfully authenticated with the first authority information.
In a possible example, in terms of obtaining M second right information that is successfully authenticated with the first right information by performing authentication according to the first right information and the N second right information, the authentication unit 502 is specifically configured to:
acquiring first authentication information of the first authority information;
acquiring second authentication information of the N pieces of second authority information to obtain N pieces of second authentication information;
and matching the first authentication information with the N pieces of second authentication information to obtain M pieces of second authority information successfully authenticated with the first authority information.
In one possible example, as shown in fig. 5B, fig. 5B is a further modified structure of the data synchronization apparatus shown in fig. 5A, which may further include, compared with fig. 5A: a third obtaining unit 505, wherein,
the third obtaining unit 505 is configured to obtain an operating environment parameter;
when the operating environment parameter meets a preset condition, the second obtaining unit 503 performs the steps of obtaining the data to be synchronized of the first service system and synchronizing the operation configuration parameter.
In one possible example, the operating environment parameter includes at least one of: touch parameters, run time, geographic location, environmental parameters.
In a possible example, in terms of the acquiring the configuration parameters of the synchronous operation, the second acquiring unit 503 is specifically configured to:
acquiring system environment parameters of a second service system corresponding to the M pieces of second permission information to obtain M pieces of system environment parameters;
determining operation configuration parameters corresponding to the M system environment parameters according to a preset mapping relation between the system environment parameters and the operation configuration parameters to obtain M operation configuration parameters;
determining a synchronous mapping table between the first service system and the M second service systems;
and taking the M operation configuration parameters and the synchronization mapping table as the synchronization operation configuration parameters.
In a possible example, in the aspect of synchronizing the data to be synchronized to the second service systems corresponding to the M second authority information according to the synchronization operation configuration parameter, the synchronizing unit 504 is specifically configured to:
acquiring historical data of the first service system corresponding to a target second service system, wherein the target second service system is any one of the M second service systems;
filtering the data to be synchronized according to the historical data to obtain final synchronous data;
and synchronizing the final synchronous data to the target second service system according to the operation configuration data corresponding to the target second service system and the synchronous mapping table.
In one possible example, as shown in fig. 5C, fig. 5C is a further modified structure of the data synchronization apparatus shown in fig. 5A, which may further include, compared with fig. 5A: the device further comprises: a monitoring unit 506, a pause unit 507, and a recording unit 508, wherein,
the monitoring unit 506 is configured to monitor the first service system and the M second service systems;
the suspension unit 507 is configured to stop executing the step of synchronizing the data to be synchronized to the second service systems corresponding to the M second permission information according to the synchronization operation configuration parameter when a service system i in the first service system and the M second service systems fails, where the service system i is any one of the first service system and the M second service systems;
the recording unit is used for recording the fault in a log.
In a possible example, the synchronization unit 504 is further specifically configured to continue to execute the step of synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters after the service system i is recovered.
It can be understood that the functions of each program module of the data synchronization apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the data synchronization methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the data synchronization methods as set forth in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application 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 may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated unit, if implemented in the form of a software program module and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media that can store program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

  1. A data synchronization method is applied to a service platform and comprises the following steps:
    acquiring first authority information of a first service system and acquiring N pieces of second authority information, wherein each piece of second authority information corresponds to one second service system, and N is a positive integer;
    authenticating according to the first authority information and the N pieces of second authority information to obtain M pieces of second authority information successfully authenticated with the first authority information, wherein M is a positive integer smaller than or equal to N;
    acquiring data to be synchronized of the first service system and acquiring a synchronization operation configuration parameter;
    and synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
  2. The method according to claim 1, wherein the performing authentication according to the first right information and the N second right information to obtain M second right information successfully authenticated with the first right information comprises:
    acquiring first authority operation interface information corresponding to the first authority information;
    authenticating the first authority operation interface information;
    when the first authority operation interface information is successfully authenticated, acquiring second authority operation interface information corresponding to the N pieces of second authority information to obtain N pieces of second authority operation interface information;
    and authenticating the N pieces of second authority operation interface information to obtain M pieces of second authority information successfully authenticated with the first authority information.
  3. The method according to claim 1, wherein the performing authentication according to the first permission information and the N second permission information to obtain M second permission information successfully authenticated with the first permission information comprises:
    acquiring first authentication information of the first authority information;
    acquiring second authentication information of the N pieces of second authority information to obtain N pieces of second authentication information;
    and matching the first authentication information with the N pieces of second authentication information to obtain M pieces of second authority information successfully authenticated with the first authority information.
  4. The method according to any one of claims 1-3, further comprising:
    acquiring operating environment parameters;
    and when the operating environment parameters meet preset conditions, executing the steps of acquiring the data to be synchronized of the first service system and synchronizing operation configuration parameters.
  5. The method of claim 4, wherein the operating environment parameter comprises at least one of: touch parameters, run time, geographic location, environmental parameters.
  6. The method according to any one of claims 1 to 5, wherein the obtaining the configuration parameters of the synchronous operation comprises:
    acquiring system environment parameters of a second service system corresponding to the M pieces of second permission information to obtain M pieces of system environment parameters;
    determining operation configuration parameters corresponding to the M system environment parameters according to a preset mapping relation between the system environment parameters and the operation configuration parameters to obtain M operation configuration parameters;
    determining a synchronous mapping table between the first service system and the M second service systems;
    and taking the M operation configuration parameters and the synchronous mapping table as the synchronous operation configuration parameters.
  7. The method according to claim 6, wherein the synchronizing the data to be synchronized to the second service systems corresponding to the M second rights information according to the synchronization operation configuration parameter includes:
    acquiring historical data of the first service system corresponding to a target second service system, wherein the target second service system is any one of the M second service systems;
    filtering the data to be synchronized according to the historical data to obtain final synchronous data;
    and synchronizing the final synchronous data to the target second service system according to the operation configuration data corresponding to the target second service system and the synchronous mapping table.
  8. The method according to any one of claims 1-7, further comprising:
    monitoring the first service system and the M second service systems;
    when a service system i in the first service system and the M second service systems fails, stopping executing the step of synchronizing the data to be synchronized to the M second service systems corresponding to the second authority information according to the synchronization operation configuration parameters, wherein the service system i is any one of the first service system and the M second service systems;
    the fault is recorded in a log.
  9. The method of claim 8, further comprising: and after the service system i is recovered, continuing to execute the step of synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
  10. A data synchronization apparatus, applied to a service platform, the apparatus comprising: a first acquisition unit, an authentication unit, a second acquisition unit and a synchronization unit, wherein,
    the first obtaining unit is used for obtaining first authority information of a first service system and obtaining N pieces of second authority information, each piece of second authority information corresponds to one second service system, and N is a positive integer;
    the authentication unit is used for performing authentication according to the first authority information and the N second authority information to obtain M second authority information successfully authenticated with the first authority information, wherein M is a positive integer less than or equal to N;
    the second obtaining unit is configured to obtain data to be synchronized of the first service system, and obtain a synchronization operation configuration parameter;
    and the synchronization unit is used for synchronizing the data to be synchronized to the second service systems corresponding to the M pieces of second authority information according to the synchronization operation configuration parameters.
  11. The apparatus according to claim 10, wherein in the aspect that the M second rights information successfully authenticated with the first rights information is obtained by performing the authentication according to the first rights information and the N second rights information, the authentication unit is specifically configured to:
    acquiring first authority operation interface information corresponding to the first authority information;
    authenticating the first authority operation interface information;
    when the first authority operation interface information is successfully authenticated, acquiring second authority operation interface information corresponding to the N pieces of second authority information to obtain N pieces of second authority operation interface information;
    and authenticating the N pieces of second authority operation interface information to obtain M pieces of second authority information successfully authenticated with the first authority information.
  12. The apparatus according to claim 10, wherein in the aspect that the authentication is performed according to the first permission information and the N second permission information to obtain M second permission information successfully authenticated with the first permission information, the authentication unit is specifically configured to:
    acquiring first authentication information of the first authority information;
    acquiring second authentication information of the N pieces of second authority information to obtain N pieces of second authentication information;
    and matching the first authentication information with the N pieces of second authentication information to obtain M pieces of second authority information successfully authenticated with the first authority information.
  13. The apparatus of any one of claims 10-12, further comprising: a third obtaining unit, wherein,
    the third acquiring unit is used for acquiring the operating environment parameters;
    and when the operating environment parameters meet preset conditions, the second acquisition unit executes the steps of acquiring the data to be synchronized of the first service system and synchronizing the operation configuration parameters.
  14. The apparatus of claim 13, wherein the operating environment parameter comprises at least one of: touch parameters, run time, geographic location, environmental parameters.
  15. The apparatus according to any of claims 10-14, wherein in terms of the obtaining synchronization operation configuration parameters, the second obtaining unit is specifically configured to:
    acquiring system environment parameters of a second service system corresponding to the M pieces of second permission information to obtain M pieces of system environment parameters;
    determining operation configuration parameters corresponding to the M system environment parameters according to a preset mapping relation between the system environment parameters and the operation configuration parameters to obtain M operation configuration parameters;
    determining a synchronous mapping table between the first service system and the M second service systems;
    and taking the M operation configuration parameters and the synchronization mapping table as the synchronization operation configuration parameters.
  16. The apparatus according to claim 15, wherein in the aspect of synchronizing the data to be synchronized to the second service systems corresponding to the M second authority information according to the synchronization configuration parameter, the synchronizing unit is specifically configured to:
    acquiring historical data of the first service system corresponding to a target second service system, wherein the target second service system is any one of the M second service systems;
    filtering the data to be synchronized according to the historical data to obtain final synchronous data;
    and synchronizing the final synchronous data to the target second service system according to the operation configuration data corresponding to the target second service system and the synchronous mapping table.
  17. The apparatus according to any one of claims 10-16, further comprising: a monitoring unit, wherein,
    the monitoring unit is used for monitoring the first service system and the M second service systems;
    the suspension unit is configured to, when a service system i of the first service system and the M second service systems fails, stop executing the step of synchronizing the data to be synchronized to the second service systems corresponding to the M second permission information according to the synchronization operation configuration parameter, where the service system i is any one of the first service system and the M second service systems;
    the recording unit is used for recording the fault in a log.
  18. A service platform comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-9.
  19. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-9.
  20. A computer program product, characterized in that the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method according to any one of claims 1-9.
CN202080094668.0A 2020-02-28 2020-02-28 Data synchronization method and related product Pending CN115004668A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/077213 WO2021168800A1 (en) 2020-02-28 2020-02-28 Data synchronization method and related product

Publications (1)

Publication Number Publication Date
CN115004668A true CN115004668A (en) 2022-09-02

Family

ID=77490532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080094668.0A Pending CN115004668A (en) 2020-02-28 2020-02-28 Data synchronization method and related product

Country Status (2)

Country Link
CN (1) CN115004668A (en)
WO (1) WO2021168800A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857747A (en) * 2018-12-18 2019-06-07 百度在线网络技术(北京)有限公司 Data synchronization updating method, system and computer equipment
CN110008234A (en) * 2019-04-11 2019-07-12 北京百度网讯科技有限公司 A kind of business datum searching method, device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI439873B (en) * 2011-08-08 2014-06-01 Dimerco Express Taiwan Corp Data synchronization method
CN102404321A (en) * 2011-11-16 2012-04-04 广东汇卡商务服务有限公司 System and method for synchronizing multi-terminal information
CN103491137A (en) * 2013-09-02 2014-01-01 用友软件股份有限公司 Data synchronizing system and data synchronizing method
CN107171913A (en) * 2017-07-03 2017-09-15 吴少华 Smart home multiple terminals real-time synchronization cloud monitoring system
CN110602168B (en) * 2019-08-13 2022-03-01 平安科技(深圳)有限公司 Data synchronization method and device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857747A (en) * 2018-12-18 2019-06-07 百度在线网络技术(北京)有限公司 Data synchronization updating method, system and computer equipment
CN110008234A (en) * 2019-04-11 2019-07-12 北京百度网讯科技有限公司 A kind of business datum searching method, device and electronic equipment

Also Published As

Publication number Publication date
WO2021168800A1 (en) 2021-09-02

Similar Documents

Publication Publication Date Title
CN106095284B (en) Electronic device
CN106778175B (en) Interface locking method and device and terminal equipment
US10956280B2 (en) Data backup method, electronic device, and storage medium
WO2018049897A1 (en) Data backup method and device
CN106375478B (en) A kind of synchronous method of mobile terminal data, apparatus and system
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN104407804A (en) Screen capturing method and screen capturing device as well as electronic device
JP7228594B2 (en) Determination method of interception information of retrieval space and device for determining interception method of retrieval space
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN108632454B (en) Information processing method and device, computer readable storage medium and terminal
CN109992380B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN107066374B (en) Data processing method and mobile terminal
CN106453402A (en) Data processing method and device
CN113609107A (en) Database management method and device, electronic equipment and storage medium
CN107577933B (en) Application login method and device, computer equipment and computer readable storage medium
CN111159738B (en) Authority configuration method, application login method and device
WO2017215663A1 (en) Sound effect processing method and terminal
CN109992369B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN107688498B (en) Application program processing method and device, computer equipment and storage medium
CN115004668A (en) Data synchronization method and related product
CN106101095B (en) mobile terminal data processing method, device and equipment
CN109217895A (en) A kind of control method and terminal device of radio frequency front-end devices
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN107038363B (en) Fingerprint message processing method and mobile terminal
CN106790361B (en) Data processing method and device

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