CN110209960A - A kind of integrated two-dimensional code control technology - Google Patents
A kind of integrated two-dimensional code control technology Download PDFInfo
- Publication number
- CN110209960A CN110209960A CN201910459682.5A CN201910459682A CN110209960A CN 110209960 A CN110209960 A CN 110209960A CN 201910459682 A CN201910459682 A CN 201910459682A CN 110209960 A CN110209960 A CN 110209960A
- Authority
- CN
- China
- Prior art keywords
- barcode scanning
- dimensional code
- scanning application
- user
- application
- 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
- 238000005516 engineering process Methods 0.000 title claims abstract description 20
- 230000007246 mechanism Effects 0.000 claims abstract description 7
- 238000012795 verification Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000013011 mating Effects 0.000 claims description 3
- 210000003205 muscle Anatomy 0.000 claims description 2
- 238000000034 method Methods 0.000 description 9
- 238000005457 optimization Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of integrated two-dimensional code control technologies, belong to field of computer technology.In the prior art, it needs to make different two dimensional codes for different barcode scanning application software;For a user, it when carrying out a certain business operation, needs to select corresponding software in equipment in face of multiple two dimensional codes, it appears be inconvenient.The present invention includes generation, resolution rules and the business processing mechanism of two dimensional code, a unique two dimensional code can be generated, and then when can promote barcode scanning application scanning two dimensional code of the invention, " User-Agent " this HTTP Header field is sent to server, so that server can judge the barcode scanning application type that active user uses and show the data needed to barcode scanning application;Two dimensional code of the invention is finally enabled to be identified, parse by most of barcode scanning application software, and can be paid in barcode scanning application in all kinds of mainstreams and arouse the corresponding means of payment, convenient integrated two-dimensional code control technology is brought for the supplier and user of commodity or service.
Description
Technical field
The present invention relates to a kind of integrated two-dimensional code control technologies, belong to field of computer technology.
Background technique
The process of IT application influences and society is transformed, and the on-line off-line life style combined has become people's
Habit.Everybody gets used to carrying out each generic operation using mobile phone, such as: barcode scanning is ordered, barcode scanning booking and barcode scanning are paid, everything is
Have benefited from planar bar code technology in the universal of China.
But it is countless with the barcode scanning application software for scanning the two-dimensional code function on the market, identification decodes rule also not
It is identical to the greatest extent.Some two dimensional codes are only capable of appointed barcode scanning application software analysis, some two dimensional codes can be by most of barcode scanning using soft
Part parsing, but payment is unable to complete in mobile payment system.Such as: the Web of wechat payment certificate is configured with Alipay scanning
The two dimensional code of Program Generating, user will be unable to carry out the operation such as paying.For commodity or ISP, need for not
Same barcode scanning application software makes different two dimensional codes;For a user, it when carrying out a certain business operation, needs in face of more
A two dimensional code selects corresponding software in equipment, it appears is inconvenient.
Summary of the invention
In view of the drawbacks of the prior art, the purpose of the present invention is to provide a kind of generations including two dimensional code, resolution rules
And business processing mechanism, a unique two dimensional code can be generated, can be identified by most of barcode scanning application software, solution
Analysis, and can be paid in barcode scanning application in all kinds of mainstreams and arouse the corresponding means of payment, it is supplier and the use of commodity or service
Family brings convenient integrated two-dimensional code control technology.
To achieve the above object, the technical solution of the present invention is as follows:
A kind of integrated two-dimensional code control technology, comprising: the generation of two dimensional code, the parsing of two dimensional code and business processing mechanism;
The two dimensional code is generated by a string of URL conversion, and the basic format of the URL is domain name { domain }+program file path+only
One ID { code };
After user is using two dimensional code described in barcode scanning application scanning, parsed by embedded browser control part WebView access
URL;Barcode scanning analytic application goes out URL and sends out the unique ID and HTTP Header field being truncated to i.e. " User-Agent "
It send to server;
Server judges that active user used sweeps by " User-Agent " this HTTP Header field received
Code application type;Then, server verifies the legitimacy of { code } in unique ID i.e. URL and according to unique ID query page,
The data needed are shown to barcode scanning application.
The present invention includes generation, resolution rules and the business processing mechanism of two dimensional code, can generate a unique two dimension
Code, and then when can promote barcode scanning application scanning two dimensional code of the invention, " User-Agent " this HTTP is sent to server
Header field, so that server can judge the barcode scanning application type that active user uses and show to barcode scanning application to need
The data wanted;Two dimensional code of the invention is finally enabled to be identified, parse by most of barcode scanning application software, and can be all kinds of
Arouse the corresponding means of payment in mainstream payment barcode scanning application, brings convenient collection for the supplier and user of commodity or service
At two dimensional code control technology.
As optimization technique measure,
Barcode scanning application that will be compatible with the two dimensional code is divided into three classes:
A kind of barcode scanning application: mobile payment client;
Two class barcode scanning applications: the barcode scanning application software with the mating exploitation of integrated two-dimensional code;
Three classes barcode scanning application: other have the barcode scanning application software for scanning the two-dimensional code function.
Two dimensional code of the invention can be compatible with common various barcode scanning applications, applied widely, be convenient for utilization and extention.
As optimization technique measure,
After user is using two dimensional code described in above-mentioned a kind of barcode scanning application scanning, by embedding browser control part WebView
Access the URL parsed;Server judges active user by " User-Agent " this HTTP Header field received
The barcode scanning application type used;Then, server verifies the legitimacy of { code } in unique ID i.e. URL and is looked into according to unique ID
It askes the page and shows the data needed to barcode scanning application;After verification passes through, data and the available means of payment are sent to barcode scanning and are answered
With barcode scanning is applied to user and shows complete content, and user can complete payment and settlement behaviour by the corresponding means of payment at this time
Make.
Server of the invention is identified by the HTTP Header field sent to barcode scanning application, current to judge
The barcode scanning application type that user uses, scheme is simple, practical, practical.
As optimization technique measure,
After user is using two dimensional code described in two above-mentioned class barcode scanning application scannings, URL and unique by what is be truncated to is parsed
ID is sent to server;Server verifies it after receiving unique ID, and return instruction to barcode scanning is answered after verifying successfully
With allowing barcode scanning application to jump to the corresponding page, allow users to successfully browsing content and the good a variety of payments of option and installment
Mode carries out payment and settlement.
As optimization technique measure,
After user is using two dimensional code described in above-mentioned three classes barcode scanning application scanning, by embedding browser control part WebView
Access the URL parsed;Server judges whether the barcode scanning that active user uses is one by " User-Agent " that receives
Class barcode scanning application jumps to the downloading URL of two class barcode scannings application, draws if not a kind of barcode scanning application, then return to 302 answer codes
It leads user and downloads two class barcode scanning applications.Server of the invention is carried out by the HTTP Header field sent to barcode scanning application
Identification, to judge barcode scanning application type that active user uses, scheme is simple, practical, practical.
As optimization technique measure, the mobile payment client is Alipay or wechat or cloud sudden strain of a muscle is paid or wing payment, fits
It is wide with range, utilize popularization.
As optimization technique measure, the two dimensional code is code or the gathering code of paying the bill, applied widely, utilizes popularization.
Compared with prior art, the invention has the following advantages:
The present invention includes generation, resolution rules and the business processing mechanism of two dimensional code, can generate a unique two dimension
Code, and then when can promote barcode scanning application scanning two dimensional code of the invention, " User-Agent " this HTTP is sent to server
Header field, so that server can judge the barcode scanning application type that active user uses and show to barcode scanning application to need
The data wanted;Two dimensional code of the invention is finally enabled to be identified, parse by most of barcode scanning application software, and can be all kinds of
Arouse the corresponding means of payment in mainstream payment barcode scanning application, brings convenient collection for the supplier and user of commodity or service
At two dimensional code control technology.
Detailed description of the invention
Fig. 1 is flow chart of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
On the contrary, the present invention covers any substitution done on the essence and scope of the present invention being defined by the claims, repairs
Change, equivalent method and scheme.Further, in order to make the public have a better understanding the present invention, below to of the invention thin
It is detailed to describe some specific detail sections in section description.Part without these details for a person skilled in the art
The present invention can also be understood completely in description.
As shown in Figure 1, a kind of integrated two-dimensional code control technology, application that will be compatible with the two dimensional code is divided into three
Class:
A kind of barcode scanning application: the mainstreams mobile payment client such as wechat, Alipay;
Two class barcode scanning applications: the application software with the mating exploitation of the method for the present invention;
Three classes barcode scanning application: other have the application software for scanning the two-dimensional code function.
The present invention includes following process flow:
1, the generation of two dimensional code.
Two dimensional code in this method is generated by a string of URL conversions, the basic format of the URRL for domain name { domain }+
Program file path+unique ID { code }, example: https: // { domain }/deal? id={ code }
2, the parsing of two dimensional code and business processing mechanism.
2.1 users use present invention side using above-mentioned a kind of barcode scanning application (this is sentenced for wechat and Alipay) scanning
After the two dimensional code that method generates, the URL parsed is accessed by embedding browser control part WebView.Server, which passes through, to be received
" User-Agent " this HTTP Header field judges that the barcode scanning application that active user uses is wechat or Alipay.
Then, needs when server verifies the legitimacy of unique ID (i.e. { code } in URL) and shown according to unique ID query page
Data.After verification passes through, data and the available means of payment are sent to application, show complete content using to user,
User can complete payment and settlement operation by the corresponding means of payment (wechat payment or Alipay are paid) at this time.
After 2.2 users use the two dimensional code of the method for the present invention generation using two above-mentioned class barcode scanning application scannings, parse
The unique ID being truncated to simultaneously is sent to server by URL.Server verifies it after receiving unique ID, verification at
Return instruction allows to applying using the corresponding page is jumped to after function, allows users to successfully browsing content and option and installment
Good a variety of means of payment carry out payment and settlement.
After 2.3 users use the two dimensional code of the method for the present invention generation using above-mentioned three classes barcode scanning application scanning, by interior
Embedding browser control part WebView accesses the URL parsed.Server judges that active user makes by the User-Agent received
Whether barcode scanning is a kind of barcode scanning application, if not a kind of barcode scanning application, then return to 302 answer codes, jump to two class applications
Downloading URL, guidance user download two class applications.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (7)
1. a kind of integrated two-dimensional code control technology, which is characterized in that
It include: the generation of two dimensional code, the parsing of two dimensional code and business processing mechanism;The two dimensional code is generated by a string of URL conversions
, the basic format of the URL is domain name { domain }+program file path+unique ID { code };
After user is using two dimensional code described in barcode scanning application scanning, parsed by embedded browser control part WebView access
URL;Barcode scanning analytic application goes out URL and the unique ID and HTTP Header field being truncated to is sent to server;
Server judges the barcode scanning application type that active user uses by the HTTP Header field received;Then, it services
Device verifies the legitimacy of { code } in unique ID i.e. URL and according to unique ID query page, shows needs to barcode scanning application
Data.
2. a kind of integrated two-dimensional code control technology as described in claim 1, which is characterized in that
Barcode scanning application that will be compatible with the two dimensional code is divided into three classes:
A kind of barcode scanning application: mobile payment client;
Two class barcode scanning applications: the barcode scanning application software with the mating exploitation of integrated two-dimensional code;
Three classes barcode scanning application: other have the barcode scanning application software for scanning the two-dimensional code function.
3. a kind of integrated two-dimensional code control technology as claimed in claim 2, which is characterized in that
After user is using two dimensional code described in above-mentioned a kind of barcode scanning application scanning, pass through embedded browser control part WebView access
The URL parsed;Server judges that active user uses by " User-Agent " this HTTP Header field received
Barcode scanning application type;Then, server verifies the legitimacy of { code } in unique ID i.e. URL and according to unique ID query page
The data needed are shown towards barcode scanning application;After verification passes through, data and the available means of payment are sent to barcode scanning application, are swept
Code application shows complete content to user, and user can complete payment and settlement operation by the corresponding means of payment at this time.
4. a kind of integrated two-dimensional code control technology as claimed in claim 2, which is characterized in that
After user is using two dimensional code described in two above-mentioned class barcode scanning application scannings, parses URL and send out the unique ID being truncated to
It send to server;Server verifies it after receiving unique ID, after verifying successfully return instruction to barcode scanning application,
It allows barcode scanning application to jump to the corresponding page, allows users to successfully browsing content and the good a variety of means of payment of option and installment
Carry out payment and settlement.
5. such as a kind of described in any item integrated two-dimensional code control technologies of claim 2-4, which is characterized in that
After user is using two dimensional code described in above-mentioned three classes barcode scanning application scanning, pass through embedded browser control part WebView access
The URL parsed;Server judges whether the barcode scanning that active user uses is that one kind is swept by " User-Agent " that receives
Code application jumps to the downloading URL of two class barcode scannings application if not a kind of barcode scanning application, then return to 302 answer codes, and guidance is used
Download two class barcode scanning applications in family.
6. a kind of integrated two-dimensional code control technology as claimed in claim 5, which is characterized in that the mobile payment client is
Alipay or wechat or cloud sudden strain of a muscle are paid or wing payment.
7. a kind of integrated two-dimensional code control technology as claimed in claim 6, which is characterized in that the two dimensional code be payment code or
Gathering code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459682.5A CN110209960A (en) | 2019-05-29 | 2019-05-29 | A kind of integrated two-dimensional code control technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910459682.5A CN110209960A (en) | 2019-05-29 | 2019-05-29 | A kind of integrated two-dimensional code control technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110209960A true CN110209960A (en) | 2019-09-06 |
Family
ID=67789435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910459682.5A Pending CN110209960A (en) | 2019-05-29 | 2019-05-29 | A kind of integrated two-dimensional code control technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110209960A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260360A (en) * | 2020-01-13 | 2020-06-09 | 支付宝实验室(新加坡)有限公司 | Bar code payment-based implementation method and device |
CN111866097A (en) * | 2020-07-03 | 2020-10-30 | 熊猫智慧水务有限公司 | Intelligent device-based scanned data aggregation method |
CN112308559A (en) * | 2020-11-06 | 2021-02-02 | 北京绿善心星球网络科技开发有限公司 | Two-dimensional code management method and device, storage medium and electronic equipment |
CN112529554A (en) * | 2020-12-14 | 2021-03-19 | 贵州电网有限责任公司 | Design method for offline popularization and aggregation of two-dimensional codes |
CN114417195A (en) * | 2021-11-30 | 2022-04-29 | 平安科技(深圳)有限公司 | Data processing method, device, equipment and medium based on two-dimension code |
CN114861694A (en) * | 2022-05-16 | 2022-08-05 | 润芯微科技(江苏)有限公司 | Method and system for automatically matching two-dimension code information according to requirements |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915454A (en) * | 2015-07-01 | 2015-09-16 | 北京京东尚科信息技术有限公司 | File preview system and method |
CN105913245A (en) * | 2015-10-23 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Internet payment method, device and server |
CN109074406A (en) * | 2018-06-29 | 2018-12-21 | 阿里巴巴集团控股有限公司 | Manage service relevant to the two dimensional code based on URL |
-
2019
- 2019-05-29 CN CN201910459682.5A patent/CN110209960A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915454A (en) * | 2015-07-01 | 2015-09-16 | 北京京东尚科信息技术有限公司 | File preview system and method |
CN105913245A (en) * | 2015-10-23 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Internet payment method, device and server |
CN109074406A (en) * | 2018-06-29 | 2018-12-21 | 阿里巴巴集团控股有限公司 | Manage service relevant to the two dimensional code based on URL |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260360A (en) * | 2020-01-13 | 2020-06-09 | 支付宝实验室(新加坡)有限公司 | Bar code payment-based implementation method and device |
CN111866097A (en) * | 2020-07-03 | 2020-10-30 | 熊猫智慧水务有限公司 | Intelligent device-based scanned data aggregation method |
CN112308559A (en) * | 2020-11-06 | 2021-02-02 | 北京绿善心星球网络科技开发有限公司 | Two-dimensional code management method and device, storage medium and electronic equipment |
CN112529554A (en) * | 2020-12-14 | 2021-03-19 | 贵州电网有限责任公司 | Design method for offline popularization and aggregation of two-dimensional codes |
CN114417195A (en) * | 2021-11-30 | 2022-04-29 | 平安科技(深圳)有限公司 | Data processing method, device, equipment and medium based on two-dimension code |
CN114861694A (en) * | 2022-05-16 | 2022-08-05 | 润芯微科技(江苏)有限公司 | Method and system for automatically matching two-dimension code information according to requirements |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110209960A (en) | A kind of integrated two-dimensional code control technology | |
JP6518700B2 (en) | System and method for routing data and connecting users through user interaction with content data | |
EP3178212B1 (en) | Method and system for authenticating a user | |
CN104769914B (en) | The processing method of the request of digital service | |
CN103428309B (en) | Quick Response Code redirect processing method | |
US20020040431A1 (en) | Computer program product and method for exchanging XML signature | |
US20100218128A1 (en) | Offer And Incentive Widget-Based System | |
US10212154B2 (en) | Method and system for authenticating a user | |
CN107016074B (en) | Webpage loading method and device | |
US6654600B1 (en) | Method and apparatus for authorizing use of cellular telephone units | |
EP2652630A1 (en) | Providing a customized application to a user terminal | |
HRP20020180A2 (en) | Methods and apparatus for conducting electronic transactions | |
WO2010134813A1 (en) | Method and system for compiling a unique sample code for a digital sample | |
CN108494762A (en) | Web access method, device and computer readable storage medium, terminal | |
CN109767200A (en) | A kind of electric paying method, device, system and storage medium | |
CN101436927A (en) | System and method for file transfer management | |
JP5975745B2 (en) | Information processing apparatus and information processing method, information communication system, and computer program | |
CN110942297A (en) | Two-dimensional code payment method and system for mobile terminal | |
CN107230096A (en) | The management method and managing device of books increment resource | |
CA2874708A1 (en) | Systems, methods, and computer program products for providing offers to mobile wallets | |
CN103093339A (en) | Data transferring method and device | |
KR101827480B1 (en) | Apparatus and system for recommending products using user's mobile access log and method thereof | |
KR101725096B1 (en) | Method and apparatus for membership service | |
KR20130058459A (en) | The method and server for confirming installation of application | |
CN109729214B (en) | Negative one-screen display and authentication method, device and apparatus |
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: 20190906 |