CN110502574A - Information synchronization method, user equipment, storage medium and the device of cross-system - Google Patents

Information synchronization method, user equipment, storage medium and the device of cross-system Download PDF

Info

Publication number
CN110502574A
CN110502574A CN201910665235.5A CN201910665235A CN110502574A CN 110502574 A CN110502574 A CN 110502574A CN 201910665235 A CN201910665235 A CN 201910665235A CN 110502574 A CN110502574 A CN 110502574A
Authority
CN
China
Prior art keywords
information
party
modified
subitem
cross
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.)
Granted
Application number
CN201910665235.5A
Other languages
Chinese (zh)
Other versions
CN110502574B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910665235.5A priority Critical patent/CN110502574B/en
Priority to PCT/CN2019/116719 priority patent/WO2021012487A1/en
Publication of CN110502574A publication Critical patent/CN110502574A/en
Application granted granted Critical
Publication of CN110502574B publication Critical patent/CN110502574B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses the information synchronization method of cross-system, user equipment, storage medium and devices.Information to be modified is first determined in the present invention, default raw information in the predetermined system of local runtime is replaced with into information to be modified, it obtains to supplying system list, and it reads to the system banner in supplying system list, by in the third party device of synchronizing information to be modified to operation third party system, third party's raw information in third party system is replaced with into information to be modified.Significantly, the present invention will carry out data simultaneously operating based on big data technology, and, by adding the linkage imparted between multiple systems to supplying system list independently of predetermined system and third party system, third party system will be transferred automatically when default raw information changes and modifies third party's raw information by realizing, to reduce information modification number, treatment effeciency is improved, and then solve the lower technical problem of information act of revision treatment effeciency.

Description

