CN107666485A - 用于微信会员通的账户信息采集方法 - Google Patents

用于微信会员通的账户信息采集方法 Download PDF

Info

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
Application number
CN201710855016.4A
Other languages
English (en)
Inventor
尹晓峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
(shanghai) Marketing Consulting Co Ltd
Original Assignee
(shanghai) Marketing Consulting Co Ltd
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 (shanghai) Marketing Consulting Co Ltd filed Critical (shanghai) Marketing Consulting Co Ltd
Priority to CN201710855016.4A priority Critical patent/CN107666485A/zh
Publication of CN107666485A publication Critical patent/CN107666485A/zh
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06037Record 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0872Generation 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3297Cryptographic 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock 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所述的一种用于微信会员通的账户信息采集方法,其特征在于,所述采集终端与验证服务器之间间断性同步时间。
CN201710855016.4A 2017-09-20 2017-09-20 用于微信会员通的账户信息采集方法 Pending CN107666485A (zh)

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)

* Cited by examiner, † Cited by third party
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 阿里巴巴集团控股有限公司 一种二维码登录方法和设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
RU2458481C2 (ru) Способ и система двусторонней идентификации объекта на основе доверенной третьей стороны
CN108881310B (zh) 一种注册系统及其工作方法
CN107911224B (zh) 嵌入式通用集成电路卡的续证方法和系统
US8732464B2 (en) Bidirectional entity authentication method with introduction of online third party
CN101174952B (zh) Iptv业务自动认证方法及装置
CN103514410A (zh) 电子合同的可信保全与证据提取系统及方法
CN108764848B (zh) 一种电子合同的签署方法及系统
CN110930147B (zh) 离线支付方法、装置、电子设备及计算机可读存储介质
CN103067402A (zh) 数字证书的生成方法和系统
CN106936790A (zh) 基于数字证书实现客户端和服务器端进行双向认证的方法
CN106713279A (zh) 一种视频终端身份认证系统
CN103634328A (zh) 用于网络平台认证服务器的认证方法、装置和系统
CN112491829B (zh) 基于5g核心网和区块链的mec平台身份认证方法及装置
CN109714370A (zh) 一种基于http协议端云安全通信的实现方法
CN114553444B (zh) 身份认证方法、装置及存储介质
CN111464306B (zh) 认证处理方法、装置、存储介质及电子装置
CN108769043A (zh) 可信应用认证系统和可信应用认证方法
CN105792178A (zh) 生成和获取用于删除isd-p域的授权的方法及装置
CN107666485A (zh) 用于微信会员通的账户信息采集方法
CN103514651A (zh) 一种基于脸部识别的互联网彩票安全交易和兑奖系统及方法
CN109412811B (zh) 下发认证证书及获取认证证书的方法
CN109302392B (zh) 基于无线信道互易性和设备物理指纹的设备身份验证方法
CN102769606B (zh) 一种基于基因证书的网络数字身份认证方法
CN114189335A (zh) 数字证书签发及更新方法、ca系统和存储介质
CN106534214A (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