CN109461245A - A kind of lottery industry electronics slip generation method - Google Patents

A kind of lottery industry electronics slip generation method Download PDF

Info

Publication number
CN109461245A
CN109461245A CN201710794085.9A CN201710794085A CN109461245A CN 109461245 A CN109461245 A CN 109461245A CN 201710794085 A CN201710794085 A CN 201710794085A CN 109461245 A CN109461245 A CN 109461245A
Authority
CN
China
Prior art keywords
information
lottery
payment
order
generation method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710794085.9A
Other languages
Chinese (zh)
Inventor
唐恒光
陈涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi West Edge Digital Technology Co Ltd
Original Assignee
Shaanxi West Edge 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 Shaanxi West Edge Digital Technology Co Ltd filed Critical Shaanxi West Edge Digital Technology Co Ltd
Priority to CN201710794085.9A priority Critical patent/CN109461245A/en
Publication of CN109461245A publication Critical patent/CN109461245A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/005Generating random numbers; Lottery apparatus with dispensing of lottery tickets

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The present invention relates to a kind of lottery industry electronics slip generation method, refers to and pass sequentially through three a group code, HASH operation, encryption steps generation electronics slips;Described group of code step refers to stake information, payment information, user information, order type, temporal information composition order information;The order information further includes check information;The HASH operation, which refers to, to be verified by hash algorithm using the stake information of electronics slip, payment information, user information, order type, temporal information as input, and the output valve of HASH operation is denoted as order hash abstract and is filled into the check information of order information;Encryption, which refers to for the complete order information formed after HASH operation to be encrypted, generates final electronics slip.The present invention provides unified, safety, the electronic slip generation method of standard for the self-service purchase lottery ticket of lottery industry, can be applied to any type of self-service lottery form, such as internet sells color, self-help betting machine sale lottery ticket and sells coloured silk.

Description

A kind of lottery industry electronics slip generation method
Technical field
The present invention relates to lottery industry, especially a kind of lottery industry electronics slip generation method.
Background technique
With the rapid development of mobile internet era, people's lives habit and consumption habit are turned over day occurs The change that ground covers, mobile-phone payment, mobile phone call a taxi, the continuous release of all kinds of mobile interchanges applications of Mobile banking etc., be people with More and more life convenients are carried out, and then what is driven is people to the facilitation demands of matters needed for daily life increasingly Height, purchase lottery ticket is exactly wherein than a more typical content.China has Chinese welfare lottery ticket, Chinese Sports Lottery Ticket two at present Kind of official's lottery ticket, up to now until, the lottery ticket sales channel of official in the past 20 years, still only in the fixed pin of mechanism identification Form the purchase lottery ticket, such as lottery selling station, lottery ticket sales hall etc. of place in cash are sold, is unable to satisfy lottery fan completely The lottery demand increasingly changed.
In order to solve this problem, the present invention is proposed hereby.
Summary of the invention
The purpose of the present invention is to provide a kind of lottery industry electronics slip generation method.
In order to realize these purposes, adopt the following technical scheme that
A kind of lottery industry electronics slip generation method, the generation method refer to pass sequentially through a group code, HASH operation, Three steps of encryption generate electronics slip;Described group of code step refer to will stake information, payment information, user information, Order type, temporal information form order information;The order information further includes check information;The HASH operation, which refers to, to be passed through Hash algorithm using the stake information of electronics slip, payment information, user information, order type, temporal information as input into The output valve of HASH operation is denoted as order hash abstract and is filled into the check information of order information by row verification;Encryption Refer to for the complete order information formed after HASH operation to be encrypted and generates final electronics slip.
Further, the stake information refers to that lottery fan selects the content of purchase lottery ticket, including Entertaiment game teleloto coding, coloured silk Phase, playing method, bet number, stake multiple.
The payment information includes payment amount, the means of payment, pay status and Third-party payment information.
The means of payment mainly includes the payment of lottery fan's account balance, the payment of third party's Sales Channel and lottery fan's electronics branch It pays.
Further, lottery fan selects the means of payment of lottery fan's account balance payment, and addition is corresponding in user information User ID and channel ID.
Lottery fan selects the means of payment of third party's Sales Channel payment, includes channel information in order information.
The order type includes electronic order and papery order.
The temporal information includes the order time, and the order time refers to the current time that electronics slip generates.
The electronics slip can be sent into the stake of lottery ticket sales platform directly by electronic interface.
The electronics slip can also be converted into quick response code form, realize lottery ticket by the self-service barcode scanning of self-service lottery equipment Stake prints paper lottery ticket.
Advantageous effects:
Lottery industry electronics slip generation method of the present invention for the self-service purchase lottery ticket of lottery industry provide unification, Safety, the electronic slip generation method of standard, can be applied to any type of self-service lottery form, such as internet is sold Color, self-help betting machine sells lottery ticket and sells coloured silk.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is electronics slip generation method flow chart of the present invention.
Fig. 2 is the schematic diagram for the content that electronics slip of the present invention is included.
Fig. 3 is the flow chart being connected after electronics slip of the present invention generates with other channels.
Fig. 4 is electronics slip analytic method flow chart of the present invention.
Fig. 5 is follow-up processing flow after electronics slip parsing of the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention. It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
The present invention will be described in detail by way of examples below.
Embodiment 1
Referring to Fig.1, a kind of lottery industry electronics slip generation method, the generation method refer to pass sequentially through a group code, Three HASH operation, encryption steps generate electronics slip.
Referring to Fig. 2, described group of code step refers to stake information, payment information, user information, order type, time letter Breath composition order information.
Specifically, the stake information refers to that lottery fan selects the content of purchase lottery ticket, including Entertaiment game teleloto coding, the color phase, Playing method, bet number, stake multiple.
Entertaiment game teleloto coding refers to twin color ball or a kind of regular coding of making wild with joy greatly, and every kind of Entertaiment game teleloto has it unique Game coding, and immobilize, for example, in this embodiment, the game coding of twin color ball is B001.
The coloured silk phase refers to issue of lottery issue.
The playing method refers to choosing and selling method different in every kind of Entertaiment game teleloto, for example, twin color ball has single entry stake, compound throwing Note, gallbladder drag stake etc..
Bet number refers to that user selects corresponding number according to different playing methods.
So the stake information is exactly traditional lottery ticket choosing and selling information.
The payment information includes payment amount, the means of payment, pay status and Third-party payment information.
The amount of money for the lottery ticket order that payment amount, that is, lottery fan needs to pay.
The means of payment, that is, lottery fan means of payment selected for lottery ticket order.
The means of payment mainly includes the payment of lottery fan's account balance, the payment of third party's Sales Channel and lottery fan's electronics branch It pays.
If lottery fan selects the means of payment of lottery fan's account balance payment, need to add corresponding User ID in user information With channel ID.
If lottery fan selects the means of payment of third party's Sales Channel payment, order information is needed comprising channel information, canal Road information refers to the channel ID in user information.
If lottery fan selects the means of payment of lottery fan's e-payment, order information is needed comprising lottery fan's Third Party Payment System Docking information refers to that the Third-party payment information in payment information, such as wechat payment belong to the payment of lottery fan's e-payment Mode includes the interface message of the information exchange of wechat payment in payment information Third-party payment information in order information.
The pay status according to actual application, the order submitted of Sales Channel paid, some canals The order that road is submitted needs to pay in real time.
User information in the order information includes User ID and the channel ID that affiliated third party sells.
If lottery fan selects the means of payment of lottery fan's account balance payment, need to add in the user information of electronics slip Corresponding User ID and channel ID.
The order type includes electronic order and papery order.
Electronics slip is a kind of information input mode for stake, after betting successfully, can generate two kinds of results: electronics Order refers to that the first lottery fan does not need paper lottery ticket, then system retains electronic lottery information automatically, and papery order refers to that lottery fan needs Paper lottery ticket is wanted, then needs to bet successful lottery information by print module and prints entity lottery ticket.
The temporal information includes the order time, and the order time refers to the current time that electronics slip generates.
It include check information in the order information.
The HASH operation refer to by hash algorithm by the stake information of electronics slip, payment information, user information, Order type, temporal information are verified as input, and the output valve of HASH operation is denoted as order hash abstract and is filled into and orders In the check information of single information.Since then, by forming complete order information after HASH operation.
The integrality that the order hash formed after HASH operation makes a summary for verifying order information.
The electronics slip generation method further includes encryption, the complete order information that will be formed after HASH operation It is encrypted and generates final electronics slip.
The encryption uses RSA rivest, shamir, adelman, which belongs to public encryption algorithm;Belong to existing Technology.
Referring to Fig. 3, the electronics slip can be sent into the stake of lottery ticket sales platform directly by electronic interface.
The electronics slip can also be converted into quick response code form, realize lottery ticket by the self-service barcode scanning of self-service lottery equipment Stake prints paper lottery ticket.
Bet number in stake information is that lottery fan is selected by each self-help betting software offer numerical selection function come choosing After the completion of number, electronics slip generation method through the invention generates lottery ticket electronics slip.
Embodiment 2
Reference 4, a kind of lottery industry electronics slip analytic method, including content decryption, information checking, information extraction.
The information for including in the electronics slip generated by generation method described in embodiment 1 includes stake information, payment The various informations such as information, user information, and pass through encryption, the purpose of this method is to decrypt its information, extract, and extracts Information out for all kinds of lottery ticket choosing and sellings using.
In the case where obtaining an electronics slip, this method is gradually completing electronics slip information by following steps Parsing:
The content decryption refers to is decrypted by electronics slip information of the rivest, shamir, adelman to encryption, is formed in plain text Stake forms data.
Decryption method and encryption method are corresponding;The front end applications hair that server-side public key is generated to all electronics slips Cloth, encryption data are decrypted by private key.
The information checking refers to through HASH algorithm, in conjunction with the HASH abstract in slip, to the complete of slip information Whole property and legitimacy are verified, it is ensured that information complete and are not distorted.
The HASH algorithm arranges HASH function.
In the case where verification passes through, according to electronics slip create-rule, the information in electronics slip is mentioned It takes, the information extracted is for the use of thicket staking business system, and generally there are two category information usage modes:
The Third-party payment includes the payment of third party's Sales Channel and two kinds of lottery fan's e-payment.
In the case where Third-party payment stake, the information of extraction is divided into two kinds: one is the letters for Third-party payment Breath is called by operation system and is docked with Third-party payment platform, realizes lottery fan's Third-party payment function;Another kind is that stake is related Business information, operation system to Third-party payment success, can handle thicket staking business for user for generating internal order.
In the case where non-Third-party payment stake, the information of extraction is that can be directly used for thicket staking business system, operation system According to information processing user account and stake information.
The present embodiment lottery industry electronics slip analytic method solves the parsing of lottery industry self-help betting electronics slip Problem;The combination of lottery ticket choosing and selling and Third-party payment information is solved the problems, such as by an electronics slip.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of lottery industry electronics slip generation method, which is characterized in that the generation method refer to pass sequentially through a group code, Three HASH operation, encryption steps generate electronics slip;Described group of code step refer to will stake information, payment information, User information, order type, temporal information form order information;The order information further includes check information;The HASH fortune Refer to stake information, payment information, user information, order type, the temporal information by hash algorithm by electronics slip at last It is verified as input, the output valve of HASH operation is denoted as the check information that order hash abstract is filled into order information In;Encryption, which refers to for the complete order information formed after HASH operation to be encrypted, generates final electronics stake It is single.
2. lottery industry electronics slip generation method according to claim 1, which is characterized in that the stake information is Refer to that lottery fan selects the content of purchase lottery ticket, including Entertaiment game teleloto coding, color phase, playing method, bet number, stake multiple.
3. lottery industry electronics slip generation method according to claim 1, which is characterized in that the payment information packet Include payment amount, the means of payment, pay status and Third-party payment information.
4. lottery industry electronics slip generation method according to claim 3, which is characterized in that the means of payment master It to include the payment of lottery fan's account balance, the payment of third party's Sales Channel and lottery fan's e-payment.
5. lottery industry electronics slip generation method according to claim 4, which is characterized in that lottery fan selects the coloured silk The means of payment of people's account balance payment, adds corresponding User ID and channel ID in user information.
6. lottery industry electronics slip generation method according to claim 4, which is characterized in that lottery fan's selection described the The means of payment of tripartite's Sales Channel payment includes channel information in order information.
7. lottery industry electronics slip generation method according to claim 1, which is characterized in that the order type packet Include electronic order and papery order.
8. lottery industry electronics slip generation method according to claim 1, which is characterized in that the temporal information packet The order time is included, the order time refers to the current time that electronics slip generates.
9. lottery industry electronics slip generation method according to claim 1, which is characterized in that the electronics slip The stake of lottery ticket sales platform can be sent into directly by electronic interface.
10. lottery industry electronics slip generation method according to claim 1, which is characterized in that the electronics stake List can also be converted into quick response code form, realize lottery ticket choosing and selling by the self-service barcode scanning of self-service lottery equipment, print paper lottery ticket.
CN201710794085.9A 2017-09-06 2017-09-06 A kind of lottery industry electronics slip generation method Pending CN109461245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710794085.9A CN109461245A (en) 2017-09-06 2017-09-06 A kind of lottery industry electronics slip generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710794085.9A CN109461245A (en) 2017-09-06 2017-09-06 A kind of lottery industry electronics slip generation method

Publications (1)

Publication Number Publication Date
CN109461245A true CN109461245A (en) 2019-03-12

Family

ID=65605838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710794085.9A Pending CN109461245A (en) 2017-09-06 2017-09-06 A kind of lottery industry electronics slip generation method

Country Status (1)

Country Link
CN (1) CN109461245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292161A (en) * 2020-01-20 2020-06-16 西安万像电子科技有限公司 Lottery ticket generation method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207583A (en) * 2007-12-05 2008-06-25 腾讯科技(深圳)有限公司 Lottery ticket information instant service system and method for instant processing lottery ticket information
CN102298756A (en) * 2011-09-05 2011-12-28 中体彩科技发展有限公司 Method for ensuring security of computer lottery trade information
CN102447699A (en) * 2011-11-29 2012-05-09 中福在线投资有限公司 Safe transaction method for mobile Internet lottery based on hardware information
CN104951968A (en) * 2014-03-28 2015-09-30 上海瑞彩信息科技有限公司 Lottery E-commerce automatic investment method and system
CN106559483A (en) * 2016-11-08 2017-04-05 英泰伟业科技(北京)有限公司 Lottery ticket choosing and selling system and the information processing method based on the lottery ticket choosing and selling system
CN206115541U (en) * 2016-07-29 2017-04-19 中体彩科技发展有限公司 System of falsifying is prevented to betting data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207583A (en) * 2007-12-05 2008-06-25 腾讯科技(深圳)有限公司 Lottery ticket information instant service system and method for instant processing lottery ticket information
CN102298756A (en) * 2011-09-05 2011-12-28 中体彩科技发展有限公司 Method for ensuring security of computer lottery trade information
CN102447699A (en) * 2011-11-29 2012-05-09 中福在线投资有限公司 Safe transaction method for mobile Internet lottery based on hardware information
CN104951968A (en) * 2014-03-28 2015-09-30 上海瑞彩信息科技有限公司 Lottery E-commerce automatic investment method and system
CN206115541U (en) * 2016-07-29 2017-04-19 中体彩科技发展有限公司 System of falsifying is prevented to betting data
CN106559483A (en) * 2016-11-08 2017-04-05 英泰伟业科技(北京)有限公司 Lottery ticket choosing and selling system and the information processing method based on the lottery ticket choosing and selling system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292161A (en) * 2020-01-20 2020-06-16 西安万像电子科技有限公司 Lottery ticket generation method, device and system

Similar Documents

Publication Publication Date Title
AU2015267335B2 (en) Encrypted electronic gaming ticket
CA2836470C (en) A method and system for distributing electronic tickets with visual display for verification
US8494967B2 (en) Method and system for distributing electronic tickets with visual display
US9361606B2 (en) Dispensing digital objects to an electronic wallet
US20200051144A1 (en) Encrypted payment image
US8442864B2 (en) Digital device advertising system and method
JP2016081134A (en) Advertisement browsing promotion system, information processing method and program
US20130077817A1 (en) Steganographic method
US9582968B2 (en) 3D lottery card
US20040006487A1 (en) Centralised system and method for dispensing services to automatic sales terminals
CN106920089A (en) Red packet presentation method and system based on Quick Response Code
US20130117124A1 (en) System for Creating an Advertisement Strategy
CN104899747A (en) Virtual bill generating and verifying method, apparatus and system
WO2008157676A2 (en) Securely providing advertising subsidized computer usage
CN109461245A (en) A kind of lottery industry electronics slip generation method
KR100985068B1 (en) Custom-made image and protecting cover creating system shown on electronic machine having display area and method for thereof
US20160364659A1 (en) Method and system for distributing electronic tickets with visual display for verification.
CN102117456A (en) Method and system for providing transaction information
CN109461244A (en) A kind of lottery industry electronics slip analytic method
US20190172093A1 (en) Creating an Advertisement Strategy
TWI271668B (en) Electronic ticket system for information hiding
CN101140653A (en) Method for realizing useful-life setting and recognition approach of preferential card
FR2812959A1 (en) Smart or chip card module is designed to exchange a message with its user where the message is graphically encoded so that only the user can view the message by use of a translucent mask used with a message display
CN107248919A (en) Generation and the method and apparatus of Graphics Application coding
CN109685917A (en) A kind of two-dimensional code electronic box-office managing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190312

RJ01 Rejection of invention patent application after publication