CN109102280A - A kind of the safety verification method and server of barcode scanning payment environment - Google Patents

A kind of the safety verification method and server of barcode scanning payment environment Download PDF

Info

Publication number
CN109102280A
CN109102280A CN201810862754.6A CN201810862754A CN109102280A CN 109102280 A CN109102280 A CN 109102280A CN 201810862754 A CN201810862754 A CN 201810862754A CN 109102280 A CN109102280 A CN 109102280A
Authority
CN
China
Prior art keywords
information
movement terminal
gps information
coordinate points
code
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
CN201810862754.6A
Other languages
Chinese (zh)
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.)
FUZHOU CHANGLE SANHU INFORMATION TECHNOLOGY Co.,Ltd.
Original Assignee
Fuzhou Jinan Lv Qixin Environmental Protection Technology 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 Fuzhou Jinan Lv Qixin Environmental Protection Technology Co Ltd filed Critical Fuzhou Jinan Lv Qixin Environmental Protection Technology Co Ltd
Priority to CN201810862754.6A priority Critical patent/CN109102280A/en
Publication of CN109102280A publication Critical patent/CN109102280A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3224Transactions dependent on location of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The safety verification method and server of a kind of barcode scanning payment environment provided by the invention, method include obtaining the GPS information of the first movement terminal after user's corresponding first movement terminal scanning gathering code, obtaining the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;According to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;According to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;Judge whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, showing payment interface corresponding with the gathering code in the first movement terminal, and prompts payment environment.When the present invention solves the payment of buyer's barcode scanning, since gathering code is tampered, and the problem of bring economic loss to buyer and businessman.

Description

