WO2021012487A1 - 跨***的信息同步方法、用户设备、存储介质及装置 - Google Patents

跨***的信息同步方法、用户设备、存储介质及装置 Download PDF

Info

Publication number
WO2021012487A1
WO2021012487A1 PCT/CN2019/116719 CN2019116719W WO2021012487A1 WO 2021012487 A1 WO2021012487 A1 WO 2021012487A1 CN 2019116719 W CN2019116719 W CN 2019116719W WO 2021012487 A1 WO2021012487 A1 WO 2021012487A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
modified
party
preset
modification record
Prior art date
Application number
PCT/CN2019/116719
Other languages
English (en)
French (fr)
Inventor
李靖
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021012487A1 publication Critical patent/WO2021012487A1/zh

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

Definitions

  • This application relates to the field of information synchronization technology, in particular to cross-system information synchronization methods, user equipment, storage media and devices.
  • personal information includes user address, mobile phone number, ID number, and ID validity period. .
  • the inventor realized that, for example, if user A uses system B1, system B2, and system B3, when user A changes to a new address, he needs to log in to these three systems separately, and he needs to modify the information entries of the user address three times in total. , This repetitive information modification behavior greatly reduces processing efficiency.
  • the main purpose of this application is to provide a cross-system information synchronization method, user equipment, storage medium, and device, aiming to solve the technical problem of low efficiency in processing information modification behavior.
  • the cross-system information synchronization method includes the following steps:
  • the information to be modified is sent to a third-party device running the third-party system, so that the third-party device replaces the original third-party information in the third-party system with the information to be modified.
  • this application also proposes a user equipment, the user equipment including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, the computer When the readable instructions are executed by the processor, the cross-system information synchronization method described above is realized.
  • this application also proposes a storage medium that stores computer-readable instructions that can be executed by a processor.
  • the computer-readable instructions are executed by the processor, the The cross-system information synchronization method as described above.
  • this application also proposes a cross-system information synchronization device, and the cross-system information synchronization device includes:
  • the instruction receiving module is configured to determine the information to be modified according to the information modification instruction when the information modification instruction is received;
  • the first information modification module is configured to replace the preset original information in the locally running preset system with the information to be modified;
  • the identification reading module is used to obtain a list of systems to be pushed and read the system identifications in the list of systems to be pushed;
  • the system determining module is used to determine the corresponding third-party system according to the system identifier
  • the second information modification module is used to send the information to be modified to the third-party device running the third-party system, so that the third-party device replaces the original third-party information in the third-party system with all Describe the information to be modified.
  • this application first determine the information to be modified, replace the preset original information in the locally running preset system with the information to be modified, obtain the list of systems to be pushed, read the system identification in the list of systems to be pushed, and set the information to be modified Synchronize to the third-party equipment running the third-party system to replace the original third-party information in the third-party system with the information to be modified.
  • this application provides linkage between multiple systems by adding a list of systems to be pushed independent of the preset system and the third-party system, and realizes that the preset original information in the preset system will be automatically adjusted when the preset original information changes. Take the third-party system and modify the local third-party original information of the third-party system, thereby reducing the number of information modifications, improving processing efficiency, and solving the technical problem of low processing efficiency of information modification behavior.
  • FIG. 1 is a schematic diagram of a user equipment structure of a hardware operating environment involved in a solution of an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a cross-system information synchronization method according to this application;
  • FIG. 3 is a schematic flowchart of a second embodiment of a cross-system information synchronization method according to this application.
  • FIG. 4 is a schematic flowchart of a third embodiment of a cross-system information synchronization method according to this application.
  • Fig. 5 is a structural block diagram of a first embodiment of a cross-system information synchronization device according to this application.
  • FIG. 1 is a schematic diagram of a user equipment structure of a hardware operating environment involved in a solution of an embodiment of the application.
  • the user equipment may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the wired interface of the user interface 1003 may be a USB interface in this application.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage.
  • the memory 1005 may also be a storage device independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the user equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer readable instructions.
  • the network interface 1004 is mainly used to connect to a back-end server and perform data communication with the back-end server; the user interface 1003 is mainly used to connect peripherals; the user equipment calls the memory 1005 through the processor 1001
  • FIG. 2 is a schematic flowchart of a first embodiment of a cross-system information synchronization method according to this application.
  • the cross-system information synchronization method includes the following steps:
  • Step S10 When receiving the information modification instruction, determine the information to be modified according to the information modification instruction.
  • an information modification instruction is triggered to perform an information modification operation.
  • the preset original information recorded in the user address entry in the M system includes "a community in Xicheng District, Beijing", and the information to be modified entered by the user at the moment includes "a community in Jing'an District, Shanghai", the information will be modified automatically. To keep the new address "a community in Jing'an District, Shanghai”.
  • Step S20 Replace the preset original information in the preset system running locally with the information to be modified.
  • the preset system refers to the current system that the execution subject runs locally, that is, the M system, and the execution subject is the user equipment operated by the user at the moment, such as a personal computer.
  • the user equipment can also be a server, and the user can send information modification instructions to the server by operating a personal computer.
  • Step S30 Obtain a list of systems to be pushed, and read the system identifiers in the list of systems to be pushed.
  • linkage can be added between M system, system N1, N2, and N3 at the system level.
  • a data list can be added to achieve this The characteristics of linkage.
  • the M system, the systems N1, N2, and N3 can be differentiated systems.
  • system ID system ID
  • N1, N2, and N3 system ID
  • Step S40 Determine the corresponding third-party system according to the system identifier.
  • the "a cell in Jing'an District, Shanghai" can be synchronized to multiple or one third-party system, where the preset system can be denoted as the M system , Third-party systems can be marked as systems N1, N2, and N3.
  • Step S50 Send the information to be modified to a third-party device running the third-party system, so that the third-party device replaces the original third-party information in the third-party system with the information to be modified.
  • the third-party equipment running the third-party system will locally obtain the information to be modified "a community in Jing'an District, Shanghai", so that the local third-party original information of the third-party equipment will also be modified to a certain area in Jing'an District, Shanghai. Community”.
  • the third-party device can be a server running a third-party system.
  • system names of the preset system and the third-party system mentioned in this embodiment are only used to distinguish different systems, and the information can also be modified locally on the third-party system side, and then the new information is synchronized to the preset system.
  • steps S10-S50 steps S10-S20 and S30-S40 can be performed simultaneously, that is, the modification operation of the preset original information and the determination operation of determining the third-party system can be performed simultaneously.
  • steps S10-S20 and S30-S40 can be performed simultaneously, that is, the modification operation of the preset original information and the determination operation of determining the third-party system can be performed simultaneously.
  • it can be executed sequentially from step S10 to step S50, which is not limited in this embodiment.
  • first determine the information to be modified replace the preset original information in the preset system running locally with the information to be modified, obtain the list of systems to be pushed, and read the system identification in the list of systems to be pushed, and modify the
  • the information is synchronized to the third-party system corresponding to the system identification to replace the original third-party information in the third-party system with the information to be modified.
  • this embodiment provides linkage between multiple systems by adding a list of systems to be pushed independent of the preset system and the third-party system, and realizes that when the preset original information in the preset system changes, it will automatically retrieve the third-party system and modify the local third-party original information of the third-party system, thereby reducing the number of information modifications, improving processing efficiency, and solving the technical problem of low processing efficiency of information modification behavior.
  • FIG. 3 is a schematic flowchart of the second embodiment of the cross-system information synchronization method of this application. Based on the first embodiment shown in FIG. 2 above, the second embodiment of the cross-system information synchronization method of this application is proposed.
  • the obtaining the list of systems to be pushed and reading the system identifiers in the list of systems to be pushed includes:
  • the push control information is push opening information
  • the information to be modified is sent to the third-party device running the third-party system, so that the third-party device can update the original third-party system in the third-party system.
  • the information is replaced with the information to be modified.
  • the preset synchronization configuration table may include a list of systems to be pushed with a recording system identifier, and the preset synchronization configuration table may be recorded as user_info_config.
  • the preset synchronization configuration table is used to record configuration information related to information synchronization.
  • the preset synchronization configuration table may include a system identifier corresponding to a third-party system and push control information.
  • the preset synchronization configuration table is used to indicate whether the synchronization authority is enabled for a certain system, and the preset synchronization configuration table may include the system identification and push control information corresponding to the preset system.
  • the push control information can be push on information (Y) or push off information (N). Push on information is used to indicate that the information is allowed to be synchronized to the corresponding third-party system, and push off information is used to indicate that the information is not allowed to be synchronized to The corresponding third-party system.
  • the push control information corresponding to the system identification N3 is recorded in the preset synchronization configuration table as push closing information, the original third-party information in the system N3 will not be modified. It can be seen that by setting the push control information, the update of the information in the system can be controlled differentially.
  • the cross-system information synchronization method further includes:
  • Step S201 Generate a current modification record for modifying the preset original information, and add the current modification record to the preset information modification record table.
  • a preset information modification record table may also be set.
  • the preset information modification record table may be recorded as user_info_sync_active, and the preset information modification record table is used for real-time recording of information modification operations. Therefore, when the user modifies information in the M system, the preset information modification record table will also record the modification record, that is, the current modification record.
  • Step S202 query the corresponding historical modification record in the preset information modification record table according to the information to be modified.
  • a modification record recorded in the preset information modification record table may include user information, a user identifier that characterizes the user's identity, and record creation time.
  • user information can include user address (address), mobile phone number (mobile), ID card validity start date (cert_validity_start) and ID card validity end date (cert_validity_end).
  • each modification since each modification will automatically generate a corresponding modification record in the preset information modification record table, it can be directly compared with the historical modification records previously recorded in the preset information modification record table. , To filter out the information types of user information with different content, so as to more accurately synchronize information.
  • Step S203 Compare the current modification record with the historical modification record to obtain a comparison result, and query the item to be modified in the information to be modified according to the comparison result.
  • the sub-item to be modified is the user address in the user information
  • the user address in the user information in the last historical modification record is "a community in Xicheng District, Beijing”
  • the user address in the user information in the current modification record is " In a community in Jing’an District, Shanghai, the other sub-items in the user information are the same.
  • the step S50 includes:
  • Step S501 Send the sub-item to be modified to the third-party device running the third-party system, so that the third-party device replaces the third-party original information in the third-party system with the sub-item to be modified item.
  • the changed sub-item is the user address
  • only the user address will be sent to the third-party system for information replacement instead of sending the complete information to be modified.
  • the information to be modified may be It also includes other non-changing user information sub-items.
  • the amount of information sent can be reduced only by looking up the preset information modification record table, and there is no need to make a pre-request to the third-party system to filter out specific sub-items, and only contact the third party when sending information. The system interacts, thereby reducing the frequency of interaction.
  • the querying corresponding historical modification records in the preset information modification record table according to the information to be modified includes:
  • the comparing the current modification record with the historical modification record to obtain a comparison result, and querying the item to be modified in the information to be modified according to the comparison result includes:
  • a preset field can be added to the information to be modified to write a user ID that characterizes the user's identity.
  • the user ID can be expressed as an ID number (ID_No).
  • the user identification in the information to be modified may be Zhang San’s ID number.
  • the last historical modification record related to Zhang San can be found in the preset information modification record table.
  • the current modification record related to Zhang San records "User address: Shanghai A community in Jing’an District, mobile phone number: 111111 and the start date of the ID card validity period: 2012/01/25, etc.”
  • the last historical modification record related to Zhang San recorded "user address: a community, mobile phone in Xicheng District, Beijing Number: 111111 and the starting date of the validity of the ID card: 2012/01/25, etc.”.
  • the target sub-item is the user address item.
  • the cross-system information synchronization method further includes:
  • Sending the sub-item to be modified to a third-party device running the third-party system, so that the third-party device replaces the third-party original information in the third-party system with the sub-item to be modified include:
  • the specific synchronization logic can be, considering that the data format used when transferring between systems can be the data format of the information to be modified, and the data format of the information to be modified can be Including all the sub-items in the user information.
  • the fields corresponding to the sub-items to be maintained for which no changes are found in the information to be modified can be blanked, for example, the mobile phone The number and the fields corresponding to the starting date of the ID card validity period are cleared. In the actual transmission, the information to be modified after the zeroing process will be transmitted instead of the original information to be modified.
  • the information to be synchronized can be encapsulated in a json format string, and sent to the corresponding third-party system by calling the interface corresponding to the third-party system.
  • the information update in the system can be controlled differentially.
  • the information to be modified that is actually transmitted between the systems can be cleared to reduce the traffic between data transmission and improve Synchronization efficiency.
  • FIG. 4 is a schematic flowchart of a third embodiment of a cross-system information synchronization method according to this application. Based on the first embodiment shown in FIG. 2, a third embodiment of the cross-system information synchronization method according to the present application is proposed.
  • the cross-system information synchronization method further includes:
  • Step S101 Add the to-be-modified information to the preset synchronization state record table.
  • the preset synchronization status record table is used to record information related to real-time synchronization results, and the preset synchronization status record table can be recorded as user_info_sync_system.
  • the preset synchronization status record table includes a large number of synchronization records.
  • Each synchronization record will include user information, information synchronization status (status), creation time (CreateDate), and update time (UpdateDate).
  • the cross-system information synchronization method further includes:
  • Step S502 When receiving the synchronization process information fed back by the third-party system, determine the corresponding information synchronization state according to the synchronization process information.
  • the synchronization record can be added to the preset synchronization state record table. Then, the third-party system will feedback the result of successful synchronization, and the information synchronization status will be recorded in the feedback synchronization process information.
  • the information synchronization status can be synchronization success or synchronization failure.
  • Step S503 Query the preset synchronization state field corresponding to the information to be modified in the preset synchronization state record table, and write the information synchronization state into the preset synchronization state field.
  • the specific content of the information synchronization status can be filled in a newly generated synchronization record.
  • the preset synchronization state field is the field position of the information synchronization state in the synchronization record.
  • the cross-system information synchronization method further includes:
  • the information synchronization status can be written in the preset synchronization status record table to characterize the real-time synchronization status, and an automatic push mechanism can be set. Specifically, if the content of the user address item in the system M is "synchronized failure" due to network instability or system shutdown of the third-party system, that is, the original third-party information in the third-party system has not been successfully modified, then The third-party system is resynchronized every 2 hours, and at the same time, the information synchronization status is recorded every time until "synchronization is successful".
  • an embodiment of the present application also proposes a storage medium, and the storage medium may be a non-volatile computer-readable storage medium.
  • the storage medium stores computer-readable instructions that can be executed by the processor, and when the computer-readable instructions are executed by the processor, the cross-system information synchronization method as described above is implemented.
  • an embodiment of the present application also proposes a cross-system information synchronization device, and the cross-system information synchronization device includes:
  • the instruction receiving module 10 is configured to determine the information to be modified according to the information modification instruction when the information modification instruction is received.
  • an information modification instruction is triggered to perform an information modification operation.
  • the preset original information recorded in the user address entry in the M system includes "a community in Xicheng District, Beijing", and the information to be modified entered by the user at the moment includes "a community in Jing'an District, Shanghai", the information will be modified automatically. To keep the new address "a community in Jing'an District, Shanghai”.
  • the first information modification module 20 is configured to replace the preset original information in the preset system running locally with the information to be modified.
  • the preset system refers to the current system that the execution subject runs locally, that is, the M system, and the execution subject is the user equipment operated by the user at the moment, such as a personal computer.
  • the user equipment can also be a server, and the user can send information modification instructions to the server by operating a personal computer.
  • the identification reading module 30 is configured to obtain a list of systems to be pushed, and read the system identifications in the list of systems to be pushed.
  • linkage can be added between M system, system N1, N2, and N3 at the system level.
  • a data list can be added to achieve this The characteristics of linkage.
  • the M system, the systems N1, N2, and N3 can be differentiated systems.
  • system ID system ID
  • N1, N2, and N3 system ID
  • the system determining module 40 is configured to determine the corresponding third-party system according to the system identifier.
  • the "a cell in Jing'an District, Shanghai" can be synchronized to multiple or one third-party system, where the preset system can be denoted as the M system , Third-party systems can be marked as systems N1, N2, and N3.
  • the second information modification module 50 is configured to send the information to be modified to a third-party device running the third-party system, so that the third-party device replaces the third-party original information in the third-party system with The information to be modified.
  • the third-party equipment running the third-party system will locally obtain the information to be modified "a community in Jing'an District, Shanghai", so that the local third-party original information of the third-party equipment will also be modified to a certain area in Jing'an District, Shanghai. Community”.
  • the third-party device can be a server running a third-party system.
  • system names of the preset system and the third-party system mentioned in this embodiment are only used to distinguish different systems, and the information can also be modified locally on the third-party system side, and then the new information is synchronized to the preset system.
  • first determine the information to be modified replace the preset original information in the preset system running locally with the information to be modified, obtain the list of systems to be pushed, and read the system identification in the list of systems to be pushed, and modify the
  • the information is synchronized to the third-party system corresponding to the system identification to replace the original third-party information in the third-party system with the information to be modified.
  • this embodiment provides linkage between multiple systems by adding a list of systems to be pushed independent of the preset system and the third-party system, and realizes that when the preset original information in the preset system changes, it will automatically retrieve the third-party system and modify the local third-party original information of the third-party system, thereby reducing the number of information modifications, improving processing efficiency, and solving the technical problem of low processing efficiency of information modification behavior.
  • the identification reading module 30 is further configured to obtain a list of systems to be pushed in the preset synchronization configuration table, and read the system identifications in the list of systems to be pushed and corresponding to the system identifications Push control information;
  • the second information modification module 50 is further configured to send the information to be modified to a third-party device running the third-party system when the push control information is push-on information, so that the third party The device replaces the original third-party information in the third-party system with the information to be modified.
  • the cross-system information synchronization device further includes:
  • the record comparison module is configured to generate a current modification record for modifying the preset original information, and add the current modification record to the preset information modification record table; according to the information to be modified in the preset information Query the corresponding historical modification record in the modification record table; compare the current modification record with the historical modification record to obtain a comparison result, and query the item to be modified in the information to be modified according to the comparison result;
  • the second information modification module 50 is further configured to send the sub-items to be modified to a third-party device running the third-party system, so that the third-party device can update the third-party system in the third-party system.
  • the original information is replaced with the sub-item to be modified.

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

