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

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

Info

Publication number
CN111597851B
CN111597851B CN202010431065.7A CN202010431065A CN111597851B CN 111597851 B CN111597851 B CN 111597851B CN 202010431065 A CN202010431065 A CN 202010431065A CN 111597851 B CN111597851 B CN 111597851B
Authority
CN
China
Prior art keywords
dimensional code
counterfeiting
identification
identification data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010431065.7A
Other languages
Chinese (zh)
Other versions
CN111597851A (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
Yunteng Shuyu Digital 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 Yunteng Shuyu Digital Technology Co ltd filed Critical Yunteng Shuyu Digital 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 provisions 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 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 so as to replace the identification two-dimensional code; and according to the anti-counterfeiting two-dimensional code generated by the server, obtaining identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving 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, 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 the figure of the data symbol information which is distributed at intervals on a plane (in a two-dimensional direction) according to a certain rule, a plurality of geometric shapes corresponding to binary are used for representing literal numerical information, and the information is automatically read through an image input device or a photoelectric scanning device to realize automatic information processing, so that the two-dimensional code is widely applied to various fields of various industries.
Currently, with the continuous development of the mobile internet, in daily life such as electronic commerce, online shopping and payment, two-dimension codes are widely used in various industries in many scenes, the two-dimension codes are printed on bills, products, packages, certificates and high-value products, and identity confirmation, payment, verification and verification are performed by scanning the two-dimension codes through equipment. In the process of verifying the two-dimensional code, anti-counterfeiting verification of the two-dimensional code is usually achieved from the aspects of content encryption, validity period of the two-dimensional code and the like, but the modes of screen capturing, screen recording and fake-lighting data through equipment or photographing, video recording and the like through a plurality of pieces of equipment exist, so that the anti-counterfeiting verification of the two-dimensional code is avoided, and the anti-counterfeiting verification fails.
Disclosure of Invention
Based on the above problems, embodiments of the present application provide a two-dimensional code anti-counterfeit processing method, a system, a computer readable medium and an electronic device, so as to solve or alleviate the technical problems existing in the prior art.
To achieve the above objective, an embodiment of the present application provides a two-dimensional code anti-counterfeit 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 so as to replace the identification two-dimensional code; and according to the anti-counterfeiting two-dimensional code generated by the server, obtaining identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving 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 present application, uploading the identification data of the preset two-dimensional code to a server, so that the server verifies the identification data of the two-dimensional code, and generates the anti-counterfeiting two-dimensional code online in real time according to a verification result, so as to replace the two-dimensional code, including: and carrying out code scanning identification on the preset identification two-dimensional code to obtain identification data of the identification two-dimensional code, uploading the identification data to the server side, verifying the identification data of the identification two-dimensional code by the server side, and generating 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.
Optionally, in any embodiment of the present application, the 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, where the verification result information includes: and carrying out code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
The embodiment of the application also provides a two-dimensional code anti-counterfeiting processing method, which comprises 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; 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 present application, the receiving the identification data of the preset two-dimensional code uploaded by the client, verifying the identification data of the two-dimensional code, and generating the anti-counterfeiting two-dimensional code online in real time according to the verification result, so as to replace the 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 the method includes: receiving preset identification data of the identification two-dimensional code uploaded by the client; verifying the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code; and responding to the verification of the identification data of the identification two-dimensional code, 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 identification two-dimensional code 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.
Optionally, in any embodiment of the present application, 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 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.
The embodiment of the application also provides a two-dimensional code anti-counterfeiting processing system, which comprises: the code scanning device is configured to upload identification data of a preset identification two-dimensional code to the verification server so as to verify the identification data of the identification two-dimensional code by the verification server, and generate 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; 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 equipment, 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 present application, the code scanning device is further configured to scan and identify a preset two-dimensional code of the identifier, obtain identification data of the two-dimensional code of the identifier, upload the identification data to the verification server, verify the identification data of the two-dimensional code of the identifier by the verification server, and generate an anti-counterfeiting two-dimensional code on line in real time according to a verification result, so as to replace the two-dimensional code of the identifier; and performing code scanning identification on 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 can verify the identification data of the anti-counterfeiting two-dimensional code.
Optionally, in any embodiment of the present application, the verification server is further configured to receive identification data of the identification two-dimensional code uploaded by the code scanning device, verify the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code, and generate the anti-counterfeiting two-dimensional code in real time on line according to the standard data, current time data and current geographic position data of the identification two-dimensional code in response to the verification of the identification two-dimensional code passing, 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 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 application also 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 embodiments.
The embodiment of the application also provides electronic equipment, which comprises: the anti-counterfeiting two-dimensional code processing method comprises a memory, a processor and a program stored in the memory and capable of running on the processor, wherein the two-dimensional code anti-counterfeiting processing method is realized when the processor executes the program.
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 and in real time according to the verification result; then, according to the anti-counterfeiting two-dimensional code generated by the server, identification data of the anti-counterfeiting two-dimensional code is obtained, the identification data of the anti-counterfeiting two-dimensional code is uploaded to the server, and verification is carried out by the server; and finally, the server feeds the verification result information of the identification data of the anti-counterfeiting two-dimensional code back 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.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic diagram of a two-dimensional code anti-counterfeiting processing procedure provided according to some embodiments of the present application;
fig. 2 is a schematic view of an application scenario provided according to some embodiments of the present application;
fig. 3A is a flow chart of a two-dimensional code anti-counterfeiting processing method according to some embodiments of the present application;
fig. 3B is a schematic flow chart of a two-dimensional code anti-counterfeiting processing method according to other embodiments of the present application;
fig. 3C is a schematic flow chart of step S301B in the two-dimensional code anti-counterfeit processing method according to other embodiments of the present application;
fig. 3D is a schematic flow chart of step S302B in the two-dimensional code anti-counterfeit 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 according to some embodiments of the present application;
fig. 5B is a schematic structural diagram of an electronic device according to other embodiments of the present application;
fig. 6 is a hardware structure of an electronic device provided according to some embodiments of the present application.
Detailed Description
It is not necessary for any of the embodiments of the present application to be practiced with all of the advantages described above.
In order to make the present invention better understood by those skilled in the art, the following description will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiments of the present application are further described below with reference to the accompanying drawings.
Exemplary flow
Fig. 1 is a schematic diagram of a two-dimensional code anti-counterfeiting processing procedure provided according to some embodiments of the present application; as shown in fig. 1, at a client, uploading preset identification data for identifying a two-dimensional code; at the server, verifying the identification data of the identification two-dimensional code, 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 the anti-counterfeiting two-dimensional code; and then, the client identifies the generated anti-counterfeiting two-dimensional code, uploads the identification data of the obtained anti-counterfeiting two-dimensional code, the server verifies the identification data of the anti-counterfeiting two-dimensional code, and the verification result information is fed back 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 scenario
Fig. 2 is a schematic view of an application scenario provided according to some embodiments of the present application; as shown in fig. 2, in the application scenario, the pre-displayed identification two-dimensional code is scanned and identified through the code scanning device, so that identification data of the identification two-dimensional code is obtained, the identification data of the identification two-dimensional code is uploaded to the verification server, the verification server verifies the identification data of the identification two-dimensional code, if the identification data of the identification two-dimensional code passes verification, the verification server generates the anti-counterfeiting two-dimensional code on line in real time, and the identification two-dimensional code is replaced through the anti-counterfeiting two-dimensional code. The code scanning equipment performs code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, the identification data of the anti-counterfeiting two-dimensional code is uploaded to the verification server, the verification server verifies the identification data of the anti-counterfeiting two-dimensional code, and verification result information of the anti-counterfeiting two-dimensional code is fed back to the code scanning equipment. If the identification data verification of the anti-counterfeiting two-dimensional code passes, the code scanning equipment finishes the code scanning.
In the application scene, the display of the identification two-dimensional code and the anti-counterfeiting two-dimensional code can be completed through the display equipment, and the data transmission between the code scanning equipment and the verification server can be realized through different modes such as Bluetooth, a network (a wired network or a wireless network) and the like. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In the application scene, after the identification data of the identification two-dimensional code passes verification, the anti-counterfeiting two-dimensional code can be actively displayed on the display device by the verification server to replace the identification two-dimensional code on the display device, or the code scanning device can send a request to the verification server to confirm whether the anti-counterfeiting two-dimensional code is displayed on the display device or not to replace the identification two-dimensional code on the display device. Therefore, the uniqueness of the anti-counterfeiting two-dimensional code is guaranteed 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In the embodiment of the application, the verification server verifies the identification data of the identification two-dimensional code, the identification two-dimensional code is replaced by online real-time production of the anti-counterfeiting two-dimensional code, and the anti-counterfeiting two-dimensional code is scanned and identified by the code scanning equipment. If the anti-counterfeiting two-dimensional code is recorded on the screen or the photo, the latest produced anti-counterfeiting two-dimensional code is received, but because the recorded screen or the photo does not have the communication capability, and the built-in program (the program for scanning the anti-counterfeiting two-dimensional code) in the code scanning equipment does not exist in the recorded screen or the photo, the verification server cannot accept the anti-counterfeiting two-dimensional code, so that the anti-counterfeiting two-dimensional code is identified through the recorded screen or the photo, and the verification server only feeds back the result information of verification failure. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In the embodiment of the application, the code scanning equipment performs code scanning identification on the identification two-dimensional code, generates identification data of the identification two-dimensional 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 device; thirdly, the code scanning equipment performs code scanning identification on the anti-counterfeiting two-dimensional code on the display equipment, and the identification data of the obtained anti-counterfeiting two-dimensional code is uploaded to the verification server for verification; and finally, the verification server feeds the verification result information of the identification data of the anti-counterfeiting two-dimensional code back to the code scanning equipment. In this process, the process can be completed within 1 second under the stable network environment with the speed of 50k/s (seconds). After the code scanning device scans the identification two-dimensional code on the display device, the code scanning device obtains verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the verification server within 1 second. For the user of the code scanning equipment, the verification is completed after the user only sees that the code scanning is performed once on the identification two-dimensional code, in fact, the code scanning equipment performs twice code scanning, but the process is completed quickly, and the user at the code scanning equipment end does not perceive the twice code scanning. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Exemplary method
Fig. 3A is a 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 side, verifying the identification data of the identification two-dimensional code by the server side, 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;
in the embodiment of the application, the identification two-dimensional code can be a fixed two-dimensional code or a two-dimensional code which can be replaced according to a specific period, and can be displayed in a 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In some optional embodiments, when the preset identification data of the identification two-dimensional code is uploaded to a server, so that the server verifies the identification data of the identification two-dimensional code, and generates the anti-counterfeiting two-dimensional code 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 subjected to code scanning identification, the identification data of the identification two-dimensional code is obtained, and is uploaded to the server, so that the server verifies the identification data of the identification two-dimensional code, and generates the anti-counterfeiting two-dimensional code on line in real time according to the verification result, so that the identification two-dimensional code is replaced. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Step S302A, according to the anti-counterfeiting two-dimensional code generated by the server, the identification data of the anti-counterfeiting two-dimensional code is obtained and uploaded to the server, so that the server verifies the identification data of the anti-counterfeiting two-dimensional code, and verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server is received.
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 by the server side in real time on line is uploaded to the server side, so that the server side can complete 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 verification passing, the code scanning is successful, and the code scanning flow is ended; if the verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server side is that verification fails, the code scanning fails. At the moment, the identification two-dimensional code is scanned again for identification, the identification data of the identification two-dimensional code which is scanned again for identification is uploaded, verification is carried out again by the server, and a new anti-counterfeiting two-dimensional code is generated for replacing the identification two-dimensional code; and uploading the identification data of the newly generated anti-counterfeiting two-dimensional code again, and re-verifying by the server. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In some optional embodiments, the obtaining, at the anti-counterfeiting two-dimensional code generated according to the server, the 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, where the verification result information includes: and carrying out code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In the embodiment of the present application, when step S301A is executed, the identification two-dimensional code may be unchanged, and the anti-counterfeiting two-dimensional code generated by the server end each time is unique and completely different, so that the uniqueness of the anti-counterfeiting two-dimensional code is ensured; when executing step S302A, the anti-counterfeiting two-dimensional code is scanned and identified, after the identification data of the anti-counterfeiting two-dimensional code is obtained, the service end verifies the identification data of the anti-counterfeiting two-dimensional code, and if the verification is passed, the code scanning is confirmed to be successful, and the code scanning process is finished. 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Fig. 3B is a schematic flow chart 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 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;
in this embodiment of the present application, when receiving the identification data of the preset identification two-dimensional code uploaded by the client, communication may be performed with the client through bluetooth or a network (for example, a wired network or a wireless network). It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Fig. 3C is a schematic flow chart of step S301B in the two-dimensional code anti-counterfeit processing method according to other embodiments of the present application; as shown in fig. 3C, the receiving the identification data of the preset two-dimensional code uploaded by the client, verifying the identification data of the two-dimensional code, and generating an anti-counterfeiting two-dimensional code online in real time according to a verification result to replace the 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 firstly scans and identifies the identification two-dimensional code to obtain the identification data of the identification two-dimensional code, and the identification data can be uploaded through Bluetooth, a network and the like. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Step S321B, verifying the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code;
in some alternative embodiments, when verifying the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code, comparing the identification data of the identification two-dimensional code with the standard data of the identification two-dimensional code to verify the identification data of the identification two-dimensional code. The method comprises the steps that standard data of the identification two-dimensional code are unique and stored in advance, and if the identification data of the identification two-dimensional code are consistent with the standard data of the identification two-dimensional code, the identification data of the uploaded identification two-dimensional code pass verification; 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
And step 331B, responding to the verification of the identification data of the identification two-dimensional 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 identification two-dimensional code 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.
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 in the standard data of the identification two-dimensional code, updating the identification two-dimensional code by utilizing the current time data and the geographic position data, and generating a new two-dimensional code, namely the anti-counterfeiting two-dimensional code, on line in real time. And then the client performs code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, and replaces the identification two-dimensional code. Therefore, the generated anti-counterfeiting two-dimensional codes are always different due to the continuous updating and changing of the current time data and the current geographic position data, so that the uniqueness of the anti-counterfeiting two-dimensional codes can be ensured. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
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 present application, when the identification data of the anti-counterfeit two-dimensional code uploaded by the client is received, reference may be made to the method in step S301B, which is not described in detail herein. It is to be understood that the above description is merely illustrative, and that the embodiments of the present application are not limited in this respect.
Fig. 3D is a schematic flow chart of step S302B in the two-dimensional code anti-counterfeit processing method according to other embodiments of the present application; as shown in fig. 3D, 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 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 performs code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, and uploads the identification data in a Bluetooth mode, a network mode and the like. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Step S322B, 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.
In the embodiment of the application, when the identification data of the identification two-dimensional code passes verification, the anti-counterfeiting two-dimensional code is generated on line and in real time according to the standard data, the current time data and the current geographic position data of the identification two-dimensional code, so that the standard data of the anti-counterfeiting two-dimensional code at least comprises the standard data of the identification two-dimensional code, the time data and the geographic position data when the anti-counterfeiting two-dimensional code is generated on line and in real time. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
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; 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 verified to be failed. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
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, namely the code scanning is successful, and the current code scanning flow is ended; if the identification data verification of the anti-counterfeiting two-dimensional code fails, feeding back verification failure information of the identification data of the anti-counterfeiting two-dimensional code to the client, namely, the code scanning fails, and ending the current code scanning flow. 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
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; and 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 identification two-dimensional code uploaded by the code scanning device 401, 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 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In some optional embodiments, the code scanning device 401 is further configured to scan and identify the preset two-dimensional code to obtain identification data of the 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 two-dimensional code, and generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result to replace the two-dimensional code; and performing code scanning identification on 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In some optional embodiments, the verification server 402 is further configured to receive the identification data of the identification two-dimensional code uploaded by the code scanning device 401, verify the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code, and generate 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 identification two-dimensional code in response to the verification of the identification two-dimensional code passing, 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 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 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
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, and is not described in detail herein.
Exemplary Medium
The embodiment of the application also provides a computer readable medium for storing a computer program, and the computer readable medium can be a readable storage medium, such as a USB flash disk, an optical disk, a hard disk and the like; and may also be a readable signal medium such as an optical, electrical, magnetic, electromagnetic, etc. device. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In some embodiments of the present application, the computer program stored by the computer readable medium may implement the following flow when executed by a processor: 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 so as to replace the identification two-dimensional code; and according to the anti-counterfeiting two-dimensional code generated by the server, obtaining identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the computer program stored in the computer readable medium is executed by the processor, the uploading the preset identification data of the identification two-dimensional code to the server, so that the server verifies the identification data of the identification two-dimensional code, and generates the anti-counterfeiting two-dimensional code on line in real time according to the verification result, so as to replace the identification two-dimensional code, and the method includes: and carrying out code scanning identification on the preset identification two-dimensional code to obtain identification data of the identification two-dimensional code, uploading the identification data to the server side, verifying the identification data of the identification two-dimensional code by the server side, and generating 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. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the computer program stored in the computer readable medium is executed by the processor, the identifying data of the anti-counterfeiting two-dimensional code is obtained according to the anti-counterfeiting two-dimensional code generated by the server, and is uploaded to the server, so that the server verifies the identifying data of the anti-counterfeiting two-dimensional code, and receives verification result information of the identifying data of the anti-counterfeiting two-dimensional code fed back by the server, including: and carrying out code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
In other embodiments of the present application, the computer program stored on the computer readable medium may implement the following procedure when executed by a processor: 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; 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the computer program stored in the computer readable medium is executed by the processor, the receiving the identification data of the preset two-dimensional code of the identifier uploaded by the client, verifying the identification data of the two-dimensional code of the identifier, and generating the anti-counterfeiting two-dimensional code on line in real time according to the verification result so as to replace the two-dimensional code of the identifier, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional 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 identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code; and responding to the verification of the identification data of the identification two-dimensional code, 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 identification two-dimensional code 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. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the computer program stored in the computer readable medium is executed by the processor, 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 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
The computer readable medium provided in the embodiment of the present application can implement each process in the embodiment of the anti-counterfeit processing method for the two-dimensional code, and achieve the same functions and beneficial effects, which are not described in detail herein.
Exemplary apparatus
Fig. 5A is a schematic structural diagram of an electronic device provided according to some embodiments of the present application; as shown in fig. 5A, the electronic device includes:
one or more processors 501A;
computer-readable media 502A, may be configured to store one or more programs,
the one or more processors 501A, when executing one or more programs, implement 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 so as to replace the identification two-dimensional code; and according to the anti-counterfeiting two-dimensional code generated by the server, obtaining identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the one or more processors 501A execute one or more programs, the step of uploading the identification data of the preset identification two-dimensional code to a server to verify the identification data of the identification two-dimensional code by the server, and generating the anti-counterfeiting two-dimensional code online in real time according to the verification result to replace the identification two-dimensional code includes: and carrying out code scanning identification on the preset identification two-dimensional code to obtain identification data of the identification two-dimensional code, uploading the identification data to the server side, verifying the identification data of the identification two-dimensional code by the server side, and generating 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. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the one or more processors 501A execute one or more programs, the step of obtaining, according to the anti-counterfeit two-dimensional code generated by the server, identification data of the anti-counterfeit two-dimensional code and uploading the identification data to the server, so that the server verifies the identification data of the anti-counterfeit two-dimensional code, and receives verification result information of the identification data of the anti-counterfeit two-dimensional code fed back by the server includes: and carrying out code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Fig. 5B is a schematic structural diagram of an electronic device according to other embodiments of the present application; as shown in fig. 5B, the electronic device includes:
one or more processors 501B;
computer-readable medium 502B, may be configured to store one or more programs,
the one or more processors 501B, when executing one or more programs, implement 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; 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the one or more processors 501B execute one or more programs, the step of receiving the preset identification data of the two-dimensional code uploaded by the client, verifying the identification data of the two-dimensional code, and generating an anti-counterfeiting two-dimensional code online 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 identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code; and responding to the verification of the identification data of the identification two-dimensional code, 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 identification two-dimensional code 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. It is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
Optionally, when the one or more processors 501B execute one or more programs, the step of 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 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 is to be understood that the above description is exemplary only and that the embodiments of the present application are not limited thereto.
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;
Wherein the processor 601, the communication interface 602, and the computer readable medium 603 perform 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;
wherein the processor 601 may specifically be 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 so as to replace the identification two-dimensional code; and according to the anti-counterfeiting two-dimensional code generated by the server, obtaining identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving 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, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), and the like; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks 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 exist in a variety of forms including, but not limited to:
(1) Mobile communication devices, which are characterized by mobile communication functionality and are aimed at providing voice, data communication. Such terminals include smart phones (e.g., iPhone), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer equipment, which belongs to the category of personal computers, has the functions of calculation and processing and generally has the characteristic of mobile internet surfing. Such terminals include PDA, MID and UMPC devices, etc., such as iPad.
(3) Portable entertainment devices such devices can display and play multimedia content. Such devices include audio, video players (e.g., iPod), palm game consoles, electronic books, and smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture in that the server is provided with high-reliability services, and therefore, the server has high requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like.
(5) Other electronic devices with data interaction function.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present application may be split into more components/steps, and two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the purposes of the embodiments 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, RAM, floppy disk, hard disk, or 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 on such software processes on a recording medium using a general purpose computer, a special purpose processor, or programmable or dedicated hardware such as an ASIC or FPGA. It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a memory component (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 photography control methods described herein. Furthermore, when a general purpose computer accesses code for implementing the methods illustrated herein, execution of the code converts 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 elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination 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 solution. 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, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment is mainly described in a different point from other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, with reference to the description of the method embodiments in part. The above-described apparatus and system embodiments are merely illustrative, in which elements illustrated as separate elements may or may not be physically separate, and elements illustrated as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely one specific embodiment of the present application, but the protection 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 in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. The two-dimensional code anti-counterfeiting processing method is characterized by comprising the following steps of:
the method comprises the steps that a client uploads identification data of a preset identification two-dimensional code displayed in display equipment to a server, the server verifies the identification data of the identification two-dimensional code, and an anti-counterfeiting two-dimensional code is generated on line and in real time according to a verification result so as to replace the identification two-dimensional code displayed in the display equipment with the anti-counterfeiting two-dimensional code;
according to the anti-counterfeiting two-dimensional code generated by the server, the client obtains the identification data of the anti-counterfeiting two-dimensional code and uploads the identification data to the server so that the server verifies the identification data of the anti-counterfeiting two-dimensional code, and the client receives verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server;
The server verifies the identification data of the identification two-dimensional code, generates an anti-counterfeiting two-dimensional code on line in real time according to a verification result, replaces the identification two-dimensional code displayed in the display device with the anti-counterfeiting two-dimensional code, enables the client to obtain the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code, and comprises the following steps:
receiving preset identification data of the identification two-dimensional code uploaded by the client;
verifying the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code;
and responding to the verification of the identification data of the identification two-dimensional code, 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 identification two-dimensional code 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.
2. The two-dimensional code anti-counterfeiting processing method according to claim 1, wherein uploading the identification data of the preset identification two-dimensional code to a server to verify 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 comprises:
And carrying out code scanning identification on the preset identification two-dimensional code to obtain identification data of the identification two-dimensional code, uploading the identification data to the server side, verifying the identification data of the identification two-dimensional code by the server side, and generating 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.
3. The two-dimensional code anti-counterfeiting processing method according to any one of claims 1-2, wherein the obtaining and uploading identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code generated by the server to verify the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server, includes:
and carrying out code scanning identification on the anti-counterfeiting two-dimensional code to obtain identification data of the anti-counterfeiting two-dimensional code, uploading the identification data to the server, verifying the identification data of the anti-counterfeiting two-dimensional code by the server, and receiving verification result information of the identification data of the anti-counterfeiting two-dimensional code fed back by the server.
4. The two-dimensional code anti-counterfeiting processing method is characterized by comprising the following 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 in display equipment, so that the client obtains the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code;
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;
the method for obtaining the identification data of the anti-counterfeiting two-dimensional code by the client comprises the steps 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, generating the anti-counterfeiting two-dimensional code on line in real time according to a verification result, replacing the identification two-dimensional code, obtaining the identification data of the anti-counterfeiting two-dimensional code according to the anti-counterfeiting two-dimensional code by the client, and comprising the following steps:
receiving preset identification data of the identification two-dimensional code uploaded by the client;
verifying the identification data of the identification two-dimensional code according to pre-stored standard data of the identification two-dimensional code;
And responding to the verification of the identification data of the identification two-dimensional code, 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 identification two-dimensional code 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.
5. The two-dimensional code anti-counterfeiting processing method according to claim 4, wherein the steps of 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 comprise:
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.
6. A two-dimensional code anti-counterfeiting processing system is characterized by comprising: the code scanning device and the verification server,
the code scanning device is configured to upload identification data of a preset identification two-dimensional code displayed in the display device 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 so as to replace the identification two-dimensional code displayed in the display device with the anti-counterfeiting 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 equipment, 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;
the identification data of the anti-counterfeiting two-dimensional code uploaded by the code scanning equipment is received, the identification data of the anti-counterfeiting two-dimensional code is verified, and verification result information of the identification data of the anti-counterfeiting two-dimensional code is fed back to the code scanning equipment;
The verification server is further 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 according to pre-stored standard data of the identification two-dimensional code, respond to the verification of the identification data of the identification two-dimensional code, and generate 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 identification two-dimensional code 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 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.
7. The two-dimensional code anti-counterfeiting processing system according to claim 6, wherein the code scanning device is further configured to scan and identify the preset identification two-dimensional code, obtain identification data of the identification two-dimensional code, upload the identification data to the verification server, verify the identification data of the identification two-dimensional code by the verification server, and generate 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;
And performing code scanning identification on 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 can verify the identification data of the anti-counterfeiting two-dimensional code.
8. A computer-readable medium having stored thereon a computer program, characterized in that the program is the two-dimensional code anti-counterfeit processing method according to any one of claims 1 to 3.
9. An electronic device, comprising: the two-dimensional code anti-counterfeiting processing method according to any one of claims 1 to 3 is realized when the processor executes the program.
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 CN111597851A (en) 2020-08-28
CN111597851B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128994B (en) * 2021-04-26 2022-12-13 深圳易派支付科技有限公司 Trusted mobile payment device and system

Citations (4)

* 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
CN103824201A (en) * 2014-03-20 2014-05-28 徐永君 System and method for realizing dynamic code anti-counterfeiting based on two-dimensional code technology
CN104881787A (en) * 2015-05-13 2015-09-02 景视佳传媒科技(北京)有限公司 Method, system and device for two-dimension code authenticity
CN111160504A (en) * 2019-12-31 2020-05-15 天津津滨信钥信息技术有限公司 Method, device and equipment for generating dynamic two-dimensional code and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104217342B (en) * 2014-09-19 2017-06-09 四川省宜宾五粮液集团有限公司 Method for anti-counterfeit based on RFID tag and two-dimension code label
CN106656908B (en) * 2015-10-28 2020-02-21 阿里巴巴集团控股有限公司 Two-dimensional code processing method and device
CN107657457B (en) * 2016-08-10 2018-11-23 沈洪德 The method, apparatus and system of multi-level two-dimension code anti-counterfeit Internet-based
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

Patent Citations (4)

* 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
CN103824201A (en) * 2014-03-20 2014-05-28 徐永君 System and method for realizing dynamic code anti-counterfeiting based on two-dimensional code technology
CN104881787A (en) * 2015-05-13 2015-09-02 景视佳传媒科技(北京)有限公司 Method, system and device for two-dimension code authenticity
CN111160504A (en) * 2019-12-31 2020-05-15 天津津滨信钥信息技术有限公司 Method, device and equipment for generating dynamic two-dimensional code and storage medium

Also Published As

Publication number Publication date
CN111597851A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN103748609B (en) Method for transmitting the media playback from distinct device
US10469488B2 (en) Security verification method, apparatus, and system
CN110536075B (en) Video generation method and device
CN112202908A (en) Method and device for associating equipment with account, electronic equipment and system
TWI842890B (en) Information interaction method, system, device, electronic equipment and computer-readable storage medium
US20110218996A1 (en) Apparatuses and methods for sharing contents
CN108391141B (en) Method and apparatus for outputting information
WO2012161035A1 (en) Adjacent person specifying apparatus
CN105207985A (en) Application program login method and mobile terminal
KR102559827B1 (en) System for authenticating image based on blockchain and hash encryption technique and method thereof
CN107404721A (en) Internet of things equipment matches somebody with somebody network method, image-pickup method and equipment
CN103929669A (en) Interactive video generator, player, generating method and playing method
CN111597851B (en) Two-dimensional code anti-counterfeiting processing method, system, computer readable medium and electronic equipment
CN112333165B (en) Identity authentication method, device, equipment and system
CN104919456A (en) Image processing apparatus, image processing method and program, and image pickup apparatus
CN110278273B (en) Multimedia file uploading method, device, terminal, server and storage medium
CN112511739B (en) Interactive information generation method and equipment
CN116828260A (en) Video rendering method, system and storage medium
CN109995543B (en) Method and apparatus for adding group members
CN108023856A (en) A kind of method and device of information sharing
JP2017134548A (en) Information processor, information processing method, and program
CN105472127A (en) Method for information interaction between independent mobile terminals based on built-in angle sensors
JP2023527679A (en) Panorama generation using mobile camera
CN109040013B (en) Authentication method and device of intelligent earphone
CN110310251B (en) Image processing method and device

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