CN111597851A - Two-dimensional code anti-counterfeiting processing method and system, computer readable medium and electronic equipment - Google Patents

Two-dimensional code anti-counterfeiting processing method and system, computer readable medium and electronic equipment Download PDF

Info

Publication number
CN111597851A
CN111597851A CN202010431065.7A CN202010431065A CN111597851A CN 111597851 A CN111597851 A CN 111597851A CN 202010431065 A CN202010431065 A CN 202010431065A CN 111597851 A CN111597851 A CN 111597851A
Authority
CN
China
Prior art keywords
dimensional code
counterfeiting
identification
identification data
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.)
Granted
Application number
CN202010431065.7A
Other languages
Chinese (zh)
Other versions
CN111597851B (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.)
Yunteng Shuyu Digital Technology Co ltd
Original Assignee
Beijing Zhongyunweixun Information 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 Beijing Zhongyunweixun Information Technology Co ltd filed Critical Beijing Zhongyunweixun Information Technology Co ltd
Priority to CN202010431065.7A priority Critical patent/CN111597851B/en
Publication of CN111597851A publication Critical patent/CN111597851A/en
Application granted granted Critical
Publication of CN111597851B publication Critical patent/CN111597851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • 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 provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The embodiment of the application provides a two-dimensional code anti-counterfeiting processing method, a two-dimensional code anti-counterfeiting processing system, a computer readable medium and electronic equipment. The method comprises the following steps: uploading identification data of a preset identification two-dimensional code to a server, verifying the identification data of the identification two-dimensional code by the server, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; and obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. Therefore, the identification two-dimensional code is replaced by the anti-counterfeiting two-dimensional code generated on line in real time, the uniqueness of the anti-counterfeiting two-dimensional code is guaranteed, the influence of modes such as screen capturing, screen recording, photographing and video recording on the anti-counterfeiting verification of the two-dimensional code is effectively avoided, and the anti-counterfeiting verification effect of the two-dimensional code is accurately improved.

Description

