One kind is ordered method of payment, device, terminal and storage medium
Technical field
The present embodiments relate to field of artificial intelligence, more particularly to one kind order method of payment, device, terminal and
Storage medium.
Background technology
In general, people order in various restaurant, dining room, payment is generally to be carried out by calling service person, is so lived through
When more artificial links, especially restaurant, dining room business are busy, more time can be expended.
Further, have and by handset Wechat barcode scanning, call preset website, it is then single up and down into line, finally lead to
Cross the method for payment of ordering that mobile phone is completed to pay.
But this method of payment, there is still a need for user's operation mobile phone carries out the follow-up payment behaviour that orders after user's barcode scanning
Make, also not convenient and efficient enough, payment efficiency of ordering is low, and user experience is bad.
The content of the invention
The present invention provides one kind and orders method of payment, device, terminal and storage medium, with solve user at the restaurant, dining room
, it is necessary to the problem of payment efficiency is low, and user experience is bad of ordering caused by user's operation mobile phone when ordering food payment.
In a first aspect, order method of payment an embodiment of the present invention provides one kind, including:
The user account information of mobile terminal barcode scanning mandate offer is provided by the Quick Response Code shown on dining table;
Vegetable list is shown by the display screen of the dining table and detects menu operation of the user in the vegetable list
Instruction;
Ordered menu and order described in establishing menu and the use according to the vegetable list and menu operation confirmation command
The association of family account information;
If detecting confirmation tally order in the display screen, institute and is based at menu formation Pay Bill according to described order
State the clearing that user account information carries out the Pay Bill.
Second aspect, the embodiment of the present invention additionally provide one kind and order payment mechanism, including:
User account information acquisition module, obtains mobile terminal barcode scanning mandate for the Quick Response Code by being shown on dining table and carries
The user account information of confession;
Order module, for showing vegetable list by the display screen of the dining table and detecting user in the vegetable list
In menu operation instruction;
Order and confirm module, for being ordered according to the vegetable list and menu operation confirmation command described in menu and foundation
Menu and the user account information of ordering associate;
Settlement module, if for detecting confirmation tally order in the display screen, according to the menu formation branch of ordering
Pay one's bill and based on the clearing of the user account information progress Pay Bill.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal, including memory, processor and are stored in memory
Computer program that is upper and can running on a processor, the processor realize above-mentioned payer of ordering when performing described program
Method.
Fourth aspect, the embodiment of the present invention additionally provides a kind of storage medium for including computer executable instructions, described
Computer executable instructions by computer processor when being performed for performing above-mentioned method of payment of ordering.
The method of payment of ordering of the present invention obtains what the mandate of mobile terminal barcode scanning provided by the Quick Response Code shown on dining table
User account information, shows vegetable list by the display screen of the dining table and detects menu of the user in the vegetable list
Operational order, orders menu and order described in establishing menu and the use according to the vegetable list and menu operation confirmation command
The association of family account information, if detecting confirmation tally order in the display screen, pays a bill according to the menu formation branch of ordering
Clearing single and that the Pay Bill is carried out based on the user account information, when user orders food payment, it is only necessary to right
After Quick Response Code on the display screen of dining table is scanned, delivery operation of subsequently ordering almost has been broken away to customer mobile terminal
Dependence, it is thus only necessary to operated in the display screen of dining table, substantially increase user order payment efficiency user dining
Experience.
Brief description of the drawings
Fig. 1 is a kind of flow chart of method of payment of ordering of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of method of payment of ordering of the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of payment mechanism of ordering of the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of terminal of the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart for method of payment of ordering that the embodiment of the present invention one provides, and the method for the present embodiment is specific
Available for user at the restaurant, dining room order food the situation of payment, this method can be performed by ordering payment mechanism, the device
Configuration that can be independent in terminal or server, also can decentralized configuration in terminal and server, both coordinate realization this
The method of embodiment.
The method of the present embodiment specifically comprises the following steps:
Step 101, obtain the user account information that the mandate of mobile terminal barcode scanning provides by the Quick Response Code shown on dining table.
The Quick Response Code shown on dining table can have various ways realization, and Quick Response Code e.g. is printed on certain medium (example
Such as plastic sheet, sheet metal, desktop) on presented with physical entity;In another example by the display screen of dining table two-dimensional code display with
The mode of electronic pictures is realized, that is to say, that two-dimensional code display is needed first on the display screen of dining table when having dinner to obtain movement
The user account information that terminal scanning mandate provides.The Quick Response Code processing procedure of both is identical, only with different presentations
Mode, is based primarily upon latter implementation and is illustrated in the present embodiment.
Specifically, the display screen of dining table can be the display screen for the payment terminal of ordering placed on dining table, payment is ordered eventually
End can be the electric terminal realized on the basis of touch-control and Display Technique, can be placed on dining table, can also be embedded in dining table and consolidate
Fixed, Quick Response Code is the window of the service or vegetable displaying with this dining room or restaurant offer, and user passes through its hand-held mobile phone, tablet
Deng the barcode scanning function in being applied in mobile terminal, which can be scanned, wherein, " being applied in mobile terminal " can be with
Including but not limited to providing special APP (application, using), browser that the embodiment of the present invention orders method of payment should
Apply (for example, the payment platform application such as wechat, Alipay, China Merchants Bank, Construction Bank) with, Third-party payment platform, when with
After the Quick Response Code of display screen display of the family to dining table is scanned, represent that user agrees to send its user account information to point
Eat payment terminal, wherein, user account information can include user and order the special of method of payment providing the embodiment of the present invention
The user account information (simply corresponding to certain dining room or the use of dining room alliance) registered in APP and user are in Third-party payment platform
User account information in.
Therefore, in embodiments of the present invention, can on the display screen of dining table two-dimensional code display, swept with obtaining mobile terminal
Code authorizes the user account information provided, to facilitate user to order food delivery operation in payment terminal ordering.
It should be noted that ordered method of payment when user account information is defined as user providing the embodiment of the present invention
Special APP in register user account information when, possible user be for the first time order in this dining room or restaurant, not at this
Registered user's account in special APP, at this time after user's barcode scanning, since user does not have first user account information, at this time may be used
With the interface of pop-up prompting user's registration user account, user can immediately register, can equally obtain user at this time and note immediately
User account information after volume.Certainly, in order to improve user's dining experience, the process registered immediately can postpone till the meal such as user
Period carries out, or even the user that can also leave chooses whether to register, can be only according to the hand of user if user does not register
One casual user's account information of the user identity information such as machine number or name, identity card distributing user.
Step 102, show vegetable list by the display screen of the dining table and detect user in the vegetable list
Menu operation instructs.
In embodiments of the present invention, after user's barcode scanning mandate, display screen can show vegetable list, and user can be in vegetable
The menu operation instruction such as carry out choosing in list, it is necessary to which explanation is that display screen is not only used for showing, corresponding to its display surface
Touch control unit is additionally provided with to be used to detect the touch control operation of user, with reference to the display content of display screen, what touch control unit detected
The touch control operation of user can combine generation menu operation instruction, to confirm the menu of ordering of user as early as possible.
It should be noted that " the vegetable list " of the embodiment of the present invention in addition to the list of vegetable, can also include this
Dining room or the service project list in restaurant.
Step 103, menu of ordering described in menu and foundation of being ordered according to the vegetable list and menu operation confirmation command
With associating for the user account information.
In embodiments of the present invention, can be ordered according to vegetable list and menu operation confirmation command described in menu and foundation
Menu and the user account information of ordering associate, so that the vegetable or service that select user record, and it is convenient after
Continuous delivery operation.
If step 104, in the display screen detect confirmation tally order, according to the menu formation Pay Bill of ordering
And the clearing of the Pay Bill are carried out based on the user account information.
In embodiments of the present invention, when user has chosen menu, and after having consumed, inquiry can be shown on a display screen
The sentence whether user settles accounts, when user selects to settle accounts, display screen detects confirmation tally order at this time, afterwards can root
The menu formation Pay Bill of ordering put according to user, and according to the clearing of user account information progress Pay Bill.
Specifically, according to it is described order menu formation Pay Bill and based on the user account information carry out Pay Bill
The processes of clearing can include following several situations:
Situation one:When user allows payment terminal auto deduction in Third-party payment platform or special APP of ordering, then point
Meal payment terminal can send settlement request into Third-party payment platform or special APP, more than in user account information
When volume is not less than billing amount, bales catch withdrawal item, completes payment process.
Situation two:When user does not allow payment terminal auto deduction in Third-party payment platform or special APP of ordering, then
The required authorization message of withholing of settlement request can be obtained request and send the mobile end held to user by payment terminal of ordering
End, when receive withhold authorization message when, which is sent into Third-party payment platform or special APP, works as button
When money information is correct, and when the remaining sum in user account information is not less than billing amount, fund is taken off, completes payment process.Its
In in special APP, can be that user in advance supplements user account with money, when consumption, withholds, to strengthen user's viscosity,
It may be considered as providing the preferential of certain amount by the user paid that supplements with money of special APP.Thus, user can pass through
Scanning provide dedicated user account information realize experienced in one-time-consumption behavior quickly order, bill associates rapid payment
With consumption discount.
Situation three:No matter whether user allows payment terminal bales catch in Third-party payment platform or special APP of ordering
Money, when there is situation that the remaining sum in user account information is less than billing amount, then payment terminal of ordering cannot by this
Tripartite's payment platform or special APP complete on-line payment process, i.e. occur based on the user account information to the payment
During the on-line payment failure of bill, then the result for paying failure can be sent to the mobile terminal held to user or shown in desktop
Display screen is shown, and the prompting paid in cash in desktop display output, reminds user to pay in cash.
The technical solution of the present embodiment, by the display screen of dining table two-dimensional code display awarded with obtaining mobile terminal barcode scanning
The user account information provided is provided, vegetable list is shown by the display screen and detects dish of the user in the vegetable list
Single operation instruct, according to the vegetable list and menu operation confirmation command order menu and establish described in order menu with it is described
The association of user account information, if detecting confirmation tally order in the display screen, pays according to the menu formation of ordering
Bill and the clearing that the Pay Bill is carried out based on the user account information, when user orders food payment, it is only necessary to
After being scanned to the Quick Response Code on the display screen of dining table, delivery operation of subsequently ordering, which has almost been broken away from, moves eventually user
The dependence at end, it is thus only necessary to operated in the display screen of dining table, substantially increase user order payment efficiency and user
Dining experience.
Embodiment two
Fig. 2 is a kind of flow chart for method of payment of ordering provided by Embodiment 2 of the present invention, and the present embodiment two is to implement
Improvement on the basis of example one, something in common are referred to embodiment one, and the present embodiment slightly omits herein.
The method of the embodiment of the present invention may include steps of:
Step 201, on the display screen of dining table two-dimensional code display with obtain the mandate of mobile terminal barcode scanning offer user's account
Family information.
Step 202, show the user account information on the display screen.
In embodiments of the present invention, after obtaining user account information, user account information can be filled to preset
In interface display frame, the display interface is then showed into user on a display screen, is correct to allow user to be confirmed whether
User account information.
If step 203, receive user and confirm that the user account information correctly indicates, into interface of ordering.
User is after display screen checks the user account information of displaying, it can be determined that whether belongs to my user account letter
Breath, if belonging to mine, then can send confirmation instruction, can be with inlet point after payment terminal of ordering receives this instruction
Meal interface, so that user correctly quickly orders.
Step 204, show vegetable list by the display screen and detect menu of the user in the vegetable list and grasp
Instruct.
Step 205, menu of ordering described in menu and foundation of being ordered according to the vegetable list and menu operation confirmation command
With associating for the user account information.
Step 204 and step 205 are with reference to step 102 and 103, and therefore not to repeat here for the embodiment of the present invention.
Step 206, receive to the adjust instruction of vegetable in the menu of ordering to modify to the menu of ordering.
In embodiments of the present invention, after user orders food operation, the vegetable in menu of ordering can also be carried out
Adjustment is to modify menu of ordering, and to order, menu is more in line with user demand and hobby.
Supplement menu or deletion menu can all produce updating the data for menu of once ordering to user each time, follow-up clearing
When, the corresponding Pay Bill of dining table updates the data generation based on all menus of ordering, and then realizes the accurate knot of all consumption
Calculate.
Step 207, be lined up the vegetable in the menu of ordering, and shows the queuing of all vegetables in rear kitchen terminal
As a result.
In embodiments of the present invention, when user confirm order meal list after, can to the vegetable in the menu of ordering according to
Certain algorithmic rule is lined up, such as the menu that will can order is sent to rear kitchen terminal, and rear kitchen terminal is according to each vegetable
The validation of information Queue sequence such as vegetable priority belonging to required cooking time, vegetable, and kitchen terminal is shown in the rear
The queuing of all vegetables is as a result, can simultaneously inform the queuing of user's vegetable at any time as a result, the addition one side of this ordering mechanism
So that user knows the state of the menu of ordering of oneself, also saved and served the time by the addition of ordering mechanism, improve user's
Dining experience.
If step 208, receiving budget and balance instruction, according to the menu formation preview bill and by the preview account of ordering
Singly shown in the display screen.
In embodiments of the present invention, user can also carry out budget and balance operation after ordering, to payment terminal hair of ordering
Budget and balance is sent to instruct, can be according to the menu formation preview bill and by the preview of ordering after budget and balance instruction is received
Bill shows that institute's menu includes which vegetable or service and bill gold to allow user to know at any time in the display screen
Volume, process of consumption is controlled easy to user according to consumer budget.
It should be noted that the order of above-mentioned steps 206,207,208 is no clear and definite sequence requirement, as long as occurring without
Contradiction, step 206,207,208 order can be adjusted arbitrarily, and during having dinner, user can as needed at any time
Menu is adjusted, the current consumption amount of money is checked.
If step 209, in the display screen detect confirmation tally order, according to the menu formation Pay Bill of ordering
And the clearing of the Pay Bill are carried out based on the user account information.
If on-line payment success, will pay successful feedback information and is shown to display screen, if passing through special APP
The on-line payment of completion, then can show account balance to user.
Step 209 is with reference to step 104, and therefore not to repeat here for this hair embodiment.
In one preferred embodiment of the invention, on the basis of above-mentioned steps 201-209, the point of the embodiment of the present invention
Meal method of payment can also include:
Step 210, by the association of the Pay Bill and corresponding user account information be saved in default user information number
According to storehouse.
In embodiments of the present invention, after user settles accounts Pay Bill, can also by Pay Bill with it is corresponding
User account information association be saved in default User Information Database, i.e., by Pay Bill, user's account of the corresponding bill
Family information is saved in default User Information Database, and establishes associating for Pay Bill and user account information, so as to utilize
The user's information database can analyze user type, and sort out archive, when in the past in this dining room post-consumer user again
During secondary consumption, it can order to user according to class of subscriber and passing consumption and carry out intelligent recommendation, such as certain user is more
The vegetable of the secondary partially peppery taste of selection, then the user can preferentially show partially after multiple consumption when showing vegetable list
The vegetable of peppery taste, shortens screening time of the user in vegetable list.
Step 211, the checkout result according to the Pay Bill, generate the more new record to the credit score, and will
The more new record is saved in the User Information Database.
In embodiments of the present invention, user account information can include the credit score of user, the credit of each user
Integration can set a credit score initial value, and credit score initial value can be provided by Third-party payment platform, such as be swept
The user credit integration that Alipay platform is provided when code obtains user account information, credit score initial value can also be by using
Data in the information database of family are calculated according to statistical model, or can also be according to user in the special of the embodiment of the present invention
One credit score initial value of initial setting up when APP is just registered, acquisition process of the embodiment of the present invention to credit score initial value
And it is not construed as limiting.
The checkout result of Pay Bill, as described in step 104 above, can there is three kinds of situations, these three situations can unite
One both situations for being classified as on-line payment and paying in cash, according to different checkout results, can there is different credit products
The more new record divided, for example, when completing on-line payment, the more new record of credit score can be then:Once settled accounts upper
On the basis of credit score after, increase the credit score of X values;When paying in cash, the more new record of credit score can be with
It is:On the basis of the credit score after the completion of upper once clearing, increase the credit score of Y value.
After the more new record of credit score is generated, which can be saved in the User Information Database
In, to realize the real-time update of user credit integration.
On the basis of user account information has credit score, in a kind of preferred embodiment of the embodiment of the present invention,
After step 201, can also include the following steps:
When detecting that user takes disciplinary action the credit score in the user account information, the credit score is carried out
Renewal.
In embodiments of the present invention, when detecting that user takes disciplinary action its own credit score, such as exchange
Novelties, give to other users, with other users be traded when, can in user account information credit score carry out
Renewal, specifically, when user exchanges novelties, the credit score of user account deducts necessarily according to the situation for exchanging novelties
Credit score, when user is given to other users, the credit score for giving out account deducts certain credit score, and is given account
Credit score then increase corresponding credit score, the setting that the credit score of the embodiment of the present invention can punish, can cause
User more energetically carries out total mark of consumption, while can encourage the interaction of the integration between user, improves user's viscosity
And user experience.
Embodiment three
Fig. 3 is a kind of structure diagram for payment mechanism of ordering that the embodiment of the present invention three provides, which can
With including:
User account information acquisition module 301, obtains mobile terminal barcode scanning for the Quick Response Code by being shown on dining table and awards
The user account information provided is provided;
Module of ordering 302, for showing vegetable list by the display screen of the dining table and detecting user in the vegetable
Menu operation instruction in list;
Order and confirm module 303, menu and established for being ordered according to the vegetable list and menu operation confirmation command
Order menu and the user account information associate;
Settlement module 304, if for detecting confirmation tally order in the display screen, according to the menu formation of ordering
Pay Bill and the clearing that the Pay Bill is carried out based on the user account information.
In one preferred embodiment of the invention, payment mechanism of ordering can also include:
Queue module, for being lined up to the vegetable in the menu of ordering, and shows all vegetables in rear kitchen terminal
Queuing result.
In one preferred embodiment of the invention, payment mechanism of ordering can also include:
Menu modified module, for receive to the adjust instruction of vegetable in the menu of ordering with to it is described order menu into
Row modification.
In one preferred embodiment of the invention, payment mechanism of ordering can also include:
Budget and balance module, if for receiving budget and balance instruction, according to the menu formation preview bill and by institute of ordering
Preview bill is stated to show in the display screen.
In one preferred embodiment of the invention, payment mechanism of ordering can also include:
Account information display module, for showing the user account information on the display screen;
Interface of ordering enters module, if confirming that the user account information correctly indicates for receiving user, enters
Order interface.
In one preferred embodiment of the invention, payment mechanism of ordering can also include:
User information preserving module, it is default for the Pay Bill to be saved in the association of corresponding user account information
User Information Database.
In one preferred embodiment of the invention, payment mechanism of ordering can also include:
Information score update module, for the checkout result according to the Pay Bill, generates to the credit score
More new record, and the more new record is saved in the User Information Database.
In one preferred embodiment of the invention, settlement module can include:
Submodule is reminded in clearing, if for being lost based on on-line payment of the user account information to the Pay Bill
Lose, then the prompting paid in cash in display screen output.
What the embodiment of the present invention was provided order, and payment mechanism can perform the branch of ordering that any embodiment of the present invention is provided
The method of paying, possesses the corresponding function module of execution method and beneficial effect.
Example IV
Fig. 4 is a kind of structure diagram for terminal that the embodiment of the present invention four provides, as shown in figure 4, the terminal includes place
Manage device 40, memory 41, input unit 42 and output device 43;The quantity of processor 40 can be one or more in terminal,
In Fig. 4 by taking a processor 40 as an example;Processor 40, memory 41, input unit 42 and output device 43 in terminal can be with
Connected by bus or other modes, in Fig. 4 exemplified by being connected by bus.
Memory 41 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer
Sequence and module, if the corresponding programmed instruction/module of theme update method in the embodiment of the present invention is (for example, payment dress of ordering
User account information acquisition module 301, module of ordering 302, order confirmation module 303 and settlement module 304 in putting).Processing
Device 40 is stored in software program, instruction and module in memory 41 by operation, so that the various functions for performing terminal should
With and data processing, that is, realize above-mentioned method of payment of ordering.
Memory 41 can mainly include storing program area and storage data field, wherein, storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This
Outside, memory 41 can include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic
Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 41 can be further
Including network connection to terminal can be passed through relative to the remotely located memory of processor 40, these remote memories.It is above-mentioned
The example of network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 42 can be used for the numeral or character information for receiving input, and produce with the user setting of terminal and
The related key signals input of function control.Output device 43 may include the display devices such as display screen.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium for including computer executable instructions, and the computer can be held
Row instruction is used to performing one kind when being performed by computer processor orders method of payment, and this method includes:
The user account information of mobile terminal barcode scanning mandate offer is provided by the Quick Response Code shown on dining table;
Vegetable list is shown by the display screen of the dining table and detects menu operation of the user in the vegetable list
Instruction;
Ordered menu and order described in establishing menu and the use according to the vegetable list and menu operation confirmation command
The association of family account information;
If detecting confirmation tally order in the display screen, institute and is based at menu formation Pay Bill according to described order
State the clearing that user account information carries out the Pay Bill.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer
The method operation that executable instruction is not limited to the described above, can also carry out the payment of ordering that any embodiment of the present invention is provided
Relevant operation in method
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially in other words contributed the prior art
Part can be embodied in the form of software product, which can be stored in computer-readable recording medium
In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of above-mentioned payment mechanism of ordering, included unit and module are simply pressed
Divided according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized;In addition,
The specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.