A kind of the safety verification method and server of barcode scanning payment environment
Technical field
The present invention relates to barcode scanning payment technology field more particularly to the safety verification methods and clothes of a kind of barcode scanning payment environment Business device.
Background technique
With the development of internet technology, mobile payment technology is widely applied in all fields, is greatly facilitated Daily life, makes it possible cashless payment, reduces counterfeit money and loses to businessman and buyer's bring;Existing shifting Dynamic payment is divided into two kinds mostly, and one is businessmans by the payment code of scanner scanning user, and this mode is convenient and efficient, but needs It wants professional to be responsible for cash register, and equipment cost is relatively high, is not suitable for small businessman;Another kind is that buyer passes through scanning shop The gathering code of family, is paid, is not needed to buy special equipment, cost is relatively low, the non-welcome for being subjected to medium and small hotel owner;But buyer is logical There is gathering code and be tampered in the gathering code for over-scanning hotel owner, the amount of money for paying buyer is not transferred to businessman, uses to user Bring loss.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of safety verification method of barcode scanning payment environment and server, When solving the payment of buyer's barcode scanning, since gathering code is tampered, and the problem of bring economic loss to buyer and businessman.
To achieve the goals above, the technical solution adopted by the present invention are as follows:
The present invention provides a kind of safety verification methods of barcode scanning payment environment, comprising the following steps:
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe.
The present invention also provides a kind of server, including memory, processor and storage on a memory and can handled The computer program run on device, the processor perform the steps of when executing the computer program
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe.
The beneficial effect of above-mentioned technical proposal is:
The safety verification method and server of a kind of barcode scanning payment environment provided by the invention, when user uses first movement terminal After scanning gathering code, the GPS information of first movement terminal and the second mobile terminal is obtained, the first GPS information and the 2nd GPS are obtained Information, second mobile terminal is corresponding with gathering code, calculates the first GPS information and the corresponding coordinate points of the second GPS information The distance between, if calculated distance is less than pre-determined distance threshold value, represents the gathering code of businessman and be not tampered with, and mention Show payment environment safety, if distance is not less than distance threshold, then it represents that businessman and in shop, there are certain risks for payment environment; When the present invention solves the payment of buyer's barcode scanning, since gathering code is tampered, and the problem of bring economic loss to buyer and businessman.
Detailed description of the invention
Fig. 1 show a kind of key step schematic diagram of the safety verification method of barcode scanning payment environment of the invention.
Fig. 2 show a kind of structural schematic diagram of server of the invention.
Drawing reference numeral explanation:
1, memory;2, processor.
Specific embodiment
It is as follows that the present invention is described further in the following with reference to the drawings and specific embodiments:
As shown in Figure 1, the present invention provides a kind of safety verification methods of barcode scanning payment environment, comprising the following steps:
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe.
As can be seen from the above description, a kind of safety verification method of barcode scanning payment environment provided by the invention, when user uses After first movement terminal scanning gathering code, the GPS information of first movement terminal and the second mobile terminal is obtained, the first GPS is obtained Information and the second GPS information, second mobile terminal is corresponding with gathering code, calculates the first GPS information and the second GPS information The distance between corresponding coordinate points represent the gathering code of businessman simultaneously if calculated distance is less than pre-determined distance threshold value It is not tampered with, and prompts payment environment safe, if distance is not less than distance threshold, then it represents that businessman and in shop, payment environment There are certain risks;The present invention solve buyer's barcode scanning payment when, due to gathering code be tampered, and to buyer and businessman bring through The problem of Ji loss.
Further, the S1 specifically:
After user's corresponding first movement terminal scanning gathering code, the first decoding letter of first movement terminal upload is acquired Breath and the first GPS information, first decoded information are after first movement terminal scans gathering code, to solve to the gathering code The decoded information that code obtains;First decoded information includes collecting account information and identification code;
According to the collecting account information in first decoded information, corresponding second movement of the collecting account information is obtained eventually Second GPS information at end.
As can be seen from the above description, can rapidly obtain the corresponding first GPS letter of first movement terminal by the above method The second GPS information corresponding with the second mobile terminal is ceased, the efficiency of confirmation payment environment is improved.
Further, after the S4 further include:
If the distance between first coordinate points and the second coordinate points are not less than distance threshold, first movement end is acquired Hold the first decoded information uploaded;First decoded information is after first movement terminal scans gathering code, to the gathering code The decoded information being decoded;First decoded information includes collecting account information and identification code;
The first Business Information corresponding with the identification code is obtained from presetting database;
Show first Business Information in the first movement terminal;
It sends corresponding first request of the first Business Information of confirmation and arrives first movement terminal;
After receiving the first movement terminal and responding the confirmation message postbacked after the described first request, in the first movement Payment interface corresponding with the gathering code is shown in terminal, and prompts payment environment safe.
As can be seen from the above description, by the above method, solve as salesman in shop management and businessman not at shop, the It can't show that the problem of payment environment safety improves barcode scanning while guaranteeing payment Environmental security on one mobile terminal The convenience of payment.
Further, the first decoded information of first movement terminal upload is acquired, specifically:
Obtain the encryption information that first movement terminal uploads, the encryption information be first movement terminal by decoded information by the The encryption information that one key encrypts;The first key is according to corresponding first coordinate points of the first GPS information and to preset Symmetric key in first movement terminal, the key generated by DUKPT algorithm;
According to the symmetric key prestored and corresponding first coordinate points of the first GPS information received, generated by DUKPT algorithm Second key;
The encryption information is decrypted by second key, obtains first decoded information.
As can be seen from the above description, decoded information is to avoid data quilt in transmission process by being uploaded to server after encryption The risk stolen or distorted improves the safety of data transmission, and generates key by DUKPT algorithm, and key generated One-time pad is realized in journey, ensure that the safety of data.
Further, the safety verification method of a kind of barcode scanning payment environment, further includes:
Database is created, stores preset multiple identification codes and multiple Business Information in the database, the multiple mark Code is corresponded with multiple Business Information.
As can be seen from the above description, by the database of creation, it can quick obtaining Business Information corresponding with identification code.
Further, the safety verification method of a kind of barcode scanning payment environment, further includes:
The first picture that first movement terminal is sent is obtained, first picture includes shop title;
It identifies first picture, obtains the first shop title;
Judge whether first shop title matches with the first Business Information, if mismatching, is shown in first movement terminal Show that payment environment is dangerous.
As can be seen from the above description, further improving the safety of barcode scanning payment by the above method, reducing buyer And the economic loss of businessman.
As shown in Fig. 2, the present invention also provides a kind of server, including memory 1, processor 2 and it is stored in memory 1 Computer program that is upper and can running on processor 2, the processor perform the steps of when executing the computer program
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe.
Further, a kind of server, the S1 specifically:
After user's corresponding first movement terminal scanning gathering code, the first decoding letter of first movement terminal upload is acquired Breath and the first GPS information, first decoded information are after first movement terminal scans gathering code, to solve to the gathering code The decoded information that code obtains;First decoded information includes collecting account information and identification code;
According to the collecting account information in first decoded information, corresponding second movement of the collecting account information is obtained eventually Second GPS information at end.
Further, a kind of server, after the S4 further include:
If the distance between first coordinate points and the second coordinate points are not less than distance threshold, first movement end is acquired Hold the first decoded information uploaded;First decoded information is after first movement terminal scans gathering code, to the gathering code The decoded information being decoded;First decoded information includes collecting account information and identification code;
The first Business Information corresponding with the identification code is obtained from presetting database;
Show first Business Information in the first movement terminal;
It sends corresponding first request of the first Business Information of confirmation and arrives first movement terminal;
After receiving the first movement terminal and responding the confirmation message postbacked after the described first request, in the first movement Payment interface corresponding with the gathering code is shown in terminal, and prompts payment environment safe.
Further, a kind of server acquires the first decoded information of first movement terminal upload, specifically Are as follows:
Obtain the encryption information that first movement terminal uploads, the encryption information be first movement terminal by decoded information by the The encryption information that one key encrypts;The first key is according to corresponding first coordinate points of the first GPS information and to preset Symmetric key in first movement terminal, the key generated by DUKPT algorithm;
According to the symmetric key prestored and corresponding first coordinate points of the first GPS information received, generated by DUKPT algorithm Second key;
The encryption information is decrypted by second key, obtains first decoded information.
Further, a kind of the step of server, the processor is realized when executing the computer program Further include:
Database is created, stores preset multiple identification codes and multiple Business Information in the database, the multiple mark Code is corresponded with multiple Business Information.
Further, a kind of the step of server, the processor is realized when executing the computer program Further include:
The first picture that first movement terminal is sent is obtained, first picture includes shop title;
It identifies first picture, obtains the first shop title;
Judge whether first shop title matches with the first Business Information, if mismatching, is shown in first movement terminal Show that payment environment is dangerous.
Several preferred embodiments or Application Example are enumerated, again below to help those skilled in the art to better understand The technical contribution that technology contents and the present invention of the invention are made compared with the existing technology:
Preferred embodiment one (or Application Example one) are as follows:
A kind of safety verification method of barcode scanning payment environment provided by the invention, comprising the following steps:
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
The S1 specifically:
After user's corresponding first movement terminal scanning gathering code, the first decoding letter of first movement terminal upload is acquired Breath and the first GPS information, first decoded information are after first movement terminal scans gathering code, to solve to the gathering code The decoded information that code obtains;First decoded information includes collecting account information and identification code;
According to the collecting account information in first decoded information, corresponding second movement of the collecting account information is obtained eventually Second GPS information at end;
Wherein, the first decoded information of first movement terminal upload is acquired, specifically:
Obtain the encryption information that first movement terminal uploads, the encryption information be first movement terminal by decoded information by the The encryption information that one key encrypts;The first key is according to corresponding first coordinate points of the first GPS information and to preset Symmetric key in first movement terminal, the key generated by DUKPT algorithm;
According to the symmetric key prestored and corresponding first coordinate points of the first GPS information received, generated by DUKPT algorithm Second key;
The encryption information is decrypted by second key, obtains first decoded information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe;
S5: if the distance between first coordinate points and the second coordinate points are not less than distance threshold, the first shifting is acquired The first decoded information that dynamic terminal uploads;First decoded information is after first movement terminal scans gathering code, to the receipts The decoded information that money code is decoded;First decoded information includes collecting account information and identification code;Create data Library stores preset multiple identification codes and multiple Business Information in the database, the multiple identification code and multiple businessmans Information corresponds;The first Business Information corresponding with the identification code is obtained from the database;Show first quotient Family's information is in the first movement terminal;It sends corresponding first request of the first Business Information of confirmation and arrives first movement terminal;When The first movement terminal is received to respond after first request after the confirmation message that postbacks, in the first movement terminal It shows payment interface corresponding with the gathering code, and prompts payment environment safe;
Wherein, the distance threshold is 80 meters.
Preferred embodiment two (or Application Example two) are as follows:
A kind of safety verification method of barcode scanning payment environment provided by the invention, the difference with preferred embodiment one is, described A kind of barcode scanning payment environment safety verification method, further includes:
The first picture that first movement terminal is sent, first picture includes shop title;
It identifies first picture, obtains the first shop title;
Judge whether first shop title matches with the first Business Information, if mismatching, is shown in first movement terminal Show that payment environment is dangerous.
Preferred embodiment three (or Application Example three) are as follows:
A kind of server provided by the invention, including memory, processor and storage can transport on a memory and on a processor Capable computer program, the processor perform the steps of when executing the computer program
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
The S1 specifically:
After user's corresponding first movement terminal scanning gathering code, the first decoding letter of first movement terminal upload is acquired Breath and the first GPS information, first decoded information are after first movement terminal scans gathering code, to solve to the gathering code The decoded information that code obtains;First decoded information includes collecting account information and identification code;
According to the collecting account information in first decoded information, corresponding second movement of the collecting account information is obtained eventually Second GPS information at end;
Wherein, the first decoded information of first movement terminal upload is acquired, specifically:
Obtain the encryption information that first movement terminal uploads, the encryption information be first movement terminal by decoded information by the The encryption information that one key encrypts;The first key is according to corresponding first coordinate points of the first GPS information and to preset Symmetric key in first movement terminal, the key generated by DUKPT algorithm;
According to the symmetric key prestored and corresponding first coordinate points of the first GPS information received, generated by DUKPT algorithm Second key;
The encryption information is decrypted by second key, obtains first decoded information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe;
S5: if the distance between first coordinate points and the second coordinate points are not less than distance threshold, the first shifting is acquired The first decoded information that dynamic terminal uploads;First decoded information is after first movement terminal scans gathering code, to the receipts The decoded information that money code is decoded;First decoded information includes collecting account information and identification code;Create data Library stores preset multiple identification codes and multiple Business Information in the database, the multiple identification code and multiple businessmans Information corresponds;The first Business Information corresponding with the identification code is obtained from the database;Show first quotient Family's information is in the first movement terminal;It sends corresponding first request of the first Business Information of confirmation and arrives first movement terminal;When The first movement terminal is received to respond after first request after the confirmation message that postbacks, in the first movement terminal It shows payment interface corresponding with the gathering code, and prompts payment environment safe;
Wherein, the distance threshold is 80 meters.
Preferred embodiment four (or Application Example four) are as follows:
A kind of server provided by the invention, the difference with preferred embodiment three are that the processor is executing the meter The step of being realized when calculation machine program further include:
The first picture that first movement terminal is sent, first picture includes shop title;
It identifies first picture, obtains the first shop title;
Judge whether first shop title matches with the first Business Information, if mismatching, is shown in first movement terminal Show that payment environment is dangerous.
The present invention is described by above-mentioned related embodiment and attached drawing, however above-described embodiment be only implement it is of the invention Example.It must be noted that the embodiment disclosed is not limiting as the scope of the present invention.On the contrary, being included in claim The modification of spirit and scope and impartial setting are included in the scope of the present invention.