Two-dimensional code anti-counterfeiting processing method and system, computer readable medium and electronic equipment
Technical Field
The application relates to the technical field of data processing, in particular to a two-dimensional code anti-counterfeiting processing method, a two-dimensional code anti-counterfeiting processing system, a computer readable medium and electronic equipment.
Background
The two-dimensional code uses a certain specific geometric figure to record a figure of data symbol information which is distributed at intervals on a plane (two-dimensional direction) according to a certain rule, uses a plurality of geometric figures corresponding to a binary system to represent character numerical value information, automatically reads the information through an image input device or a photoelectric scanning device to realize automatic information processing, and is widely applied to various fields of various industries.
At present, with the continuous development of mobile internet, in daily life such as electronic commerce, online shopping and payment, various industries widely use two-dimensional codes in many scenes, and identity confirmation, payment, verification and verification, product authenticity judgment and the like are performed by printing the two-dimensional codes on bills, products, packages, certificates and high-value products and scanning the two-dimensional codes through equipment. In the process of checking the two-dimensional code, the anti-counterfeiting illumination of the two-dimensional code is usually solved from the aspects of content encryption, the validity period of the two-dimensional code and the like, but the anti-counterfeiting authentication of the two-dimensional code is avoided by means of screen capturing, screen recording and pseudo-illumination data of equipment or by means of photographing, video recording and the like of multiple pieces of equipment, so that the anti-counterfeiting authentication fails.
Disclosure of Invention
Based on the above problems, embodiments of the present application provide a two-dimensional code anti-counterfeiting processing method, a two-dimensional code anti-counterfeiting processing system, a computer readable medium, and an electronic device, so as to solve or alleviate the technical problems in the prior art.
In order to achieve the above object, an embodiment of the present application provides a two-dimensional code anti-counterfeiting processing method, including: uploading identification data of a preset identification two-dimensional code to a server, verifying the identification data of the identification two-dimensional code by the server, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; and obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
Optionally, in any embodiment of the application, the uploading the identification data of the preset identification two-dimensional code to a server, so that the server verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeit two-dimensional code in real time on line according to a verification result, so as to replace the identification two-dimensional code, includes: scanning and recognizing the preset identification two-dimensional code to obtain the identification data of the identification two-dimensional code, uploading the identification data to the server, verifying the identification data of the identification two-dimensional code by the server, and generating the anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code.
Optionally, in any embodiment of the application, the obtaining, according to the anti-fake two-dimensional code generated by the server, identification data of the anti-fake two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-fake two-dimensional code and receives verification result information of the identification data of the anti-fake two-dimensional code fed back by the server, includes: and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
The embodiment of the present application further provides a two-dimensional code anti-counterfeiting processing method, including: receiving identification data of a preset identification two-dimensional code uploaded by a client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result so as to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client.
Optionally, in any embodiment of the application, the receiving client uploads identification data of a preset identification two-dimensional code, and verifies the identification data of the identification two-dimensional code, and generates an anti-fake two-dimensional code on line in real time according to a verification result, so as to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-fake two-dimensional code according to the anti-fake two-dimensional code, including: receiving preset identification data of the identification two-dimensional code uploaded by the client; verifying the identification data of the two-dimension identification code according to the pre-stored standard data of the two-dimension identification code; and responding to the passing of the verification of the identification data of the two-dimension identification code, and generating the anti-counterfeiting two-dimension code on line in real time according to the standard data, the current time data and the current geographic position data of the two-dimension identification code so as to replace the two-dimension identification code, so that the client side obtains the identification data of the anti-counterfeiting two-dimension code according to the anti-counterfeiting two-dimension code.
Optionally, in any embodiment of the application, the receiving the identification data of the anti-fake two-dimensional code uploaded by the client, verifying the identification data of the anti-fake two-dimensional code, and feeding back verification result information of the identification data of the anti-fake two-dimensional code to the client includes: receiving identification data of the anti-counterfeiting two-dimensional code uploaded by the client; verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back the verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client, wherein the standard data of the anti-counterfeiting two-dimensional code comprises: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code.
An embodiment of the present application further provides a two-dimensional code anti-counterfeit processing system, including: the code scanning device is configured to upload identification data of a preset identification two-dimensional code to the verification server, so that the verification server verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; uploading the identification data of the anti-counterfeiting two-dimensional code to the verification server so that the verification server verifies the identification data of the anti-counterfeiting two-dimensional code; the verification server is configured to receive the identification data of the identification two-dimensional code uploaded by the code scanning device, verify the identification data of the identification two-dimensional code, and generate the anti-counterfeiting two-dimensional code on line in real time according to a verification result so as to replace the identification two-dimensional code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning equipment, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning equipment.
Optionally, in any embodiment of the application, the code scanning device is further configured to scan and recognize a preset two-dimensional identification code, obtain identification data of the two-dimensional identification code, upload the identification data to the verification server, verify the identification data of the two-dimensional identification code by the verification server, and generate an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the two-dimensional identification code; and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, and uploading the identification data to the verification server to verify the identification data of the anti-counterfeiting two-dimensional code by the verification server.
Optionally, in any embodiment of the application, the verification server is further configured to receive the identification data of the two-dimensional identification code uploaded by the code scanning device, verify the identification data of the two-dimensional identification code according to pre-stored standard data of the two-dimensional identification code, and in response to passing of verification of the identification data of the two-dimensional identification code, generate the anti-counterfeiting two-dimensional code on line in real time according to the standard data of the two-dimensional identification code, current time data, and current geographic location data, so as to replace the two-dimensional identification code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning equipment, verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning equipment, wherein the standard data of the anti-counterfeiting two-dimensional code comprises: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code.
The embodiment of the present application further provides a computer-readable medium, on which a computer program is stored, where the program is the two-dimensional code anti-counterfeiting processing method according to any one of the above embodiments.
An embodiment of the present application further provides an electronic device, including: the anti-counterfeiting processing method comprises a memory, a processor and a program which is stored in the memory and can be run on the processor, wherein the processor executes the program to realize the anti-counterfeiting processing method of the two-dimensional code.
In the technical scheme of the embodiment of the application, the identification data of the preset identification two-dimensional code is uploaded to a server, the server verifies the identification data of the identification two-dimensional code, and the anti-counterfeiting two-dimensional code is generated on line in real time according to a verification result; then, obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server, uploading the identification data of the anti-counterfeiting two-dimensional code to the server, and verifying the identification data by the server; and finally, the server side feeds back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client side. Therefore, the identification two-dimensional code is replaced by the anti-counterfeiting two-dimensional code generated on line in real time, the uniqueness of the anti-counterfeiting two-dimensional code is guaranteed, the influence of modes such as screen capturing, screen recording, photographing and video recording on the anti-counterfeiting verification of the two-dimensional code is effectively avoided, and the anti-counterfeiting verification effect of the two-dimensional code is accurately improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a two-dimensional code anti-counterfeiting processing flow provided in accordance with some embodiments of the present application;
FIG. 2 is a schematic diagram of an application scenario provided in accordance with some embodiments of the present application;
fig. 3A is a schematic flow chart of a two-dimensional code anti-counterfeiting processing method according to some embodiments of the present application;
fig. 3B is a schematic flowchart of a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application;
fig. 3C is a schematic flowchart of step S301B in a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application;
fig. 3D is a schematic flowchart of step S302B in a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application;
fig. 4 is a schematic structural diagram of a two-dimensional code anti-counterfeiting processing system according to some embodiments of the present application;
fig. 5A is a schematic structural diagram of an electronic device provided in accordance with some embodiments of the present application;
FIG. 5B is a schematic diagram of an electronic device according to further embodiments of the present application;
fig. 6 is a hardware configuration of an electronic device provided according to some embodiments of the present application.
Detailed Description
It is not necessary for any particular embodiment of the invention to achieve all of the above advantages at the same time.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments of the present application will be further described with reference to the accompanying drawings.
Exemplary flow of procedures
Fig. 1 is a schematic diagram of a two-dimensional code anti-counterfeiting processing flow provided in accordance with some embodiments of the present application; as shown in fig. 1, at a client, uploading identification data of a preset identification two-dimensional code; verifying the identification data of the identification two-dimensional code at the server, generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result, and replacing the identification two-dimensional code by using the anti-counterfeiting two-dimensional code; and then, the client identifies the generated anti-counterfeiting two-dimensional code and uploads the obtained identification data of the anti-counterfeiting two-dimensional code, the server verifies the identification data of the anti-counterfeiting two-dimensional code and feeds back verification result information to the client. Therefore, the identification two-dimensional code is replaced by the anti-counterfeiting two-dimensional code generated on line in real time, the uniqueness of the anti-counterfeiting two-dimensional code is guaranteed, the influence of modes such as screen capturing, screen recording, photographing and video recording on the anti-counterfeiting verification of the two-dimensional code is effectively avoided, and the anti-counterfeiting verification effect of the two-dimensional code is accurately improved.
Exemplary scenarios
FIG. 2 is a schematic diagram of an application scenario provided in accordance with some embodiments of the present application; as shown in fig. 2, in the application scenario, a pre-displayed two-dimensional identification code is scanned and identified by a code scanning device to obtain identification data of the two-dimensional identification code, the identification data of the two-dimensional identification code is uploaded to a verification server, the verification server verifies the identification data of the two-dimensional identification code, if the identification data of the two-dimensional identification code passes verification, the verification server generates an anti-counterfeiting two-dimensional code on line in real time, and the two-dimensional identification code is replaced by the anti-counterfeiting two-dimensional code. And the code scanning equipment scans the anti-counterfeiting two-dimensional code for identification to obtain identification data of the anti-counterfeiting two-dimensional code, uploads the identification data of the anti-counterfeiting two-dimensional code to the verification server, verifies the identification data of the anti-counterfeiting two-dimensional code by the verification server, and feeds back verification result information of the anti-counterfeiting two-dimensional code to the code scanning equipment. And if the identification data of the anti-counterfeiting two-dimensional code passes verification, the code scanning equipment finishes scanning the code.
In the application scenario, the display of the identification two-dimensional code and the anti-counterfeiting two-dimensional code can be completed through the display device, and the data transmission between the code scanning device and the verification server can be realized in different modes such as Bluetooth, network (wired network or wireless network) and the like. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In the application scenario, after the identification data of the two-dimensional code identification passes verification, the anti-counterfeiting two-dimensional code can be actively displayed on the display device by the verification server to replace the two-dimensional code identification on the display device, and a request can also be sent to the verification server by the code scanning device to confirm whether the anti-counterfeiting two-dimensional code is displayed on the display device or not to replace the two-dimensional code identification on the display device. Therefore, the uniqueness of the anti-counterfeiting two-dimensional code is ensured through the anti-counterfeiting two-dimensional code generated on line in real time, the influence of modes such as screen capturing, screen recording, photographing and video recording on the anti-counterfeiting verification of the two-dimensional code is effectively avoided, and the anti-counterfeiting verification effect of the two-dimensional code is accurately improved. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In the embodiment of the application, the verification server verifies the identification data of the identification two-dimensional code, the anti-counterfeiting two-dimensional code is produced on line in real time to replace the identification two-dimensional code, and the code scanning device scans the anti-counterfeiting two-dimensional code for identification. If the screen or the photo is recorded, the latest produced anti-counterfeiting two-dimensional code is received, but the screen or the photo is not capable of communication, and a built-in program (a program for scanning the anti-counterfeiting two-dimensional code) in code scanning equipment does not exist in the screen or the photo, so that the anti-counterfeiting two-dimensional code cannot be recognized by the verification server, and therefore the verification server only feeds back result information of verification failure by recognizing the anti-counterfeiting two-dimensional code through the screen or the photo. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In the embodiment of the application, the code scanning equipment scans the two-dimension identification code, produces identification data of the two-dimension identification code and uploads the identification data to the verification server for verification; then, the verification server verifies the received identification data of the identification two-dimensional code, the anti-counterfeiting two-dimensional code is produced on line in real time, and the identification two-dimensional code is replaced by the anti-counterfeiting two-dimensional code on the display equipment; thirdly, code scanning identification is carried out on the anti-counterfeiting two-dimensional code on the display device through code scanning equipment, and obtained identification data of the anti-counterfeiting two-dimensional code are uploaded to a verification server for verification; and finally, the verification server feeds back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning equipment. In the process, the method can be completed within 1 second under the stable network environment with the speed of 50k/s (second). That is, after the code scanning device scans the identification two-dimensional code on the display device, the code scanning device obtains the verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the verification server within 1 second. To the user of sweeping sign indicating number equipment, it only sees to have accomplished the verification after once sweeping the sign indicating two-dimensional code, and in fact, sweeps a sign indicating number equipment and has carried out twice and sweep the sign indicating number, but this process has just been accomplished very soon, sweeps the user of sign indicating number equipment end and does not perceive the secondary and sweep the sign indicating number. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Exemplary method
Fig. 3A is a schematic flow chart of a two-dimensional code anti-counterfeiting processing method according to some embodiments of the present application; as shown in fig. 3A, the two-dimensional code anti-counterfeiting processing method includes:
step S301A, uploading identification data of a preset identification two-dimensional code to a server, so that the server verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code;
in this application embodiment, the two-dimensional identification code may be a fixed two-dimensional code, or a two-dimensional code that can be replaced according to a specific period, and may be displayed in the display carrier. The identification data of the identification two-dimensional code is content and information which are contained in the identification two-dimensional code and correspond to the identification two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In some optional embodiments, the identification data of the preset identification two-dimensional code is uploaded to a server, the identification data of the identification two-dimensional code is verified by the server, an anti-counterfeiting two-dimensional code is generated on line in real time according to a verification result, when the identification two-dimensional code is replaced, the preset identification two-dimensional code is scanned and recognized, the identification data of the identification two-dimensional code is obtained and uploaded to the server, the identification data of the identification two-dimensional code is verified by the server, and the anti-counterfeiting two-dimensional code is generated on line in real time according to the verification result, so that the identification two-dimensional code is replaced. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Step S302A, obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
In the embodiment of the application, after the identification data of the identification two-dimensional code passes verification, the identification data of the anti-counterfeiting two-dimensional code generated online in real time by the server is uploaded to the server, so that the server completes anti-counterfeiting verification. When the verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server side is received and passes the verification, the code scanning is successful, and the code scanning process is finished; and if the verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server side is received and is not verified, the code scanning fails. At the moment, scanning the identification two-dimensional code again, uploading identification data of the identification two-dimensional code which is scanned again, verifying the identification data again by the server, and generating a new anti-counterfeiting two-dimensional code to replace the identification two-dimensional code; and uploading the identification data of the newly generated anti-counterfeiting two-dimensional code again, and verifying the identification data again by the server. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In some optional embodiments, the obtaining, according to the anti-fake two-dimensional code generated by the server, the identification data of the anti-fake two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-fake two-dimensional code, and receives verification result information of the identification data of the anti-fake two-dimensional code fed back by the server, includes: and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In the embodiment of the present application, when step S301A is executed, the identification two-dimensional code may not be changed, and the anti-counterfeit two-dimensional codes generated by the server each time are unique and completely different, thereby ensuring the uniqueness of the anti-counterfeit two-dimensional code; when step S302A is executed, scanning and identifying the anti-counterfeit two-dimensional code to obtain identification data of the anti-counterfeit two-dimensional code, verifying the identification data of the anti-counterfeit two-dimensional code by the server, and if the verification is passed, confirming that the code scanning is successful, and ending the code scanning process. Therefore, the influence of modes such as screen capturing, screen recording, photographing and video recording on the two-dimensional code anti-counterfeiting verification is effectively avoided, and the two-dimensional code anti-counterfeiting verification effect is accurately improved. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Fig. 3B is a schematic flowchart of a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application; as shown in fig. 3B, the two-dimensional code anti-counterfeiting processing method includes:
step S301B, receiving identification data of a preset identification two-dimensional code uploaded by a client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code;
in the embodiment of the application, when receiving the identification data of the preset identification two-dimensional code uploaded by the client, the client can communicate with the client in a bluetooth or network (e.g., wired network or wireless network) manner. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Fig. 3C is a schematic flowchart of step S301B in a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application; as shown in fig. 3C, receiving the identification data of the preset identification two-dimensional code uploaded by the client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code, including:
step S3111B, receiving preset identification data of the identification two-dimensional code uploaded by the client;
in the embodiment of the application, the client scans the two-dimension identification code to obtain the identification data of the two-dimension identification code, and the two-dimension identification code can be uploaded in the modes of Bluetooth, network and the like. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Step S321B, verifying the identification data of the two-dimensional identification code according to the pre-stored standard data of the two-dimensional identification code;
in some optional embodiments, when the identification data of the two-dimensional identification code is verified according to the pre-stored standard data of the two-dimensional identification code, the identification data of the two-dimensional identification code is compared with the standard data of the two-dimensional identification code, so as to verify the identification data of the two-dimensional identification code. The standard data of the identification two-dimensional code is unique and is pre-stored, and if the identification data of the identification two-dimensional code is consistent with the standard data of the identification two-dimensional code, the uploaded identification data of the identification two-dimensional code passes verification; and if the identification data of the identification two-dimensional code is inconsistent with the standard data of the identification two-dimensional code, the verification of the uploaded identification data of the identification two-dimensional code fails. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Step S331B, responding to the passing of the verification of the identification data of the two-dimensional identification code, and generating the anti-counterfeiting two-dimensional code on line in real time according to the standard data, the current time data and the current geographic position data of the two-dimensional identification code so as to replace the two-dimensional identification code, so that the client side can obtain the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code.
In the embodiment of the application, if the identification data of the identification two-dimensional code is consistent with the standard data of the identification two-dimensional code, the identification data of the identification two-dimensional code passes verification; and updating the identification two-dimensional code by using the current time data and the geographic position data in the standard data of the identification two-dimensional code, and generating a new two-dimensional code, namely the anti-counterfeiting two-dimensional code on line in real time. And scanning and recognizing the anti-counterfeiting two-dimensional code by the client to obtain the recognition data of the anti-counterfeiting two-dimensional code, and replacing the identification two-dimensional code. Therefore, due to the continuous updating change of the current time data and the current geographic position data, the generated anti-counterfeiting two-dimensional code is always different, and the uniqueness of the anti-counterfeiting two-dimensional code can be ensured. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Step S302B, receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client.
In this embodiment of the application, when receiving the identification data of the anti-counterfeit two-dimensional code uploaded by the client, reference may be made to the method in step S301B, which is not described herein again. It should be understood that the above description is only illustrative and not restrictive in any way.
Fig. 3D is a schematic flowchart of step S302B in a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application; as shown in fig. 3D, receiving the identification data of the anti-counterfeit two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeit two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeit two-dimensional code to the client includes:
step S312B, receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client;
in the embodiment of the application, the client scans and identifies the anti-counterfeiting two-dimensional code to obtain the identification data of the anti-counterfeiting two-dimensional code, and uploads the identification data through Bluetooth, network and other modes. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Step S322B, verifying the identification data of the anti-counterfeit two-dimensional code according to the standard data of the anti-counterfeit two-dimensional code, and feeding back the verification result information of the identification data of the anti-counterfeit two-dimensional code to the client, where the standard data of the anti-counterfeit two-dimensional code includes: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code.
In the embodiment of the application, when the identification data of the two-dimensional code passes verification, the anti-counterfeiting two-dimensional code is generated on line in real time according to the standard data, the current time data and the current geographic position data of the two-dimensional code, so that the standard data of the anti-counterfeiting two-dimensional code at least comprises the standard data of the two-dimensional code, the time data and the geographic position data of the anti-counterfeiting two-dimensional code generated on line in real time. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In a specific example, when the identification data of the anti-counterfeiting two-dimensional code is verified according to the standard data of the anti-counterfeiting two-dimensional code, the identification data of the anti-counterfeiting two-dimensional code is compared with the standard data of the anti-counterfeiting two-dimensional code so as to verify the identification data of the anti-counterfeiting two-dimensional code. If the identification data of the anti-counterfeiting two-dimensional code is consistent with the standard data of the anti-counterfeiting two-dimensional code, the identification data of the anti-counterfeiting two-dimensional code passes verification; and if the identification data of the anti-counterfeiting two-dimensional code is consistent with the standard data of the anti-counterfeiting two-dimensional code, the identification data of the anti-counterfeiting two-dimensional code is not verified. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In another specific example, when the verification result information of the identification data of the anti-counterfeiting two-dimensional code is fed back to the client, if the identification data of the anti-counterfeiting two-dimensional code passes verification, the verification passing information of the identification data of the anti-counterfeiting two-dimensional code is fed back to the client, that is, the code scanning is successful, and the current code scanning process is ended; and if the verification of the identification data of the anti-counterfeiting two-dimensional code is not passed, feeding back verification failure information of the identification data of the anti-counterfeiting two-dimensional code to the client, namely code scanning fails, and ending the current code scanning process. Therefore, the influence of modes such as screen capturing, screen recording, photographing and video recording on the two-dimensional code anti-counterfeiting verification is effectively avoided, and the two-dimensional code anti-counterfeiting verification effect is accurately improved. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Exemplary System
Fig. 4 is a schematic structural diagram of a two-dimensional code anti-counterfeiting processing system according to some embodiments of the present application; as shown in fig. 4, the two-dimensional code anti-counterfeiting processing system includes: the code scanning device 401 is configured to upload identification data of a preset identification two-dimensional code to the verification server 402, so that the verification server 402 verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; uploading the identification data of the anti-counterfeiting two-dimensional code to the verification server 402 so that the verification server 402 verifies the identification data of the anti-counterfeiting two-dimensional code; the verification server 402 is configured to receive the identification data of the two-dimensional identification code uploaded by the code scanning device 401, verify the identification data of the two-dimensional identification code, and generate the anti-counterfeiting two-dimensional code in real time on line according to a verification result so as to replace the two-dimensional identification code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning device 401, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning device 401. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In some optional embodiments, the code scanning device 401 is further configured to scan a preset identification two-dimensional code to obtain identification data of the identification two-dimensional code and upload the identification data to the verification server 402, so that the verification server 402 verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the verification server 402 so that the verification server 402 verifies the identification data of the anti-counterfeiting two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In some optional embodiments, the verification server 402 is further configured to receive the identification data of the two-dimensional identification code uploaded by the code scanning device 401, verify the identification data of the two-dimensional identification code according to pre-stored standard data of the two-dimensional identification code, and in response to the verification of the identification data of the two-dimensional identification code being passed, generate the anti-counterfeiting two-dimensional code on line in real time according to the standard data of the two-dimensional identification code, current time data, and current geographic location data, so as to replace the two-dimensional identification code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning device 401, verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning device 401, wherein the standard data of the anti-counterfeiting two-dimensional code includes: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
The two-dimensional code anti-counterfeiting processing system provided by the embodiment of the application can realize each process in the two-dimensional code anti-counterfeiting processing method embodiment, and achieve the same functions and beneficial effects, which are not repeated herein.
Exemplary Medium
Embodiments of the present application further provide a computer-readable medium for storing a computer program, where the computer-readable medium may be a readable storage medium, such as a usb disk, an optical disk, a hard disk, and the like; and readable signal media such as optical, electrical, magnetic, electromagnetic, etc. devices. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In some embodiments of the present application, the computer program stored on the computer-readable medium, when executed by the processor, may implement the following: uploading identification data of a preset identification two-dimensional code to a server, verifying the identification data of the identification two-dimensional code by the server, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; and obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when executed by a processor, a computer program stored in the computer-readable medium uploads identification data of a preset identification two-dimensional code to a server, so that the server verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code in real time on line according to a verification result, so as to replace the identification two-dimensional code, where the computer program includes: scanning and recognizing the preset identification two-dimensional code to obtain the identification data of the identification two-dimensional code, uploading the identification data to the server, verifying the identification data of the identification two-dimensional code by the server, and generating the anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when executed by a processor, a computer program stored in the computer-readable medium obtains, according to the anti-fake two-dimensional code generated by the server, identification data of the anti-fake two-dimensional code and uploads the identification data to the server, so that the server verifies the identification data of the anti-fake two-dimensional code and receives verification result information of the identification data of the anti-fake two-dimensional code fed back by the server, and the computer program includes: and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
In other embodiments of the present application, the computer program stored on the computer-readable medium, when executed by the processor, may implement the following: receiving identification data of a preset identification two-dimensional code uploaded by a client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result so as to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when executed by a processor, a computer program stored in the computer-readable medium receives identification data of a preset identification two-dimensional code uploaded by a client, verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code, including: receiving preset identification data of the identification two-dimensional code uploaded by the client; verifying the identification data of the two-dimension identification code according to the pre-stored standard data of the two-dimension identification code; and responding to the passing of the verification of the identification data of the two-dimension identification code, and generating the anti-counterfeiting two-dimension code on line in real time according to the standard data, the current time data and the current geographic position data of the two-dimension identification code so as to replace the two-dimension identification code, so that the client side obtains the identification data of the anti-counterfeiting two-dimension code according to the anti-counterfeiting two-dimension code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when executed by a processor, a computer program stored in the computer-readable medium receives the identification data of the anti-counterfeit two-dimensional code uploaded by the client, verifies the identification data of the anti-counterfeit two-dimensional code, and feeds back verification result information of the identification data of the anti-counterfeit two-dimensional code to the client, where the computer program includes: receiving identification data of the anti-counterfeiting two-dimensional code uploaded by the client; verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back the verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client, wherein the standard data of the anti-counterfeiting two-dimensional code comprises: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
The computer-readable medium provided in the embodiment of the present application can implement each process in the above two-dimensional code anti-counterfeiting processing method embodiment, and achieve the same function and beneficial effect, which are not described in detail herein.
Exemplary device
Fig. 5A is a schematic structural diagram of an electronic device provided in accordance with some embodiments of the present application; as shown in fig. 5A, the electronic apparatus includes:
one or more processors 501A;
a computer-readable medium 502A, which may be configured to store one or more programs,
the one or more processors 501A, when executing the one or more programs, implement the steps of: uploading identification data of a preset identification two-dimensional code to a server, verifying the identification data of the identification two-dimensional code by the server, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; and obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when the one or more processors 501A execute one or more programs, the step of uploading the preset identification data of the two-dimensional identification code to the server, so that the server verifies the identification data of the two-dimensional identification code, and generates an anti-counterfeit two-dimensional code on line in real time according to a verification result, so as to replace the two-dimensional identification code includes: scanning and recognizing the preset identification two-dimensional code to obtain the identification data of the identification two-dimensional code, uploading the identification data to the server, verifying the identification data of the identification two-dimensional code by the server, and generating the anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when the one or more processors 501A execute one or more programs, the step of obtaining, according to the anti-counterfeiting two-dimensional code generated by the server, identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code, and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server includes: and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
FIG. 5B is a schematic diagram of an electronic device according to further embodiments of the present application; as shown in fig. 5B, the electronic apparatus includes:
one or more processors 501B;
a computer-readable medium 502B, which may be configured to store one or more programs,
the one or more processors 501B, when executing the one or more programs, implement the steps of: receiving identification data of a preset identification two-dimensional code uploaded by a client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result so as to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code; and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when the one or more processors 501B execute one or more programs, the step of receiving the identification data of the preset identification two-dimensional code uploaded by the client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code includes: receiving preset identification data of the identification two-dimensional code uploaded by the client; verifying the identification data of the two-dimension identification code according to the pre-stored standard data of the two-dimension identification code; and responding to the passing of the verification of the identification data of the two-dimension identification code, and generating the anti-counterfeiting two-dimension code on line in real time according to the standard data, the current time data and the current geographic position data of the two-dimension identification code so as to replace the two-dimension identification code, so that the client side obtains the identification data of the anti-counterfeiting two-dimension code according to the anti-counterfeiting two-dimension code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
Optionally, when the one or more processors 501B execute one or more programs, the step of receiving the identification data of the anti-counterfeit two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeit two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeit two-dimensional code to the client includes: receiving identification data of the anti-counterfeiting two-dimensional code uploaded by the client; verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back the verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client, wherein the standard data of the anti-counterfeiting two-dimensional code comprises: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code. It should be understood that the above description is only exemplary, and the embodiments of the present application do not limit the present invention.
FIG. 6 is a hardware architecture of an electronic device provided in accordance with some embodiments of the present application; as shown in fig. 6, the hardware structure of the electronic device may include: a processor 601, a communication interface 602, a computer-readable medium 603, and a communication bus 604;
the processor 601, the communication interface 602, and the computer-readable medium 603 complete communication with each other through the communication bus 604;
alternatively, the communication interface 602 may be an interface of a communication module, such as an interface of a GSM module;
the processor 601 may be specifically configured to: uploading identification data of a preset identification two-dimensional code to a server, verifying the identification data of the identification two-dimensional code by the server, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code; and obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
The Processor 601 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
It should be noted that, according to the implementation requirement, each component/step described in the embodiment of the present application may be divided into more components/steps, and two or more components/steps or partial operations of the components/steps may also be combined into a new component/step to achieve the purpose of the embodiment of the present application.
The above-described methods according to embodiments of the present application may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine storage medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be stored in such software processes on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It is understood that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the long-exposure shooting control methods described herein. Further, when a general-purpose computer accesses code for implementing the methods illustrated herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the methods illustrated herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
It should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts suggested as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A two-dimensional code anti-counterfeiting processing method is characterized by comprising the following steps:
uploading identification data of a preset identification two-dimensional code to a server, verifying the identification data of the identification two-dimensional code by the server, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code;
and obtaining identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
2. The two-dimensional code anti-counterfeiting processing method according to claim 1, wherein the uploading of the identification data of the preset identification two-dimensional code to a server side for verification of the identification data of the identification two-dimensional code by the server side and online real-time generation of the anti-counterfeiting two-dimensional code according to the verification result to replace the identification two-dimensional code comprises:
scanning and recognizing the preset identification two-dimensional code to obtain the identification data of the identification two-dimensional code, uploading the identification data to the server, verifying the identification data of the identification two-dimensional code by the server, and generating the anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code.
3. The two-dimensional code anti-counterfeiting processing method according to any one of claims 1 to 2, wherein the obtaining of the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server and uploading of the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server, comprises:
and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code and receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
4. A two-dimensional code anti-counterfeiting processing method is characterized by comprising the following steps:
receiving identification data of a preset identification two-dimensional code uploaded by a client, verifying the identification data of the identification two-dimensional code, and generating an anti-counterfeiting two-dimensional code on line in real time according to a verification result so as to replace the identification two-dimensional code, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code;
and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client.
5. The two-dimension code anti-counterfeiting processing method according to claim 4, wherein the receiving client uploads identification data of a preset identification two-dimension code, the identification data of the identification two-dimension code is verified, and an anti-counterfeiting two-dimension code is generated on line in real time according to a verification result to replace the identification two-dimension code, so that the client obtains the identification data of the anti-counterfeiting two-dimension code according to the anti-counterfeiting two-dimension code, and the method comprises the following steps:
receiving preset identification data of the identification two-dimensional code uploaded by the client;
verifying the identification data of the two-dimension identification code according to the pre-stored standard data of the two-dimension identification code;
and responding to the passing of the verification of the identification data of the two-dimension identification code, and generating the anti-counterfeiting two-dimension code on line in real time according to the standard data, the current time data and the current geographic position data of the two-dimension identification code so as to replace the two-dimension identification code, so that the client side obtains the identification data of the anti-counterfeiting two-dimension code according to the anti-counterfeiting two-dimension code.
6. The two-dimensional code anti-counterfeiting processing method according to any one of claims 4 to 5, wherein the receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the client, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client comprises:
receiving identification data of the anti-counterfeiting two-dimensional code uploaded by the client;
verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back the verification result information of the identification data of the anti-counterfeiting two-dimensional code to the client, wherein the standard data of the anti-counterfeiting two-dimensional code comprises: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code.
7. A two-dimensional code anti-counterfeiting processing system is characterized by comprising: a code scanning device and a verification server,
the code scanning device is configured to upload identification data of a preset identification two-dimensional code to the verification server, so that the verification server verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code;
uploading the identification data of the anti-counterfeiting two-dimensional code to the verification server so that the verification server verifies the identification data of the anti-counterfeiting two-dimensional code;
the verification server is configured to receive the identification data of the identification two-dimensional code uploaded by the code scanning device, verify the identification data of the identification two-dimensional code, and generate the anti-counterfeiting two-dimensional code on line in real time according to a verification result so as to replace the identification two-dimensional code;
and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning equipment, verifying the identification data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning equipment.
8. The two-dimensional code anti-counterfeiting processing system according to claim 7, wherein the code scanning device is further configured to scan a preset identification two-dimensional code to obtain identification data of the identification two-dimensional code and upload the identification data to the verification server, so that the verification server verifies the identification data of the identification two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the identification two-dimensional code;
and scanning and identifying the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code and uploading the identification data to the verification server so that the verification server verifies the identification data of the anti-counterfeiting two-dimensional code.
9. The two-dimensional code anti-counterfeiting processing system according to any one of claims 7 to 8, wherein the verification server is further configured to receive identification data of the two-dimensional code identification uploaded by the code scanning device, verify the identification data of the two-dimensional code identification according to pre-stored standard data of the two-dimensional code identification, and in response to the identification data of the two-dimensional code identification passing verification, generate the anti-counterfeiting two-dimensional code on line in real time according to the standard data, current time data and current geographic position data of the two-dimensional code identification to replace the two-dimensional code identification;
and receiving the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning equipment, verifying the identification data of the anti-counterfeiting two-dimensional code according to the standard data of the anti-counterfeiting two-dimensional code, and feeding back verification result information of the identification data of the anti-counterfeiting two-dimensional code to the code scanning equipment, wherein the standard data of the anti-counterfeiting two-dimensional code comprises: the standard data of the identification two-dimensional code, the generation time data of the anti-counterfeiting two-dimensional code and the generation geographic position data of the anti-counterfeiting two-dimensional code.
10. A computer-readable medium on which a computer program is stored, wherein the program is the two-dimensional code anti-counterfeiting processing method according to any one of claims 1 to 3.
11. An electronic device, comprising: the two-dimensional code anti-counterfeiting processing system comprises a memory, a processor and a program which is stored in the memory and can be run on the processor, wherein the processor executes the program to realize the two-dimensional code anti-counterfeiting processing method according to any one of claims 1 to 3.
CN202010431065.7A 2020-05-20 2020-05-20 Two-dimensional code anti-counterfeiting processing method, system, computer readable medium and electronic equipment Active CN111597851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010431065.7A CN111597851B (en) 2020-05-20 2020-05-20 Two-dimensional code anti-counterfeiting processing method, system, computer readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010431065.7A CN111597851B (en) 2020-05-20 2020-05-20 Two-dimensional code anti-counterfeiting processing method, system, computer readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111597851A true CN111597851A (en) 2020-08-28
CN111597851B CN111597851B (en) 2023-06-23

