CN111507436B - Two-dimensional code verification and cancellation method based on positioning information - Google Patents

Two-dimensional code verification and cancellation method based on positioning information Download PDF

Info

Publication number
CN111507436B
CN111507436B CN202010281410.3A CN202010281410A CN111507436B CN 111507436 B CN111507436 B CN 111507436B CN 202010281410 A CN202010281410 A CN 202010281410A CN 111507436 B CN111507436 B CN 111507436B
Authority
CN
China
Prior art keywords
client
host
dimensional code
positioning information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010281410.3A
Other languages
Chinese (zh)
Other versions
CN111507436A (en
Inventor
高柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Aibinlin Technology Co.,Ltd.
Original Assignee
Xiamen Ning'an Network 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 Xiamen Ning'an Network Technology Co ltd filed Critical Xiamen Ning'an Network Technology Co ltd
Priority to CN202010281410.3A priority Critical patent/CN111507436B/en
Publication of CN111507436A publication Critical patent/CN111507436A/en
Application granted granted Critical
Publication of CN111507436B publication Critical patent/CN111507436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods 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
    • G06K17/0022Methods 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 arrangements or provisions for transferring data to distant stations, e.g. from a sensing 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0225Avoiding frauds

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a two-dimensional code verification and cancellation method based on positioning information, which comprises the following steps: s1, a host sends a data packet containing personal information and permission information of a corresponding client to a client; s2, the client can generate a corresponding client two-dimensional code according to the received data packet, and when the client generates the client two-dimensional code, client positioning information is correspondingly added into the client two-dimensional code; s3, scanning the code of the client two-dimensional code shown by the client by the host, and verifying the client positioning information contained in the client two-dimensional code and the host positioning information of the host by the host in addition to normal code scanning operation when the code is scanned; and S4, verifying and canceling the client two-dimensional code provided by the client meeting the conditions, and otherwise, refusing to verify and cancel. The invention can improve the commercial efficiency and effectively overcome the loss caused by gift transfer, screen capture, photographing, video recording and the like of the two-dimensional code.

Description

Two-dimensional code verification and cancellation method based on positioning information
Technical Field
The invention relates to the technical field of two-dimension code verification and cancellation, in particular to a two-dimension code verification and cancellation method based on positioning information.
Background
The two-dimensional code is a pattern which is distributed on a plane (in a two-dimensional direction) according to a certain rule by using a certain specific geometric figure, is black and white and is alternated and records data symbol information; the concept of '0' and '1' bit stream forming the internal logic foundation of the computer is skillfully utilized in code establishment, a plurality of geometric shapes corresponding to binary systems are used for representing character numerical value information, and the information is automatically read through an image input device or an optoelectronic scanning device so as to realize automatic information processing: it has some commonality of barcode technology: each code system has its specific character set; each character occupies a certain width; has certain checking function and the like. Meanwhile, the method also has the function of automatically identifying information of different rows and processing the graph rotation change points.
Two-dimensional code uses more and more extensively in our daily life, and to the application mode of two-dimensional code also constantly changing and perfecting. The mobile phone can obtain corresponding links by scanning the two-dimensional code, and the mobile phone can obtain the two-dimensional code and related information by screenshot after photographing the two-dimensional code, so that great convenience is brought to life of people, but corresponding problems also come along, for example, the two-dimensional code of the shared bicycle is artificially damaged, and the two-dimensional code is damaged after the two-dimensional code of the shared bicycle is photographed and screenshot by some people in order to achieve the purpose of 'private use of public cars', so that the shared bicycle can be used by only one person or a plurality of people, and cannot be used by others; for example, some two-dimensional codes used by parties or internal groups with strong privacy are photographed and captured, and spread maliciously or the two-dimensional codes do not have corresponding effects after being spread out. Therefore, a two-dimensional code verification method based on positioning information needs to be designed.
Disclosure of Invention
In order to overcome the defects in the prior art, a two-dimensional code verification and cancellation method based on positioning information is provided.
The invention is realized by the following scheme:
a two-dimensional code verification and cancellation method based on positioning information comprises the following steps:
s1, a host sends a data packet containing personal information and permission information of a corresponding client to a client;
s2, the client can generate a corresponding client two-dimensional code according to the received data packet containing the personal information and the permission information, and when the client generates the client two-dimensional code, the client correspondingly adds client positioning information into the client two-dimensional code;
s3, scanning the code of the client two-dimensional code shown by the client by the host, and verifying the client positioning information contained in the client two-dimensional code and the host positioning information of the host by the host in addition to normal code scanning operation when the code is scanned;
and S4, after the client positioning information and the host positioning information are verified, if the distance between the host and the client is within a set range, checking and canceling the client two-dimensional code provided by the client is allowed, otherwise, checking and canceling is refused.
In step S4, after the host checks the client two-dimensional code, it is found that the client positioning information included in the client two-dimensional code and the host positioning information of the host are not within the specified range, and when the verification is rejected, the host sends two-dimensional code failure prompt information to the client that generates the client two-dimensional code.
And the host terminal also comprises a customer and commodity management system which is used for correspondingly storing information records of the customer two-dimensional codes which are verified and sold and commodity ex-warehouse records.
The client positioning information can directly call GPS positioning information of the client, base station information connected with the client or WiFi information connected with the client; the host positioning information can directly call the GPS positioning information of the host, the base station information connected to the host, or the WiFi information connected to the host.
The client positioning information directly calls the GPS positioning information of the client; and the positioning information of the host terminal directly calls the GPS positioning information of the host terminal.
The invention has the beneficial effects that:
the two-dimension code verification method based on the positioning information can effectively avoid the risk that two-dimension codes such as sales promotion two-dimension codes or two-dimension codes of delivery tickets sent to the client by the host are presented to other people and stolen and recorded, so that a person who verifies and sells at the host is a target client sending information before the host, the business efficiency is improved, and the loss caused by presentation transfer, screen capture, photographing, video recording and the like of the two-dimension codes can be effectively overcome.
Detailed Description
The following further illustrates preferred embodiments of the invention:
a two-dimension code verification and cancellation method based on positioning information comprises the following steps:
s1, a host sends a data packet containing personal information and permission information of a corresponding client to a client;
s2, the client can generate a corresponding client two-dimensional code according to the received data packet containing the personal information and the permission information, and when the client generates the client two-dimensional code, the client correspondingly adds client positioning information into the client two-dimensional code;
s3, scanning a two-dimensional code of a client shown by the client by the host, and checking client positioning information contained in the two-dimensional code of the client and host positioning information of the host by the host in addition to normal code scanning operation when the code is scanned;
and S4, after the client positioning information and the host positioning information are verified, if the distance between the host and the client is within a set range, checking and canceling the client two-dimensional code provided by the client is allowed, otherwise, checking and canceling is refused.
In step S4, after the host checks the client two-dimensional code, it is found that the client positioning information included in the client two-dimensional code and the host positioning information of the host are not within the specified range, and when the verification is rejected, the host sends two-dimensional code failure prompt information to the client that generates the client two-dimensional code. When the verification and cancellation fails, prompt information is sent to the client, and the client can know the prompt information as soon as possible, so that loss caused by various unexpected factors is reduced.
And the host terminal also comprises a customer and commodity management system which is used for correspondingly storing information records of the customer two-dimensional codes which are verified and sold and commodity ex-warehouse records. When the verification and the sale are carried out, the customer information, the commodities in the warehouse and the like are recorded, and the overall efficiency of verification and sale work is improved.
The client positioning information can directly call GPS positioning information of the client, base station information connected with the client or WiFi information connected with the client; the host end positioning information can directly call GPS positioning information of the host end, base station information connected with the host end or WiFi information connected with the host end. In an application scenario with low positioning requirements, one of GPS positioning information, connected base station information, or WiFi information connected by a host may be selected as a basis for positioning.
The client positioning information directly calls the GPS positioning information of the client; and the positioning information of the host terminal directly calls the GPS positioning information of the host terminal. In an application scene with a relatively accurate positioning requirement, the client positioning information calls the GPS positioning information of the client, and the host positioning information calls the GPS positioning information of the host.
For example, when a certain barber shop sends a data packet containing personal information and permission information to young female customers of 25-40 years old in all members, the barber shop is allowed to consume by the certain barber shop, the permission information in the data packet sent to the barber shop includes discount, full discount and other benefits, when the certain barber shop consumes hair, the certain barber shop directly goes to a host end of the barber shop, two-dimensional codes containing the personal information and the benefit information are directly generated by the respective clients, the host end scans the two-dimensional codes of the clients shown by the clients, and when scanning the codes, the host end verifies the client positioning information contained in the two-dimensional codes of the clients and the host end positioning information of the host end in addition to normal code scanning operation; if the distance between the host side and the client side is within the set range, which is set to 10 meters in this embodiment, the client two-dimensional code provided by the client side is allowed to be verified and sold, and then benefits such as discount and full reduction can be enjoyed.
In application, if the client groups selected by the host end generate respective two-dimensional codes and send the two-dimensional codes to another person in the forms of screen capture, photographing, video recording and the like, and the other person takes the two-dimensional codes to a beauty shop where the host end is located for consumption, at the moment, the host end refuses to check and sell due to the fact that the positioning information of the two-dimensional code generation position and the positioning information of the host end are in a different specified range, and valuable preferential information is saved. Because young women in the age of 25-40 are assumed to have strong hairdressing consumption capability and consumption demand, the amount of each consumption of the customers is large, and if the specific customers give the two-dimensional codes to groups such as children and men, the hairdressing consumption capability of the groups is small, which is not beneficial to the commercial popularization of a hairdressing shop where the host computer is located.
By the two-dimension code verification and sale method based on the positioning information, the promotion two-dimension code sent to the client by the host can be effectively prevented from being transferred to other people, so that the people who go to verify and sell by the host are target customers sending information before the host, and the business efficiency is improved. The two-dimension code verification and cancellation method based on the positioning information can be applied to scenes that various specified clients need to verify and cancel the two-dimension code, and is not repeated here.
According to the two-dimensional code verification and cancellation method based on the positioning information, the safety of the two-dimensional code can be ensured only by calling the positioning information of the client side and the host side and performing simple comparison, other extra hardware and software cost is not needed, the two-dimensional code is not easy to crack by the existing technology, and the method has high safety.
Although the invention has been described and illustrated in some detail, it should be understood that various modifications may be made to the described embodiments or equivalents may be substituted, as will be apparent to those skilled in the art, without departing from the spirit of the invention.

Claims (3)

1. A two-dimensional code verification and cancellation method based on positioning information is characterized by comprising the following steps:
s1, a host sends a data packet containing personal information and permission information of a corresponding client to a client;
s2, the client can generate a corresponding client two-dimensional code according to the received data packet containing the personal information and the permission information, and when the client generates the client two-dimensional code, the client correspondingly adds client positioning information into the client two-dimensional code;
s3, scanning the code of the client two-dimensional code shown by the client by the host, and verifying the client positioning information contained in the client two-dimensional code and the host positioning information of the host by the host in addition to normal code scanning operation when the code is scanned;
s4, after the client positioning information and the host positioning information are verified, if the distance between the host and the client is within a set range, checking and canceling the client two-dimensional code provided by the client is allowed, otherwise, checking and canceling are refused;
the client positioning information can directly call GPS positioning information of the client, base station information connected with the client or WiFi information connected with the client; the host end positioning information can directly call GPS positioning information of the host end, base station information connected with the host end or WiFi information connected with the host end.
2. The two-dimensional code verification method based on the positioning information as claimed in claim 1, wherein: in step S4, after the host checks the client two-dimensional code, it is found that the client positioning information included in the client two-dimensional code and the host positioning information of the host are not within the specified range, and when the verification is rejected, the host also sends two-dimensional code failure prompt information to the client that generates the client two-dimensional code.
3. The two-dimensional code verification method based on the positioning information as claimed in claim 1, wherein: and the host terminal also comprises a customer and commodity management system which is used for correspondingly storing information records of the customer two-dimensional codes which are verified and sold and commodity ex-warehouse records.
CN202010281410.3A 2020-04-10 2020-04-10 Two-dimensional code verification and cancellation method based on positioning information Active CN111507436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010281410.3A CN111507436B (en) 2020-04-10 2020-04-10 Two-dimensional code verification and cancellation method based on positioning information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010281410.3A CN111507436B (en) 2020-04-10 2020-04-10 Two-dimensional code verification and cancellation method based on positioning information

Publications (2)

Publication Number Publication Date
CN111507436A CN111507436A (en) 2020-08-07
CN111507436B true CN111507436B (en) 2022-10-04

Family

ID=71870895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010281410.3A Active CN111507436B (en) 2020-04-10 2020-04-10 Two-dimensional code verification and cancellation method based on positioning information

Country Status (1)

Country Link
CN (1) CN111507436B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113222685B (en) * 2021-04-07 2024-02-20 上海多维度网络科技股份有限公司 Order verification method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180015879A (en) * 2016-08-04 2018-02-14 (주) 오성프라스틱 Managing method of production and distribution of goods using the rfid
CN110245988A (en) * 2019-06-17 2019-09-17 上海华申智能卡应用系统有限公司 Two dimensional code certificate checks and writes off method, is written off terminal and checks and writes off terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017027251A (en) * 2015-07-17 2017-02-02 東芝テック株式会社 Electronic receipt system, server device, and program
CN105389700A (en) * 2015-10-21 2016-03-09 陈彼邻 System and method utilizing multi-element composite two-dimensional code for carrying out payment and discount cancel-after-verification
CN108229947B (en) * 2018-02-11 2021-06-01 中国联合网络通信集团有限公司 Method and system for guaranteeing using position of two-dimensional code, code scanning device and platform end
CN110363616A (en) * 2019-05-31 2019-10-22 浙江口碑网络技术有限公司 Consumption data processing, output method and device, storage medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180015879A (en) * 2016-08-04 2018-02-14 (주) 오성프라스틱 Managing method of production and distribution of goods using the rfid
CN110245988A (en) * 2019-06-17 2019-09-17 上海华申智能卡应用系统有限公司 Two dimensional code certificate checks and writes off method, is written off terminal and checks and writes off terminal

Also Published As

Publication number Publication date
CN111507436A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN100568803C (en) A kind of 2 D code verification method and system
US20200051115A1 (en) Authenticated account interaction via text cellular text message
US20190087818A1 (en) Card voucher use system, method, device and server
CN103248555B (en) Method and device for adding friends
US20050177442A1 (en) Method and system for performing a retail transaction using a wireless device
CN108777750A (en) A kind of user mobile phone security privacy guard method based on Quick Response Code
US20020010635A1 (en) Method of electronic commerce and profile converter used for electronic commerce
CN104599126A (en) Safe payment method, relative device and system
CN101364977A (en) Remote reserved queue number calling system and method
CN101114397A (en) Payment system for trading with ID card containing IC card and method thereof
US20210049576A1 (en) Point-of-sale system and method
CN109146699A (en) Blind date friend-making integrated management approach and system based on block chain
CN104112197A (en) System of utilizing consumption information to pay via two-dimension code, and method of utilizing consumption information to pay via two-dimension code
CN104424581A (en) Method for carrying out consumption tracking survey and information spreading by utilizing two-dimensional code
CN111507436B (en) Two-dimensional code verification and cancellation method based on positioning information
CN104715386B (en) WeChat ID-based anti-fake method for achieving authentication of all bar codes
CN108763937A (en) Distribution document generation, distribution and popularization information processing method and device
CN109150513A (en) Private key storage method, computer equipment and storage medium based on block chain
CN107729124A (en) Transaction methods and device, electronic equipment
CN101118628A (en) Payment system for trading with ID card containing IC card and method thereof
US9462439B2 (en) Delivering specialized services to users of phones
WO2018130966A1 (en) System, apparatus, and method for connecting two or more users
US20220129653A1 (en) Dynamic two-dimensional code evaluation method, dynamic two-dimensional code evaluation system, and dynamic two-dimensional code evaluation program
US8521647B2 (en) Lock-and-key consumer billing data protection for telemarketing
JP5755289B2 (en) Information processing apparatus and method

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

Effective date of registration: 20220913

Address after: Room 601, No. 19, Jinshan West Erli, Huli District, Xiamen City, Fujian Province 361000

Applicant after: Xiamen Ning'an Network Technology Co.,Ltd.

Address before: 3F-A479, Zone C, Innovation Building, Software Park, Torch High-tech Zone, Xiamen City, Fujian Province, 361000

Applicant before: Yanyufei (Xiamen) Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240508

Address after: Room 10A, Office Building 1, Hengda Yufu, No.1 Xueyuan Road, Jiyang District, Sanya City, Hainan Province, 572099

Patentee after: Hainan Aibinlin Technology Co.,Ltd.

Country or region after: China

Address before: Room 601, No. 19, Jinshan West Erli, Huli District, Xiamen City, Fujian Province 361000

Patentee before: Xiamen Ning'an Network Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right