Information synchronization method, user equipment, storage medium and the device of cross-system
Technical field
The present invention relates to the information synchronization method of synchronizing information technical field more particularly to cross-system, user equipment, storages Medium and device.
Background technique
Multiple and different systems is arrived in view of the same user may use simultaneously, and may be both needed in each system The personal information of user is filled in, personal information includes station address, phone number, identification card number and identity card validity period etc. Information.
For example, when user A has changed new address, being needed if user A has used system B1, system B2 and system B3 These three systems are logged in respectively, then amount to the data entries for needing to have modified station address three times, the information of this repeatability Act of revision significantly reduces treatment effeciency.
As it can be seen that the technical problem that information act of revision is lower there is treatment effeciency.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide the information synchronization method of cross-system, user equipment, storage medium and device, Aim to solve the problem that the lower technical problem of information act of revision treatment effeciency.
To achieve the above object, the present invention provides a kind of information synchronization method of cross-system, and the information of the cross-system is same One step process the following steps are included:
When receiving information modification instruction, instruction is modified according to the information and determines information to be modified;
Default raw information in the predetermined system of local runtime is replaced with into the information to be modified;
It obtains to supplying system list, and reads described to the system banner in supplying system list;
Corresponding third party system is determined according to the system banner;
The information to be modified is sent in the third party device for running the third party system, so that the third party Third party's raw information in the third party system is replaced with the information to be modified by equipment.
Preferably, described to obtain to supplying system list, and read described to the system banner in supplying system list, packet It includes:
Obtain in pre-determined synchronization allocation list to supplying system list, and read described to the system in supplying system list Mark and push corresponding with the system banner control information;
It is described that the information to be modified is sent in the third party device for running the third party system, so that described Third party's raw information in the third party system is replaced with the information to be modified by three method, apparatus, comprising:
When push control information is push opening imformation, the information to be modified is sent to the operation third In the third party device of method, system, so that the third party device replaces third party's raw information in the third party system For the information to be modified.
Preferably, the default raw information in the predetermined system by local runtime replace with the information to be modified it Afterwards, the information synchronization method of the cross-system further include:
The current modification record modified to the default raw information is generated, and the current modification record is added Into presupposed information modification record table;
Corresponding history modification record is inquired in the presupposed information modification record table according to the information to be modified;
The current modification record is compared with the history modification record, to obtain comparison result, and according to institute State the subitem to be modified that comparison result is inquired in the information to be modified;
It is described that the information to be modified is sent in the third party device for running the third party system, so that described Third party's raw information in the third party system is replaced with the information to be modified by three method, apparatus, comprising:
The subitem to be modified is sent in the third party device for running the third party system, so that the third party Third party's raw information in the third party system is replaced with the subitem to be modified by equipment.
Preferably, described that corresponding history is inquired in the presupposed information modification record table according to the information to be modified Modification record, comprising:
Corresponding go through is inquired in the presupposed information modification record table according to the user identifier in the information to be modified History modification record;
It is described to be compared the current modification record with the history modification record, to obtain comparison result, and root The subitem to be modified in the information to be modified is inquired according to the comparison result, comprising:
The current modification record is compared with the history modification record, to obtain comparison result;
When the comparison result is the current modification record and the history modification record difference, currently repaired described Change and determine the target subitem different from the subitem of the history modification record in the subitem of record, and using the target subitem as Subitem to be modified.
It is preferably, described when the comparison result is the current modification record and the history modification record difference, The target subitem different from the subitem of the history modification record is determined in the subitem of the current modification record, and will be described After target subitem is as subitem to be modified, the information synchronization method of the cross-system further include:
Using the subitem of the target subitem non-in the current modification record as subitem to be held;
Field locating for subitem to be held described in the information to be modified is carried out to empty processing, and after processing being emptied Information to be modified as information to be synchronized;
It is described that the subitem to be modified is sent in the third party device for running the third party system, so that described Third party's raw information in the third party system is replaced with the subitem to be modified by three method, apparatus, comprising:
It is the character string of pre-set text format by the Information encapsulation to be synchronized;
The character string is sent in the third party device for running the third party system, so that the third party device Read the subitem to be modified in the character string, and by third party's raw information in the third party system replace with it is described to Modify subitem.
Preferably, described when receiving information modification instruction, instruction is modified according to the information and determines information to be modified Later, the information synchronization method of the cross-system further include:
The information to be modified is added in pre-determined synchronization state record table;
It is described that the information to be modified is sent in the third party device for running the third party system, so that described After third party's raw information in the third party system is replaced with the information to be modified by three method, apparatus, the cross-system Information synchronization method further include:
When receiving the synchronized process information of the third party system feedback, according to determining pair of the synchronized process information The synchronizing information state answered;
The inquiry pre-determined synchronization mode field corresponding with the information to be modified in the pre-determined synchronization state record table, And the synchronizing information state is written in the pre-determined synchronization mode field.
Preferably, described when receiving the synchronized process information of the third party system feedback, according to the same stepping After journey information determines corresponding synchronizing information state, the information synchronization method of the cross-system further include:
When the synchronizing information state is synchronization failure, according to the pre-determined synchronization period to the in the third party system Tripartite's raw information carries out information replacement operation, and it is described in the same stepping for receiving the third party system feedback to return to execution When journey information, the step of corresponding synchronizing information state is determined according to the synchronized process information, until in the synchronizing information State is when synchronizing successfully, to stop the information replacement operation.
In addition, to achieve the above object, the present invention also proposes a kind of user equipment, the user equipment include memory, Processor and the synchronizing information program for being stored in the cross-system that can be run on the memory and on the processor, it is described across The step of synchronizing information program of system is arranged for carrying out the information synchronization method of cross-system as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, it is stored on the storage medium interdepartmental The synchronizing information program of system, the synchronizing information program of the cross-system realize cross-system as described above when being executed by processor Information synchronization method the step of.
In addition, to achieve the above object, the present invention also proposes a kind of synchronizing information device of cross-system, the cross-system Synchronizing information device includes:
Command reception module, for it is to be repaired to modify instruction determination according to the information when receiving information modification instruction Convert to breath;
First information modified module, for the default raw information in the predetermined system by local runtime replace with it is described to Modification information;
Identity reading module for obtaining to supplying system list, and is read described to the system in supplying system list Mark;
System determination module, for determining corresponding third party system according to the system banner;
Second information modified module, for the information to be modified to be sent to the third party for running the third party system In equipment, so that third party's raw information in the third party system is replaced with described to be repaired convert to by the third party device Breath.
Information to be modified is first determined in the present invention, by the default raw information in the predetermined system of local runtime replace with to Modification information is obtained to supplying system list, and is read to the system banner in supplying system list, by synchronizing information to be modified Into the third party device of operation third party system, third party's raw information in third party system is replaced with into be repaired convert to Breath.It is apparent that the present invention pass through add it is more independently of being imparted to supplying system list for predetermined system and third party system Linkage between a system, third party will be transferred when the default raw information in predetermined system changes automatically by realizing System and the third party's raw information for modifying third party system local improve processing effect to reduce information modification number Rate, and then solve the lower technical problem of information act of revision treatment effeciency.
Detailed description of the invention
Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the information synchronization method first embodiment of cross-system of the present invention;
Fig. 3 is the flow diagram of the information synchronization method second embodiment of cross-system of the present invention;
Fig. 4 is the flow diagram of the information synchronization method 3rd embodiment of cross-system of the present invention;
Fig. 5 is the structural block diagram of the synchronizing information device first embodiment of cross-system of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the user equipment may include: processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), optional user interface 1003 can also include standard wireline interface, Wireless interface, the wireline interface for user interface 1003 can be USB interface in the present invention.Network interface 1004 optionally may be used To include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, can also To be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be Independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to user equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, the synchronizing information program of Subscriber Interface Module SIM and cross-system.
In user equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with the backstage Business device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The user equipment is called by processor 1001 The synchronizing information program of the cross-system stored in memory 1005, and the information for executing cross-system provided in an embodiment of the present invention is same One step process.
Based on above-mentioned hardware configuration, the embodiment of the information synchronization method of cross-system of the present invention is proposed.
It is the flow diagram of the information synchronization method first embodiment of cross-system of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the cross-system information synchronization method the following steps are included:
Step S10: when receiving information modification instruction, instruction is modified according to the information and determines information to be modified.
It is understood that in practical operation level, after user has modified the user information in some system, than Such as, user has modified the station address recorded in M system, by raw address " Xicheng District of Beijing cell " when using M system Modification is for new address " Shanghai City Jing'an District cell ".If user goes back while having used other systems, for example, system N1, N2 and N3 etc. can then carry out the synchronizing information of cross-system, so that M system using the information synchronization method of the present embodiment description New address can be pushed to other systems automatically by system, to modify the raw address at other systems, can so reduce modification time Number, greatly increases treatment effeciency.
In the concrete realization, if user is when using current system, that is, M system, information modification instruction is triggered to carry out letter Breath modification operation.For example, the default raw information of the station address program recording in M system includes that " Xicheng District of Beijing is small Area ", and the information to be modified that user inputs this moment includes " Shanghai City Jing'an District cell ", then will carry out information modification automatically, To retain new address " Shanghai City Jing'an District cell ".
Step S20: the default raw information in the predetermined system of local runtime is replaced with into the information to be modified.
It should be understood that predetermined system refers to that current system i.e. M system, the executing subject of executing subject local runtime is The user equipment that user operates this moment, for example, PC.Certainly, user equipment can also be server, and user passes through operation People's computer is to send information modification instruction to server.
Step S30: obtaining to supplying system list, and reads described to the system banner in supplying system list.
It is understood that in order to improve treatment effeciency, by that can be with the relevant data management technique of big data Linkage is added between M system, system N1, N2 and N3 in system level, for example, data list can be added to realize the linkage The characteristic of property.After all, M system, system N1, N2 and N3 can be the not homologous ray of differentiation.
In the concrete realization, it after completing the information modification operation of M system local, can call independently of M system wait push away System list is sent to obtain the system banner recorded in the list (systemID), wherein system banner is corresponding for marking System, for example, N1, N2 and N3 etc..
Step S40: corresponding third party system is determined according to the system banner.
It should be understood that after getting M system for the system banner of the system of synchronizing information, it can be by " Shanghai City is quiet Peace area's cell " is synchronized at a multiple or third party system, wherein predetermined system can be denoted as M system, third party system System N1, N2 and N3 can be denoted as.
Step S50: the information to be modified is sent in the third party device for running the third party system, so that institute It states third party device and third party's raw information in the third party system is replaced with into the information to be modified.
It is understood that the third party device for running third party system will be made locally also to get information to be modified " Shanghai City Jing'an District cell ", so that third party's raw information of third party device local is also revised as Shanghai City Jing'an District Certain cell ".Wherein, third party device can be the server of operation third party system.
In addition, the predetermined system referred in the present embodiment and the systematic name of third party system are only used for distinguishing and different are System, can also be in the locally modified information in third party system side, then, by new synchronizing information to predetermined system.
It should be noted that for executing sequence between step S10-S50, can be performed simultaneously step S10-S20 and S30-S40 operates and determines that the determining operation of third party system can carry out simultaneously for presetting the modification of raw information. Certainly, can be executed according to the sequence from step S10 to step S50, the present embodiment to this with no restriction.
Information to be modified is first determined in the present embodiment, and the default raw information in the predetermined system of local runtime is replaced with Information to be modified is obtained to supplying system list, and is read to the system banner in supplying system list, and information to be modified is same In step to third party system corresponding with system banner, third party's raw information in third party system is replaced with to be modified Information.It is apparent that the present embodiment, which passes through, adds assigning to supplying system list independently of predetermined system and third party system Linkage between multiple systems, the will be transferred when the default raw information in predetermined system changes automatically by realizing Three method, systems and the third party's raw information for modifying third party system local improve place to reduce information modification number Efficiency is managed, and then solves the lower technical problem of information act of revision treatment effeciency.
It is the flow diagram of the information synchronization method second embodiment of cross-system of the present invention referring to Fig. 3, Fig. 3, based on upper First embodiment shown in Fig. 2 is stated, proposes the second embodiment of the information synchronization method of cross-system of the present invention.
It is described to obtain to supplying system list in second embodiment, and read described to the system in supplying system list Mark, comprising:
Obtain in pre-determined synchronization allocation list to supplying system list, and read described to the system in supplying system list Mark and push corresponding with the system banner control information;
It is described that the information to be modified is sent in the third party device for running the third party system, so that described Third party's raw information in the third party system is replaced with the information to be modified by three method, apparatus, comprising:
When push control information is push opening imformation, the information to be modified is sent to the operation third In the third party device of method, system, so that the third party device replaces third party's raw information in the third party system For the information to be modified.
It is understood that pre-determined synchronization allocation list may include have record system banner to supplying system list, preset Synchronous allocation list can be denoted as user_info_config.
In the concrete realization, pre-determined synchronization allocation list is for recording configuration information relevant to synchronizing information, for example, default It may include system banner corresponding with third party system and push control information etc. in synchronous allocation list.Certainly, pre-determined synchronization Whether allocation list opens synchronous permission to some system for characterizing, and may include corresponding with predetermined system in pre-determined synchronization allocation list System banner and push control information etc..Wherein, push control information can close letter for push opening imformation (Y) or push It ceases (N), synchronizing information to corresponding third party system is pushed closing information and be used for table by push opening imformation for indicating to allow Showing does not allow synchronizing information to corresponding third party system.
It is understood that if having recorded the corresponding push control information of system banner N2 in pre-determined synchronization allocation list is to push away Opening imformation is sent, then will modify third party's raw information in system N2.
Certainly, letter is closed for push if having recorded the corresponding push control information of system banner N3 in pre-determined synchronization allocation list Breath, then the third party's raw information that will do not modified in system N3.As it can be seen that can with differentiation be controlled by setting push control information System is for the information update in system.
Further, after the step S20, the information synchronization method of the cross-system further include:
Step S201: the current modification record modified to the default raw information is generated, and is currently repaired described Change record to be added in presupposed information modification record table.
It is understood that settable a variety of data lists independently of system, with improve the flexibility of synchronizing information with And treatment effeciency.For example, also settable presupposed information modification record table, presupposed information modification record table can be denoted as user_info_ Sync_active, the presupposed information modification record table are used to record information modification operation in real time.So when user is in M After system carry out information modification, presupposed information modification record table will also record the i.e. current modification record of this modification record.
Step S202: corresponding history is inquired in the presupposed information modification record table according to the information to be modified and is repaired Change record.
It should be understood that the modification record recorded in presupposed information modification record table may include have user information, Characterize user identifier and the record creation time etc. of user identity.In view of there are multiple types for user information, for example, user Information can include station address (address), phone number (mobile), identity card validity period from date (cert_ simultaneously ) and identity card off period validity period (cert_validity_end) etc. validity_start.
It is understood that due to modify every time will be automatically generated in presupposed information modification record table one it is corresponding Modification record, so, can directly with record the history modification record having before in the presupposed information modification record table and be compared, To filter out the information type of the different user information of content, to carry out synchronizing information more accurately.
Step S203: the current modification record is compared with the history modification record, to obtain comparison result, And the subitem to be modified in the information to be modified is inquired according to the comparison result.
It should be understood that if by comparing, find the user information recorded in current modification record really with upper one The user information recorded in history modification record has differences, then can accurately find out the discrepancy as subitem to be modified.Than Such as, subitem to be modified is the station address in user information, the user in user information in a upper history modification record Location is " Xicheng District of Beijing cell ", and the station address in user information in current modification record is " Shanghai City Jing'an District Certain cell ", other subitems in user information are all the same.
The step S50, comprising:
Step S501: the subitem to be modified is sent in the third party device for running the third party system, so that Third party's raw information in the third party system is replaced with the subitem to be modified by the third party device.
It is understood that due to having determined that changed subitem to be modified is station address, then it will only user Location is sent to third party system and carries out information replacement, and non-sent complete information to be modified after all may in information to be modified It further include having the user information subitem of other and non-changing.It is apparent that the present embodiment is only by presupposed information modification record table Table look-up and may be reduced by the traffic volume of information, filters out specific subitem without carrying out request in advance to third party system, only It is interacted sending information Shi Caiyu third party system, to reduce frequency of interaction.
Further, described that corresponding go through is inquired in the presupposed information modification record table according to the information to be modified History modification record, comprising:
Corresponding go through is inquired in the presupposed information modification record table according to the user identifier in the information to be modified History modification record;
It is described to be compared the current modification record with the history modification record, to obtain comparison result, and root The subitem to be modified in the information to be modified is inquired according to the comparison result, comprising:
The current modification record is compared with the history modification record, to obtain comparison result;
When the comparison result is the current modification record and the history modification record difference, currently repaired described Change and determine the target subitem different from the subitem of the history modification record in the subitem of record, and using the target subitem as Subitem to be modified.
It is understood that in view of there may be mass users and multiple third party systems, then it can be to be modified Preset field is added in information with the user identifier of write in table sign user identity, for example, user identifier can behave as identification card number (ID_No)。
In the concrete realization, to be repaired for example, if the information this time modified in predetermined system is the user information of Zhang San Convert to the identification card number that the user identifier in breath can be Zhang San.Then, it can be modified according to the identification card number of Zhang San in presupposed information Upper history modification record relevant to Zhang San is inquired in record sheet, for example, remembering in current modification record relevant to Zhang San Record have " station address: Shanghai City Jing'an District cell, phone number: 111111 and identity card validity period from date: 2012/05/25 etc. ", recording in upper history modification record relevant to Zhang San has that " station address: Xicheng District of Beijing is small Area, phone number: 111111 and identity card validity period from date: 2012/05/25 etc. ".As it can be seen that the target subitem is to use Family address entries.
Further, described different from the history modification record for the current modification record in the comparison result When, the target subitem different from the subitem of the history modification record is determined in the subitem of the current modification record, and will After the target subitem is as subitem to be modified, the information synchronization method of the cross-system further include:
Using the subitem of the target subitem non-in the current modification record as subitem to be held;
Field locating for subitem to be held described in the information to be modified is carried out to empty processing, and after processing being emptied Information to be modified as information to be synchronized;
It is described that the subitem to be modified is sent in the third party device for running the third party system, so that described Third party's raw information in the third party system is replaced with the subitem to be modified by three method, apparatus, comprising:
It is the character string of pre-set text format by the Information encapsulation to be synchronized;
The character string is sent in the third party device for running the third party system, so that the third party device Read the subitem to be modified in the character string, and by third party's raw information in the third party system replace with it is described to Modify subitem.
It is understood that if recording in current modification record relevant to Zhang San has " station address: Shanghai City Jing'an District Certain cell, phone number: 111111 and identity card validity period from date: 2012/05/25 etc. ", relevant to Zhang San upper one In history modification record record have " station address: Xicheng District of Beijing cell, phone number: 111111 and identity card have Effect phase from date: 2012/05/25 etc. ", then target subitem is station address, and subitem to be held is phone number and identity Demonstrate,prove validity period from date.
In the concrete realization, for the simultaneously operating for subitem to be modified, specific synchronous logic can be, it is contemplated that be The data format that uses can be the data format of information to be modified when transmitting between system, as can in the data format of information to be modified It, still, can will be to be repaired in order to which the flow saved between data transmitting is to improve synchronous efficiency including whole subitems in user information It converts to and does not find that the corresponding field of subitem to be held of variation carries out emptying processing in breath, for example, can be by phone number and body The corresponding field of part card validity period from date is zeroed out processing.And in actual transfer, it will that treated be to be repaired to resetting Breath is converted to be transmitted, rather than former information to be modified.
It should be understood that after generating information to be synchronized, it can be by Information encapsulation to be synchronized to the character string of json format In, and by calling interface corresponding with third party system to send it to corresponding third party system.
It can with differentiation be controlled for the information update in system by setting push control information in the present embodiment, In addition, can also processing be zeroed out between the information to be modified really transmitted system, to reduce the flow between saving data transmitting, Improve synchronous efficiency.
It is the flow diagram of the information synchronization method 3rd embodiment of cross-system of the present invention referring to Fig. 4, Fig. 4, based on upper First embodiment shown in Fig. 2 is stated, proposes the 3rd embodiment of the information synchronization method of cross-system of the present invention.
In 3rd embodiment, after the step S10, the information synchronization method of the cross-system further include:
Step S101: the information to be modified is added in pre-determined synchronization state record table.
It is understood that also settable one independently of multiple systems pre-determined synchronization state record table, pre-determined synchronization shape State record sheet can be denoted as user_info_ for recording information relevant to real-time synchronization result, pre-determined synchronization state record table sync_system。
It in the concrete realization, include a large amount of synchronous recording in pre-determined synchronization state record table, every synchronous recording will It include user information, synchronizing information state (status), creation time (CreateDate) and renewal time (UpdateDate) etc..
After the step S50, the information synchronization method of the cross-system further include:
Step S502: when receiving the synchronized process information of the third party system feedback, according to the synchronized process Information determines corresponding synchronizing information state.
It should be understood that after user information this moment, that is, information to be modified is generated a synchronous recording, and can incite somebody to action This synchronous recording is added in pre-determined synchronization state record table.Then, third party system can feed back whether the knot of successful synchronization Record is had a synchronizing information state in the synchronized process information of feedback by fruit, synchronizing information state can be synchronize it is successfully or synchronous Failure.
Step S503: the inquiry pre-determined synchronization corresponding with the information to be modified in the pre-determined synchronization state record table Mode field, and the synchronizing information state is written in the pre-determined synchronization mode field.
It is understood that the particular content of the synchronizing information state can be inserted in a newly-generated synchronous recording. In addition, pre-determined synchronization mode field is field location locating for synchronizing information state in synchronous recording.
Further, described when receiving the synchronized process information of the third party system feedback, according to the synchronization After progress information determines corresponding synchronizing information state, the information synchronization method of the cross-system further include:
When the synchronizing information state is synchronization failure, according to the pre-determined synchronization period to the in the third party system Tripartite's raw information carries out information replacement operation, and it is described in the same stepping for receiving the third party system feedback to return to execution When journey information, the step of corresponding synchronizing information state is determined according to the synchronized process information, until in the synchronizing information State is when synchronizing successfully, to stop the information replacement operation.
In the concrete realization, successful probability is synchronized in order to improve, information can be written in pre-determined synchronization state record table The mechanism of automatic push is arranged to characterize real-time synchronous regime in synchronous regime.Specifically, if user in system M The content of location leads to " synchronization failure " because of unstable networks or the closing of the system of third party system, i.e. third party system Interior third party's raw information is not changed successfully, then can carry out re-synchronization to the third party system every 2 hours, together When, each synchronizing information state is recorded, until " synchronizing success ".
By the mechanism of setting automatic push in the present embodiment, it can be improved and synchronize successful probability.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the information of cross-system is stored on the storage medium Synchronization program, the synchronizing information program of the cross-system realize that the information of cross-system as described above is same when being executed by processor The step of one step process.
In addition, the embodiment of the present invention also proposes a kind of synchronizing information device of cross-system, the cross-system referring to Fig. 5 Synchronizing information device includes:
Command reception module 10, for receive information modification instruction when, according to the information modify instruction determine to Modification information.
It is understood that in practical operation level, after user has modified the user information in some system, than Such as, user has modified the station address recorded in M system, by raw address " Xicheng District of Beijing cell " when using M system Modification is for new address " Shanghai City Jing'an District cell ".If user goes back while having used other systems, for example, system N1, N2 and N3 etc. can then carry out the synchronizing information of cross-system, so that M system using the information synchronization method of the present embodiment description New address can be pushed to other systems automatically by system, to modify the raw address at other systems, can so reduce modification time Number, greatly increases treatment effeciency.
In the concrete realization, if user is when using current system, that is, M system, information modification instruction is triggered to carry out letter Breath modification operation.For example, the default raw information of the station address program recording in M system includes that " Xicheng District of Beijing is small Area ", and the information to be modified that user inputs this moment includes " Shanghai City Jing'an District cell ", then will carry out information modification automatically, To retain new address " Shanghai City Jing'an District cell ".
First information modified module 20 replaces with described for the default raw information in the predetermined system by local runtime Information to be modified.
It should be understood that predetermined system refers to that current system i.e. M system, the executing subject of executing subject local runtime is The user equipment that user operates this moment, for example, PC.Certainly, user equipment can also be server, and user passes through operation People's computer is to send information modification instruction to server.
Identity reading module 30 for obtaining to supplying system list, and is read described to be in supplying system list System mark.
It is understood that in order to improve treatment effeciency, by that can be with the relevant data management technique of big data Linkage is added between M system, system N1, N2 and N3 in system level, for example, data list can be added to realize the linkage The characteristic of property.After all, M system, system N1, N2 and N3 can be the not homologous ray of differentiation.
In the concrete realization, it after completing the information modification operation of M system local, can call independently of M system wait push away System list is sent to obtain the system banner recorded in the list (systemID), wherein system banner is corresponding for marking System, for example, N1, N2 and N3 etc..
System determination module 40, for determining corresponding third party system according to the system banner.
It should be understood that after getting M system for the system banner of the system of synchronizing information, it can be by " Shanghai City is quiet Peace area's cell " is synchronized at a multiple or third party system, wherein predetermined system can be denoted as M system, third party system System N1, N2 and N3 can be denoted as.
Second information modified module 50, for the information to be modified to be sent to the third for running the third party system In method, apparatus so that the third party device third party's raw information in the third party system is replaced with it is described to be modified Information.
It is understood that the third party device for running third party system will be made locally also to get information to be modified " Shanghai City Jing'an District cell ", so that third party's raw information of third party device local is also revised as Shanghai City Jing'an District Certain cell ".Wherein, third party device can be the server of operation third party system.
In addition, the predetermined system referred in the present embodiment and the systematic name of third party system are only used for distinguishing and different are System, can also be in the locally modified information in third party system side, then, by new synchronizing information to predetermined system.
Information to be modified is first determined in the present embodiment, and the default raw information in the predetermined system of local runtime is replaced with Information to be modified is obtained to supplying system list, and is read to the system banner in supplying system list, and information to be modified is same In step to third party system corresponding with system banner, third party's raw information in third party system is replaced with to be modified Information.It is apparent that the present embodiment, which passes through, adds assigning to supplying system list independently of predetermined system and third party system Linkage between multiple systems, the will be transferred when the default raw information in predetermined system changes automatically by realizing Three method, systems and the third party's raw information for modifying third party system local improve place to reduce information modification number Efficiency is managed, and then solves the lower technical problem of information act of revision treatment effeciency.
In one embodiment, the identity reading module 30, is also used to obtain in pre-determined synchronization allocation list and is wait push System list, and read the system banner in supplying system list and push corresponding with system banner control letter Breath;
The second information modified module 50 is also used to when the push controls information to push opening imformation, by institute It states information to be modified to be sent in the third party device for running the third party system, so that the third party device is by described Third party's raw information in three method, systems replaces with the information to be modified.
In one embodiment, the synchronizing information device of the cross-system further include:
Comparison module is recorded, for generating the current modification record modified to the default raw information, and by institute Current modification record is stated to be added in presupposed information modification record table;It is modified according to the information to be modified in the presupposed information Corresponding history modification record is inquired in record sheet;The current modification record is compared with the history modification record, To obtain comparison result, and the subitem to be modified in the information to be modified is inquired according to the comparison result;
The second information modified module 50 is also used to for the subitem to be modified being sent to the operation third party system Third party device in so that the third party device third party's raw information in the third party system is replaced with it is described Subitem to be modified.
In one embodiment, the record comparison module is also used to be existed according to the user identifier in the information to be modified Corresponding history modification record is inquired in the presupposed information modification record table;
The record comparison module is also used to for the current modification record being compared with the history modification record, To obtain comparison result;
When the comparison result is the current modification record and the history modification record difference, currently repaired described Change and determine the target subitem different from the subitem of the history modification record in the subitem of record, and using the target subitem as Subitem to be modified.
In one embodiment, the synchronizing information device of the cross-system further include:
Field empties module, for using the subitem of the target subitem non-in the current modification record as son to be held ;Field locating for subitem to be held described in the information to be modified is carried out to empty processing, and will empty that treated to Modification information is as information to be synchronized;
The second information modified module 50 is also used to the character by the Information encapsulation to be synchronized for pre-set text format String;The character string is sent in the third party device for running the third party system, so that the third party device is read Subitem to be modified in the character string, and third party's raw information in the third party system replaced with described to be modified Subitem.
In one embodiment, the synchronizing information device of the cross-system further include:
Information adding module, for the information to be modified to be added in pre-determined synchronization state record table;
State writing module, for when receiving the synchronized process information of third party system feedback, according to described Synchronized process information determines corresponding synchronizing information state;In the pre-determined synchronization state record table inquiry with it is described to be modified The corresponding pre-determined synchronization mode field of information, and the synchronizing information state is written in the pre-determined synchronization mode field.
In one embodiment, the synchronizing information device of the cross-system further include:
Circulation synchronous module is used for when the synchronizing information state is synchronization failure, according to the pre-determined synchronization period to institute The third party's raw information stated in third party system carries out information replacement operation, and returns and receiving the third described in execution When the synchronized process information of method, system feedback, the step of corresponding synchronizing information state is determined according to the synchronized process information, Until stopping the information replacement operation when the synchronizing information state is to synchronize successfully.
The other embodiments or specific implementation of the synchronizing information device of cross-system of the present invention can refer to above-mentioned each Embodiment of the method, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of information synchronization method of cross-system, which is characterized in that the information synchronization method of the cross-system includes following step It is rapid:
When receiving information modification instruction, instruction is modified according to the information and determines information to be modified;
Default raw information in the predetermined system of local runtime is replaced with into the information to be modified;
It obtains to supplying system list, and reads described to the system banner in supplying system list;
Corresponding third party system is determined according to the system banner;
The information to be modified is sent in the third party device for running the third party system, so that the third party device Third party's raw information in the third party system is replaced with into the information to be modified.
2. the information synchronization method of cross-system as described in claim 1, which is characterized in that described obtain arranges to supplying system Table, and read described to the system banner in supplying system list, comprising:
Obtain in pre-determined synchronization allocation list to supplying system list, and read described to the system banner in supplying system list And push corresponding with the system banner controls information;
It is described that the information to be modified is sent in the third party device for running the third party system, so that the third party Third party's raw information in the third party system is replaced with the information to be modified by equipment, comprising:
When push control information is push opening imformation, the information to be modified, which is sent to the operation third party, is In the third party device of system, so that third party's raw information in the third party system is replaced with institute by the third party device State information to be modified.
3. the information synchronization method of cross-system as described in claim 1, which is characterized in that the default system by local runtime After default raw information in system replaces with the information to be modified, the information synchronization method of the cross-system further include:
The current modification record modified to the default raw information is generated, and the current modification record is added to pre- If in information modification record table;
Corresponding history modification record is inquired in the presupposed information modification record table according to the information to be modified;
The current modification record is compared with the history modification record, to obtain comparison result, and according to the ratio Compared with the subitem to be modified in information to be modified described in result queries;
It is described that the information to be modified is sent in the third party device for running the third party system, so that the third party Third party's raw information in the third party system is replaced with the information to be modified by equipment, comprising:
The subitem to be modified is sent in the third party device for running the third party system, so that the third party device Third party's raw information in the third party system is replaced with into the subitem to be modified.
4. the information synchronization method of cross-system as claimed in claim 3, which is characterized in that described according to the information to be modified Corresponding history modification record is inquired in the presupposed information modification record table, comprising:
Corresponding history is inquired in the presupposed information modification record table according to the user identifier in the information to be modified to repair Change record;
It is described to be compared the current modification record with the history modification record, to obtain comparison result, and according to institute State the subitem to be modified that comparison result is inquired in the information to be modified, comprising:
The current modification record is compared with the history modification record, to obtain comparison result;
When the comparison result is the current modification record and the history modification record difference, remember in the current modification The target subitem different from the subitem of the history modification record is determined in the subitem of record, and using the target subitem as to be repaired Change subitem.
5. the information synchronization method of cross-system as claimed in claim 4, which is characterized in that described in the comparison result is institute When stating current modification record and the history modification record difference, determination is gone through with described in the subitem of the current modification record The different target subitem of the subitem of history modification record, and using the target subitem as subitem to be modified after, the cross-system Information synchronization method further include:
Using the subitem of the target subitem non-in the current modification record as subitem to be held;
Field locating for subitem to be held described in the information to be modified is carried out to empty processing, and will empty that treated to Modification information is as information to be synchronized;
It is described that the subitem to be modified is sent in the third party device for running the third party system, so that the third party Third party's raw information in the third party system is replaced with the subitem to be modified by equipment, comprising:
It is the character string of pre-set text format by the Information encapsulation to be synchronized;
The character string is sent in the third party device for running the third party system, so that the third party device is read Subitem to be modified in the character string, and third party's raw information in the third party system replaced with described to be modified Subitem.
6. the information synchronization method of cross-system as described in claim 1, which is characterized in that it is described receive information modification refer to When enabling, after modifying the determining information to be modified of instruction according to the information, the information synchronization method of the cross-system further include:
The information to be modified is added in pre-determined synchronization state record table;
It is described that the information to be modified is sent in the third party device for running the third party system, so that the third party After third party's raw information in the third party system is replaced with the information to be modified by equipment, the letter of the cross-system Cease synchronous method further include:
When receiving the synchronized process information of the third party system feedback, determined according to the synchronized process information corresponding Synchronizing information state;
The inquiry pre-determined synchronization mode field corresponding with the information to be modified in the pre-determined synchronization state record table, and general The synchronizing information state is written in the pre-determined synchronization mode field.
7. the information synchronization method of cross-system as claimed in claim 6, which is characterized in that described to receive the third party It is described after determining corresponding synchronizing information state according to the synchronized process information when synchronized process information of system feedback The information synchronization method of cross-system further include:
When the synchronizing information state is synchronization failure, according to the pre-determined synchronization period to the third party in the third party system Raw information carries out information replacement operation, and it is described in the synchronized process letter for receiving the third party system feedback to return to execution When breath, the step of corresponding synchronizing information state is determined according to the synchronized process information, until in the synchronizing information state When synchronizing successfully, to stop the information replacement operation.
8. a kind of user equipment, which is characterized in that the user equipment includes: memory, processor and is stored in the storage The synchronizing information program of cross-system can be run on device and on the processor, the synchronizing information program of the cross-system is described The step of information synchronization method of the cross-system as described in any one of claims 1 to 7 is realized when processor executes.
9. a kind of storage medium, which is characterized in that be stored with the synchronizing information program of cross-system on the storage medium, it is described across The information of the cross-system as described in any one of claims 1 to 7 is realized when the synchronizing information program of system is executed by processor The step of synchronous method.
10. a kind of synchronizing information device of cross-system, which is characterized in that the synchronizing information device of the cross-system includes:
Command reception module, for modifying instruction according to the information and determining to be repaired convert to when receiving information modification instruction Breath;
First information modified module replaces with described to be modified for the default raw information in the predetermined system by local runtime Information;
Identity reading module for obtaining to supplying system list, and is read described to the system banner in supplying system list;
System determination module, for determining corresponding third party system according to the system banner;
Second information modified module, for the information to be modified to be sent to the third party device for running the third party system In, so that third party's raw information in the third party system is replaced with the information to be modified by the third party device.
CN201910665235.5A 2019-07-22 2019-07-22 Cross-system information synchronization method, user equipment, storage medium and device Active CN110502574B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910665235.5A CN110502574B (en) 2019-07-22 2019-07-22 Cross-system information synchronization method, user equipment, storage medium and device
PCT/CN2019/116719 WO2021012487A1 (en) 2019-07-22 2019-11-08 Cross-system information synchronisation method, user device, storage medium, and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910665235.5A CN110502574B (en) 2019-07-22 2019-07-22 Cross-system information synchronization method, user equipment, storage medium and device