Family

ID=72190441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010431065.7A Active CN111597851B (en) 2020-05-20 2020-05-20 Two-dimensional code anti-counterfeiting processing method, system, computer readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111597851B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128994A (en) * 2021-04-26 2021-07-16 深圳海红智能制造有限公司 Trusted mobile payment device and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006004025A (en) * 2004-06-16 2006-01-05 Nishi Nippon Exec:Kk Personal identification system and method using two-dimensional code
CN103761602A (en) * 2013-12-31 2014-04-30 深圳市将者科技有限公司 Mobile card punching system based on dynamic two-dimensional codes
CN103810767A (en) * 2014-02-17 2014-05-21 百度在线网络技术(北京)有限公司 Off-line activity signing-in method and off-line activity signing-in system
CN103824201A (en) * 2014-03-20 2014-05-28 徐永君 System and method for realizing dynamic code anti-counterfeiting based on two-dimensional code technology
CN104217342A (en) * 2014-09-19 2014-12-17 四川省宜宾五粮液集团有限公司 Anti-counterfeiting method based on radio frequency identification tag and two dimension code tag
CN104881787A (en) * 2015-05-13 2015-09-02 景视佳传媒科技(北京)有限公司 Method, system and device for two-dimension code authenticity
CN106204864A (en) * 2016-08-31 2016-12-07 北京厚文知识产权顾问有限公司 Gate control system based on dynamic two-dimension code and door opening method
CN106385317A (en) * 2016-09-05 2017-02-08 深圳正品网信息科技有限公司 Anti-fake verification method and device, and electronic device
US20180232552A1 (en) * 2015-10-28 2018-08-16 Alibaba Group Holding Limited Two-dimensional code processing method and apparatus
US20190164174A1 (en) * 2016-08-10 2019-05-30 Hongde SHEN Internet-based multi-level two-dimensional code anti-counterfeiting method, device and system
CN111160504A (en) * 2019-12-31 2020-05-15 天津津滨信钥信息技术有限公司 Method, device and equipment for generating dynamic two-dimensional code and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006004025A (en) * 2004-06-16 2006-01-05 Nishi Nippon Exec:Kk Personal identification system and method using two-dimensional code
CN103761602A (en) * 2013-12-31 2014-04-30 深圳市将者科技有限公司 Mobile card punching system based on dynamic two-dimensional codes
CN103810767A (en) * 2014-02-17 2014-05-21 百度在线网络技术(北京)有限公司 Off-line activity signing-in method and off-line activity signing-in system
CN103824201A (en) * 2014-03-20 2014-05-28 徐永君 System and method for realizing dynamic code anti-counterfeiting based on two-dimensional code technology
CN104217342A (en) * 2014-09-19 2014-12-17 四川省宜宾五粮液集团有限公司 Anti-counterfeiting method based on radio frequency identification tag and two dimension code tag
CN104881787A (en) * 2015-05-13 2015-09-02 景视佳传媒科技(北京)有限公司 Method, system and device for two-dimension code authenticity
US20180232552A1 (en) * 2015-10-28 2018-08-16 Alibaba Group Holding Limited Two-dimensional code processing method and apparatus
US20190164174A1 (en) * 2016-08-10 2019-05-30 Hongde SHEN Internet-based multi-level two-dimensional code anti-counterfeiting method, device and system
CN106204864A (en) * 2016-08-31 2016-12-07 北京厚文知识产权顾问有限公司 Gate control system based on dynamic two-dimension code and door opening method
CN106385317A (en) * 2016-09-05 2017-02-08 深圳正品网信息科技有限公司 Anti-fake verification method and device, and electronic device
CN111160504A (en) * 2019-12-31 2020-05-15 天津津滨信钥信息技术有限公司 Method, device and equipment for generating dynamic two-dimensional code and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128994A (en) * 2021-04-26 2021-07-16 深圳海红智能制造有限公司 Trusted mobile payment device and system

