CN108932785A - A kind of lottery ticket micro services call method, system and mobile intelligent terminal - Google Patents

A kind of lottery ticket micro services call method, system and mobile intelligent terminal Download PDF

Info

Publication number
CN108932785A
CN108932785A CN201810343228.9A CN201810343228A CN108932785A CN 108932785 A CN108932785 A CN 108932785A CN 201810343228 A CN201810343228 A CN 201810343228A CN 108932785 A CN108932785 A CN 108932785A
Authority
CN
China
Prior art keywords
lottery
service node
presell
lottery ticket
micro services
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810343228.9A
Other languages
Chinese (zh)
Other versions
CN108932785B (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.)
Beijing Zhuo Zhuo Polytron Technologies Inc
Original Assignee
Beijing Zhuo Zhuo Polytron Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhuo Zhuo Polytron Technologies Inc filed Critical Beijing Zhuo Zhuo Polytron Technologies Inc
Priority to CN201810343228.9A priority Critical patent/CN108932785B/en
Publication of CN108932785A publication Critical patent/CN108932785A/en
Application granted granted Critical
Publication of CN108932785B publication Critical patent/CN108932785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/006Generating random numbers; Lottery apparatus electronically
    • 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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses a kind of lottery ticket micro services call method, is applied to mobile intelligent terminal, barcode scanning client is deployed on the mobile intelligent terminal, the method includes:Start the barcode scanning client and obtains lottery code;Color service node is sold by lottery code identification;The presell lottery information link of color service node is sold described in calling;By presell lottery information link with it is described sell color service node and carry out lottery interact, generation lottery ticket order.The present invention solves the larger technical problem of complexity of lottery ticket micro services calling.

Description