一种跨***的信息同步方法、用户设备、存储介质及装置,所述方法包括:在接收到信息修改指令时,根据所述信息修改指令确定待修改信息(S10);将本地运行的预设***中的预设原始信息替换为所述待修改信息(S20);获取待推送***列表,并读取所述待推送***列表中的***标识(S30);根据所述***标识确定对应的第三方***(S40);将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息(S50)。所述方法基于大数据技术进行数据同步操作,通过增设独立于预设***以及第三方***的待推送***列表赋予了多个***之间的联动性,实现了当预设原始信息发生变动时将自动调取第三方***并修改第三方原始信息。

Description

跨***的信息同步方法、用户设备、存储介质及装置
本申请要求于2019年7月22日提交中国专利局、申请号为201910665235.5、发明名称为“跨***的信息同步方法、用户设备、存储介质及装置”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及信息同步技术领域,尤其涉及跨***的信息同步方法、用户设备、存储介质及装置。
背景技术
考虑到同一个用户可能会同时使用到多个不同的***,而在每个***中可能均需填写用户的个人信息,个人信息包括有用户地址、手机号码、身份证号以及身份证有效期等信息。
发明人意识到,比如,若用户A使用到了***B1、***B2以及***B3,当用户A换了新的住址时,需要分别登录这三个***,则总计需要修改了三次用户地址的信息条目,这种重复性的信息修改行为极大地降低了处理效率。
可见,信息修改行为存在着处理效率较低的技术问题。
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。
发明内容
本申请的主要目的在于提供跨***的信息同步方法、用户设备、存储介质及装置,旨在解决信息修改行为处理效率较低的技术问题。
为实现上述目的,本申请提供一种跨***的信息同步方法,所述跨***的信息同步方法包括以下步骤:
在接收到信息修改指令时,根据所述信息修改指令确定待修改信息;
将本地运行的预设***中的预设原始信息替换为所述待修改信息;
获取待推送***列表,并读取所述待推送***列表中的***标识;
根据所述***标识确定对应的第三方***;
将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
此外,为实现上述目的,本申请还提出一种用户设备,所述用户设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上执行的计算机可读指令,所述计算机可读指令被所述处理器执行时,实现上文所述的跨***的信息同步方法。
此外,为实现上述目的,本申请还提出一种存储介质,所述存储介质上存储有并可被处理器执行的计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如上文所述的跨***的信息同步方法。
此外,为实现上述目的,本申请还提出一种跨***的信息同步装置,所述跨***的信息同步装置包括:
指令接收模块,用于在接收到信息修改指令时,根据所述信息修改指令确定待修改信息;
第一信息修改模块,用于将本地运行的预设***中的预设原始信息替换为所述待修改信息;
标识读取模块,用于获取待推送***列表,并读取所述待推送***列表中的***标识;
***确定模块,用于根据所述***标识确定对应的第三方***;
第二信息修改模块,用于将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
本申请中先确定待修改信息,将本地运行的预设***中的预设原始信息替换为待修改信息,获取待推送***列表,并读取待推送***列表中的***标识,将待修改信息同步至运行第三方***的第三方设备中,以将第三方***中的第三方原始信息替换为待修改信息。明显地,本申请通过增设独立于预设***以及第三方***的待推送***列表赋予了多个***之间的联动性,实现了当预设***中的预设原始信息发生变动时将自动调取第三方***并修改第三方***本地的第三方原始信息,从而减少了信息修改次数,提高了处理效率,进而解决了信息修改行为处理效率较低的技术问题。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的用户设备结构示意图;
图2为本申请跨***的信息同步方法第一实施例的流程示意图;
图3为本申请跨***的信息同步方法第二实施例的流程示意图;
图4为本申请跨***的信息同步方法第三实施例的流程示意图;
图5为本申请跨***的信息同步装置第一实施例的结构框图。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,图1为本申请实施例方案涉及的硬件运行环境的用户设备结构示意图。
如图1所示,该用户设备可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display),可选用户接口1003还可以包括标准的有线接口、无线接口,对于用户接口1003的有线接口在本申请中可为USB接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的结构并不构成对用户设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及计算机可读指令。
在图1所示的用户设备中,网络接口1004主要用于连接后台服务器,与所述后台服务器进行数据通信;用户接口1003主要用于连接外设;所述用户设备通过处理器1001调用存储器1005中存储的计算机可读指令,并执行本申请实施例提供的跨***的信息同步方法。
基于上述硬件结构,提出本申请跨***的信息同步方法的实施例。
参照图2,图2为本申请跨***的信息同步方法第一实施例的流程示意图。
在第一实施例中,所述跨***的信息同步方法包括以下步骤:
步骤S10:在接收到信息修改指令时,根据所述信息修改指令确定待修改信息。
可以理解的是,在实际操作层面上,当用户修改了某个***中的用户信息后,比如,用户在使用M***时,修改了M***中记录的用户地址,由原地址“北京市西城区某小区”修改为了新地址“上海市静安区某小区”。若用户还同时使用到了其他***,比如,***N1、N2以及N3等,则可应用本实施例描述的信息同步方法以进行跨***性的信息同步,使得M***可自动将新地址推送至其他***,从而修改其他***处的原地址,如此可以减少修改次数,大大地提高了处理效率。
在具体实现中,若用户在使用当前***即M***时,触发了信息修改指令以进行信息修改操作。比如,M***内的用户地址条目记录的预设原始信息包括“北京市西城区某小区”,而用户此刻输入的待修改信息包括“上海市静安区某小区”,则将自动进行信息修改,以保留新地址“上海市静安区某小区”。
步骤S20:将本地运行的预设***中的预设原始信息替换为所述待修改信息。
应当理解的是,预设***是指执行主体本地运行的当前***即M***,执行主体为用户此刻操作的用户设备,比如,个人电脑。当然,用户设备也可为服务器,用户通过操作个人电脑以发送信息修改指令至服务器。
步骤S30:获取待推送***列表,并读取所述待推送***列表中的***标识。
可以理解的是,为了提高处理效率,通过运用大数据相关的数据管理技术,可在***层面上为M***、***N1、N2以及N3之间增设联动性,比如,可增设数据列表以实现该联动性的特性。毕竟,M***、***N1、N2以及N3可为差异化的不同***。
在具体实现中,在完成M***本地的信息修改操作后,可调用独立于M***的待推送***列表以获得该列表中记录的***标识(systemID),其中,***标识用于标记对应的***,比如,N1、N2以及N3等。
步骤S40:根据所述***标识确定对应的第三方***。
应当理解的是,在获取到M***将同步信息的***的***标识后,可将“上海市静安区某小区”同步至多个或者一个第三方***处,其中,预设***可记为M***,第三方***可记为***N1、N2以及N3。
步骤S50:将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
可以理解的是,将使得运行第三方***的第三方设备本地也获取到待修改信息“上海市静安区某小区”,从而将第三方设备本地的第三方原始信息也修改为上海市静安区某小区”。其中,第三方设备可为运行第三方***的服务器。
此外,本实施例中提及的预设***与第三方***的***名称仅用于区别不同的***,也可在第三方***侧本地修改信息,接着,将新的信息同步至预设***。
需要说明的是,对于步骤S10-S50之间的执行顺序,可同时执行步骤S10-S20以及S30-S40,即对于预设原始信息的修改操作以及确定第三方***的确定操作可以同时进行。当然,可按照从步骤S10到步骤S50顺序执行,本实施例对此不作限制。
本实施例中先确定待修改信息,将本地运行的预设***中的预设原始信息替换为待修改信息,获取待推送***列表,并读取待推送***列表中的***标识,将待修改信息同步至与***标识对应的第三方***中,以将第三方***中的第三方原始信息替换为待修改信息。明显地,本实施例通过增设独立于预设***以及第三方***的待推送***列表赋予了多个***之间的联动性,实现了当预设***中的预设原始信息发生变动时将自动调取第三方***并修改第三方***本地的第三方原始信息,从而减少了信息修改次数,提高了处理效率,进而解决了信息修改行为处理效率较低的技术问题。
参照图3,图3为本申请跨***的信息同步方法第二实施例的流程示意图,基于上述图2所示的第一实施例,提出本申请跨***的信息同步方法的第二实施例。
第二实施例中,所述获取待推送***列表,并读取所述待推送***列表中的***标识,包括:
获取预设同步配置表中的待推送***列表,并读取所述待推送***列表中的***标识以及与所述***标识对应的推送控制信息;
所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
在所述推送控制信息为推送开启信息时,将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
可以理解的是,预设同步配置表可包括有记录***标识的待推送***列表,预设同步配置表可记为user_info_config。
在具体实现中,预设同步配置表用于记录与信息同步相关的配置信息,比如,预设同步配置表中可包括与第三方***对应的***标识以及推送控制信息等。当然,预设同步配置表用于表征是否对某个***开启同步权限,预设同步配置表中可包括与预设***对应的***标识以及推送控制信息等。其中,推送控制信息可为推送开启信息(Y)或推送关闭信息(N),推送开启信息用于表示允许将信息同步至对应的第三方***,推送关闭信息用于表示不允许将信息同步至对应的第三方***。
可以理解的是,若预设同步配置表中记录了***标识N2对应的推送控制信息为推送开启信息,则将修改***N2内的第三方原始信息。
当然,若预设同步配置表中记录了***标识N3对应的推送控制信息为推送关闭信息,则将不修改***N3内的第三方原始信息。可见,通过设置推送控制信息可以差异化地控制对于***内的信息更新。
进一步地,所述步骤S20之后,所述跨***的信息同步方法还包括:
步骤S201:生成对所述预设原始信息进行修改的当前修改记录,并将所述当前修改记录添加至预设信息修改记录表中。
可以理解的是,可设置多种独立于***的数据列表,以提高信息同步的灵活性以及处理效率。比如,还可设置预设信息修改记录表,预设信息修改记录表可记为user_info_sync_active,该预设信息修改记录表用于对信息修改操作进行实时记录。所以,当用户在M***了进行信息修改后,预设信息修改记录表也将记录下该条修改记录即当前修改记录。
步骤S202:根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录。
应当理解的是,预设信息修改记录表中记录的一条修改记录可包括有用户信息、表征用户身份的用户标识以及记录创建时间等。考虑到用户信息存在多种类型,比如,用户信息可同时包括有用户地址(address)、手机号码(mobile)、身份证有效期起始日期(cert_validity_start)以及身份证有效期截止期(cert_validity_end)等。
可以理解的是,由于每次修改均将在预设信息修改记录表中自动生成一条对应的修改记录,所以,可直接与该预设信息修改记录表中之前记录有的历史修改记录进行比对,以筛选出内容不同的用户信息的信息类型,从而更加精准地进行信息同步。
步骤S203:将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项。
应当理解的是,若通过比较,发现当前修改记录中记录的用户信息确实与上一条历史修改记录中记录的用户信息存在差异,则可精准地找出该差异点作为待修改子项。比如,待修改子项为用户信息中的用户地址,上一条历史修改记录中的用户信息中的用户地址为“北京市西城区某小区”,当前修改记录中的用户信息中的用户地址为“上海市静安区某小区”,用户信息中的其他子项均相同。
所述步骤S50,包括:
步骤S501:将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项。
可以理解的是,由于已确定发生变化的待修改子项为用户地址,则将仅把用户地址发送至第三方***进行信息替换,而非发送完整的待修改信息,毕竟,待修改信息中可能还包括有其他并非变化的用户信息子项。明显地,本实施例仅通过对预设信息修改记录表进行查表就可减少信息的发送量,无需对第三方***进行预先请求来筛选出特定子项,仅在发送信息时才与第三方***进行交互,从而降低了交互频率。
进一步地,所述根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录,包括:
根据所述待修改信息中的用户标识在所述预设信息修改记录表中查询对应的历史修改记录;
所述将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项,包括:
将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果;
在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项。
可以理解的是,考虑到可能存在着海量用户以及多个第三方***,则可在待修改信息中增设预设字段以写入表征用户身份的用户标识,比如,用户标识可表现为身份证号(ID_No)。
在具体实现中,比如,若此次在预设***中修改的信息为张三的用户信息,则待修改信息中的用户标识可为张三的身份证号。接着,可依据张三的身份证号在预设信息修改记录表中查询出与张三相关的上一历史修改记录,比如,与张三相关的当前修改记录中记录有“用户地址:上海市静安区某小区、手机号码:111111以及身份证有效期起始日期:2012/05/25等”,与张三相关的上一历史修改记录中记录有“用户地址:北京市西城区某小区、手机号码:111111以及身份证有效期起始日期:2012/05/25等”。可见,该目标子项为用户地址项。
进一步地,所述在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项之后,所述跨***的信息同步方法还包括:
将所述当前修改记录中非所述目标子项的子项作为待保持子项;
对所述待修改信息中所述待保持子项所处的字段进行置空处理,并将置空处理后的待修改信息作为待同步信息;
所述将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项,包括:
将所述待同步信息封装为预设文本格式的字符串;
将所述字符串发送至运行所述第三方***的第三方设备中,以使所述第三方设备读取所述字符串中的待修改子项,并将所述第三方***中的第三方原始信息替换为所述待修改子项。
可以理解的是,若与张三相关的当前修改记录中记录有“用户地址:上海市静安区某小区、手机号码:111111以及身份证有效期起始日期:2012/05/25等”,与张三相关的上一历史修改记录中记录有“用户地址:北京市西城区某小区、手机号码:111111以及身份证有效期起始日期:2012/05/25等”,则目标子项为用户地址,待保持子项为手机号码以及身份证有效期起始日期。
在具体实现中,对于针对待修改子项的同步操作,具体同步逻辑可为,考虑到在***间传递时采用的数据格式可为待修改信息的数据格式,至于待修改信息的数据格式中可包括用户信息中的全部子项,但是,为了节省数据传递间的流量以提高同步效率,可将待修改信息中未发现变化的待保持子项对应的字段进行置空处理,比如,可将手机号码以及身份证有效期起始日期对应的字段进行清零处理。而在实际传递时,将对清零处理后的待修改信息进行传递,而非原待修改信息。
应当理解的是,在生成待同步信息后,可将待同步信息封装到json格式的字符串中,并通过调用与第三方***对应的接口将其发送到对应的第三方***。
在本实施例中通过设置推送控制信息可以差异化地控制对于***内的信息更新,此外,还可对***间真实传递的待修改信息进行清零处理,以减少节省数据传递间的流量,提高同步效率。
参照图4,图4为本申请跨***的信息同步方法第三实施例的流程示意图,基于上述图2所示的第一实施例,提出本申请跨***的信息同步方法的第三实施例。
第三实施例中,所述步骤S10之后,所述跨***的信息同步方法还包括:
步骤S101:将所述待修改信息添加至预设同步状态记录表中。
可以理解的是,还可设置一独立于多个***的预设同步状态记录表,预设同步状态记录表用于记录与实时同步结果相关的信息,预设同步状态记录表可记为user_info_sync_system。
在具体实现中,预设同步状态记录表中包括有大量的同步记录,每条同步记录将包括有用户信息、信息同步状态(status)、创建时间(CreateDate)以及更新时间(UpdateDate)等。
所述步骤S50之后,所述跨***的信息同步方法还包括:
步骤S502:在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态。
应当理解的是,在将此刻的用户信息即待修改信息生成一条同步记录后,并可将该条同步记录添加至预设同步状态记录表中。接着,第三方***会反馈是否成功同步的结果,反馈的同步进程信息中将记录有信息同步状态,信息同步状态可为同步成功或者同步失败。
步骤S503:在所述预设同步状态记录表中查询与所述待修改信息对应的预设同步状态字段,并将所述信息同步状态写入所述预设同步状态字段中。
可以理解的是,可在新生成的一条同步记录中填入该信息同步状态的具体内容。此外,预设同步状态字段为同步记录中信息同步状态所处的字段位置。
进一步地,所述在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态之后,所述跨***的信息同步方法还包括:
在所述信息同步状态为同步失败时,按照预设同步周期对所述第三方***中的第三方原始信息进行信息替换操作,并返回执行所述在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态的步骤,直至在所述信息同步状态为同步成功时,停止所述信息替换操作。
在具体实现中,为了提高同步成功的机率,可在预设同步状态记录表中写入信息同步状态以表征实时的同步状态,并设置自动推送的机制。具体而言,若***M中的用户地址项的内容因为网络不稳定或者第三方***的***关闭而导致“同步失败”,即第三方***内的第三方原始信息并未被成功改动,则可每隔2个小时对该第三方***进行重新同步,同时,记录下每次的信息同步状态,直至“同步成功”。
本实施例中通过设置自动推送的机制,可以提高同步成功的机率。
此外,本申请实施例还提出一种存储介质,所述存储介质可为非易失性计算机可读存储介质。
所述存储介质上存储有并可被处理器执行的计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如上文所述的跨***的信息同步方法。
其中,该计算机可读指令被执行时所实现的方法可参照本申请跨***的信息同步方法的各个实施例,此处不再赘述。
此外,参照图5,本申请实施例还提出一种跨***的信息同步装置,所述跨***的信息同步装置包括:
指令接收模块10,用于在接收到信息修改指令时,根据所述信息修改指令确定待修改信息。
可以理解的是,在实际操作层面上,当用户修改了某个***中的用户信息后,比如,用户在使用M***时,修改了M***中记录的用户地址,由原地址“北京市西城区某小区”修改为了新地址“上海市静安区某小区”。若用户还同时使用到了其他***,比如,***N1、N2以及N3等,则可应用本实施例描述的信息同步方法以进行跨***性的信息同步,使得M***可自动将新地址推送至其他***,从而修改其他***处的原地址,如此可以减少修改次数,大大地提高了处理效率。
在具体实现中,若用户在使用当前***即M***时,触发了信息修改指令以进行信息修改操作。比如,M***内的用户地址条目记录的预设原始信息包括“北京市西城区某小区”,而用户此刻输入的待修改信息包括“上海市静安区某小区”,则将自动进行信息修改,以保留新地址“上海市静安区某小区”。
第一信息修改模块20,用于将本地运行的预设***中的预设原始信息替换为所述待修改信息。
应当理解的是,预设***是指执行主体本地运行的当前***即M***,执行主体为用户此刻操作的用户设备,比如,个人电脑。当然,用户设备也可为服务器,用户通过操作个人电脑以发送信息修改指令至服务器。
标识读取模块30,用于获取待推送***列表,并读取所述待推送***列表中的***标识。
可以理解的是,为了提高处理效率,通过运用大数据相关的数据管理技术,可在***层面上为M***、***N1、N2以及N3之间增设联动性,比如,可增设数据列表以实现该联动性的特性。毕竟,M***、***N1、N2以及N3可为差异化的不同***。
在具体实现中,在完成M***本地的信息修改操作后,可调用独立于M***的待推送***列表以获得该列表中记录的***标识(systemID),其中,***标识用于标记对应的***,比如,N1、N2以及N3等。
***确定模块40,用于根据所述***标识确定对应的第三方***。
应当理解的是,在获取到M***将同步信息的***的***标识后,可将“上海市静安区某小区”同步至多个或者一个第三方***处,其中,预设***可记为M***,第三方***可记为***N1、N2以及N3。
第二信息修改模块50,用于将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
可以理解的是,将使得运行第三方***的第三方设备本地也获取到待修改信息“上海市静安区某小区”,从而将第三方设备本地的第三方原始信息也修改为上海市静安区某小区”。其中,第三方设备可为运行第三方***的服务器。
此外,本实施例中提及的预设***与第三方***的***名称仅用于区别不同的***,也可在第三方***侧本地修改信息,接着,将新的信息同步至预设***。
本实施例中先确定待修改信息,将本地运行的预设***中的预设原始信息替换为待修改信息,获取待推送***列表,并读取待推送***列表中的***标识,将待修改信息同步至与***标识对应的第三方***中,以将第三方***中的第三方原始信息替换为待修改信息。明显地,本实施例通过增设独立于预设***以及第三方***的待推送***列表赋予了多个***之间的联动性,实现了当预设***中的预设原始信息发生变动时将自动调取第三方***并修改第三方***本地的第三方原始信息,从而减少了信息修改次数,提高了处理效率,进而解决了信息修改行为处理效率较低的技术问题。
在一实施例中,所述标识读取模块30,还用于获取预设同步配置表中的待推送***列表,并读取所述待推送***列表中的***标识以及与所述***标识对应的推送控制信息;
所述第二信息修改模块50,还用于在所述推送控制信息为推送开启信息时,将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
在一实施例中,所述跨***的信息同步装置还包括:
记录比较模块,用于生成对所述预设原始信息进行修改的当前修改记录,并将所述当前修改记录添加至预设信息修改记录表中;根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录;将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项;
所述第二信息修改模块50,还用于将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项。
本申请所述跨***的信息同步装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种跨***的信息同步方法,其中,所述跨***的信息同步方法包括以下步骤:
    在接收到信息修改指令时,根据所述信息修改指令确定待修改信息;
    将本地运行的预设***中的预设原始信息替换为所述待修改信息;
    获取待推送***列表,并读取所述待推送***列表中的***标识;
    根据所述***标识确定对应的第三方***;
    将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
  2. 如权利要求1所述的跨***的信息同步方法,其中,所述获取待推送***列表,并读取所述待推送***列表中的***标识,包括:
    获取预设同步配置表中的待推送***列表,并读取所述待推送***列表中的***标识以及与所述***标识对应的推送控制信息;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
    在所述推送控制信息为推送开启信息时,将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
  3. 如权利要求1所述的跨***的信息同步方法,其中,所述将本地运行的预设***中的预设原始信息替换为所述待修改信息之后,所述跨***的信息同步方法还包括以下步骤:
    生成对所述预设原始信息进行修改的当前修改记录,并将所述当前修改记录添加至预设信息修改记录表中;
    根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录;
    将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
    将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项。
  4. 如权利要求3所述的跨***的信息同步方法,其中,所述根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录,包括:
    根据所述待修改信息中的用户标识在所述预设信息修改记录表中查询对应的历史修改记录;
    所述将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项,包括:
    将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果;
    在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项。
  5. 如权利要求4所述的跨***的信息同步方法,其中,所述在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项之后,所述跨***的信息同步方法还包括以下步骤:
    将所述当前修改记录中非所述目标子项的子项作为待保持子项;
    对所述待修改信息中所述待保持子项所处的字段进行置空处理,并将置空处理后的待修改信息作为待同步信息;
    所述将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项,包括:
    将所述待同步信息封装为预设文本格式的字符串;
    将所述字符串发送至运行所述第三方***的第三方设备中,以使所述第三方设备读取所述字符串中的待修改子项,并将所述第三方***中的第三方原始信息替换为所述待修改子项。
  6. 如权利要求1所述的跨***的信息同步方法,其中,所述在接收到信息修改指令时,根据所述信息修改指令确定待修改信息之后,所述跨***的信息同步方法还包括以下步骤:
    将所述待修改信息添加至预设同步状态记录表中;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息之后,所述跨***的信息同步方法还包括:
    在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态;
    在所述预设同步状态记录表中查询与所述待修改信息对应的预设同步状态字段,并将所述信息同步状态写入所述预设同步状态字段中。
  7. 如权利要求6所述的跨***的信息同步方法,其中,所述在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态之后,所述跨***的信息同步方法还包括以下步骤:
    在所述信息同步状态为同步失败时,按照预设同步周期对所述第三方***中的第三方原始信息进行信息替换操作,并返回执行所述在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态的步骤,直至在所述信息同步状态为同步成功时,停止所述信息替换操作。
  8. 一种用户设备,其中,所述用户设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上执行的计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如下所述的跨***的信息同步方法的步骤:
    在接收到信息修改指令时,根据所述信息修改指令确定待修改信息;
    将本地运行的预设***中的预设原始信息替换为所述待修改信息;
    获取待推送***列表,并读取所述待推送***列表中的***标识;
    根据所述***标识确定对应的第三方***;
    将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
  9. 如权利要求8所述的用户设备,其中,所述获取待推送***列表,并读取所述待推送***列表中的***标识,包括:
    获取预设同步配置表中的待推送***列表,并读取所述待推送***列表中的***标识以及与所述***标识对应的推送控制信息;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
    在所述推送控制信息为推送开启信息时,将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
  10. 如权利要求8所述的用户设备,其中,所述将本地运行的预设***中的预设原始信息替换为所述待修改信息之后,所述处理器还用于执行以下步骤:
    生成对所述预设原始信息进行修改的当前修改记录,并将所述当前修改记录添加至预设信息修改记录表中;
    根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录;
    将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
    将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项。
  11. 如权利要求10所述的用户设备,其中,所述根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录,包括:
    根据所述待修改信息中的用户标识在所述预设信息修改记录表中查询对应的历史修改记录;
    所述将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项,包括:
    将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果;
    在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项。
  12. 如权利要求11所述的用户设备,其中,所述在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项之后,所述处理器还用于执行以下步骤:
    将所述当前修改记录中非所述目标子项的子项作为待保持子项;
    对所述待修改信息中所述待保持子项所处的字段进行置空处理,并将置空处理后的待修改信息作为待同步信息;
    所述将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项,包括:
    将所述待同步信息封装为预设文本格式的字符串;
    将所述字符串发送至运行所述第三方***的第三方设备中,以使所述第三方设备读取所述字符串中的待修改子项,并将所述第三方***中的第三方原始信息替换为所述待修改子项。
  13. 如权利要求8所述的用户设备,其中,所述在接收到信息修改指令时,根据所述信息修改指令确定待修改信息之后,所述处理器还用于执行以下步骤:
    将所述待修改信息添加至预设同步状态记录表中;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息之后,所述跨***的信息同步方法还包括:
    在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态;
    在所述预设同步状态记录表中查询与所述待修改信息对应的预设同步状态字段,并将所述信息同步状态写入所述预设同步状态字段中。
  14. 如权利要求13所述的用户设备,其中,所述在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态之后,所述处理器还用于执行以下步骤:
    在所述信息同步状态为同步失败时,按照预设同步周期对所述第三方***中的第三方原始信息进行信息替换操作,并返回执行所述在接收到所述第三方***反馈的同步进程信息时,根据所述同步进程信息确定对应的信息同步状态的步骤,直至在所述信息同步状态为同步成功时,停止所述信息替换操作。
  15. 一种存储介质,其中,所述存储介质上存储有并可被处理器执行的计算机可读指令,所述计算机可读指令被所述处理器执行时,实现如下所述的跨***的信息同步方法的步骤:
    在接收到信息修改指令时,根据所述信息修改指令确定待修改信息;
    将本地运行的预设***中的预设原始信息替换为所述待修改信息;
    获取待推送***列表,并读取所述待推送***列表中的***标识;
    根据所述***标识确定对应的第三方***;
    将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
  16. 如权利要求15所述的存储介质,其中,所述获取待推送***列表,并读取所述待推送***列表中的***标识,包括:
    获取预设同步配置表中的待推送***列表,并读取所述待推送***列表中的***标识以及与所述***标识对应的推送控制信息;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
    在所述推送控制信息为推送开启信息时,将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
  17. 如权利要求15所述的存储介质,其中,所述将本地运行的预设***中的预设原始信息替换为所述待修改信息之后,所述处理器还用于执行以下步骤:
    生成对所述预设原始信息进行修改的当前修改记录,并将所述当前修改记录添加至预设信息修改记录表中;
    根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录;
    将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项;
    所述将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息,包括:
    将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项。
  18. 如权利要求17所述的存储介质,其中,所述根据所述待修改信息在所述预设信息修改记录表中查询对应的历史修改记录,包括:
    根据所述待修改信息中的用户标识在所述预设信息修改记录表中查询对应的历史修改记录;
    所述将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果,并根据所述比较结果查询所述待修改信息中的待修改子项,包括:
    将所述当前修改记录与所述历史修改记录进行比较,以获得比较结果;
    在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项。
  19. 如权利要求18所述的存储介质,其中,所述在所述比较结果为所述当前修改记录与所述历史修改记录不同时,在所述当前修改记录的子项中确定与所述历史修改记录的子项不同的目标子项,并将所述目标子项作为待修改子项之后,所述处理器还用于执行以下步骤:
    将所述当前修改记录中非所述目标子项的子项作为待保持子项;
    对所述待修改信息中所述待保持子项所处的字段进行置空处理,并将置空处理后的待修改信息作为待同步信息;
    所述将所述待修改子项发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改子项,包括:
    将所述待同步信息封装为预设文本格式的字符串;
    将所述字符串发送至运行所述第三方***的第三方设备中,以使所述第三方设备读取所述字符串中的待修改子项,并将所述第三方***中的第三方原始信息替换为所述待修改子项。
  20. 一种跨***的信息同步装置,其中,所述跨***的信息同步装置包括:
    指令接收模块,用于在接收到信息修改指令时,根据所述信息修改指令确定待修改信息;
    第一信息修改模块,用于将本地运行的预设***中的预设原始信息替换为所述待修改信息;
    标识读取模块,用于获取待推送***列表,并读取所述待推送***列表中的***标识;
    ***确定模块,用于根据所述***标识确定对应的第三方***;
    第二信息修改模块,用于将所述待修改信息发送至运行所述第三方***的第三方设备中,以使所述第三方设备将所述第三方***中的第三方原始信息替换为所述待修改信息。