Publications (2)

Publication Number Publication Date
CN110502574A true CN110502574A (en) 2019-11-26
CN110502574B CN110502574B (en) 2023-04-11

Family

ID=68586276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910665235.5A Active CN110502574B (en) 2019-07-22 2019-07-22 Cross-system information synchronization method, user equipment, storage medium and device

Country Status (2)

Country Link
CN (1) CN110502574B (en)
WO (1) WO2021012487A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111326223A (en) * 2020-01-21 2020-06-23 上海联影医疗科技有限公司 Information maintenance method, device, system and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222534A (en) * 2021-04-28 2021-08-06 广州民航信息技术有限公司 Method and device for automatically modifying departure flight state

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108870666A (en) * 2018-06-12 2018-11-23 广东美的暖通设备有限公司 Air conditioning managing method, system and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882173B (en) * 2010-06-02 2012-08-22 长安大学 Cited topological object coding/naming method for online collaborative design
CN104809551B (en) * 2015-04-03 2018-09-21 中国电子科技集团公司第二十八研究所 A kind of cross-system workflow Synergistic method based on mobile Agent client
CN105262831B (en) * 2015-10-30 2019-02-22 北京奇艺世纪科技有限公司 The method, apparatus and synchronization system of synchrodata between a kind of storage system
CN108664625B (en) * 2018-05-14 2020-06-02 贝壳找房(北京)科技有限公司 Cross-system data synchronization method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108870666A (en) * 2018-06-12 2018-11-23 广东美的暖通设备有限公司 Air conditioning managing method, system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111326223A (en) * 2020-01-21 2020-06-23 上海联影医疗科技有限公司 Information maintenance method, device, system and storage medium
CN111326223B (en) * 2020-01-21 2023-09-12 上海联影医疗科技股份有限公司 Information maintenance method, device, system and storage medium

