CN107666485A - 用于微信会员通的账户信息采集方法 - Google Patents
用于微信会员通的账户信息采集方法 Download PDFInfo
- Publication number
- CN107666485A CN107666485A CN201710855016.4A CN201710855016A CN107666485A CN 107666485 A CN107666485 A CN 107666485A CN 201710855016 A CN201710855016 A CN 201710855016A CN 107666485 A CN107666485 A CN 107666485A
- Authority
- CN
- China
- Prior art keywords
- time
- character string
- information collection
- collection method
- account information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000000605 extraction Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 abstract description 4
- 238000013475 authorization Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0872—Generation of secret information including derivation or calculation of cryptographic keys or passwords using geo-location information, e.g. location data, time, relative position or proximity to other entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3297—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Toxicology (AREA)
- General Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Collating Specific Patterns (AREA)
Abstract
本发明涉及一种用于微信会员通的账户信息采集方法,包括:步骤S1:采集终端扫描用户终端MT上显示的二维码图案,并记录扫描的时间戳信息;步骤S2:采集终端根据二维码图案解析出用户识别码和验证字符串;步骤S3:采集终端将用户识别码和验证字符串发送至验证服务器;步骤S4:验证服务器根据验证字符串和时间戳信息验证用户对该二维码图案授权的合法性,若验证为合法,则根据用户识别码得到对应的会员账户发送给采集终端。与现有技术相比,本发明通过在二维码图案中添加验证字符串,可以在仅有采集终端和验证服务器之间存在数据连接的情况下,提供安全验证。
Description
技术领域
本发明涉及一种账户采集技术,尤其是涉及一种用于微信会员通的账户信息采集方法。
背景技术
随着互联网技术的演进,目前二维码被发挥了巨大的作用,无论是用户终端作为二维码图案的展示方或者扫描方。
然而目前的二维码验证技术普遍需要两个终端同时联网,例如扫码登录技术,无论是目标登录终端还是授权端都需要连接至验证服务器,验证服务器会向目标登录终端发送二维码图案数据以便其显示,同时验证服务器也会接受由授权端发送的请求数据。
虽然也有提供一些单侧通信的,但这种通信大多应用于一些用户端(利益支出方)作为扫描方的场景下,因为这种方式下被扫描方很难对扫描方的合法性进行验证,被扫描方只能无差别地对待任何扫描他的终端。
发明内容
本发明的目的就是为了克服上述现有技术存在的缺陷而提供一种用于微信会员通的账户信息采集方法。
本发明的目的可以通过以下技术方案来实现:
一种用于微信会员通的账户信息采集方法,包括:
步骤S1:采集终端扫描用户终端MT上显示的二维码图案,并记录扫描的时间戳信息;
步骤S2:采集终端根据二维码图案解析出用户识别码和验证字符串;
步骤S3:采集终端将用户识别码和验证字符串发送至验证服务器;
步骤S4:验证服务器根据验证字符串和时间戳信息验证用户对该二维码图案授权的合法性,若验证为合法,则根据用户识别码得到对应的会员账户发送给采集终端。
所述验证字符串根据基于生成时间的函数生成,具体包括:
步骤S11:根据当前时间,基于第一预设函数生成时间参数;
步骤S12:根据时间参数,基于第二预设函数生成验证字符串。
所述第一预设函数满足:将时间按照长度等分为多个时间槽,各时间槽内的时间参数相同。
所述第二预设函数满足:各时间参数和验证字符串之间的关系为一一对应。
所述步骤S3具体包括:
步骤S31:验证服务器从时间戳信息中提取时间;
步骤S32:得到该时间所属的时间槽,以及相邻的多个时间槽;
步骤S33;判断接收到的验证字符串是否属于得到的任一时间槽所对应的验证字符串,若为是,则验证为合法。
所述步骤S32具体为:得到该时间所属的时间槽,以及相邻的两个时间槽。
所述时间槽的长度为60秒。
所述采集终端与验证服务器之间间断性同步时间。
与现有技术相比,本发明具有以下有益效果:
1)通过在二维码图案中添加验证字符串,可以在仅有采集终端和验证服务器之间存在数据连接的情况下,提供安全验证。
2)将时间按照长度等分为多个时间槽,各时间槽内的时间参数相同,可以实现二维码图案在一定的时间内稳定。
3)验证服务器提供多个时间槽进行对验证字符串的验证,避免因用户终端时间信息存在偏差导致的验证失败。
4)时间槽的长度为60秒,避免因时间过短导致的二维码图案稳定性差,同时将降低图案泄露后被冒用的风险。
附图说明
图1为本发明方法的主要步骤流程示意图。
具体实施方式
下面结合附图和具体实施例对本发明进行详细说明。本实施例以本发明技术方案为前提进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。
一种用于微信会员通的账户信息采集方法,通过在二维码图案中添加验证字符串,可以在仅有采集终端和验证服务器之间存在数据连接的情况下,提供安全验证。
如图1所示,包括:
步骤S1:采集终端扫描用户终端上显示的二维码图案,并记录扫描的时间戳信息;
验证字符串根据基于生成时间的函数生成,具体包括:
步骤S11:根据当前时间,基于第一预设函数生成时间参数,第一预设函数满足:将时间按照长度等分为多个时间槽,各时间槽内的时间参数相同,其中时间槽的长度优选为60秒;
步骤S12:根据时间参数,基于第二预设函数生成验证字符串,第二预设函数满足:各时间参数和验证字符串之间的关系为一一对应。
步骤S2:采集终端根据二维码图案解析出用户识别码和验证字符串;
步骤S3:采集终端将用户识别码和验证字符串发送至验证服务器,具体包括:
步骤S31:验证服务器从时间戳信息中提取时间;
步骤S32:得到该时间所属的时间槽,以及相邻的两个时间槽,此处的相邻两个,为当前的时间槽前后各一个时间槽;
步骤S33;判断接收到的验证字符串是否属于得到的任一时间槽所对应的验证字符串,若为是,则验证为合法。
步骤S4:验证服务器根据验证字符串和时间戳信息验证用户对该二维码图案授权的合法性,若验证为合法,则根据用户识别码得到对应的会员账户发送给采集终端。
为了确保时间的准确性,采集终端与验证服务器之间间断性同步时间。而用户终端在能够连接到验证服务器时,也会间断性进行时间同步。
Claims (8)
1.一种用于微信会员通的账户信息采集方法,其特征在于,包括:
步骤S1:采集终端扫描用户终端上显示的二维码图案,并记录扫描的时间戳信息;
步骤S2:采集终端根据二维码图案解析出用户识别码和验证字符串;
步骤S3:采集终端将用户识别码和验证字符串发送至验证服务器;
步骤S4:验证服务器根据验证字符串和时间戳信息验证用户对该二维码图案授权的合法性,若验证为合法,则根据用户识别码得到对应的会员账户发送给采集终端。
2.根据权利要求1所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述验证字符串根据基于生成时间的函数生成,具体包括:
步骤S11:根据当前时间,基于第一预设函数生成时间参数;
步骤S12:根据时间参数,基于第二预设函数生成验证字符串。
3.根据权利要求2所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述第一预设函数满足:将时间按照长度等分为多个时间槽,各时间槽内的时间参数相同。
4.根据权利要求2所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述第二预设函数满足:各时间参数和验证字符串之间的关系为一一对应。
5.根据权利要求3所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述步骤S3具体包括:
步骤S31:验证服务器从时间戳信息中提取时间;
步骤S32:得到该时间所属的时间槽,以及相邻的多个时间槽;
步骤S33;判断接收到的验证字符串是否属于得到的任一时间槽所对应的验证字符串,若为是,则验证为合法。
6.根据权利要求5所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述步骤S32具体为:得到该时间所属的时间槽,以及相邻的两个时间槽。
7.根据权利要求3所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述时间槽的长度为60秒。
8.根据权利要求1所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述采集终端与验证服务器之间间断性同步时间。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710855016.4A CN107666485A (zh) | 2017-09-20 | 2017-09-20 | 用于微信会员通的账户信息采集方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710855016.4A CN107666485A (zh) | 2017-09-20 | 2017-09-20 | 用于微信会员通的账户信息采集方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107666485A true CN107666485A (zh) | 2018-02-06 |
Family
ID=61097326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710855016.4A Pending CN107666485A (zh) | 2017-09-20 | 2017-09-20 | 用于微信会员通的账户信息采集方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107666485A (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100070759A1 (en) * | 2008-09-17 | 2010-03-18 | Gmv Soluciones Globales Internet, S.A. | Method and system for authenticating a user by means of a mobile device |
CN102760242A (zh) * | 2012-05-16 | 2012-10-31 | 孟智平 | 一种三维码的编解码和使用方法 |
CN104599408A (zh) * | 2014-12-29 | 2015-05-06 | 通邮信息技术有限公司 | 基于动态二维码的第三方账户自动柜员机取款方法及系统 |
CN105227536A (zh) * | 2014-07-03 | 2016-01-06 | 阿里巴巴集团控股有限公司 | 一种二维码登录方法和设备 |
-
2017
- 2017-09-20 CN CN201710855016.4A patent/CN107666485A/zh active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100070759A1 (en) * | 2008-09-17 | 2010-03-18 | Gmv Soluciones Globales Internet, S.A. | Method and system for authenticating a user by means of a mobile device |
CN102760242A (zh) * | 2012-05-16 | 2012-10-31 | 孟智平 | 一种三维码的编解码和使用方法 |
CN105227536A (zh) * | 2014-07-03 | 2016-01-06 | 阿里巴巴集团控股有限公司 | 一种二维码登录方法和设备 |
CN104599408A (zh) * | 2014-12-29 | 2015-05-06 | 通邮信息技术有限公司 | 基于动态二维码的第三方账户自动柜员机取款方法及系统 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103107996B (zh) | 数字证书在线下载方法及系统、数字证书发放平台 | |
RU2458481C2 (ru) | Способ и система двусторонней идентификации объекта на основе доверенной третьей стороны | |
US8732464B2 (en) | Bidirectional entity authentication method with introduction of online third party | |
US8719915B2 (en) | Method for improving network application security and the system thereof | |
CN107911224B (zh) | 嵌入式通用集成电路卡的续证方法和系统 | |
CN101174952B (zh) | Iptv业务自动认证方法及装置 | |
US8763100B2 (en) | Entity authentication method with introduction of online third party | |
CN103067402A (zh) | 数字证书的生成方法和系统 | |
CN105743650B (zh) | 移动办公身份认证方法、平台和系统以及移动终端 | |
CN106713279A (zh) | 一种视频终端身份认证系统 | |
CN103634328A (zh) | 用于网络平台认证服务器的认证方法、装置和系统 | |
CN109714370A (zh) | 一种基于http协议端云安全通信的实现方法 | |
CN101588364A (zh) | 签名方法、设备及系统 | |
CN102904893A (zh) | 验证装置和验证方法 | |
CN103514564A (zh) | 一种基于签名识别的互联网彩票安全交易和兑奖系统及方法 | |
CN107295000A (zh) | 一种基于证书的通信方法及系统 | |
CN114553444A (zh) | 身份认证方法、装置及存储介质 | |
CN103716762A (zh) | 一种互联网计费系统以及其实现安全计费的方法 | |
CN107666485A (zh) | 用于微信会员通的账户信息采集方法 | |
CN103514651A (zh) | 一种基于脸部识别的互联网彩票安全交易和兑奖系统及方法 | |
CN109412811B (zh) | 下发认证证书及获取认证证书的方法 | |
CN104796263A (zh) | 用户身份验证方法和装置 | |
CN105335637A (zh) | 认证方法、认证装置、认证系统 | |
CN112702169B (zh) | 一种可视化数字证书申请方法 | |
CN107547466A (zh) | 一种简单网络协议认证方法及装置 |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 200025 building 3F3102, room 29, building 3106, Jianguo Road, Shanghai, Huangpu District Applicant after: Zhierxing (Shanghai) Enterprise Development Co., Ltd Address before: 200025 building 3F3102, room 29, building 3106, Jianguo Road, Shanghai, Huangpu District Applicant before: ZHIERXING (SHANGHAI) MARKETING CONSULTING Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180206 |