PCT/CN2019/116719 2019-07-22 2019-11-08 跨***的信息同步方法、用户设备、存储介质及装置 WO2021012487A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910665235.5 2019-07-22
CN201910665235.5A CN110502574B (zh) 2019-07-22 2019-07-22 跨***的信息同步方法、用户设备、存储介质及装置

Publications (1)

Publication Number Publication Date
WO2021012487A1 true WO2021012487A1 (zh) 2021-01-28

Family

ID=68586276

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/116719 WO2021012487A1 (zh) 2019-07-22 2019-11-08 跨***的信息同步方法、用户设备、存储介质及装置

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222534A (zh) * 2021-04-28 2021-08-06 广州民航信息技术有限公司 离港航班状态的自动修改方法及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111326223B (zh) * 2020-01-21 2023-09-12 上海联影医疗科技股份有限公司 信息维护方法、装置、***和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882173A (zh) * 2010-06-02 2010-11-10 长安大学 一种在线协同设计用被引用拓扑对象编码/命名方法
CN104809551A (zh) * 2015-04-03 2015-07-29 中国电子科技集团公司第二十八研究所 一种基于移动Agent客户端的跨***工作流协同方法
CN105262831A (zh) * 2015-10-30 2016-01-20 北京奇艺世纪科技有限公司 一种存储***间同步数据的方法、装置及同步***
CN108664625A (zh) * 2018-05-14 2018-10-16 链家网(北京)科技有限公司 一种跨***数据同步方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108870666B (zh) * 2018-06-12 2020-08-04 广东美的暖通设备有限公司 空调管理方法、***及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882173A (zh) * 2010-06-02 2010-11-10 长安大学 一种在线协同设计用被引用拓扑对象编码/命名方法
CN104809551A (zh) * 2015-04-03 2015-07-29 中国电子科技集团公司第二十八研究所 一种基于移动Agent客户端的跨***工作流协同方法
CN105262831A (zh) * 2015-10-30 2016-01-20 北京奇艺世纪科技有限公司 一种存储***间同步数据的方法、装置及同步***
CN108664625A (zh) * 2018-05-14 2018-10-16 链家网(北京)科技有限公司 一种跨***数据同步方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222534A (zh) * 2021-04-28 2021-08-06 广州民航信息技术有限公司 离港航班状态的自动修改方法及装置

