The invention discloses an account synchronization method between a directory system and a non directory system, which is used for realizing the account synchronization of a directory system and a non directory system in the same integrated platform. In this method, the consistency of the organization data in the process of account synchronization is realized by establishing the structural relationship between the directory system and the non directory system. The present invention through the relationship between the design of index system and non system directory organization corresponding to the table, the inconsistent data directory system and non directory system, to ensure the accuracy of the system data to a great extent, to avoid the system such as tight coupling, poor security, system upgrades difficult problem of maintenance, implementation of the directory solve directory system account organization data consistency, and provides data to eliminate differences in auxiliary function.
【技术实现步骤摘要】
本专利技术涉及资源访问控制领域,具体涉及一种目录系统与非目录系统间的数据同步方法。
技术介绍
随着企业信息化的发展,越来越多的公司建立了很多企业应用程序,但是多个系统之间无法将一些公用的数据进行共享,从而造成了每上一个系统公用数据都要更新,也增加了运维的工作量。而企业目录则是一个新生的产物,补缺了这个空白。目前运用较多的是将公司的组织机构、用户的账号和密码等全部放在目录服务器上,而其他生产应用程序只接入目录服务器的LDAP即可。运维人员只需维护目录服务器,可达到多套系统的组织机构和用户信息同时更新的目的。现行的目录系统与非目录系统的集成依然存在部分问题。以生产管理系统为例,现行的目录系统同步账号采用的是数据库直连模式,直接将目录系统的账号写入生产管理系统数据库中的账号表中,具体操作是:在该表中建立一个触发器,作用是将目录同步的账号写入账号同步临时表,账号数据写入临时表后,调用平台服务将账号数据写入应用服务器缓存,再写入账号正式表中。由此带来了如下问题:由于通常目录系统组织机构与生产管理系统的组织机构不一致,所以目录系统将账号同步到生产管理系统后出现账号所属的隶属部门为其所在公司的根节点或隶属部门为空的情况。这就造成了生产管理系统仍采用线外沟通方式,完全依赖于人工维护从目录系统同步过来账号映射的组织机构。
技术实现思路
本专利技术提供一种目录系统与非目录系统间的数据同步方法,能够实现目录系统和非目录系统间账号组织机构数据一致性的解决,且数据准确性高,系统安全性好,便于系统维护和升级。为了实现上述目的,本专利技术采用如下的技术方案:一种目录系统与非目录系统间的账 ...
【技术保护点】
一种目录系统与非目录系统间的账号同步方法,用于实现同一集成平台中目录系统与非目录系统的账号同步,其特征在于,该方法通过建立目录系统与非目录系统的结构关系对应表实现账号同步过程中的组织机构数据一致性。
【技术特征摘要】
1.一种目录系统与非目录系统间的账号同步方法,用于实现同一集成平台中目录系统与非目录系统的账号同步,其特征在于,该方法通过建立目录系统与非目录系统的结构关系对应表实现账号同步过程中的组织机构数据一致性。2.根据权利要求1所述的一种目录系统与非目录系统间的数据同步方法,其特征在于,所述账号同步方法具体包括如下步骤:步骤A、将目录系统的账号写入非目录系统数据库中的用户表并在该用户表中建立触发器;步骤B、在非目录系统数据库中建立关系对应表,整理目录系统与非目录系统的结构关系,并将结构...
【专利技术属性】
技术研发人员:刘军,吴斌,王萍,方圆,张禾良,胡聪,郭骏,程周育,谢科军,顾昊旻,宋晓波,罗飞,
申请(专利权)人:国家电网公司,国网安徽省电力公司信息通信分公司,安徽继远软件有限公司,
类型:发明
国别省市:北京;11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。