Also Published As

Publication number Publication date
WO2021012487A1 (en) 2021-01-28
CN110502574B (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN103532823B (en) Internet of things information processing method, apparatus and system
CN101325561B (en) Method, apparatus and system for processing electronic mail
CN101110987B (en) System and method for implementing short message group sending
CN100423610C (en) User identifying module service and method and system for using personalized tailered issuing
CN108039969A (en) Network method of automatic configuration, device, system, storage medium and object-computer
CN106685691A (en) Efficient configuration update method and system of terminal device in Internet of things system
CN104468148A (en) Nginx server configuration maintenance method and system
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN107704550A (en) File migration method, apparatus and computer-readable recording medium
CN110502574A (en) Information synchronization method, user equipment, storage medium and the device of cross-system
CN111555957A (en) Kafka-based synchronous message service system and implementation method
CN108255513A (en) Electronic device, the data-interface based on springmvc and its illustrate automatic generation method and storage medium
CN103716346A (en) Management method and device of application on android handset client
CN106649600A (en) Way, device and system of migrating file permissions
CN104424333A (en) Method and system for loading table data
CN103856516A (en) Data storage and reading method and data storage and reading device
CN115248692A (en) Device and method for supporting cloud deployment of multiple deep learning framework models
CN105224541B (en) Uniqueness control method, information storage means and the device of data
CN109672718A (en) File delivery method, server, storage medium and device between system
CN108958808A (en) Method for starting terminal and device, terminal and storage medium
CN110119388A (en) File read/write method, device, system, equipment and computer readable storage medium
CN105743669A (en) Data communication method and apparatus
CN107968794A (en) A kind of virtual drive hanging method and system, server, terminal
CN107179912A (en) A kind of hot upgrade method of distributed structure/architecture software defined network controller
CN106357764A (en) Data synchronization method and sever of mobile terminal

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