Also Published As

Publication number Publication date
CN110502574A (zh) 2019-11-26
CN110502574B (zh) 2023-04-11

Similar Documents

Publication Publication Date Title
WO2016101441A1 (zh) 一种进行文件同步的方法及***
WO2020224246A1 (zh) 基于区块链的数据管理方法、装置、设备和存储介质
WO2018214320A1 (zh) 数据库业务逻辑监控方法、***、及存储介质
WO2013183967A1 (en) Method and apparatus for handover in mobile content centric network
WO2018036167A1 (zh) 测试任务执行机分配方法、装置、服务器和存储介质
WO2018233352A1 (zh) 数据传输方法、装置、终端以及计算机可读存储介质
WO2018076865A1 (zh) 数据分享方法、装置、存储介质及电子设备
EP3304942A1 (en) Method and apparatus for sharing application
WO2012055298A1 (zh) 客户端的离线工作方法和离线工作客户端
WO2011129635A2 (ko) 이동통신 시스템에서 응용 서비스를 제공하는 방법 및 장치
WO2020237859A1 (zh) 基于nbd设备的数据迁移方法、装置、设备及存储介质
WO2016200018A1 (en) Method and apparatus for sharing application
WO2012124985A2 (en) Method and apparatus for synchronizing personal inforamtion
WO2021012487A1 (zh) 跨***的信息同步方法、用户设备、存储介质及装置
WO2021012481A1 (zh) ***性能监控方法、装置、设备及存储介质
WO2020199599A1 (zh) 工作队列的信息展示方法、装置、计算机设备和存储介质
WO2018201774A1 (zh) 数据审批方法、装置、设备和计算机可读存储介质
WO2018161601A1 (zh) 屏幕背光调节方法、装置、存储介质及电子设备
WO2014044130A1 (zh) 业务巡检方法和***、计算机存储介质
WO2020233060A1 (zh) 事件通知方法、事件通知服务器、存储介质及装置
WO2016090775A1 (zh) 同步操作短信数据的方法及***
WO2015062052A1 (zh) 一种m2m数据的查询、调用方法、查询、调用设备及***
WO2020133766A1 (zh) 视频同步播放方法、设备及计算机可读存储介质
WO2021125502A1 (ko) 컨테이너 기반의 클라우드 서비스 제공 시스템 및 그 방법
WO2017185647A1 (zh) 基于SoftSIM的IMSI号码管理及呼叫方法、服务器及网络侧设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19938860

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19938860

Country of ref document: EP

Kind code of ref document: A1