Also Published As

Publication number Publication date
CN111597851B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
TWI752418B (en) Server, client, user authentication method and system
US10469488B2 (en) Security verification method, apparatus, and system
TWI616821B (en) Bar code generation method, bar code based authentication method and related terminal
CN111639968B (en) Track data processing method, track data processing device, computer equipment and storage medium
CN107491674B (en) Method and device for user authentication based on characteristic information
CN109005159B (en) Data processing method for terminal access system server and authentication server
US9621703B2 (en) Motion to connect to kiosk
US20200218772A1 (en) Method and apparatus for dynamically identifying a user of an account for posting images
KR102559827B1 (en) System for authenticating image based on blockchain and hash encryption technique and method thereof
CN106921969A (en) Terminal authenticity verification method, apparatus and system
CN111931835A (en) Image identification method, device and system
CN110764929A (en) Message interaction method, system and device and electronic equipment
CN104919456A (en) Image processing apparatus, image processing method and program, and image pickup apparatus
CN111597851A (en) Two-dimensional code anti-counterfeiting processing method and system, computer readable medium and electronic equipment
CN112989308B (en) Account authentication method, device, equipment and medium
CN111181839B (en) Data processing method, device and equipment in application sharing
CN106204198A (en) Firm Order method and apparatus
CN111090849A (en) Memory, verification code implementation method, device and equipment
CN113194420A (en) Card password modification method and system based on 5G message and face recognition and each terminal
CN108023856B (en) Information sharing method and device
CN112732140A (en) Resource processing method and device, electronic equipment and storage medium
CN112511739A (en) Interactive information generation method and equipment
CN105472271A (en) Video interaction method, device and system
CN111797645B (en) Method and device for identifying bar codes
KR20230008810A (en) Create a panorama with your mobile camera

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: 20230602

Address after: Station 10, Floor 14, North Building, Outlets, No. 9 Chagu Avenue, Liuwu New District, Lhasa, Tibet Autonomous Region, 850000

Applicant after: Yunteng Shuyu Digital Technology Co.,Ltd.

Address before: Room 215b, building 7, No.2 a, Qijiahuozi, Haidian District, Beijing

Applicant before: BEIJING ZHONGYUNWEIXUN INFORMATION TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant