CN112163918B - Prize-giving evidence management system and method - Google Patents

Prize-giving evidence management system and method Download PDF

Info

Publication number
CN112163918B
CN112163918B CN202011191272.6A CN202011191272A CN112163918B CN 112163918 B CN112163918 B CN 112163918B CN 202011191272 A CN202011191272 A CN 202011191272A CN 112163918 B CN112163918 B CN 112163918B
Authority
CN
China
Prior art keywords
prize
module
information
exchanging
credential
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
CN202011191272.6A
Other languages
Chinese (zh)
Other versions
CN112163918A (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.)
Chongqing Farsighted Information Industry Group Co ltd
Original Assignee
Chongqing Farsighted Information Industry Group 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 Chongqing Farsighted Information Industry Group Co ltd filed Critical Chongqing Farsighted Information Industry Group Co ltd
Priority to CN202011191272.6A priority Critical patent/CN112163918B/en
Publication of CN112163918A publication Critical patent/CN112163918A/en
Application granted granted Critical
Publication of CN112163918B publication Critical patent/CN112163918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • 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
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C15/00Generating random numbers; Lottery apparatus
    • G07C15/006Generating random numbers; Lottery apparatus electronically

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Bioethics (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of lottery drawing systems, in particular to a lottery ticket management system and a lottery ticket management method, wherein the system comprises a lottery distributing subsystem and a lottery ticket exchanging subsystem, the lottery distributing subsystem comprises a ticket information generating module and a lottery ticket exchanging graphic code generating module, and the ticket information generating module is used for generating ticket information of a lottery ticket; the prize-exchanging graphic code generating module is used for generating a prize-exchanging graphic code according to the credential information; the prize-exchanging graphic code is a two-dimensional code, and the prize-exchanging graphic code generating module comprises: the credential information comprises credential numbering information and ticket prize information; the auxiliary information generation module is used for generating verification information according to the credential information; the encryption module is used for generating encrypted prize information according to the bill prize information; the data splicing module is used for generating two-dimensional code data; and the two-dimension code generation module is used for generating the two-dimension code. The system and the method for managing the lottery ticket can generate the two-dimensional code of the lottery ticket, are convenient for users to use, and have the characteristics of strong confidentiality and safety and controllability.

Description

Prize-giving evidence management system and method
Technical Field
The invention relates to the technical field of lottery drawing systems, in particular to a lottery ticket management system and a lottery ticket management method.
Background
To encourage people to ask for invoices, some areas use prizes rated invoices. At present, the traditional scratch-off type prize-giving rating invoice is mainly used by tax bureaus in various places, and in the mode, small prizes of the rating prize-giving invoice are accepted by merchants and then unified to a tax bureau hall for acceptance; the large amount of prizes are required to be awarded on site by consumers in a tax office hall, the mode of awarding is complicated, the effect of actively promoting the consumers to pay the invoice cannot be achieved, and the working pressure of staff in the hall and the risk of awarding funds preservation are increased.
Along with the high-speed development of information technology and online mobile payment, the two-dimensional code is widely applied in the aspects of mobile payment, information transmission, lottery drawing and the like. The two-dimension code lottery is a combination of a two-dimension code lottery technology and a lottery technology, so that a user can participate in lottery after scanning the two-dimension code, the traditional off-line scratch of a rated lottery invoice is changed into a mode of scanning the code lottery and on-line lottery, so that a consumer can conveniently pick up the prize, the user experience is enhanced, and meanwhile, the workload of a hall tax manager and the fund keeping risk are reduced. And a foundation is laid for the subsequent analysis of data and business on the operation effect of the quota rewarded invoice.
Due to the openness of the two-dimension code technology, any person can directly read the plaintext content of the two-dimension code, and how to ensure the safety of the information contained in the two-dimension code in the invoice circulation process, so that the problem that lottery information in the two-dimension code is leaked or cracked is to be solved urgently.
Disclosure of Invention
The invention aims to provide a lottery ticket management system and a method, which can generate two-dimensional code data of a lottery ticket, have the characteristics of strong confidentiality, safety and controllability, simplify the lottery ticket exchanging process, enhance the user experience, and reduce the workload of management personnel and the fund keeping risk.
The application provides the following technical scheme:
The lottery ticket management system comprises a lottery distributing subsystem and a lottery exchanging subsystem, wherein the lottery exchanging subsystem is used for users to exchange lottery and management personnel to manage lottery exchanging data; the prize-distributing subsystem comprises a credential information generating module and a prize-exchanging graphic code generating module, wherein the credential information generating module is used for generating credential information of a prize-giving credential; the prize-exchanging graphic code generating module is used for generating a prize-exchanging graphic code according to the credential information; the prize exchanging graphic code is a two-dimensional code, and the prize exchanging graphic code generating module comprises:
The receipt information acquisition module is used for acquiring the receipt information, wherein the receipt information comprises receipt number information and ticket prize information;
The encryption module is used for generating encrypted prize information according to the bill prize information;
The auxiliary information generation module is used for generating verification information according to the credential information and the encrypted prize information;
The data splicing module is used for splicing the credential number information, the encrypted prize information and the verification information to generate two-dimensional code data;
and the two-dimension code generation module is used for generating a two-dimension code according to the two-dimension code data.
Further, the encryption module comprises a variable information generation module, the variable information generation module is used for generating variable information according to the credential information, and the encryption module is used for encrypting after splicing the variable information and the ticket rewarding information to generate encrypted rewarding information.
Further, the variable information generating module comprises a credential number information checking module for generating check data according to the credential number information and taking the check data as variable information.
Further, the credential information generation module includes:
The credential setting module is used for setting credential type information and batch information;
The prize distribution setting module is used for setting prizes;
the credential generation module is used for generating credentials corresponding to the current batch according to the credential type information and the batch information setting;
the lottery distributing module is used for distributing the generated credentials;
the prize distribution data export module is used for exporting the certificate information after the prize distribution to form prize distribution data.
Further, the redemption subsystem includes:
the data importing module is used for importing the lottery data;
the prize exchanging request acquisition module acquires a prize exchanging request;
The rewarding verification module comprises a rewarding request verification module, a locking verification module and a blacklist verification module; the prize exchanging request verification module is used for verifying whether information contained in the prize exchanging request is consistent with prize distributing data or not, and the locking verification module is used for verifying whether a bill corresponding to the prize exchanging request is locked or not; the blacklist verification module is used for verifying whether the bill corresponding to the prize exchanging request is in the bill blacklist;
The prize generation module is used for generating a prize exchanging result according to the verification result of the prize exchanging verification module and sending the prize exchanging result to the client;
and the prize money issuing module is used for issuing prize money to the account corresponding to the client according to the prize drawing request of the client.
Further, the ticket information and the prize information are contained in the prize exchanging request, the prize exchanging request verification module comprises a ticket verification module and a prize verification module, the ticket verification module is used for judging whether the ticket information is effective according to the prize distributing data, and the prize verification module is used for judging whether the prize information is effective according to the prize distributing data.
The bill locking module is used for recording the failure times of the same bill verified by the prize-redemption request verification module in preset time, and is also used for locking the corresponding bill when the failure times are larger than a preset value; and the bill unlocking module is used for unlocking the bill after the bill locking time exceeds a preset value.
And the prize money distribution module is used for verifying whether the prize money receiving request corresponds to the out-of-date prize money receiving result.
Further comprises a release state updating module, a statement obtaining module, a statement checking abnormal reminding module and a reimbursement module, the statement obtaining module is used for obtaining a prize-exchanging record of the statement which is not checked in the checking period and a fund flow list; the account checking module is used for checking each prize exchanging record and the corresponding funds running line detail, judging whether the single number, the amount and the state are correct, and if not, recording that the account checking is abnormal; the account checking abnormality reminding module is used for carrying out abnormality reminding when detecting account checking abnormality; the prize-dispensing state updating module is used for updating the prize-dispensing state of the prize-dispensing records of the incomplete prize dispensing, and the reissuing module is used for obtaining the prize-dispensing records of the prize-dispensing failure and reissuing the prize-dispensing records through the prize-dispensing module.
The application further discloses a method for managing the lottery ticket, and the system for managing the lottery ticket is used.
The technical scheme of the invention has the beneficial effects that:
according to the technical scheme, the two-dimensional code lottery mode is adopted, so that a user can exchange lottery online, the lottery flow is simplified, and the lottery enthusiasm of the user is increased. The traditional rating lottery invoice mode is changed from an off-line scratch-off mode to an on-line lottery mode and an on-line lottery mode, so that a consumer can conveniently pick up the prizes, the user experience is enhanced, and the workload and the fund keeping risk of a hall tax manager are reduced. And a foundation is laid for the subsequent data or business analysis of the operation effect of the quota rewarded invoice.
The encryption prize information is generated based on the variable information and the ticket prize information through the prize exchanging graphic code generation module, so that the randomness of the encrypted generated encryption prize information is larger, illegal personnel are prevented from guessing a prize or cracking an encryption algorithm, the encryption module is adopted to generate the encryption prize information, verification information is reproduced based on the existing credential information and the encryption prize information, whether data are correct or not can be directly judged through the verification information, the prize exchanging verification process is simplified, the security of information contained in the two-dimensional code can be ensured through encryption processing of the prize information, and the lottery information is prevented from being leaked.
Drawings
FIG. 1 is a logic block diagram of a first embodiment of a lottery ticket management system according to the present application.
Detailed Description
The technical scheme of the application is further described in detail through the following specific embodiments:
Example 1
As shown in fig. 1, the prize-giving credential management system disclosed in this embodiment operates in a management server, and is used in cooperation with a management terminal and a user terminal when the prize-giving credential management system is specifically applied.
The prize-giving credential management system in the embodiment comprises a prize-giving subsystem and a prize-giving subsystem, wherein the prize-giving subsystem is used for giving a user a prize and managing prize-giving data by a manager; the prize-distributing subsystem comprises a credential information generating module and a prize-exchanging graphic code generating module, wherein the credential information generating module is used for generating credential information of a prize-giving credential; the prize-exchanging graphic code generating module is used for generating a prize-exchanging graphic code according to the credential information; in this embodiment, the prize-exchanging graphic code is a two-dimensional code, and in other embodiments of the present application, the prize-exchanging graphic code may be a bar code or other type of graphic code, and the prize-exchanging graphic code generating module includes: the system comprises a credential information acquisition module, an encryption module, an auxiliary information generation module and a two-dimensional code generation module.
The credential information obtaining module is configured to obtain credential information, where in this embodiment, the credential information includes credential number information and ticket prize information, in this embodiment, a prize-giving invoice is taken as an example, the credential number information includes an invoice code and an invoice number, and the ticket prize information includes a prize amount.
The encryption module is used for generating encrypted prize information according to the ticket prize information; the encryption module comprises a variable information generation module, the variable information generation module is used for generating variable information according to the credential information, and the encryption module is used for encrypting the variable information and the ticket rewarding information after splicing the variable information and the ticket rewarding information to generate encrypted rewarding information. In this embodiment, the variable information generating module includes a credential number information checking module, configured to generate check data according to the credential number information, and use the check data as the variable information. The credential numbering information includes a credential code and a credential number, i.e., an invoice code and an invoice number. In other embodiments of the present application, other information such as time, random numbers, etc. may also be used for the generation of the variable information. The encryption module in this embodiment further includes an SM4 encryption module, where the SM4 encryption module encrypts the ticket prize information by using a national encryption SM4 encryption algorithm to generate encrypted prize information.
The auxiliary information generation module is used for generating verification information according to the credential information and the encrypted prize information.
The data splicing module is used for splicing the credential number information, the encrypted prize information and the verification information to generate two-dimensional code data; specifically, in this embodiment, each data is divided by "|", and the finally formed splicing result is: "invoice code|invoice number|encryption prize information|verification information", such as "1510410112|00000001|u+ieknotea2evx+supypcg= |075A" indicates invoice code 151041951012, two-dimensional code data corresponding to invoice number 00000001. When the SM4 encryption module encrypts the bill prize information, the bill prize information and the variable information are spliced, and then the encryption is carried out, namely: encryption prize information=sm4 (ticket prize information |crc (invoice code|invoice number)), where SM4 indicates SM4 encryption, CRC indicates that CRC check is used to generate check information, and the purpose of adding CRC (invoice code|invoice number) is to ensure that ciphertexts encrypted by the same prize amount are different, so that it is possible to effectively prevent others from guessing a prize and a prize. The auxiliary information generating module is also applicable to CRC algorithm to generate check information, namely: check information = CRC (invoice code |invoice number|encryption prize information), the check algorithm employs a CRC-16 algorithm. The specific algorithm is as follows: p (X) =x16+x15+x2+1, with the rule: the high order is in front and the low order is in back.
The credential information generation module includes:
The credential setting module is used for setting credential type information and batch information; in this embodiment, taking a rating lottery invoice as an example, the method is mainly used for setting the denomination of the invoice, such as an invoice code and a denomination corresponding to the invoice denomination, and setting an invoice batch for the present lottery, including a batch number and a batch name, and adding corresponding invoices in the batch, such as an invoice number section and a total amount.
The prize distribution setting module is used for setting the prizes, such as grading, amount and the like of the prizes;
the credential generation module is used for generating credentials corresponding to the current batch according to the credential type information and the batch information setting; and generating each invoice information according to the invoice number section according to the type of the invoice and the batch setting.
The lottery distributing module is used for distributing the generated credentials; and the manager randomly selects invoice numbers to conduct lottery according to a certain rule through a lottery distribution module.
And the prize-distribution checking module is used for counting and checking the prize-distribution data after the prize distribution module distributes the prizes.
The credential information deriving module is used for deriving credential information after the lottery is distributed to form lottery distribution data, including data given out to a printing factory and data derived to a lottery exchanging subsystem.
The prize exchanging subsystem comprises a data importing module, a prize exchanging request obtaining module, a prize exchanging verification module, a prize generating module, a prize issuing module, a bill locking module, a bill unlocking module, a limit management module, a prize exchanging record storage inquiring module, a prize exchanging fund early warning module and a bill blacklist setting module.
The data importing module is used for importing lottery data, and in this embodiment, the lottery data is generated by a lottery system and comprises various lottery ticket information and corresponding lottery item information, wherein the lottery ticket information comprises ticket number information and the like, and the lottery item information comprises lottery two-dimensional code data, money and a lottery password. In this embodiment, a prize invoice is taken as an example, and the bill number information includes an invoice code and an invoice number. The invoice code, the invoice number, the two-dimension code data of the prize exchanging and the amount are encrypted by SM4, and the encryption key is the same as the encryption key, and the prize exchanging password is encrypted by SM 3.
The prize exchanging request obtaining module obtains a prize exchanging request, in this embodiment, the prize exchanging request includes bill information and prize information, the bill information includes bill number information corresponding to the prize distributing data, the bill number information includes invoice codes and invoice numbers, and the prize information includes prize exchanging two-dimensional code data and prize exchanging passwords.
The rewarding verification module comprises a rewarding request verification module, a locking verification module and a blacklist verification module; the lottery request verification module is used for verifying whether the information contained in the lottery request is consistent with the lottery distribution data. The specific rewarding request verification module comprises a bill verification module and a prize verification module, wherein the bill verification module is used for judging whether bill information is effective according to the rewarding data, and the prize verification module is used for judging whether the prize information is effective according to the rewarding data.
In this embodiment, the redemption request is encoded and transmitted in an encrypted format. In the implementation, the prize-exchanging password is encrypted and transmitted by adopting an SM3 encryption algorithm. The bill verification module is used for verifying the invoice code and the invoice number, and the prize verification module is used for verifying the prize-exchanging two-dimensional code data and the prize-exchanging password.
The locking verification module is used for verifying whether the bill corresponding to the prize exchanging request is locked or not; the blacklist verification module is used for verifying whether the bill corresponding to the prize exchanging request is in the bill blacklist;
The prize generation module is used for generating a prize exchanging result according to the verification result of the prize exchanging verification module and sending the prize exchanging result to the client;
and the prize money issuing module issues prize money to an account corresponding to the client according to the prize drawing request of the client, and in the implementation, a WeChat platform is adopted, and the prize money of the user is paid in a red package form by calling an API of the WeChat platform.
The bill locking module is used for recording the failure times of the same bill verified by the prize-exchanging request verification module in the preset time, and locking the corresponding bill when the failure times are larger than the preset value; and the bill unlocking module is used for unlocking the bill after the bill locking time exceeds a preset value. In this embodiment, the preset value of the failure times is 3 times, and the preset value of the locking duration is 24 hours. And the preset time is one day, namely, the same invoice number fails to be awarded for more than 3 times in one day, the invoice is locked, the invoice is stopped to be awarded after being locked, and the invoice is unlocked after 24 hours.
The time limit management module is used for recording whether the difference value between the generation time of the prize exchanging result of the unqualified prize and the current time exceeds the preset time, if so, marking the prize exchanging result as out-of-date, and the prize providing module is also used for verifying whether the prize exchanging result corresponding to the prize receiving request is out-of-date. In this embodiment, the preset duration is 30 days.
The prize exchanging record storage and inquiry module is used for storing and inquiring the prize exchanging record.
And the prize-exchanging funds early-warning module is used for judging whether the residual quantity of the prize-exchanging funds is lower than an early-warning value or not, and carrying out early-warning reminding when the residual quantity of the prize-exchanging funds is lower than the early-warning value.
The bill blacklist setting module is used for setting a bill blacklist, in this embodiment, the bill blacklist is set through an invoice number, and a manager sets the blacklist through a management terminal.
The system also comprises a release state updating module, a reissue module, a statement obtaining module, a statement checking module and a statement checking abnormal reminding module, wherein the release state updating module is used for updating the prize release state of the prize exchanging record of incomplete prize release, and the reissue module is used for obtaining the prize exchanging record of failure in prize release and releasing the prize again through the prize release module.
The statement obtaining module is used for obtaining the prize-exchanging records and the fund running list which are not checked in the checking period; the account checking module is used for checking each prize exchanging record and the corresponding funds flow detail, judging whether the single number, the amount and the state are correct or not, and if not, checking abnormality exists in the records; the account checking abnormality reminding module is used for carrying out abnormality reminding when detecting account checking abnormality.
The embodiment also discloses a method for managing the lottery ticket, which uses the lottery ticket management system.
Example two
In this embodiment, the prize-redemption subsystem further includes a billing record acquiring module, where the billing record acquiring module is configured to acquire a billing record of a corresponding invoice according to a prize-redemption request, the billing record includes a billing time, and further includes a time checking module, where the time checking module is configured to determine whether a time difference between the billing time and a time difference between a user sending the prize-redemption request is within a threshold range; the prize verification module is used for not verifying the prize-exchanging password when the time difference between the drawing time and the time when the user sends the prize-exchanging request is within the threshold value range, and is used for verifying the prize-exchanging password when the time difference between the drawing time and the time when the user sends the prize-exchanging request is not within the threshold value range. In the scheme of the embodiment, when the user just draws a bill to pay the lottery, the lottery password of the user is not verified, the user does not need to input the lottery password again, the user is facilitated to pay the lottery, the user experience is improved, and if no bill drawing record information or the bill drawing time is excessively different from the time when the user sends the lottery request, the user needs to manually input the lottery to avoid so as to ensure that the invoice is in the hand of the user.
Example III
The difference between the embodiment and the first embodiment is that the prize-exchanging subsystem further includes a prize-exchanging ranking module and a ranking display module, which are used for counting the prize-exchanging prize total amount of each user and ranking according to the prize-exchanging prize total amount of each user, the ranking display module is used for displaying the ranking of the prize-exchanging prize to the user in the friend circle, in the specific embodiment, the prize-exchanging prize adopts a WeChat code scanning mode, the user terminal adopts a WeChat applet, the user terminal receives the ranking data of the ranking display module, and the ranking of the prize total amount of the prize-exchanging prize in the friend circle is displayed to the user. According to the technical scheme, the prize ranking is displayed to the user, so that a propaganda effect can be achieved, the enthusiasm of the user for exchanging prizes can be stimulated, and the user can ask for the invoice.
The foregoing is merely an embodiment of the present application, the present application is not limited to the field of this embodiment, and the specific structures and features well known in the schemes are not described in any way herein, so that those skilled in the art will know all the prior art in the field before the application date or priority date of the present application, and will have the capability of applying the conventional experimental means before the date, and those skilled in the art may, in light of the present application, complete and implement the present scheme in combination with their own capabilities, and some typical known structures or known methods should not be an obstacle for those skilled in the art to practice the present application. It should be noted that modifications and improvements can be made by those skilled in the art without departing from the structure of the present application, and these should also be considered as the scope of the present application, which does not affect the effect of the implementation of the present application and the utility of the patent. The protection scope of the present application is subject to the content of the claims, and the description of the specific embodiments and the like in the specification can be used for explaining the content of the claims.

Claims (8)

1. A prize certificate management system, characterized by: the system comprises a prize distribution subsystem and a prize exchanging subsystem, wherein the prize exchanging subsystem is used for users to exchange prizes and management staff to manage prize exchanging data; the prize-distributing subsystem comprises a credential information generating module and a prize-exchanging graphic code generating module, wherein the credential information generating module is used for generating credential information of a prize-giving credential; the prize-exchanging graphic code generating module is used for generating a prize-exchanging graphic code according to the credential information; the prize exchanging graphic code is a two-dimensional code, and the prize exchanging graphic code generating module comprises:
The receipt information acquisition module is used for acquiring the receipt information, wherein the receipt information comprises receipt number information and ticket prize information;
The encryption module is used for generating encrypted prize information according to the bill prize information;
The auxiliary information generation module is used for generating verification information according to the credential information and the encrypted prize information;
The data splicing module is used for splicing the credential number information, the encrypted prize information and the verification information to generate two-dimensional code data;
The two-dimension code generation module is used for generating a two-dimension code according to the two-dimension code data;
The credential information generation module includes:
The credential setting module is used for setting credential type information and batch information;
The prize distribution setting module is used for setting prizes;
the credential generation module is used for generating credentials corresponding to the current batch according to the credential type information and the batch information setting;
the lottery distributing module is used for distributing the generated credentials;
the prize distribution data export module is used for exporting the certificate information after the prize distribution to form prize distribution data;
the redemption subsystem includes:
the data importing module is used for importing the lottery data;
the prize exchanging request acquisition module acquires a prize exchanging request;
The rewarding verification module comprises a rewarding request verification module, a locking verification module and a blacklist verification module; the prize exchanging request verification module is used for verifying whether information contained in the prize exchanging request is consistent with prize distributing data or not, and the locking verification module is used for verifying whether a bill corresponding to the prize exchanging request is locked or not; the blacklist verification module is used for verifying whether the bill corresponding to the prize exchanging request is in the bill blacklist;
The prize generation module is used for generating a prize exchanging result according to the verification result of the prize exchanging verification module and sending the prize exchanging result to the client;
the prize money issuing module is used for issuing prize money to an account corresponding to the client according to the prize drawing request of the client;
The lottery ticket exchange subsystem further comprises an invoice making record acquisition module, wherein the invoice making record acquisition module is used for acquiring an invoice making record of a corresponding invoice according to the lottery ticket exchange request, the invoice making record comprises an invoice making time, and the lottery ticket exchange subsystem further comprises a time verification module, and the time verification module is used for judging whether the time difference between the invoice making time and the time difference between the user and the lottery ticket exchange request is within a threshold value range; the prize verification module is used for not verifying the prize-exchanging password when the time difference between the time of drawing the bill and the time of sending the prize-exchanging request by the user is within the threshold range, and is used for verifying the prize-exchanging password when the time difference between the time of drawing the bill and the time of sending the prize-exchanging request by the user is not within the threshold range;
The encryption module comprises an SM4 encryption module, and the SM4 encryption module encrypts the ticket prize information by adopting a national encryption SM4 encryption algorithm to generate encrypted prize information;
The data splicing module specifically comprises:
Dividing each data by 'I', and finally forming a splicing result: "invoice code |invoice number|encryption prize information|check information";
When the SM4 encryption module encrypts the bill prize information, the bill prize information and the variable information are spliced, and then the encryption is carried out, specifically: encryption prize information = SM4 (ticket prize information |crc (invoice code|invoice number)), where SM4 represents SM4 encryption and CRC represents the generation of check information using CRC check;
the auxiliary information generating module is also applicable to CRC algorithm to generate check information, and specifically comprises the following steps: check information=crc (invoice code |invoice number|encryption prize information), and the calculation formula is:
P(X)=X16+X15+X2+1
wherein the high order is in front and the low order is in back.
2. The prize credential management system of claim 1 wherein: the encryption module comprises a variable information generation module, wherein the variable information generation module is used for generating variable information according to the credential information, and the encryption module is used for encrypting the variable information and the ticket rewarding information after splicing to generate encrypted rewarding information.
3. The prize credential management system of claim 2 wherein: the variable information generation module comprises a credential number information verification module which is used for generating verification data according to the credential number information and taking the verification data as variable information.
4. A prize credential management system as defined in claim 3 wherein: the lottery ticket exchange request comprises ticket information and lottery ticket information, the lottery ticket exchange request verification module comprises a ticket verification module and a lottery ticket verification module, the ticket verification module is used for judging whether the ticket information is effective according to the lottery ticket distribution data, and the lottery ticket verification module is used for judging whether the lottery ticket information is effective according to the lottery ticket distribution data.
5. The prize credential management system of claim 4 wherein: the bill locking module is used for recording the failure times of the prize-redemption request verification module for verifying the same bill in preset time, and is also used for locking the corresponding bill when the failure times are larger than a preset value; and the bill unlocking module is used for unlocking the bill after the bill locking time exceeds a preset value.
6. The prize credential management system of claim 5 wherein: the system also comprises a time limit management module which is used for recording whether the difference value between the generation time of the prize exchanging result which is not drawn and the current time exceeds the preset time, if so, the prize exchanging result is marked as out-of-date, and the prize providing module is also used for verifying whether the prize exchanging result corresponding to the prize drawing request is out-of-date.
7. The prize credential management system of claim 6 wherein: the system also comprises a release state updating module, a statement obtaining module, a statement checking abnormal reminding module and a reimbursement module, the statement obtaining module is used for obtaining a prize-exchanging record of the statement which is not checked in the checking period and a fund flow list; the account checking module is used for checking each prize exchanging record and the corresponding funds running line detail, judging whether the single number, the amount and the state are correct, and if not, recording that the account checking is abnormal; the account checking abnormality reminding module is used for carrying out abnormality reminding when detecting account checking abnormality; the prize-dispensing state updating module is used for updating the prize-dispensing state of the prize-dispensing records of the incomplete prize dispensing, and the reissuing module is used for obtaining the prize-dispensing records of the prize-dispensing failure and reissuing the prize-dispensing records through the prize-dispensing module.
8. A method for managing lottery ticket, characterized in that: use of the lottery ticket management system of any one of claims 1-7.
CN202011191272.6A 2020-10-30 2020-10-30 Prize-giving evidence management system and method Active CN112163918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011191272.6A CN112163918B (en) 2020-10-30 2020-10-30 Prize-giving evidence management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011191272.6A CN112163918B (en) 2020-10-30 2020-10-30 Prize-giving evidence management system and method

Publications (2)

Publication Number Publication Date
CN112163918A CN112163918A (en) 2021-01-01
CN112163918B true CN112163918B (en) 2024-05-28

Family

ID=73865295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011191272.6A Active CN112163918B (en) 2020-10-30 2020-10-30 Prize-giving evidence management system and method

Country Status (1)

Country Link
CN (1) CN112163918B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421782A (en) * 2001-11-28 2003-06-04 佳程防伪科技(深圳)有限公司 Digital watermark anti-fake method for bills
JP2006106913A (en) * 2004-10-01 2006-04-20 Dainippon Printing Co Ltd Method and system of lottery, using two-dimensional code
CN101894343A (en) * 2010-06-01 2010-11-24 华东交通大学 Effective and safe verification-based lottery ticket sale and prize exchange method
KR20130029573A (en) * 2011-09-15 2013-03-25 이창근 Advertising agency system for cash rewarding by lottary based on qr cord and the method of advertising service using the above mentioned system
CN103903037A (en) * 2012-12-27 2014-07-02 刘广群 Dynamic-two-dimension-code generation method used for digitalization of paper-based voucher
CN104077624A (en) * 2013-03-26 2014-10-01 中国银联股份有限公司 Methods and systems for generating and checking electronic note with anti-counterfeiting two-dimension code
WO2016057820A1 (en) * 2014-10-08 2016-04-14 Diamond Candles, Llc Method and system for revealing a prize embedded in a candle
CN105528721A (en) * 2016-01-29 2016-04-27 广西中烟工业有限责任公司 Instant lottery cashing system based on package two dimension code and cashing method
CN105741137A (en) * 2016-01-29 2016-07-06 广西中烟工业有限责任公司 Package two-dimensional code based instant real object awarding platform and use method therefor
CN106682950A (en) * 2017-01-11 2017-05-17 英泰伟业科技(北京)有限公司 Lottery cashing method, system and dedicated interactive device, cashing management server
CN107545427A (en) * 2017-09-19 2018-01-05 深圳市光域物联科技有限公司 Light Quick Response Code payment mechanism, system and method
CN108320001A (en) * 2018-02-13 2018-07-24 环球鑫彩(北京)彩票投资管理有限公司 Ticket-validating machine, nominal value verification, cashing method and relevant device
CN110943976A (en) * 2019-11-08 2020-03-31 中国电子科技网络信息安全有限公司 Password-based user signature private key management method
CN111275601A (en) * 2016-08-26 2020-06-12 华卫陆登(北京)系统技术有限责任公司 Lottery ticket exchanging service system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8408986B2 (en) * 2009-11-02 2013-04-02 Scientific Games International, Inc. Internet based lottery redemption system and methods

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421782A (en) * 2001-11-28 2003-06-04 佳程防伪科技(深圳)有限公司 Digital watermark anti-fake method for bills
JP2006106913A (en) * 2004-10-01 2006-04-20 Dainippon Printing Co Ltd Method and system of lottery, using two-dimensional code
CN101894343A (en) * 2010-06-01 2010-11-24 华东交通大学 Effective and safe verification-based lottery ticket sale and prize exchange method
KR20130029573A (en) * 2011-09-15 2013-03-25 이창근 Advertising agency system for cash rewarding by lottary based on qr cord and the method of advertising service using the above mentioned system
CN103903037A (en) * 2012-12-27 2014-07-02 刘广群 Dynamic-two-dimension-code generation method used for digitalization of paper-based voucher
CN104077624A (en) * 2013-03-26 2014-10-01 中国银联股份有限公司 Methods and systems for generating and checking electronic note with anti-counterfeiting two-dimension code
WO2016057820A1 (en) * 2014-10-08 2016-04-14 Diamond Candles, Llc Method and system for revealing a prize embedded in a candle
CN105528721A (en) * 2016-01-29 2016-04-27 广西中烟工业有限责任公司 Instant lottery cashing system based on package two dimension code and cashing method
CN105741137A (en) * 2016-01-29 2016-07-06 广西中烟工业有限责任公司 Package two-dimensional code based instant real object awarding platform and use method therefor
CN111275601A (en) * 2016-08-26 2020-06-12 华卫陆登(北京)系统技术有限责任公司 Lottery ticket exchanging service system and method
CN106682950A (en) * 2017-01-11 2017-05-17 英泰伟业科技(北京)有限公司 Lottery cashing method, system and dedicated interactive device, cashing management server
CN107545427A (en) * 2017-09-19 2018-01-05 深圳市光域物联科技有限公司 Light Quick Response Code payment mechanism, system and method
CN108320001A (en) * 2018-02-13 2018-07-24 环球鑫彩(北京)彩票投资管理有限公司 Ticket-validating machine, nominal value verification, cashing method and relevant device
CN110943976A (en) * 2019-11-08 2020-03-31 中国电子科技网络信息安全有限公司 Password-based user signature private key management method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种规范格式的电子发票凭证;于静;刘如强;;信息技术与信息化(12);全文 *
于静 ; 刘如强 ; .一种规范格式的电子发票凭证.信息技术与信息化.2015,(12),全文. *

Also Published As

Publication number Publication date
CN112163918A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
US6192349B1 (en) Smart card mechanism and method for obtaining electronic tickets for goods services over an open communications link
CN110060037B (en) Distributed digital identity system based on block chain
CN1290291C (en) System and method for electronic transmission, storage and retrieval of authenticated decouments
CN109657486A (en) A kind of financial institution's user data sharing method and system based on block chain technology
CN1831865B (en) Electronic bank safety authorization system and method based on CPK
KR20180128968A (en) Computer-implemented method and system for verifying tokens for cryptography based on block chaining
CN109906443A (en) The system and method for being used to form general record
CN106934673A (en) A kind of electronic invoice system
CA2232791A1 (en) Method, apparatus, system and firmware for secure transactions
WO1998047091A1 (en) Virtual property system
CN103886449A (en) Visible-code-based payment method and system with multiple security combination mechanisms
HU216671B (en) System for open electronic commerce, customer and merchant trusted agent, method for exchanging electronic ticket and money, for authorization-based payment transaction, for identity-based money modul payment
CN106779698A (en) A kind of distribution for paying mark and its safe payment method, system and device
CN106845275B (en) A kind of the electronic bill management system and method for secret protection
EA002887B1 (en) Method for carrying out transactions and device for realising the same
CN108198064A (en) A kind of tax silver interactive service method for supporting and system
KR100391163B1 (en) Instant digital lottery issuing, selling and purchasing system through internet and method thereby
CN109889343A (en) Electronic invoice circulation control method and device
CN102074077A (en) System and method for preventing cheating of IC card oiling machine
CN112163918B (en) Prize-giving evidence management system and method
CN108596816A (en) A kind of information system and method for buying lottery ticket by internet
CN110647737B (en) Enterprise user security authentication method and device in warehouse receipt system and electronic equipment
EP0117907B1 (en) Method and module for testing electronic data
Doss et al. IoT system accomplishment using blockchain in validating and data security with cloud
CN111260530A (en) Lottery entrusted service system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant