The invention discloses a cross-device and cross-platform secure login method, which comprises a password tunnel module and an automatic login module, wherein the password tunnel module is used to establish communication between a computer and a mobile phone through WiFi, and the encrypted communication information prevents the encrypted information from being stolen; and the automatic login module is used to establish an automatic login module. Block is used for the computer side to receive the login operation instructions, the computer side to the mobile phone to send a login request, the mobile phone will send the corresponding user name and password to the computer, the computer side to achieve automatic login. The invention adopts the Socket technology, establishes the communication between the computer and the mobile phone through WiFi, and the communication information can not be stolen after encryption. As long as the Android mobile phone is carried, the security login of the cross-device and cross-platform can be carried out at any time and anywhere, which is simple, convenient and practical. The invention realizes the management of the password of the computer-end account and can be connected. The mobile phone automatically registers on the computer terminal; the invention has high universality and high application prospect.
【技术实现步骤摘要】
一种跨设备、跨平台安全登录方法
本专利技术涉及信息安全
,具体为一种跨设备、跨平台安全登录方法。
技术介绍
如今,根据德国波茨坦大学哈索·普拉特纳研究院最新研究报告,“123456”依然是使用最广的密码,换言之也可以认为是最糟糕的密码。科研人员收集和整理已经在网络上曝光的密码,目前共统计收集215,185,959个,其中其中2015年参考密码数量超过3500万个。通过大数据显示至少有10%的密码使用“123456”,随后是“123456789”和“12345678”,占比分别为3.5%和1.9%。密码“password”和“qwerty”位居前五,占比分别为1.85%和0.95%。在《大数据分析三百万样本中的弱密码规律》报告中,多次提出“记忆成本”这个词,记忆成本过大是出现如此多弱密码的最根本原因。所以矛盾就在于:安全=麻烦事,省事=不安全=更麻烦的事。为了解决上述问题,许多密码保管软件也就随之产生,例如KeePass、LastPass、1Password等。这些密码管理软件的数据库有两种存储方式,有的采取在网络服务器上保存用户密码库的方法(例如LastPass等),有的则采取在本地端保存用户密码库的方法(例如KeePass、1Password等)。针对密钥数据库保存在网络服务器上的密码管理软件,很多人都担心其安全性,一旦服务器被攻击,则所有用户的密码经面临泄露的风险。2011年5月4日左右,LastPass在其博客发出了安全通告,通知5月3日在LastPass内部网络中发现了可疑的网络活动,怀疑可能有部分加密数据泄露。LastPass迅速锁定了所有 ...
【技术保护点】
1.一种跨设备、跨平台安全登录方法,其特征在于,包括“口令隧道”模块和自动登录模块两部分;其中,“口令隧道”模块用于通过WiFi建立电脑端和手机的通信,且加密通信的信息使所述加密的信息无法被窃取;自动登录模块用于电脑端收到登录操作指令时,电脑端向手机发送登录请求,手机将相应的用户名和密码发送给电脑,实现电脑端的自动登录。
【技术特征摘要】
1.一种跨设备、跨平台安全登录方法,其特征在于,包括“口令隧道”模块和自动登录模块两部分;其中,“口令隧道”模块用于通过WiFi建立电脑端和手机的通信,且加密通信的信息使所述加密的信息无法被窃取;自动登录模块用于电脑端收到登录操作指令时,电脑端向手机发送登录请求,手机将相应的用户名和密码发送给电脑,实现电脑端的自动登录。2.根据权利要求1所述的一种跨设备、跨平台安全登录方法,其特征在于,“口令隧道”模块建立的电脑端与手机的通信是通过构建C/S结构实现的,由电脑端作为服务端,手机作为客户端,形成一个小型的网络。3.根据权利要求1所述的一种跨设备、跨平台安全登录方法,其特征在于,手机通过创建客户端线程来实现与电脑端通信,在电脑端上的服务端开启时获得主机IP和进程端口号,利用socket建立与电脑端的连接。4.根据权利要求1所述的一种跨设备、跨平台安全登录方法,其特征在于,电脑端采用C#语言实现了服务端的搭建,手机端采用Java语言实现了客户端的搭建。5.根据权利要求1所述的一种跨设备、跨平台安全登录方法,其特征在于,“口令隧道”模块工作的具体步骤如下:S51、定义Start()函数开启服务,通过Socket类的构造函数Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp)创建一个服务端socket描述符,然后通过Socket类中的Bind(localEndPoint)函数把IP地址和端口号赋给socket,接着调用Socket类中的Listen(1)函数监听这个socket,实时监听是否有服务端发来的请求;S52、创建线程serverThread=newThread(newThreadStart(ReceiveAccept))并开启该...
【专利技术属性】
技术研发人员:宋军,王力哲,杨帆,马钊,高坤,徐衡,胡雨涛,
申请(专利权)人:中国地质大学武汉,
类型:发明
国别省市:湖北,42
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。