A kind of lottery ticket micro services call method, system and mobile intelligent terminal
Technical field
The present invention relates to application and development field more particularly to a kind of lottery ticket micro services call methods, system and intelligent movable Terminal.
Background technique
Use traditional monoblock type framework (MonolithicArchitecture) application development system, such as CRM (Customer Relationship Management, i.e. customer relation management), ERP (Enterprise ResourcePlanning, Enterprise Resources Plan) etc. large-scale application, with being continuously increased for new demand, enterprise updates and repairs Large-scale monoblock type application becomes more and more difficult.Micro services of having come into being framework, micro services framework are a kind of by single application The mode that program is developed as the external member being made of numerous micro services, wherein every micro services are owned by the process of oneself simultaneously Realize communication.These micro services are established around business function, and realize independent deployment by automatically dispose mechanism, micro- All data are all privately owned between single service in service architecture, and the application program for needing to provide by shared server is visiting It asks, so that local matter and distributed transaction guarantee the consistency of data.
Micro services application is distributed system, thus can bring intrinsic complexity.Developer needs in RPC or message Inter-Process Communication mechanism is selected and completed between transmitting, therefore needs network call between each micro services, is rationally disposed, and load is equal Weighing apparatus, the complexity for resulting in micro services are larger.
Summary of the invention
The larger technical problem of the complexity called there are lottery ticket micro services in view of the prior art, the embodiment of the present invention provide A kind of lottery ticket micro services call method, system and mobile intelligent terminal.
In a first aspect, the embodiment of the present invention provides a kind of lottery ticket micro services call method, it is applied to mobile intelligent terminal, It is characterized in that, barcode scanning client is deployed on the mobile intelligent terminal, the method includes:
Start the barcode scanning client and obtains lottery code;
Color service node is sold by lottery code identification;
The presell lottery information link of color service node is sold described in calling;
By presell lottery information link with it is described sell color service node and carry out lottery interact, generation lottery ticket order.
With reference to first aspect, in the first possible implementation of the first aspect, described to pass through the presell lottery ticket Information with it is described sell color service node and carry out lottery interact, generation lottery ticket order, including:
It is linked by the presell lottery information to described and sells color service node initiation lottery request;
If lottery request is passed through, color service node progress e-payment is sold to described by network payment system;
If paying successfully, lottery ticket order is generated.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, described linked by the presell lottery information to described sells color service node and initiates lottery request, including:
Selection ticket kind and quantity are linked by the presell lottery information, shopping cart is added;
Color service node initiation lottery request is sold to described to the article in the shopping cart.
The possible implementation of with reference to first aspect the first, in the third possible implementation of first aspect In, described linked by the presell lottery information is sold before color service node initiates lottery request to described, further includes:
Presell lottery information link is subjected to interface display according to different ticket kinds with wicket.
Any realization of the possible implementation of with reference to first aspect the first into the third possible implementation Mode sells coloured silk with described by the presell lottery information described in a fourth possible implementation of the first aspect Service node carries out lottery interaction, carries out prize by the lottery ticket order, specific to wrap It includes:
Color service node initiation prize request is sold to described by the lottery ticket order;
If the lottery ticket order is got the winning number in a bond, e-payment is received by network payment system.
The 4th kind of possible implementation with reference to first aspect, in the 5th kind of possible implementation of first aspect In, after the progress prize by the lottery ticket order, further include:
The prize of each lottery ticket in the lottery ticket order is recorded as a result, and doing accordingly in the lottery ticket order to each lottery ticket Prize label.
With reference to first aspect, in the sixth possible implementation of the first aspect, described to be known by the lottery code Color service node is not sold, including:
Safety certification request is initiated to color server is remotely sold by the lottery code;
If the safety certification request does not pass through, terminate to call.
Second aspect, the embodiment of the present invention provide a kind of lottery ticket micro services calling system, are applied to mobile intelligent terminal, institute It states and is deployed with scanning client on mobile intelligent terminal, the system specifically includes:
Start unit obtains lottery code for starting the barcode scanning client;
Recognition unit, for selling color service node by lottery code identification;
Call unit, for calling the presell lottery information link for selling color service node;
Interactive unit, for being interacted by presell lottery information link with the color service node progress lottery of selling, Generate lottery ticket order.
The third aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, Realize first aspect to described in any one of the 6th kind of possible implementation of first aspect when the program is executed by processor The step of.
Fourth aspect, the embodiment of the present invention provide a kind of mobile intelligent terminal, including memory, processor and are stored in On reservoir and the program that can run on a processor, the processor realize first aspect to first aspect when executing described program Any one of the 6th kind of possible implementation described in step.
One or more technical solution provided in an embodiment of the present invention, at least realizes following technical effect or excellent Point:
Due to being deployed with barcode scanning client on the mobile intelligent terminal of lottery, by starting the barcode scanning client End obtains lottery code;Color service node is sold by lottery code identification;The presell lottery ticket letter of color service node is sold described in calling Breath link;So that mobile intelligent terminal sells color service node progress lottery friendship with described by presell lottery information link Mutually, lottery ticket order is generated.It therefore, there is no need to micro services program itself and be related to network topology, load balancing and service arrangement are answered Miscellaneous logic reduces micro services client so that purchase terminal is directly linked in the information on services of local invocation target service node The complexity at end, in turn, so that common mobile intelligent terminal passes through local barcode scanning client and just has access to micro services system In, improve the flexibility of micro services system expanding.
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 The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow chart of micro services call method provided in an embodiment of the present invention;
Fig. 2 is the Program modual graph of micro services calling system provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of computer readable storage medium provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
In view of the technical problem that the prior art is larger there are the complexity of micro services, the embodiment of the invention provides a kind of coloured silks Ticket micro services call method and system, general thought are as follows:
Lottery code is obtained by starting the barcode scanning client;Color service node is sold by lottery code identification;It calls The presell lottery information link for selling color service node;So that mobile intelligent terminal by the presell lottery information link with It is described to sell color service node progress lottery interaction, generate lottery ticket order.It therefore, there is no need to micro services program itself and be related to network to open up It flutters, the complex logic of load balancing and service arrangement, so that purchase terminal is directly in the service of local invocation target service node Info Link reduces the complexity of micro services client.
Through the above technical solutions, it is micro- to have access to common mobile intelligent terminal just by local barcode scanning client In service system, accordingly, it is not necessary to which micro services program itself is related to network topology, the complexity of load balancing and service arrangement is patrolled Volume, improve the flexibility of micro services system expanding.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of lottery ticket micro services call method, is applied to mobile intelligent terminal, in the movement Barcode scanning client is deployed on intelligent terminal, refering to what is shown in Fig. 1, a kind of micro services call method provided in an embodiment of the present invention, Include the following steps:
Firstly, executing step S101:Start the barcode scanning client and obtains lottery code.
Specifically, providing the service node of micro services to realize that mobile intelligent terminal can identify, swept with barcode scanning equipment The lottery code for retouching service node, carries out the identification of service node.
After step slol, step S102 is then executed:Color service node is sold by lottery code identification.
Specifically, lottery code can in advance with sell color service node and bind, correctly to be shown after scanning input lottery code This is shown and sells vendible lottery ticket type and quantity in color service node.
Specifically, specifically comprise the following steps S1021~S1022 in step S101:
Execute step S1021:Safety certification request is initiated to color server is remotely sold by the lottery code.
The lottery code identification information of each service node is preset on remotely selling color server, for example, service node is set Standby coding, site coding, service type, service state etc..Therefore, unique service node can be identified by lottery code, and with This carries out safety certification.
In embodiment, after step S1021, the peace initiated mobile intelligent terminal can be returned to by remotely selling color server Whether full certification request passes through, and after mobile intelligent terminal receives reply, continues to execute step S1022:If the safety certification is asked It asks and does not pass through, then terminate to call.
It should be noted that if safety certification request passes through, illustrates that the corresponding service node of lottery code is working properly, then connect Execution step S102;If the safety certification request does not pass through, for example the corresponding service node of lottery code scanned is false , be not present or the service node rest, cancelled, then terminate the process.
After step s 102, step S103 is then executed:The presell lottery information chain of color service node is sold described in calling It connects.
Specifically, each presell goods links on service node can be called directly, client and service node is not present Average information forwarding and transmission link.Such as in the distributed system of traditional micro services, it is necessary first to client with The information transmitting that all presell commodity are completed between service node, further according to preset rules of order, carries out institute on the client There is the showing interface of presell commodity, is then communicated according to the selection of client with service node;In this way, in single visitor The presell merchandise news at family end selects and service node receive between there are the time difference, due to a service node often dock it is more A client leads to the commodity selected in a client, it is likely that and it is paid the bill and buys by another client, thus The commodity undercarriage on service node.
In the specific implementation process, due on mobile intelligent terminal, publication be service node related link, pass through The problem of link, client and service node form a direct instant Track, and there is no merchandise news lag.
After step s 103, step S104 is then executed:Color clothes are sold with described by presell lottery information link Node progress lottery of being engaged in is interactive, generates lottery ticket order.
It should be noted that there are many types of lottery ticket, therefore, the presell lottery information chain of coloured silk service node setting on sale Remaining ticket, every kind of lottery including lottery ticket ticket kind, picture, every kind of lottery ticket is connect to illustrate, therefore, user will on the client into Row selection, in order to be interacted by presell lottery information link with the color service node progress lottery of selling, completion lottery ticket is ordered Single, step S104 specifically comprises the following steps S1041~S1043:
Firstly, executing step S1041, being linked by the presell lottery information to described and sell color service node initiation lottery Request.
Be linked into the sale interface for selling color service node specifically, can click directly on, select the ticket kind to be bought and Quantity is initiated purchase request, if selling color service node receives the request, is continued;If selling color service node does not receive this Request, then terminate.
Color service node initiation lottery request is sold in order to link by the presell lottery information to described, can specifically be adopted The embodiment described in following steps A1~A2:
Execute step A1:Selection ticket kind and quantity are linked by the presell lottery information, shopping cart is added.
Be linked into the sale interface for selling color service node specifically, can click directly on, select the ticket kind to be bought and Quantity is first stored in shopping cart.
After step A1, step A2 is then executed:Color service node hair is sold to described to the article in the shopping cart Play lottery request.
Specifically, purchase request can be initiated all or part of article in shopping cart one by one or initiate to buy simultaneously to ask It asks, it in the specific implementation process, can be to desire in order to reduce the consumption of the communication resource between mobile intelligent terminal and service node The article of purchase is packaged with one purchase request of initiation.For example, in general, lottery fan can select multiple tickets when buying lottery ticket Kind, a list of articles can be generated to product to be done shopping, purchase request is initiated to service node with the list of articles.
It should be noted that reselection can be carried out to the article saved in shopping cart, to the product to be done shopping finally determined Initiate purchase request.Lottery fan can check the details of shopping cart, can control the quantity of corresponding ticket kind by unlike signs, prop up simultaneously It holds a key and empties shopping cart.
In one embodiment, it is linked by the presell lottery information to described and sells color service node initiation lottery request Before, following steps A0 is executed:
Presell lottery information link is subjected to interface display according to different ticket kinds with wicket.
Specifically, carrying out data processing to it after selling the presell lottery information link of color service node described in the calling, solve All presell lottery informations, including ticket kind, remaining poll amount included in the link of presell lottery information etc. are analysed, in order to make interface more It is easy to operate, interface display can be carried out with wicket to each ticket kind according to preset interface display rules.For example, it uses After lottery two dimensional code is scanned at family, the lottery page can be entered.This can be sold the vendible lottery ticket type of color service node and number by system Amount is shown on the lottery page for selection by the user.
If step S1042, lottery request is passed through, color service node progress electricity is sold to described by network payment system Son payment.
Specifically, network payment system includes wechat payment, Alipay payment, Interlink Card payment etc..
If step S1043, paying successfully, lottery ticket order is generated.
In the specific implementation process, if payment is not completed, payment failure or order the systems notice such as unsuccessfully, client are returned It may be selected to continue payment, return to purchase interface or end;If paying successfully, lottery ticket order is completed, and is generated lottery ticket order and is protected It deposits.So far process of purchase terminates, and client can a little get tickets or prize with lottery ticket order to drawing a bill for color service node is sold.
It should be noted that lottery ticket order includes:Lottery service node coding, the lower list time, the means of payment pays shape Whether state, lottery ticket identification code ticket kind, mode of lottery, draw a bill, and the information such as lottery ticket two dimensional code, owner can be by lottery ticket order Information carry out operation of drawing a bill.
In order to realize the prize function of mobile intelligent terminal, in one embodiment, after step s 104, then execute Step S105, prize function is realized by the lottery ticket order, includes the following steps S1051~S1052:
Step S1051, color service node initiation prize request is sold to described by the lottery ticket order;
Color service node is sold specifically, lottery ticket order is sent to, color service node is sold and is judged according to prize information, lottery ticket Whether there is the lottery ticket of prize-winning on order, and the prize information is sent to mobile intelligent terminal.
If step S1052, the described lottery ticket order is got the winning number in a bond, e-payment is received by network payment system.
Specifically, mobile intelligent terminal can show non-prize information if not having the lottery ticket got the winning number in a bond on order;If ordered The lottery ticket that Dan Shangyou gets the winning number in a bond, then mobile intelligent terminal can show prize information, including winning lottery ticket identification code, ticket kind, prize side Formula, prize amount etc..
In one embodiment, after step S105, then execute step S106, record it is each in the lottery ticket order The prize of lottery ticket is as a result, and do corresponding prize label to each lottery ticket in the lottery ticket order.
Specifically, increasing not in corresponding lottery ticket record on lottery ticket order if thering is lottery ticket not get the winning number in a bond on order Winning logo;If there is the lottery ticket of prize-winning on order, increase winning logo in corresponding lottery ticket record on lottery ticket order;Such as There is the lottery ticket of prize-winning on fruit order, prize and paid bonus, then increases in corresponding lottery ticket record on lottery ticket order Prize identifies.
In the specific implementation process, micro services call method provided in an embodiment of the present invention can be applied to the pin of lottery ticket It sells, in the following, being illustrated using the sale that the embodiment of the present invention provides micro services call method progress lottery ticket:
By lottery two dimensional code and sell color service node first and bind, after binding success user can scan the lottery two dimensional code into Enter the lottery page.In the lottery page lottery ticket type to be bought of selection and quantity, (system will sell color service node to user according to this Inventory show user the lottery ticket type and quantity that can buy), payment button is clicked after choosing, system can generate simultaneously order and adjust With the payment page.The order can be sent to this and sell color service node by system after paying successfully, and node staff is according to order In lottery ticket type and quantity lottery ticket consigned into user.
It other operations such as carrying out ticket as above when selling color service node, making an inventory or there is equipment the exception shape such as lock, report for repairment When state, when scanning input lottery two dimensional code, can prompt user that cannot currently buy.
Based on the same inventive concept, the embodiment of the present invention provides a kind of micro services calling system, refering to what is shown in Fig. 2, using In being deployed with scanning client on mobile intelligent terminal, the mobile intelligent terminal, specifically include:
Start unit 201 obtains lottery code for starting the barcode scanning client;
Recognition unit 202, for selling color service node by lottery code identification;
Call unit 203, for calling the presell lottery information link for selling color service node;
Interactive unit 204, for selling color service node progress lottery friendship with described by presell lottery information link Mutually, lottery ticket order is generated.
In one embodiment, 204 interactive unit, specifically includes:
Transmission sub-unit is requested, sells color service node initiation lottery for linking by the presell lottery information to described Request;
E-payment subelement sells color service to described by network payment system if being passed through for lottery request Node carries out e-payment;
Order generates subelement, if generating lottery ticket order for paying successfully.
In one embodiment, the request transmission sub-unit, including:
It selects to determine submodule, for linking selection ticket kind and quantity by the presell lottery information, shopping cart is added;
Request-to-send submodule, for the article in the shopping cart to it is described sell color service node and initiate lottery ask It asks.
In one embodiment, the request transmission sub-unit further includes:
Interface Control submodule, for presell lottery information link to be carried out boundary according to different ticket kinds with wicket Face is shown.
It in one embodiment further include prize unit in conjunction with aforementioned any embodiment, for being ordered by the lottery ticket It is single to carry out prize, it specifically includes:
Prize initiates subelement, for selling color service node initiation prize request to described by the lottery ticket order;
Receiving subelement is paid, if getting the winning number in a bond for the lottery ticket order, e-payment is received by network payment system.
In one embodiment, further include:
Recording unit, for recording the prize of each lottery ticket in the lottery ticket order as a result, and in the lottery ticket order Corresponding prize label is done to each lottery ticket.
In one embodiment, the recognition unit 202, including:
Subelement is authenticated, for initiating safety certification request to color server is remotely sold by the lottery code;
Nullify subelement terminates to call if not passing through for the safety certification request.
Based on the same inventive concept, the embodiment of the present invention provides a kind of computer readable storage medium 301, with reference to Fig. 4 institute Show, be stored thereon with computer program 302, which realizes that aforementioned micro services call method is implemented when being executed by processor The step of described in example.
Based on the same inventive concept, the embodiment of the present invention provides a kind of mobile intelligent terminal 1900, refering to what is shown in Fig. 4, should Mobile intelligent terminal 1900 can generate bigger difference because configuration or performance are different, may include in one or more Central processor (central processing units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage application programs 1942 or data 1944 storage medium 1930 (such as one or one with Upper mass memory unit).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.It is stored in The program of storage medium 1930 may include one or more modules (diagram does not mark), and each module may include to meter Calculate the series of instructions operation in machine equipment.Further, central processing unit 1922 can be set to and storage medium 1930 Communication executes the series of instructions operation in storage medium 1930 on mobile intelligent terminal 1900.The processor executes institute Step described in any embodiment in aforementioned micro services call method embodiment is realized when stating program.
Mobile intelligent terminal 1900 can also include one or more power supplys 1926, one or more it is wired or Radio network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, One or more operating systems 1941, for example, have Android, iOS, Firefox OS, YunOS, BlackBerry, Windows phone, symbian, Palm, BADA, Windows Mobile, ubuntu, SailfishOS etc..
Since the electronic equipment that the present embodiment is introduced is used to implement micro services call method in the embodiment of the present application Electronic equipment, so based on micro services call method described in the embodiment of the present application, those skilled in the art's energy The specific embodiment and its various change form of the electronic equipment of solution the present embodiment much of that, so being set herein for the electronics It is standby how to realize that the method in the embodiment of the present application is no longer discussed in detail.As long as those skilled in the art implement the application reality Electronic equipment used by micro services call method in example is applied, the range to be protected of the application is belonged to.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
Due to being deployed with barcode scanning client on the mobile intelligent terminal of lottery, by starting the barcode scanning client End obtains lottery code;Color service node is sold by lottery code identification;The presell lottery ticket letter of color service node is sold described in calling Breath link;So that mobile intelligent terminal sells color service node progress lottery friendship with described by presell lottery information link Mutually, lottery ticket order is generated.It therefore, there is no need to micro services program itself and be related to network topology, load balancing and service arrangement are answered Miscellaneous logic reduces micro services client so that purchase terminal is directly linked in the information on services of local invocation target service node The complexity at end, in turn, so that common mobile intelligent terminal passes through local barcode scanning client and just has access to micro services system In, improve the flexibility of micro services system expanding.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention:It is i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize realization lottery ticket micro services calling system according to an embodiment of the present invention In some or all components some or all functions.The present invention is also implemented as described herein for executing Some or all device or device programs (for example, computer program and computer program product) of method.In this way Realization program of the invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape Formula provides.

Claims (10)

1. a kind of lottery ticket micro services call method is applied to mobile intelligent terminal, which is characterized in that in the mobile intelligent terminal On be deployed with barcode scanning client, the method includes:
Start the barcode scanning client and obtains lottery code;
Color service node is sold by lottery code identification;
The presell lottery information link of color service node is sold described in calling;
By presell lottery information link with it is described sell color service node and carry out lottery interact, generation lottery ticket order.
2. micro services call method as described in claim 1, which is characterized in that described to pass through the presell lottery information and institute It states and sells color service node progress lottery interaction, generate lottery ticket order, including:
It is linked by the presell lottery information to described and sells color service node initiation lottery request;
If lottery request is passed through, color service node progress e-payment is sold to described by network payment system;
If paying successfully, lottery ticket order is generated.
3. micro services call method as claimed in claim 2, which is characterized in that described to be linked by the presell lottery information It sells color service node to described and initiates lottery request, including:
Selection ticket kind and quantity are linked by the presell lottery information, shopping cart is added;
Color service node initiation lottery request is sold to described to the article in the shopping cart.
4. micro services call method as claimed in claim 2, which is characterized in that described to be linked by the presell lottery information It is sold before color service node initiates lottery request to described, further includes:
Presell lottery information link is subjected to interface display according to different ticket kinds with wicket.
5. such as micro services call method of any of claims 1-4, which is characterized in that pass through the presell described Lottery information with it is described sell color service node and carry out lottery interact, further include being ordered by the lottery ticket after generation lottery ticket order It is single to carry out prize, it specifically includes:
Color service node initiation prize request is sold to described by the lottery ticket order;
If the lottery ticket order is got the winning number in a bond, e-payment is received by network payment system.
6. micro services call method as claimed in claim 5, which is characterized in that described to carry out prize by the lottery ticket order Afterwards, further include:
The prize of each lottery ticket in the lottery ticket order is recorded as a result, and doing in the lottery ticket order to each lottery ticket and converting accordingly Prize label.
7. micro services call method as described in claim 1, which is characterized in that described to sell color clothes by lottery code identification Business node, including:
Safety certification request is initiated to color server is remotely sold by the lottery code;
If the safety certification request does not pass through, terminate to call.
8. a kind of lottery ticket micro services calling system is applied to mobile intelligent terminal, which is characterized in that on the mobile intelligent terminal It is deployed with scanning client, the system specifically includes:
Start unit obtains lottery code for starting the barcode scanning client;
Recognition unit, for selling color service node by lottery code identification;
Call unit, for calling the presell lottery information link for selling color service node;
Interactive unit, for by presell lottery information link with it is described sell color service node and carry out lottery interact, generation Lottery ticket order.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Such as step of any of claims 1-7 is realized when row.
10. a kind of mobile intelligent terminal, can run on a memory and on a processor including memory, processor and storage Program, which is characterized in that the processor realizes such as step of any of claims 1-7 when executing described program.
CN201810343228.9A 2018-04-17 2018-04-17 Method and system for calling lottery micro-service and mobile intelligent terminal Active CN108932785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810343228.9A CN108932785B (en) 2018-04-17 2018-04-17 Method and system for calling lottery micro-service and mobile intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810343228.9A CN108932785B (en) 2018-04-17 2018-04-17 Method and system for calling lottery micro-service and mobile intelligent terminal

Publications (2)

Publication Number Publication Date
CN108932785A true CN108932785A (en) 2018-12-04
CN108932785B CN108932785B (en) 2021-07-30

Family

ID=64448396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810343228.9A Active CN108932785B (en) 2018-04-17 2018-04-17 Method and system for calling lottery micro-service and mobile intelligent terminal

Country Status (1)

Country Link
CN (1) CN108932785B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114638663A (en) * 2022-01-17 2022-06-17 汇世金彩信息网络(上海)有限责任公司 Lottery ticket purchasing method, device, electronic equipment, system and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5216595A (en) * 1990-03-20 1993-06-01 Ncr Corporation System and method for integration of lottery terminals into point of sale systems
CN101099330A (en) * 2005-02-07 2008-01-02 三星电子株式会社 Key management method using hierarchical node topology, and method of registering and deregistering user using the same
KR20090129184A (en) * 2008-06-12 2009-12-16 (주)인펙비전 Lottery ticket vending machine protecting for counterfeiting and detecting for age
CN103493110A (en) * 2011-02-07 2014-01-01 科学游戏控股有限公司 Method for implementing a digital gate enabled multi-player lottery game
CN103530927A (en) * 2012-07-04 2014-01-22 深圳市奥彩瑞信息科技有限公司 Lottery betting system and lottery betting method based on POS (point of sales) machine
CN103824219A (en) * 2014-02-24 2014-05-28 广州热闹信息科技有限公司 Method for buying, checking and donating electronic ticket
CN104268764A (en) * 2014-10-15 2015-01-07 武志杰 Commodity anti-counterfeiting tracing method and system and sale terminals
CN104951968A (en) * 2014-03-28 2015-09-30 上海瑞彩信息科技有限公司 Lottery E-commerce automatic investment method and system
CN105096186A (en) * 2015-09-01 2015-11-25 重庆彩豆网络科技有限公司 Lottery retail shopping system based on two-dimensional code
CN105225274A (en) * 2015-09-07 2016-01-06 兴旺 Self-service ticket and ticket checking method and system
CN105354747A (en) * 2015-10-09 2016-02-24 徐蔚 Information processing network and method based on uniform code sending, and sensing access equipment
CN105427444A (en) * 2015-12-25 2016-03-23 北京亚博高腾科技有限公司 Lottery bet system and lottery bet method based on two-dimension code assisted betting
CN107369238A (en) * 2017-07-17 2017-11-21 广州国通信息技术有限公司 Lottery ticket choosing and selling system
US20170365126A1 (en) * 2016-06-21 2017-12-21 Scientific Games International, Inc. Method and System for Enhanced Lottery Ticket Activation and Sale at a Retail Establishment with Subsequent Billing and Accountability of Sold Tickets
CN107517408A (en) * 2017-08-31 2017-12-26 北京华阳创美文化科技有限公司 A kind of method and system that lottery ticket is bought by TV
CN209488620U (en) * 2016-11-16 2019-10-11 北京灵氪科技发展有限公司 A kind of intelligent internet of things system for Cold Chain Logistics information service

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5216595A (en) * 1990-03-20 1993-06-01 Ncr Corporation System and method for integration of lottery terminals into point of sale systems
CN101099330A (en) * 2005-02-07 2008-01-02 三星电子株式会社 Key management method using hierarchical node topology, and method of registering and deregistering user using the same
KR20090129184A (en) * 2008-06-12 2009-12-16 (주)인펙비전 Lottery ticket vending machine protecting for counterfeiting and detecting for age
CN103493110A (en) * 2011-02-07 2014-01-01 科学游戏控股有限公司 Method for implementing a digital gate enabled multi-player lottery game
CN103530927A (en) * 2012-07-04 2014-01-22 深圳市奥彩瑞信息科技有限公司 Lottery betting system and lottery betting method based on POS (point of sales) machine
CN103824219A (en) * 2014-02-24 2014-05-28 广州热闹信息科技有限公司 Method for buying, checking and donating electronic ticket
CN104951968A (en) * 2014-03-28 2015-09-30 上海瑞彩信息科技有限公司 Lottery E-commerce automatic investment method and system
CN104268764A (en) * 2014-10-15 2015-01-07 武志杰 Commodity anti-counterfeiting tracing method and system and sale terminals
CN105096186A (en) * 2015-09-01 2015-11-25 重庆彩豆网络科技有限公司 Lottery retail shopping system based on two-dimensional code
CN105225274A (en) * 2015-09-07 2016-01-06 兴旺 Self-service ticket and ticket checking method and system
CN105354747A (en) * 2015-10-09 2016-02-24 徐蔚 Information processing network and method based on uniform code sending, and sensing access equipment
CN105427444A (en) * 2015-12-25 2016-03-23 北京亚博高腾科技有限公司 Lottery bet system and lottery bet method based on two-dimension code assisted betting
US20170365126A1 (en) * 2016-06-21 2017-12-21 Scientific Games International, Inc. Method and System for Enhanced Lottery Ticket Activation and Sale at a Retail Establishment with Subsequent Billing and Accountability of Sold Tickets
CN209488620U (en) * 2016-11-16 2019-10-11 北京灵氪科技发展有限公司 A kind of intelligent internet of things system for Cold Chain Logistics information service
CN107369238A (en) * 2017-07-17 2017-11-21 广州国通信息技术有限公司 Lottery ticket choosing and selling system
CN107517408A (en) * 2017-08-31 2017-12-26 北京华阳创美文化科技有限公司 A kind of method and system that lottery ticket is bought by TV

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114638663A (en) * 2022-01-17 2022-06-17 汇世金彩信息网络(上海)有限责任公司 Lottery ticket purchasing method, device, electronic equipment, system and storage medium

Also Published As

Publication number Publication date
CN108932785B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN107748985B (en) Network-based payment method and network payment server
CN108537533B (en) Self-service shopping settlement method and system
US8321841B2 (en) Validation framework for service oriented architecture (SOA) application adoption
CN109840146A (en) Method for processing business, device, terminal and storage medium
CN109741147A (en) Card certificate management method, device, equipment and computer readable storage medium
CN111190649B (en) Client building method, device and system
CN110473036A (en) A kind of method and apparatus generating order number
CN102855182B (en) A kind of Web system test method and device
CN109325744A (en) Payment processing method, device, medium and electronic equipment
CN109493075A (en) For determining the method and apparatus of virtual resource object
CN111258567B (en) Service code development processing method and device
US8543970B2 (en) Energy consumption visualization for software design
CN108932785A (en) A kind of lottery ticket micro services call method, system and mobile intelligent terminal
Bauer Erc-721 nonfungible tokens
CN109995585A (en) A kind of abnormality eliminating method, equipment and storage medium
CN108876344A (en) Means of payment configuration method, device, storage medium and the system of automatic vending machine
CN109858874A (en) Payment approval process configuration method and device under a kind of more scenes
Bulej et al. Cocome in fractal
CN111209036A (en) Method and device for configuring self-service mode of system
US20220366393A1 (en) Service application system for payment terminals
US9232388B2 (en) Initiation of wireless service
US20140279212A1 (en) Multi-channel wireless pre-approval system
US20210264347A1 (en) Product cycle management
CN104103136A (en) Intelligent mobile equipment-based cash registering method
Bicevskis et al. Analysis of concurrent processes in internet of things solutions

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