The present invention relates to the technical field of data docking, and provides a method for the docking of new and old systems, including the following steps: S1, in the old system, by testing the changes of the man-machine interface and then comparing the related fields of the database, the data items of the old system are located in the old system, which can be used in the old system missing the document or the source code. An effective location of the data item of the old system's foreign movement; S2, when the confirmed data item is changed, the trigger triggers and records the specific activity state events of the old system; S3, records the moving data of the data item, and records the current system time of the acquired motion as the current timestamp; S4, the number of different movements will be collected. S5, in the new system, the output data in the old system are imported into the new system in a time sequence. The output of the new system will cover the other moving data in front of the new system, in order to achieve the effect of the continuous synchronization of the latest data.
【技术实现步骤摘要】
一种新旧系统异动数据对接的方法
本专利技术涉及数据对接
,具体为一种新旧系统异动数据对接的方法。
技术介绍
在当前的市场上大多数的应用系统中,都会存在各种不同的老旧系统。随着应用外部环境的变动,都会出现需要由旧系统向新系统提供特定的数据接口来达到新系统对旧系统的数据进管理的特定应用场景。由此引发了如何在旧系统源代码没有,数据文档不全的情况下解决新系统对旧系统特定数据异动监管的问题。即如何定位特定异动数据的问题,如何触发记录特定数据的异动状态,如何提供按时间顺序生成的异动信息,如何以合理的方式将信息暴露给新的系统,就是目前所面临的问题。
技术实现思路
本专利技术的目的在于提供一种新旧系统异动数据对接的方法,至少可以解决现有技术中的部分缺陷。为实现上述目的,本专利技术实施例提供如下技术方案:一种新旧系统异动数据对接的方法,S1,在旧系统中,通过测试修改人机界面再比对数据库相关字段的变化来定位旧系统异动的数据项,可在缺失了文档或源代码的旧系统中有效定位旧系统异动的数据项;S2,当确认的数据项发生异动时,触发器触发并记录旧系统的特定异动状态事件;S3,将数据项的异动数据记录下来,且将获取的当前异动的系统时间记录为当前的时间戳;S4,将采集到的异动数据按一定的格式有顺序地输出;S5,在新系统中,将旧系统中的输出的数据按时间的先后顺序导入到新系统中,新系统的后面输出的异动数据覆盖前面的异动数据,以达到不断同步最新的异动数据的效果。进一步,所述S1步骤中,在定位旧系统异动的数据项时,需通过预估与最终字段的变化是否相符来反复验证并最终定位异动的数据项。进一步,所述S2步 ...
【技术保护点】
1.一种新旧系统异动数据对接的方法,其特征在于,包括如下步骤:S1,在旧系统中,通过测试修改人机界面再比对数据库相关字段的变化来定位旧系统异动的数据项,可在缺失了文档或源代码的旧系统中有效定位旧系统异动的数据项;S2,当确认的数据项发生异动时,触发器触发并记录旧系统的特定异动状态事件;S3,将数据项的异动数据记录下来,且将获取的当前异动的系统时间记录为当前的时间戳;S4,将采集到的异动数据按一定的格式有顺序地输出;S5,在新系统中,将旧系统中的输出的数据按时间的先后顺序导入到新系统中,新系统的后面输出的异动数据覆盖前面的异动数据,以达到不断同步最新的异动数据的效果。
【技术特征摘要】
1.一种新旧系统异动数据对接的方法,其特征在于,包括如下步骤:S1,在旧系统中,通过测试修改人机界面再比对数据库相关字段的变化来定位旧系统异动的数据项,可在缺失了文档或源代码的旧系统中有效定位旧系统异动的数据项;S2,当确认的数据项发生异动时,触发器触发并记录旧系统的特定异动状态事件;S3,将数据项的异动数据记录下来,且将获取的当前异动的系统时间记录为当前的时间戳;S4,将采集到的异动数据按一定的格式有顺序地输出;S5,在新系统中,将旧系统中的输出的数据按时间的先后顺序导入到新系统中,新系统的后面输出的异动数据覆盖前面的异动数据,以达到不断同步最新的异动数据的效果。2.如权利要求1...
【专利技术属性】
技术研发人员:王荣,
申请(专利权)人:武汉钢铁工程技术集团通信有限责任公司,
类型:发明
国别省市:湖北,42
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。