CN107480308A - Barcode scanning login method based on wechat public number band ginseng Quick Response Code - Google Patents
Barcode scanning login method based on wechat public number band ginseng Quick Response Code Download PDFInfo
- Publication number
- CN107480308A CN107480308A CN201710883335.6A CN201710883335A CN107480308A CN 107480308 A CN107480308 A CN 107480308A CN 201710883335 A CN201710883335 A CN 201710883335A CN 107480308 A CN107480308 A CN 107480308A
- Authority
- CN
- China
- Prior art keywords
- barcode scanning
- response code
- quick response
- public number
- user
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9554—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of barcode scanning login method based on wechat public number band ginseng Quick Response Code, comprise the following steps:1st, the application in weak interactive terminal is established socket with server end and is connected;2nd, server generates unique socketId and returns to terminal by communication port;3rd, terminal obtains socketId, and obtains the unique deviceId of equipment, and band ginseng Quick Response Code is asked to server end;4th, server end is by socketId, the scene Id of deviceId and Quick Response Code bind and be stored in database or caching in, and return to band ginseng Quick Response Code to terminal;5th, user uses wechat barcode scanning;6th, server end obtains user's barcode scanning event argument of wechat public number feedback, senceId is obtained from barcode scanning event argument, and the socketId bound according to senceId, deviceId is to the terminal message that logins successfully of feedback and redirects parameter, while the user openid in barcode scanning event argument is to user's push operation prompt message.Quick registration method is realized, guiding user carries out complex operations on the mobile devices such as mobile phone, while realizes the automatic concern to public number.
Description
Technical field
The present invention relates to barcode scanning login techniques field, and in particular to a kind of barcode scanning based on wechat public number band ginseng Quick Response Code
Login method.
Background technology
Wechat OAuth2.0 authorizes login to allow wechat user to log in third-party application or website using wechat identity security,
After wechat user authorizes login to access wechat OAuth2.0 third-party application, the interface that third party can get user is adjusted
With voucher (access_token), wechat open platform mandate relational interface can be carried out by access_token and called, from
And the functions such as wechat user barcode scanning login can be realized;
In recent years, with the development of network and the popularization of wechat, many websites all access wechat OAuth2.0 and authorize login
Function, reduce user and log in the complexity for inputting user name password, improve Consumer's Experience.This login mode is only to reach
The purpose of quick login has been arrived, but could not simultaneously improve the number of users of third-party application, and could not solve some weak interactions eventually
End, such as the problem of intelligent television has logged in even if mandate can not also carry out complex operations.
The content of the invention
Instant invention overcomes the deficiencies in the prior art, there is provided a kind of barcode scanning based on wechat public number band ginseng Quick Response Code logs in
Method.Complex operations are directed to the operation of wechat public number, and the method that the user that can improve wechat public number pays close attention to number.
To solve above-mentioned technical problem, the present invention uses following technical scheme:
A kind of barcode scanning login method based on wechat public number band ginseng Quick Response Code, described method comprise the following steps:
Application in step 1, weak interactive terminal is established socket with server end and is connected;
Step 2, server generate unique socketId and return to the weak interactive terminal by communication port;
Step 3, the weak interactive terminal obtain the socketId, and obtain the unique deviceId of equipment, to the clothes
The request of device end be engaged in ginseng Quick Response Code, parameter socketId, deviceId;
Step 4, the server end are by the socketId, and the scene senceId bindings of deviceId and Quick Response Code are simultaneously
It is stored in database or caching, and returns to band ginseng Quick Response Code to the weak interactive terminal;
Step 5, user use wechat barcode scanning;
Step 6, server end obtain user's barcode scanning event argument of wechat public number feedback, are obtained from barcode scanning event argument
SenceId is taken, and the socketId bound according to senceId, deviceId feed back what is logined successfully to the weak interactive terminal
Message and parameter is redirected, while the user openid in barcode scanning event argument is to user's push operation prompt message.
Further technical scheme is further comprising the steps of:The weak interactive terminal is receiving disappearing of logining successfully
After breath, while acted accordingly according to the parameter that redirects of return.
Further technical scheme is further comprising the steps of:Server end pushes different according to barcode scanning parameter to user
Operation information.
Further technical scheme is that described step 5 is further comprising the steps of:If user did not paid close attention to the wechat public
Number, then public number is paid close attention to automatically;If user had focused on the wechat public number, automatically into session.
Further technical scheme is that the scene senceId of Quick Response Code in described step 4 passes through the Tengxun wechat public
Number provide interface obtain.
Compared with prior art, one of beneficial effect of the embodiment of the present invention is:Invention is based on wechat public number band ginseng two
The barcode scanning for tieing up code logs in, and is weak interactive terminal such as intelligent television etc., there is provided a kind of quick registration method, and user is guided in hand
Complex operations are carried out on the mobile devices such as machine, user can operation of the synchronous user in wechat public number after the login of terminal barcode scanning
As a result, while automatic concern of the user to public number can be realized.
Embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive
Feature and/or step beyond, can combine in any way.
Any feature disclosed in this specification (including any accessory claim, summary), unless specifically stated otherwise,
Replaced by other equivalent or with similar purpose alternative features.I.e., unless specifically stated otherwise, each feature is a series of
An example in equivalent or similar characteristics.
According to one embodiment of present invention, the present embodiment discloses a kind of barcode scanning based on wechat public number band ginseng Quick Response Code
Login method, specifically, barcode scanning login method of the present embodiment based on wechat public number band ginseng Quick Response Code comprises the following steps:
Step S1:Application in weak interactive terminal is established socket with server end and is connected.In the present embodiment, in weak interaction
Choosing has to connect network;
Specifically, weak interactive terminal is not limited only to intelligent television in the present embodiment.
Step S2:Server generates unique socketId and returns to weak interactive terminal by communication port.The present embodiment
In, the socketId of server generation must be unique.
Step S3:Weak interactive terminal obtains socketId, and obtains the unique id of equipment (deviceId), please to server end
Ask band ginseng Quick Response Code, parameter socketId, deviceId.In the present embodiment, the application in weak interactive terminal has to can
The unique id of equipment is obtained, for ensureing the uniqueness of equipment.
Step S4:SocketId, scene id (senceId) bindings of deviceId and Quick Response Code are simultaneously stored in by server end
In database or caching, and band ginseng Quick Response Code is returned to weak interactive terminal.In the present embodiment, the scene id of Quick Response Code passes through Tengxun
The interface that wechat public number provides obtains.Terminal allows for two-dimensional code display to user.
Step S5:User uses wechat barcode scanning.User must possess mobile device in the present embodiment, and be mounted with micro-
Letter, and mobile device connection network.
Step S6:Judge whether user pays close attention to wechat public number and service offer result by wechat public number official.
Step S7:Automatic concern public number.If step S6 judges that user does not pay close attention in the present embodiment, automatic concern the 3rd
Fang Weixin public numbers, this step are automatically performed by wechat software.
Step S8:Into session.If step S6 judges that user has focused in the present embodiment, automatically into wechat public number
Interface, this step is automatically performed by wechat software.
Step S9:Server end obtains user's barcode scanning event argument of wechat public number feedback, from barcode scanning event argument
SenceId is obtained, and the socketId bound according to senceId, deviceId disappear to what weak interactive terminal feedback logined successfully
Cease and redirect parameter, while the user id (openid) in barcode scanning event argument is to user's push operation prompt message.This
Server end must connect network in embodiment, for receiving user's wechat barcode scanning event.Specifically, server end is according to barcode scanning
Parameter can push different operation informations to user.
Further, in the present embodiment weak interactive terminal after the message logined successfully is received while can be according to return
Redirect parameter and carry out different actions.
A kind of quick registration method is present embodiments provided, and guides user to carry out complicated behaviour on the mobile devices such as mobile phone
Make, user after the login of terminal barcode scanning can operating result of the synchronous user in wechat public number, while user can be realized to public affairs
The automatic concern of many numbers.
" one embodiment " for being spoken of in this manual, " another embodiment ", " embodiment " etc., refer to combining
Specific features, structure or the feature of embodiment description are included at least one embodiment of the application generality description.
It is not necessarily to refer to same embodiment that statement of the same race, which occur, in multiple places in the description.Furthermore, it is understood that with reference to any
When individual embodiment describes a specific features, structure or feature, what is advocated is this to realize with reference to other embodiment
Feature, structure or feature are also fallen within the scope of the present invention.
Although reference be made herein to invention has been described for the multiple explanatory embodiments invented, however, it is to be understood that this
Art personnel can be designed that a lot of other modifications and embodiment, and these modifications and embodiment will fall in the application
Within disclosed spirit and spirit.More specifically, can be to theme group in the range of disclosure claim
The building block and/or layout for closing layout carry out a variety of variations and modifications.Except the modification carried out to building block and/or layout
Outer with improving, to those skilled in the art, other purposes also will be apparent.
Claims (5)
- A kind of 1. barcode scanning login method based on wechat public number band ginseng Quick Response Code, it is characterised in that:Described method include with Lower step:Application in step 1, weak interactive terminal is established socket with server end and is connected;Step 2, server generate unique socketId and return to the weak interactive terminal by communication port;Step 3, the weak interactive terminal obtain the socketId, and obtain the unique deviceId of equipment, to the server End request band ginseng Quick Response Code, parameter socketId, deviceId;By the socketId, the scene senceId of deviceId and Quick Response Code binds and is stored in for step 4, the server end In database or caching, and band ginseng Quick Response Code is returned to the weak interactive terminal;Step 5, user use wechat barcode scanning;Step 6, server end obtain user's barcode scanning event argument of wechat public number feedback, are obtained from barcode scanning event argument SenceId, and the socketId bound according to senceId, deviceId disappear to what the weak interactive terminal feedback logined successfully Cease and redirect parameter, while the user openid in barcode scanning event argument is to user's push operation prompt message.
- 2. the barcode scanning login method according to claim 1 based on wechat public number band ginseng Quick Response Code, it is characterised in that also Comprise the following steps:The weak interactive terminal is entered after the message logined successfully is received, while according to the parameter that redirects of return The corresponding action of row.
- 3. the barcode scanning login method according to claim 1 based on wechat public number band ginseng Quick Response Code, it is characterised in that also Comprise the following steps:Server end pushes different operation informations to user according to barcode scanning parameter.
- 4. the barcode scanning login method according to claim 1 based on wechat public number band ginseng Quick Response Code, it is characterised in that institute The step 5 stated is further comprising the steps of:It is automatic to pay close attention to public number if user did not paid close attention to wechat public number;If user has been closed The wechat public number was noted, then automatically into session.
- 5. the barcode scanning login method according to claim 1 based on wechat public number band ginseng Quick Response Code, it is characterised in that institute The interface that the scene senceId of Quick Response Code is provided by Tengxun's wechat public number in the step 4 stated obtains.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710883335.6A CN107480308A (en) | 2017-09-26 | 2017-09-26 | Barcode scanning login method based on wechat public number band ginseng Quick Response Code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710883335.6A CN107480308A (en) | 2017-09-26 | 2017-09-26 | Barcode scanning login method based on wechat public number band ginseng Quick Response Code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107480308A true CN107480308A (en) | 2017-12-15 |
Family
ID=60586962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710883335.6A Pending CN107480308A (en) | 2017-09-26 | 2017-09-26 | Barcode scanning login method based on wechat public number band ginseng Quick Response Code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107480308A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259470A (en) * | 2017-12-25 | 2018-07-06 | 上海安技智能科技股份有限公司 | Barcode scanning personal identification method based on wechat |
CN108491902A (en) * | 2018-03-12 | 2018-09-04 | 重庆文理学院 | A kind of anti-method and system of wandering away of the Quick Response Code based on public platform |
CN110021086A (en) * | 2018-10-29 | 2019-07-16 | 深圳市微开互联科技有限公司 | A method of the temporary Authorization opening gate based on openid |
CN110581824A (en) * | 2018-06-07 | 2019-12-17 | 苏州梦嘉信息技术有限公司 | Quick login management system based on multiple WeChat public numbers |
CN111030919A (en) * | 2019-12-06 | 2020-04-17 | 漳州市金龙锋信息科技有限公司 | Equipment binding method based on WeChat public number with parameter two-dimensional code |
CN112165467A (en) * | 2020-09-16 | 2021-01-01 | 北京中关村银行股份有限公司 | Cross-terminal access method, device, storage medium and system |
CN112419515A (en) * | 2020-10-20 | 2021-02-26 | 四川长虹电器股份有限公司 | WeChat OpenID-based unlicensed vehicle charging management method and system |
CN114721757A (en) * | 2022-02-18 | 2022-07-08 | 深圳腾银信息咨询有限责任公司 | Generation method and device of two-dimensional code with parameters and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140074577A1 (en) * | 2012-09-07 | 2014-03-13 | Lawson DENG | Apparatus and Method to Attract Potential Customers to a Dual Screen Coupon Kiosk |
CN105577622A (en) * | 2014-10-16 | 2016-05-11 | Tcl商用信息科技(惠州)股份有限公司 | Method of distributing user grouping for digital label and apparatus thereof, and digital label system |
CN105610691A (en) * | 2015-12-29 | 2016-05-25 | Tcl商用信息科技(惠州)股份有限公司 | Digital signage terminal and wechat interaction method, interaction system and servers thereof |
CN105847884A (en) * | 2016-05-13 | 2016-08-10 | Tcl商用信息科技(惠州)股份有限公司 | Method and device for controlling television usage of television users |
CN106529977A (en) * | 2016-11-04 | 2017-03-22 | 深圳盛灿科技股份有限公司 | Anti-counterfeiting method and system with support of terminal memory based on WeChat public account |
-
2017
- 2017-09-26 CN CN201710883335.6A patent/CN107480308A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140074577A1 (en) * | 2012-09-07 | 2014-03-13 | Lawson DENG | Apparatus and Method to Attract Potential Customers to a Dual Screen Coupon Kiosk |
CN105577622A (en) * | 2014-10-16 | 2016-05-11 | Tcl商用信息科技(惠州)股份有限公司 | Method of distributing user grouping for digital label and apparatus thereof, and digital label system |
CN105610691A (en) * | 2015-12-29 | 2016-05-25 | Tcl商用信息科技(惠州)股份有限公司 | Digital signage terminal and wechat interaction method, interaction system and servers thereof |
CN105847884A (en) * | 2016-05-13 | 2016-08-10 | Tcl商用信息科技(惠州)股份有限公司 | Method and device for controlling television usage of television users |
CN106529977A (en) * | 2016-11-04 | 2017-03-22 | 深圳盛灿科技股份有限公司 | Anti-counterfeiting method and system with support of terminal memory based on WeChat public account |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259470A (en) * | 2017-12-25 | 2018-07-06 | 上海安技智能科技股份有限公司 | Barcode scanning personal identification method based on wechat |
CN108491902A (en) * | 2018-03-12 | 2018-09-04 | 重庆文理学院 | A kind of anti-method and system of wandering away of the Quick Response Code based on public platform |
CN108491902B (en) * | 2018-03-12 | 2020-11-24 | 重庆文理学院 | Two-dimensional code anti-lost method and system based on public platform |
CN110581824A (en) * | 2018-06-07 | 2019-12-17 | 苏州梦嘉信息技术有限公司 | Quick login management system based on multiple WeChat public numbers |
CN110021086A (en) * | 2018-10-29 | 2019-07-16 | 深圳市微开互联科技有限公司 | A method of the temporary Authorization opening gate based on openid |
CN110021086B (en) * | 2018-10-29 | 2021-09-28 | 深圳市微开互联科技有限公司 | Openid-based temporary authorization access control method |
CN111030919A (en) * | 2019-12-06 | 2020-04-17 | 漳州市金龙锋信息科技有限公司 | Equipment binding method based on WeChat public number with parameter two-dimensional code |
CN112165467A (en) * | 2020-09-16 | 2021-01-01 | 北京中关村银行股份有限公司 | Cross-terminal access method, device, storage medium and system |
CN112419515A (en) * | 2020-10-20 | 2021-02-26 | 四川长虹电器股份有限公司 | WeChat OpenID-based unlicensed vehicle charging management method and system |
CN114721757A (en) * | 2022-02-18 | 2022-07-08 | 深圳腾银信息咨询有限责任公司 | Generation method and device of two-dimensional code with parameters and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107480308A (en) | Barcode scanning login method based on wechat public number band ginseng Quick Response Code | |
CN103891246B (en) | Webpage real-time Communication for Power call transfer method and device | |
US20220217302A1 (en) | Adminstrator device and user interface for inmate initiated video visitation system | |
CN107707868A (en) | Video conference Adding Way, multiple access Conference server and video conferencing system | |
CN104852990B (en) | A kind of information processing method and intelligent home control system | |
CN105208014B (en) | A kind of voice communication processing method, electronic equipment and system | |
CN106357653A (en) | Control authority sharing method and system | |
CN106422324B (en) | Real-time communication method, the apparatus and system of multiple terminals | |
CN111107441B (en) | Microphone connection communication establishing method, storage medium, electronic device and system | |
CN106254560A (en) | Information transferring method and device | |
CN103888413B (en) | Realize the method and system of multimedia conferencing | |
CN105681877B (en) | Set-top box, TV, platform, remote controler and the method, apparatus for establishing connection | |
CN104865931B (en) | Controlled terminal and the correlating method and device of control terminal | |
US10785446B2 (en) | Administrator device and user interface for inmate initiated video visitation system | |
CN107819874A (en) | A kind of method of remote control fire wall terminal | |
CN110418099A (en) | A kind of audio/video processing method, device and storage medium | |
CN107172446A (en) | The sending method and dispensing device of a kind of direct broadcasting room virtual resource | |
CN106534040A (en) | Method and device for identifying subscriber identity of terminal equipment | |
CN108306938A (en) | A kind of method, apparatus and gateway of Internet of Things product automatic networking | |
CN104009850B (en) | A kind of method for authenticating user identity and system | |
CN104092694B (en) | A kind of method and system of the account distribution of mobile phone games | |
CN109726545A (en) | A kind of information display method, equipment, computer readable storage medium and device | |
WO2011011938A1 (en) | Method and device for authentication joining multimedia conference | |
US20140115658A1 (en) | Multi-User Interactive Multimedia Chat | |
CN107690140A (en) | WAP authentication method, apparatus and system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171215 |