Claims (10)

1. a kind of safety verification method of barcode scanning payment environment, which comprises the following steps:
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe.
2. a kind of safety verification method of barcode scanning payment environment according to claim 1, which is characterized in that the S1 tool Body are as follows:
After user's corresponding first movement terminal scanning gathering code, the first decoding letter of first movement terminal upload is acquired Breath and the first GPS information, first decoded information are after first movement terminal scans gathering code, to solve to the gathering code The decoded information that code obtains;First decoded information includes collecting account information and identification code;
According to the collecting account information in first decoded information, corresponding second movement of the collecting account information is obtained eventually Second GPS information at end.
3. a kind of safety verification method of barcode scanning payment environment according to claim 1, which is characterized in that after the S4 Further include:
If the distance between first coordinate points and the second coordinate points are not less than distance threshold, first movement end is acquired Hold the first decoded information uploaded;First decoded information is after first movement terminal scans gathering code, to the gathering code The decoded information being decoded;First decoded information includes collecting account information and identification code;
The first Business Information corresponding with the identification code is obtained from presetting database;
Show first Business Information in the first movement terminal;
It sends corresponding first request of the first Business Information of confirmation and arrives first movement terminal;
After receiving the first movement terminal and responding the confirmation message postbacked after the described first request, in the first movement Payment interface corresponding with the gathering code is shown in terminal, and prompts payment environment safe.
4. a kind of safety verification method of barcode scanning payment environment according to claim 2 or 3, which is characterized in that obtain The first decoded information uploaded to first movement terminal, specifically:
Obtain the encryption information that first movement terminal uploads, the encryption information be first movement terminal by decoded information by the The encryption information that one key encrypts;The first key is according to corresponding first coordinate points of the first GPS information and to preset Symmetric key in first movement terminal, the key generated by DUKPT algorithm;
According to the symmetric key prestored and corresponding first coordinate points of the first GPS information received, generated by DUKPT algorithm Second key;
The encryption information is decrypted by second key, obtains first decoded information.
5. a kind of safety verification method of barcode scanning payment environment according to claim 3, which is characterized in that further include:
Database is created, stores preset multiple identification codes and multiple Business Information in the database, the multiple mark Code is corresponded with multiple Business Information.
6. a kind of safety verification method of barcode scanning payment environment according to claim 3, which is characterized in that further include:
The first picture that first movement terminal is sent is obtained, first picture includes shop title;
It identifies first picture, obtains the first shop title;
Judge whether first shop title matches with the first Business Information, if mismatching, is shown in first movement terminal Show that payment environment is dangerous.
7. a kind of server including memory, processor and stores the computer that can be run on a memory and on a processor Program, which is characterized in that the processor performs the steps of when executing the computer program
S1: after user's corresponding first movement terminal scanning gathering code, the GPS information of the first movement terminal is obtained, is obtained To the first GPS information;The GPS information for obtaining corresponding second mobile terminal of gathering code, obtains the second GPS information;
S2: according to the first GPS information, first coordinate points in geographical location corresponding with the first GPS information are obtained;
S3: according to the second GPS information, second coordinate points in geographical location corresponding with the second GPS information are obtained;
S4: judging whether the distance between first coordinate points and the second coordinate points are less than pre-determined distance threshold value, if so, Payment interface corresponding with the gathering code is shown in the first movement terminal, and prompts payment environment safe.
8. a kind of server according to claim 7, which is characterized in that the S1 specifically:
After user's corresponding first movement terminal scanning gathering code, the first decoding letter of first movement terminal upload is acquired Breath and the first GPS information, first decoded information are after first movement terminal scans gathering code, to solve to the gathering code The decoded information that code obtains;First decoded information includes collecting account information and identification code;
According to the collecting account information in first decoded information, corresponding second movement of the collecting account information is obtained eventually Second GPS information at end.
9. a kind of server according to claim 7, which is characterized in that after the S4 further include:
If the distance between first coordinate points and the second coordinate points are not less than distance threshold, first movement end is acquired Hold the first decoded information uploaded;First decoded information is after first movement terminal scans gathering code, to the gathering code The decoded information being decoded;First decoded information includes collecting account information and identification code;
The first Business Information corresponding with the identification code is obtained from presetting database;
Show first Business Information in the first movement terminal;
It sends corresponding first request of the first Business Information of confirmation and arrives first movement terminal;
After receiving the first movement terminal and responding the confirmation message postbacked after the described first request, in the first movement Payment interface corresponding with the gathering code is shown in terminal, and prompts payment environment safe.
10. a kind of server according to claim 7 or 8, which is characterized in that acquire the upload of first movement terminal First decoded information, specifically:
Obtain the encryption information that first movement terminal uploads, the encryption information be first movement terminal by decoded information by the The encryption information that one key encrypts;The first key is according to corresponding first coordinate points of the first GPS information and to preset Symmetric key in first movement terminal, the key generated by DUKPT algorithm;
According to the symmetric key prestored and corresponding first coordinate points of the first GPS information received, generated by DUKPT algorithm Second key;
The encryption information is decrypted by second key, obtains first decoded information.
CN201810862754.6A 2018-08-01 2018-08-01 A kind of the safety verification method and server of barcode scanning payment environment Pending CN109102280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810862754.6A CN109102280A (en) 2018-08-01 2018-08-01 A kind of the safety verification method and server of barcode scanning payment environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810862754.6A CN109102280A (en) 2018-08-01 2018-08-01 A kind of the safety verification method and server of barcode scanning payment environment

Publications (1)

Publication Number Publication Date
CN109102280A true CN109102280A (en) 2018-12-28

Family

ID=64848170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810862754.6A Pending CN109102280A (en) 2018-08-01 2018-08-01 A kind of the safety verification method and server of barcode scanning payment environment

Country Status (1)

Country Link
CN (1) CN109102280A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633979A (en) * 2019-08-30 2019-12-31 维沃移动通信有限公司 Payment method and terminal equipment
CN110738486A (en) * 2019-05-30 2020-01-31 张文 Receipt code storage method, payment method, device, equipment and medium
CN111160996A (en) * 2020-04-01 2020-05-15 支付宝(杭州)信息技术有限公司 Cross-regional transaction visual monitoring method, device and equipment
CN111178868A (en) * 2019-06-20 2020-05-19 腾讯科技(深圳)有限公司 Payment verification method and related device
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium
CN113051542A (en) * 2019-12-26 2021-06-29 华为技术有限公司 Two-dimensional code processing method and equipment
WO2021136205A1 (en) * 2019-12-30 2021-07-08 瞬联软件科技(南京)有限公司 Transaction verification method, and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021472A (en) * 2014-05-30 2014-09-03 中国工商银行股份有限公司 Identity verification method and system
US20150120574A1 (en) * 2013-10-30 2015-04-30 Tencent Technology (Shenzhen) Company Limited Information transmission method, apparatus and system
CN105427107A (en) * 2015-11-03 2016-03-23 中国联合网络通信集团有限公司 Payment method and device based on intelligent glasses
CN105472737A (en) * 2015-12-31 2016-04-06 上海华为技术有限公司 Terminal positioning method and server
CN105631659A (en) * 2015-04-02 2016-06-01 深圳酷派技术有限公司 Payment request processing method, payment request processing device and terminal
CN107181714A (en) * 2016-03-09 2017-09-19 阿里巴巴集团控股有限公司 Verification method and device, the generation method of service code and device based on service code
CN107507007A (en) * 2017-08-30 2017-12-22 努比亚技术有限公司 One kind pays 2 D code verification method, terminal and computer-readable recording medium
CN107578238A (en) * 2017-08-08 2018-01-12 阿里巴巴集团控股有限公司 A kind of risk control method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150120574A1 (en) * 2013-10-30 2015-04-30 Tencent Technology (Shenzhen) Company Limited Information transmission method, apparatus and system
CN104021472A (en) * 2014-05-30 2014-09-03 中国工商银行股份有限公司 Identity verification method and system
CN105631659A (en) * 2015-04-02 2016-06-01 深圳酷派技术有限公司 Payment request processing method, payment request processing device and terminal
CN105427107A (en) * 2015-11-03 2016-03-23 中国联合网络通信集团有限公司 Payment method and device based on intelligent glasses
CN105472737A (en) * 2015-12-31 2016-04-06 上海华为技术有限公司 Terminal positioning method and server
CN107181714A (en) * 2016-03-09 2017-09-19 阿里巴巴集团控股有限公司 Verification method and device, the generation method of service code and device based on service code
CN107578238A (en) * 2017-08-08 2018-01-12 阿里巴巴集团控股有限公司 A kind of risk control method and equipment
CN107507007A (en) * 2017-08-30 2017-12-22 努比亚技术有限公司 One kind pays 2 D code verification method, terminal and computer-readable recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738486A (en) * 2019-05-30 2020-01-31 张文 Receipt code storage method, payment method, device, equipment and medium
CN111178868A (en) * 2019-06-20 2020-05-19 腾讯科技(深圳)有限公司 Payment verification method and related device
CN110633979A (en) * 2019-08-30 2019-12-31 维沃移动通信有限公司 Payment method and terminal equipment
CN113051542A (en) * 2019-12-26 2021-06-29 华为技术有限公司 Two-dimensional code processing method and equipment
WO2021136205A1 (en) * 2019-12-30 2021-07-08 瞬联软件科技(南京)有限公司 Transaction verification method, and system
CN111160996A (en) * 2020-04-01 2020-05-15 支付宝(杭州)信息技术有限公司 Cross-regional transaction visual monitoring method, device and equipment
CN111160996B (en) * 2020-04-01 2020-06-30 支付宝(杭州)信息技术有限公司 Cross-regional transaction visual monitoring method, device and equipment
CN111967871A (en) * 2020-08-20 2020-11-20 深圳传音控股股份有限公司 Secure payment method, device and storage medium

Similar Documents

Publication Publication Date Title
CN109102280A (en) A kind of the safety verification method and server of barcode scanning payment environment
US10402815B2 (en) Method for using barcodes and mobile devices to conduct payment transactions
US8977234B2 (en) Using low-cost tags to facilitate mobile transactions
JP2022016621A (en) Systems and methods for creating fingerprints of encryption devices
US20140100973A1 (en) Smartphone virtual payment card
US20160019528A1 (en) System and method for payment and settlement using barcode
US20110251910A1 (en) Mobile Phone as a Switch
US20110010289A1 (en) Method And System For Controlling Risk Using Static Payment Data And An Intelligent Payment Device
WO2017029739A1 (en) Credit settlement system and method using mobile terminal
CN105225359B (en) Based on Quick Response Code without card withdrawal method and finger print identifying server
EP3029880A1 (en) Method and system for safely transmitting transaction sensitive data based on cloud pos
CN105590199A (en) Payment method and payment system based on dynamic two-dimensional code
KR101812638B1 (en) Module, service server, system and method for authenticating genuine goods using secure element
CN1539246A (en) System and method for payment using radio frequency identifycation contact and contactless transactions
CN104599408A (en) Third-party account ATM (automatic teller machine) withdrawing method and system based on dynamic two-dimension codes
US20130080334A1 (en) Payment system for handheld device and method
US20190164149A1 (en) Online transaction method, visual financial ic card, client, and server
KR20120125816A (en) Online Banking Method Using Mobile Terminal, Medium that Program for Executing the Method, and Mobile Terminal that the Program is Installed
US9836735B2 (en) Method for initiating and performing a CNP business transaction, software for the same and a communication device comprising such software
KR102400524B1 (en) Detecting tamper method for tampering of nft performing on server of platform using nft based on blockchain
KR20140145190A (en) Electronic transaction method
CN109255906A (en) A kind of barcode scanning method of payment and mobile terminal
CN105096115A (en) Method for electronic payment transaction of non-POS terminal and mobile device
WO2017041722A1 (en) Data processing method, apparatus and system
EP3361419B1 (en) Tamper-proof barcode, system and method for generating and authenticating credentials on the basis of said code

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200907

Address after: 350208 unit 804, building 20, Binjiang trading town, Changle Town, Changle, Fuzhou.

Applicant after: FUZHOU CHANGLE SANHU INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 350005 Fu Sheng mansion, 3 Fuxing Road, Gushan Town, Jinan District, Fuzhou, Fujian, 6F07-73

Applicant before: FUZHOU JINAN DISTRICT LVQIXIN ENVIRONMENTAL PROTECTION TECHNOLOGY Co.,Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181228