CN111738471A - Management method, device and system for ordering in advance - Google Patents

Management method, device and system for ordering in advance Download PDF

Info

Publication number
CN111738471A
CN111738471A CN202010573114.0A CN202010573114A CN111738471A CN 111738471 A CN111738471 A CN 111738471A CN 202010573114 A CN202010573114 A CN 202010573114A CN 111738471 A CN111738471 A CN 111738471A
Authority
CN
China
Prior art keywords
ordering
information
user
identification information
meal
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
CN202010573114.0A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010573114.0A priority Critical patent/CN111738471A/en
Publication of CN111738471A publication Critical patent/CN111738471A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • 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
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device and a system for managing pre-ordering. The method comprises the following steps: receiving an access request aiming at a target dining position sent by a user terminal; acquiring meal position identification information of the target meal position according to the access request; acquiring user identification information of the user terminal login user; obtaining corresponding pre-ordering information or pre-ordering orders according to the user identification information; and generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order. The method effectively applies the pre-ordering information or the pre-ordering order generated by the ordering user in advance to the target meal position, thereby realizing rapid ordering operation and saving ordering time.

Description

Management method, device and system for ordering in advance
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of Internet ordering, in particular to a method, a device and a system for managing advance ordering.
[ background of the invention ]
The code scanning ordering technology is more and more widely applied, when a customer orders in a restaurant, a user terminal scans a two-dimensional code pasted on a meal position, an interface of an ordering program is entered, an electronic menu can be checked on the interface, meal items can be selected, orders can be placed and paid, restaurant workers can automatically receive orders and prepare meals and give meals for the meal position, the ordering efficiency of the customer is effectively improved in the whole process, and the time of the restaurant workers is effectively saved.
However, the existing code scanning ordering technology does not provide an effective ordering method in advance, so that the dining time of customers is influenced, and the restaurant benefit is influenced.
On one hand, for some hot restaurants, customers are required to queue outside the restaurant for waiting for meals, and if the customers start scanning for ordering again when the turn is to have meals in the restaurant, the time spent by the customers is greatly wasted.
On the other hand, when the customer sits in the restaurant and then starts to order, the total dining time of the customer in the restaurant is prolonged, the utilization rate of the dining positions is reduced, and the benefit of the restaurant is affected.
It is important to note that the above background information is only used to enhance an understanding of the background of the present invention and, thus, may include prior art information that does not constitute a part of the present disclosure as known to one of ordinary skill in the art.
[ summary of the invention ]
The main purpose of the present invention is to provide a method, an apparatus and a system for managing pre-ordering, so as to solve at least some problems caused by the limitations and disadvantages of the related art, including the following technical solutions:
in a first aspect, a method for managing pre-ordered meals is provided, the method comprising:
receiving an access request aiming at a target dining position sent by a user terminal;
acquiring meal position identification information of the target meal position according to the access request;
acquiring user identification information of the user terminal login user;
obtaining corresponding pre-ordering information or pre-ordering orders according to the user identification information;
and generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
Preferably, the receiving the access request for the target meal space sent by the user terminal includes:
and the access request is triggered and sent by the user terminal according to the decoding information of the graphic code.
Preferably, the obtaining of the meal position identification information of the target meal position according to the access request includes:
the access request comprises the meal position identification information, and the meal position identification information is obtained from the access request; and/or the first and/or second light sources,
the access request comprises associated information associated with the meal position identification information, and the meal position identification information is obtained from the association relationship between the pre-established associated information and the meal position identification information according to the associated information.
Preferably, when the method is used to provide advance ordering for a plurality of restaurants, the method further comprises:
the meal position identification information also comprises a restaurant identifier, and the restaurant identifier is obtained from the meal position identification information;
the obtaining of the corresponding pre-ordering information or pre-ordering order according to the user identification information includes: and acquiring corresponding pre-ordering information or a pre-ordering order according to the user identification information and the restaurant identifier.
Preferably, the pre-ordering information or the pre-ordering order is generated according to the ordering information sent by the user terminal before the receiving of the access request for the target meal location sent by the user terminal.
Preferably, the generating the pre-ordering information or the pre-ordering order according to the ordering information sent by the user terminal includes:
receiving a pre-ordering request sent by the user terminal;
executing the user identification information of the user who logs in the user terminal;
receiving ordering information sent by the user terminal;
and generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to the sent ordering information.
Preferably, the receiving the pre-ordering request sent by the user terminal includes:
the pre-ordering request is triggered and sent by the user terminal according to decoding information of the graphic code; alternatively, the first and second electrodes may be,
the pre-ordering request is triggered and sent by the user terminal accessing the pre-ordering link.
Preferably, the graphic code comprises a two-dimensional code or/and a bar code or/and an applet code.
Preferably, when the method is used for providing pre-ordering for a plurality of restaurants, after the receiving of the pre-ordering request sent by the user terminal, the method further includes obtaining a restaurant identifier according to the pre-ordering request;
the generating of pre-ordering information or pre-ordering orders corresponding to the user identification information according to ordering information sent by the user terminal includes: and generating pre-ordering information or a pre-ordering order corresponding to the user identification information and the restaurant identification according to the sent ordering information, so that the pre-ordering information or the pre-ordering order can be obtained according to the user identification information and the restaurant identification.
Preferably, the obtaining of the restaurant identifier according to the pre-ordering request includes:
the restaurant identifier is obtained from the pre-ordering request; and/or the first and/or second light sources,
the pre-ordering request comprises associated information associated with the restaurant identifier, and the restaurant identifier is acquired from the association relationship between the pre-established associated information and the restaurant identifier according to the associated information.
Preferably, the acquiring the user identification information of the user terminal login user includes:
acquiring a user identifier or an account of a user logged in by the user terminal, and taking the user identifier or the account as the user identification information; and/or the first and/or second light sources,
and acquiring the mobile terminal number of the user logged in by the user terminal, and taking the mobile terminal number as the user identification information.
Preferably, the acquiring the user identifier or the account of the user who logs in the user terminal includes:
the user terminal logs in through a wechat user, and the user identifier or the account number comprises an OpenID or a UnionID of the wechat login user; and/or the first and/or second light sources,
and if the user terminal logs in through the user of the payment bank, the user identification or the account number comprises the user _ id of the user logging in the payment bank.
Preferably, the generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order comprises:
converting the pre-ordering information or the pre-ordering order into the current order information, wherein the current order information comprises the meal position identification information; alternatively, the first and second electrodes may be,
and returning the pre-ordering information to the user terminal, generating the current order information when receiving ordering information and ordering instructions modified by the user terminal on the pre-ordering information, and including the meal position identification information and the modified ordering information in the current order information.
Preferably, before the converting the pre-ordering information or the pre-ordering order into the current order information, the method further includes:
acquiring corresponding meal position information according to the meal position identification information;
returning the meal position information and the pre-ordering information or the pre-ordering order to the user terminal;
and if an instruction which is fed back by the user terminal and indicates that ordering is determined is received, executing the conversion of the pre-ordering information or the pre-ordering order into the current order information.
Preferably, the returning the pre-ordering information to the user terminal further includes:
acquiring corresponding meal position information according to the meal position identification information;
and returning the dining position information to the user terminal.
Preferably, before generating the current order information according to the meal location identification information and the pre-ordering information or the pre-ordering order, the method further includes:
obtaining the use state of the target dining position according to the dining position identification information;
and if the target meal position is not in a use state, executing the step of generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
Preferably, after the obtaining the use status of the target meal location according to the meal location identification information, the method further comprises:
and if the target meal position is in a use state, not executing the generation of the current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
Preferably, the obtaining the use state of the target meal position according to the meal position identification information comprises:
acquiring a corresponding state identifier according to the meal position identification information, wherein the state identifier is used for indicating whether the target meal position is in a use state, if the state identifier indicates that the target meal position is in the use state, determining that the target meal position is in the use state, otherwise, determining that the target meal position is not in the use state; alternatively, the first and second electrodes may be,
and obtaining corresponding current ordering information or/and current order information or/and current ordering user identification information according to the meal position identification information, if the corresponding current ordering information or/and current order information or/and current ordering user identification information is obtained, determining that the target meal position is in a use state, and if not, determining that the target meal position is not in the use state.
Preferably, after the step of if the target meal location is not in the use state, and before the step of executing the current order information generated according to the meal location identification information and the pre-order information or the pre-order further includes:
after the confirmation of the merchant terminal, executing the step of generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order; alternatively, the first and second electrodes may be,
and carrying out security verification on the user terminal, and if the user terminal passes the security verification, executing the generation of the current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
Preferably, the merchant terminal confirmation comprises:
generating prompt information corresponding to the meal position identification information, wherein the prompt information is used for indicating whether the merchant terminal agrees to apply the pre-ordering information or the pre-ordering order of the login user to the target meal position;
outputting the prompt information to the merchant terminal;
and if information indicating agreement by the merchant terminal is received, confirming by the merchant terminal.
Preferably, the prompt message includes user information of the login user or/and meal position information of the target meal position.
Preferably, the user information includes:
all or part of the information in the user name; or/and;
a user head portrait; and/or the first and/or second light sources,
all or part of the mobile terminal number.
Preferably, the performing security authentication on the user terminal includes:
acquiring corresponding safety verification information according to the meal position identification information;
receiving security check information sent by the user terminal;
comparing whether the safety verification information is consistent with the safety verification information;
and if so, determining that the user terminal passes the security verification.
Preferably, the safety verification information corresponding to the meal location identification information includes:
and setting the character string as the safety verification information corresponding to the meal position identification information.
Preferably, the randomly generated character string includes:
four to six digits of pure numbers.
In a second aspect, an ordering service device is provided, the device comprising:
the access receiving module is used for receiving an access request aiming at a target meal position sent by a user terminal;
the meal position identification module is used for acquiring meal position identification information of the target meal position according to the access request;
the user identification module is used for acquiring user identification information of the user terminal login user;
the pre-acquisition module is used for acquiring corresponding pre-ordering information or pre-ordering orders according to the user identification information;
and the current order generating module is used for generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
Preferably, the meal position identification module comprises:
the first meal position identification unit is used for acquiring the meal position identification information from the access request, wherein the access request comprises the meal position identification information; and/or the first and/or second light sources,
and the second meal position identification unit is used for acquiring the meal position identification information from the association relationship between the pre-established association information and the meal position identification information according to the association information.
Preferably, the apparatus is used for providing pre-ordered meals for a plurality of restaurants, and the apparatus further comprises:
the restaurant identification module is used for acquiring the restaurant identifier from the meal position identification information;
the pre-obtaining module is used for obtaining corresponding pre-ordering information or pre-ordering orders according to the user identification information and the restaurant identification.
Preferably, the apparatus further comprises:
and the pre-generation module is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to the ordering information sent by the user terminal.
Preferably, the pre-generation module includes:
a pre-ordering receiving unit, configured to receive a pre-ordering request sent by the user terminal, and connect to the user identification module, so that when the pre-ordering request is received, the user identification module is executed to obtain user identification information of a user logged in by the user terminal;
the ordering receiving unit is used for receiving ordering information sent by the user terminal;
and the pre-generation unit is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to the sent ordering information.
Preferably, the apparatus is configured to provide a pre-order for a plurality of restaurants, and the pre-generation module further includes:
the restaurant identification obtaining unit is used for obtaining restaurant identifications according to the pre-ordering requests;
the pre-generation unit is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information and the restaurant identifier according to the sent ordering information, so that the pre-ordering information or the pre-ordering order can be obtained according to the user identification information and the restaurant identifier.
Preferably, the restaurant identification obtaining unit includes:
a first meal hall identifier obtaining subunit, configured to obtain the restaurant identifier from the pre-ordering request, where the restaurant identifier is included in the pre-ordering request; and/or the first and/or second light sources,
and the second restaurant identifier acquiring subunit is used for acquiring the restaurant identifier from the association relationship between the pre-established association information and the restaurant identifier according to the association information, wherein the association information associated with the restaurant identifier is contained in the pre-ordering request.
Preferably, the subscriber identity module includes:
the first user identification unit is used for acquiring a user identifier or an account of the user who logs in the user terminal, and the user identifier or the account is used as the user identification information; and/or the first and/or second light sources,
and the second user identification unit is used for acquiring the mobile terminal number of the user logging in the user terminal, and taking the mobile terminal number as the user identification information.
Preferably, the first subscriber identification unit includes:
a wechat user login subunit, configured to invoke a wechat open platform interface to enable the user terminal to log in through a wechat user, and obtain an OpenID or a UnionID of the wechat login user, where the user identifier or the account number includes the OpenID or the UnionID; and/or the first and/or second light sources,
and the user identification or the account number comprises the user _ id.
Preferably, the current order generation module includes:
a first generating unit, configured to convert the pre-order information or the pre-order into the current order information, and include the meal position identification information in the current order information; alternatively, the first and second electrodes may be,
and the second generating unit is used for returning the pre-ordering information to the user terminal, generating the current order information when receiving ordering information and ordering instructions modified by the user terminal on the pre-ordering information, and including the meal position identification information and the modified ordering information in the current order information.
Preferably, the apparatus further comprises:
and the state identification module is used for acquiring the use state of the target meal position according to the meal position identification information, and executing the current order generation module if the target meal position is not in the use state.
Preferably, the state identification module is further configured to:
and if the target dining position is in a use state, the current order generation module is not executed.
Preferably, the state identification module includes:
the first state identification unit is used for acquiring a corresponding state identifier according to the meal position identification information, wherein the state identifier is used for indicating whether the target meal position is in a use state or not, if the state identifier indicates that the target meal position is in the use state, the target meal position is determined to be in the use state, and if not, the target meal position is determined not to be in the use state; alternatively, the first and second electrodes may be,
and the second state identification unit is used for acquiring corresponding current ordering information or/and current order information or/and current ordering user identification information according to the meal position identification information, determining that the target meal position is in a use state if the corresponding current ordering information or/and current order information or/and current ordering user identification information is acquired, and determining that the target meal position is not in the use state if the corresponding current ordering information or/and current order information or/and current ordering user identification information is not acquired.
Preferably, the device further comprises a merchant confirmation module or a security verification module;
after the state identification module acquires that the target dining position is not in a use state and before the current order generation module is executed, the merchant confirmation module or the safety verification module is executed;
the merchant confirmation module is used for acquiring confirmation of a merchant terminal and executing the current order generation module after acquiring the confirmation of the merchant terminal;
the safety verification module is used for carrying out safety verification on the user terminal, and if the user terminal passes the safety verification, the current order generation module is executed.
Preferably, the merchant confirmation module includes:
the merchant prompting unit is used for generating prompting information corresponding to the meal position identification information, and the prompting information is used for indicating whether the merchant terminal agrees to apply the pre-ordering information or the pre-ordering order of the login user to the target meal position;
a prompt output unit, configured to output the prompt information to the merchant terminal;
and the merchant confirmation unit is used for receiving the information fed back by the merchant terminal, and determining that the information is confirmed by the merchant terminal if the information fed back by the merchant terminal and indicating agreement is received.
Preferably, the security authentication module includes:
the verification information acquisition unit is used for acquiring corresponding safety verification information according to the meal position identification information;
a check information receiving unit, configured to receive the security check information sent by the user terminal;
and the information comparison unit is used for comparing whether the safety verification information is consistent with the safety verification information or not, and if so, determining that the user terminal passes the safety verification.
In a third aspect, an ordering server is provided, including: a processor, a memory and a computer program stored on the memory and executable on the processor, characterized in that the computer program, when executed by the processor, implements the method according to the first aspect above.
There is provided a storage medium having stored therein a program for implementing the method of the first aspect.
In a fourth aspect, a food ordering system is provided, the system includes a food ordering server and at least one user terminal, wherein:
the ordering server comprises the device of the second aspect;
the user terminal is used for accessing the ordering server and comprises an access request module and a user login module;
the access request module is used for sending an access request aiming at a target meal position to the ordering server;
and the user login module is used for a user to log in the ordering server.
Preferably, the user terminal further includes:
the pre-request module is used for sending a pre-ordering request to the ordering server;
and the ordering sending module is used for sending ordering information to the ordering server.
Preferably, the user terminal further includes:
and the code scanning module is used for scanning and analyzing the graphic code and triggering the access request module or the pre-request module according to the decoding information of the graphic code.
In summary, compared with the prior art, the technical scheme provided by the invention can apply pre-generated pre-ordering information or pre-ordering orders to the target meal positions, so that fast ordering operation can be realized, the user ordering time can be saved, the use of the same meal position by a plurality of ordering users can be avoided, and the malicious use of the meal positions by people who are not in the restaurant can be effectively prevented.
[ description of the drawings ]
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of a method for managing pre-ordered meals;
FIG. 2 is a schematic structural diagram of a first embodiment of an ordering service device;
FIG. 3 is a schematic structural diagram of a second embodiment of an ordering service device;
FIG. 4 is a schematic structural diagram of a third embodiment of an ordering service device;
FIG. 5 is a schematic structural diagram of a fourth embodiment of an ordering service device;
FIG. 6 is a schematic diagram of an embodiment of an ordering system;
FIG. 7 is a schematic structural diagram of a first embodiment of a user terminal;
FIG. 8 is a schematic structural diagram of a second embodiment of a user terminal;
fig. 9 is a schematic structural diagram of a third embodiment of a user terminal.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Embodiment of management method for ordering food in advance
Referring to fig. 1, a flowchart of an embodiment of a method for managing pre-ordered meals according to the present invention is shown. The embodiment is exemplified by applying the method to the ordering server, and the method may include:
and step 101, receiving an access request aiming at a target dining position sent by a user terminal.
The ordering user accesses the ordering server through the user terminal, and an access request aiming at a target meal position is sent to the ordering server; accordingly, the ordering service end receives the access request.
The ordering user typically refers to a customer who has a meal in a restaurant. The user terminal refers to mobile intelligent terminal equipment such as a smart phone, a tablet computer and a smart watch. The dining position refers to a position for providing dining service for a user ordering food in a dining room, and comprises a seat, a dining table or a bundlery and the like. The target meal position refers to a meal position to be used by the ordering user, for example, after the ordering user sits at the target meal position, the ordering user starts ordering with the user terminal, and after ordering and placing an order, the restaurant staff provides meal preparation and delivery service for the target meal position.
Specifically, the sending of the access request for the target meal location from the user terminal to the ordering server may be triggered by the ordering user inputting relevant information on a user interface of the user terminal, or triggered by the user terminal according to decoding information of the graphic code. The graphic code may be a two-dimensional code or a bar code, or may be other graphics whose information can be obtained by scanning and decoding, for example, taking a user terminal running a wechat ordering applet as an example, the graphic code may be a wechat applet code.
Specifically, for example, the user terminal triggers sending of an access request to the ordering server according to decoding information of the graphic code, the graphic code is pasted on the dining positions of the restaurant, the graphic code corresponds to each dining position in the restaurant one by one, the ordering user scans the graphic code pasted on the seated dining positions by using the user terminal, the user terminal decodes the graphic code, and the access request is sent to the ordering server according to the decoding information of the graphic code. Specifically, according to the type of the application service provided by the ordering service end, the sending the access request to the ordering service end according to the decoding information of the graphic code may further include:
taking the mobile application service provided by the ordering service terminal as an example, the mobile application client of the ordering service terminal is operated on the user terminal, and the ordering user scans the graphic code through the code scanning function carried by the mobile application client and sends an access request to the ordering service terminal according to the decoding information of the graphic code.
Taking the example that the ordering service terminal provides the website application service, the ordering user uses a code scanning function carried by a browser on the user terminal, or the ordering user uses a WeChat code scanning tool or other graphic code scanning tools to scan the graphic code, triggers the browser to access the ordering service terminal according to decoding information of the graphic code, and sends the access request to the ordering service terminal.
Taking the small program application service provided by the ordering service terminal as an example (such as the application service of a WeChat small program or a Payment small program), the ordering user scans the graphic code through a code scanning tool of a small program host environment (such as a WeChat client or a Payment small program) on the user terminal, the small program host environment loads and runs the ordering small program according to decoding information of the graphic code, and the ordering small program sends the access request to the ordering service terminal according to parameter information transmitted in the decoding information.
And 102, acquiring the meal position identification information of the target meal position according to the access request.
The meal location identification information is information for identifying a specific location of the target meal location in the target restaurant, for example, for identifying that the target meal location is a number-th seat or table in the target restaurant, or for identifying that the target meal location is a number-th booth in the target restaurant, or the like. If the ordering service end is mainly used for providing ordering service for a single restaurant, the meal position identification information can mainly consist of meal position identification; if the ordering service end is used for providing ordering service for a plurality of restaurants, the meal position identification information can mainly comprise restaurant identifications and meal position identifications. The restaurant identifier is used for identifying different restaurants; the meal location identifier is an identifier for identifying a specific meal location in a restaurant, such as a serial number of a seat, a table or a booth.
Specifically, the meal ordering server obtains the meal position identification information of the target meal position according to the access request, and may include various embodiments, for example:
in one embodiment, the access request includes the meal location identification information, and the ordering server obtains the meal location identification information from the access request.
In one embodiment, an association relationship between the associated information and the meal location identification information is established in advance, and if the access request contains the associated information associated with the meal location identification information, the meal location identification information is obtained in the association relationship according to the associated information. For example, an association relationship between a unique character string and meal position identification information of the target meal position is established in advance, that is, the association information is the unique character string, and when an access request including the unique character string is received, the meal position identification information is obtained in the association relationship according to the unique character string.
It can be understood that, as described in step 101, if the access request is triggered by the user terminal based on the decoding information of the graphical code, the meal location identification information is already carried in the graphical code, or the associated information associated with the meal location identification information is already carried in the graphical code, so that the access request sent by the user terminal according to the decoding information of the graphical code can include the meal location identification information or the associated information.
It is understood that, as described in step 101, the graphic code corresponds to each meal position in the restaurant one by one, that is, the meal position identification information or the associated information carried in the graphic code corresponds to each meal position in the restaurant one by one, so that the meal position identification information obtained according to the access request is the meal position identification information corresponding to the target meal position.
And 103, acquiring the user identification information of the user who logs in the user terminal.
In the process that the user terminal accesses the ordering server, the user terminal logs in the ordering server by a user; correspondingly, the ordering service side carries out identity authentication or authorization verification on the login user, and if the identity authentication or authorization verification passes, the ordering service side obtains the user identification information of the login user. The user identification information refers to identification information for uniquely identifying a login user, and includes a user identifier or an account, a mobile terminal number, and the like.
The method for acquiring the user identification information of the user terminal login user specifically includes various implementation modes:
in the first implementation manner, a user identifier or an account of a user who logs in a user terminal is obtained, and the user identifier or the account is used as the user identification information.
The ordering service terminal obtains a user identification or an account number of a user terminal login user, and the user identification or the account number is used as the user identification information.
For example, a meal ordering user inputs a user account and a password at a user terminal to log in a meal ordering service terminal, the meal ordering service terminal performs identity authentication on the user account and the password, and after the authentication is passed, the meal ordering service terminal takes the user account as the user identification information.
For another example, taking the ordering server providing the website application service and accessing the trusted user to authorize login as an example, the ordering server obtains the authorized login of the trusted login user, obtains an interface call credential (access _ token) of the trusted login user, and then performs trusted open platform authorization relationship interface call through the access _ token, including obtaining the OpenID or the UnionID of the trusted login user, and the ordering server uses the OpenID or the UnionID as the user identification information. It is understood that OpenID is an identifier of a wechat login user in a mobile application, a website application, or a public account (including an applet) that respectively and uniquely corresponds to the identity of the wechat login user, and UnionID is an identifier of a mobile application, a website application, and a public account (including an applet) that correspond to the identity of the same wechat login user under the same wechat open platform account.
For another example, taking the ordering service end providing the WeChat applet application service as an example, the wx.login () interface may be called to obtain the temporary login credential code of the WeChat login user, then the auth.code2Session interface is called to replace the OpenID or UnionID of the WeChat login user, and the ordering service end uses the OpenID or UnionID as the user identification information.
For another example, taking the ordering service end providing the payment applet application service as an example, after login is authorized by the payment applet user, the user _ id parameter value is obtained by calling the Alipay system oauth token interface, where the user _ id is a unique identifier of the payment applet user, and the user _ id parameter value is used as the user identification information.
It can be understood that the user may also log in the ordering service end in other identity authentication manners (e.g., biometric authentication), and accordingly, the ordering service end performs corresponding identity authentication on the login user and obtains a user identifier or an account of the login user.
It is to be understood that information for uniquely identifying the login user may be used as the user identification information, for example, if the ordering server identifies the login user with a unique identifier, and the user account or/and mobile terminal number or/and micro credit user OpenID or/and micro credit user UnionID or/and user _ id of the payer and the like of the login user is bound with the unique identifier, the unique identifier may be obtained according to the association relationship, and the unique identifier may be used as the user identification information.
It can be understood that if the user terminal login user passes the identity authentication of the ordering service terminal and the user terminal maintain a session state, the ordering service terminal can also obtain the user identifier or the account of the login user according to the session state.
In the second embodiment, the mobile terminal number of the user who logs in the user terminal is obtained, and the mobile terminal number is used as the user identification information.
And the ordering server acquires the mobile terminal number of the user logged in by the user terminal, and the mobile terminal number is used as the user identification information. The mobile terminal number is the number that needs to be dialed to call a mobile subscriber, also called MSISDN (mobile subscriber ISDN number), also commonly referred to as the mobile phone number.
In the ordering service terminal, if the mobile terminal number is used as the user account of the user, or the user identifier or the account is bound with the mobile terminal number, the mobile terminal number of the login user can be obtained.
For example, in the ordering service side, the mobile terminal number is used as the account of the login user, and after the user terminal successfully logs in through the mobile terminal number and the password (or the short message authentication code), the ordering service side uses the mobile terminal number as the user identification information.
For another example, taking the ordering service end providing the wechat applet application service as an example, the number of the mobile terminal bound by the wechat login user may be obtained based on the wechat interface service. Specifically, the value of the button component open-type is set as getPhoneNumber, when the ordering user clicks and agrees, encrypted data returned by the WeChat interface service is acquired through a bindgetPhoneNumber event callback, and then the ordering service end is decrypted by combining the session _ key and the app _ id to acquire the mobile terminal number.
For another example, taking the ordering service end providing the application service of the small payment treasures program as an example, when the authorization of the login user of the payment treasures is obtained, a token used for exchanging the user information is obtained, and the number of the mobile terminal is obtained by calling the interface for obtaining the member mobile phone number. Specifically, the value of the < button > component open-type is set as getAuuthorize, after the ordering user clicks and agrees, the encrypted data returned by the Payment treasure server is obtained through a my.
And 104, acquiring corresponding pre-ordering information or pre-ordering orders according to the user identification information.
The pre-ordering information or the pre-ordering order of the login user is generated in advance on the ordering service end, namely, the pre-ordering information or the pre-ordering order corresponding to the user identification information is generated in advance, so that the ordering service end obtains the corresponding pre-ordering information or the pre-ordering order according to the user identification information.
The pre-ordering information refers to ordering information which is pre-stored for the login user and has not been ordered yet, and can also be ordering information pre-stored in a shopping cart of the login user, wherein the ordering information comprises information such as the number of people for eating, meal (the meal comprises meal, drinks and/or staple food) and the like; the pre-ordering order means that the login user has previously placed an order but has not been converted into current order information, wherein the order information is contained, but the corresponding meal position identification information is not contained, and service processing such as food preparation and delivery and the like is not required to be provided by restaurant staff; the current order information refers to order information which needs restaurant workers to provide service processing such as catering and meal delivery at present. It should be noted that the pre-order and the current order information may be paid or unpaid, and the embodiment of the present invention is not limited thereto.
Optionally, if the ordering service end is configured to provide ordering services for a plurality of restaurants, in order to avoid that the pre-ordering information or the pre-ordering order cannot be applied to different restaurants, the pre-ordering information or the pre-ordering order applicable to the target restaurant may be further obtained, which specifically includes: the meal position identification information mainly comprises a restaurant mark and a meal position mark, the restaurant mark is obtained from the meal position identification information, the corresponding relation between the user identification information and the restaurant mark and the pre-ordering information or the pre-ordering order is pre-established, and the corresponding pre-ordering information or the pre-ordering order is obtained according to the user identification information and the restaurant mark, so that the obtained pre-ordering information or the pre-ordering order is suitable for the target restaurant.
The pre-ordering information or pre-ordering order corresponding to the pre-generated user identification information may be generated by restaurant workers operating on a merchant terminal, for example, pre-ordering operation is performed according to user identification information provided by an ordering user, and an ordering service end generates pre-ordering information or pre-ordering order corresponding to the user identification information; the operation instruction may also be generated according to the ordering information and the operation instruction sent by the user terminal, and specifically includes:
receiving a pre-ordering request sent by a user terminal; for example, a graphic code for ordering food in advance is placed at the doorway of a restaurant, a user waiting for queuing scans the graphic code by using a user terminal, and the user terminal decodes the graphic code and triggers to send a food ordering request to a food ordering server; for another example, the user terminal triggers to send a pre-ordering request to the ordering server by accessing a pre-ordering link provided on a public number of the target restaurant or a mobile website; correspondingly, the ordering server receives a pre-ordering request sent by the user terminal;
acquiring user identification information of a user who logs in the user terminal; the specific implementation manner is the same as or similar to the implementation manner in step 103, and is not described herein again;
generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to ordering information sent by the user terminal; for example, the ordering user inputs or selects corresponding ordering information on the user interface, such as the number of people having dinner, the selection of food (the food includes dishes, drinks and/or staple food, etc.), and sends the corresponding ordering information to the ordering server and instructs to generate pre-ordering information, then the ordering server stores the corresponding ordering information as the pre-ordering information corresponding to the user identification information; or, the user terminal sends the corresponding ordering information to the ordering service terminal and indicates to generate a pre-ordering order, and the ordering service terminal generates a pre-ordering order corresponding to the user identification information, wherein the pre-ordering order comprises the corresponding ordering information.
Further optionally, if the ordering service end is configured to provide ordering service for a plurality of restaurants, the ordering service end may further generate pre-ordering information or a pre-ordering order corresponding to the user identification information and the restaurant identifier of the target restaurant, and specifically may include:
after receiving a pre-ordering request sent by the user terminal, the ordering server side acquires a restaurant identifier of the target restaurant according to the pre-ordering request; for example, the restaurant identifier is included in the pre-ordering request, and the ordering server acquires the restaurant identifier from the pre-ordering request; for another example, the pre-ordering request includes associated information associated with the restaurant identifier, and the restaurant identifier is obtained from the association relationship between the pre-established associated information and the restaurant identifier according to the associated information; it can be understood that the graphic code for pre-ordering or/and the pre-ordering link already include the restaurant identifier or the associated information, so that the ordering server can obtain the restaurant identifier of the target restaurant according to the pre-ordering request;
when the pre-ordering information or the pre-ordering order corresponding to the user identification information is generated according to the ordering information sent by the user terminal, the pre-ordering information or the pre-ordering order corresponding to the user identification information and the restaurant identification is generated.
And 105, generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
The ordering server generates current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order, and because the target meal position is identified by the meal position identification information, restaurant workers can provide food preparation and delivery service for the target meal position according to the current order information.
For example, the pre-order information is converted into current order information, and the meal location identification information is included in the current order information. The specific conversion process may include: and generating current order information, wherein the generated current order information comprises the meal position identification information and the pre-ordering information.
As another example, the pre-ordered meal order is converted to current order information, and the meal location identification information is included in the current order information. The specific conversion process may include: generating current order information, wherein the generated current order information comprises the meal position identification information and ordering information in the pre-ordering order; further, before the pre-ordering information or the pre-ordering order is converted into the current order information, the ordering service terminal may further obtain corresponding meal position information according to the meal position identification information, that is, obtain meal position information of a target meal position (for example, a number table or a booth, or a number table or a booth of a certain restaurant, etc.), return the meal position information and the pre-ordering information or the pre-ordering order to the user terminal, the user terminal determines whether to place an order according to the returned information, and if the ordering service terminal receives an instruction indicating that the order is determined to be placed, the pre-ordering information or the pre-ordering order is converted into the current order information.
For example, the ordering server returns the pre-ordering information to the user terminal, the pre-ordering information can be browsed and modified on a user interface of the user terminal, the ordering server generates current order information when receiving ordering information and ordering instructions modified by the user terminal on the pre-ordering information, and the current order information includes the meal position identification information and the modified ordering information. Furthermore, when the ordering service end returns the pre-ordering information to the user terminal, the corresponding meal position information can be obtained according to the meal position identification information, and the meal position information is returned to the user terminal.
Optionally, after the meal position identification information of the target meal position is obtained in step 102, the relevant steps can be further executed according to the use state of the target meal position. The specific implementation mode comprises the steps of obtaining the use state of the target meal position according to the meal position identification information; if the target dining position is not in use, executing step 103 and the following steps, including executing step 105; further, if the target dining position is in the use state, step 103 and the following steps are not executed, including step 105 is not executed. The method has the advantages that for the target dining positions which are not in the use state, the target dining positions are used for generating the current orders; for the target dining position in the using state, the current order information is not generated by using the target dining position, or the target dining position can be used after the confirmation of a merchant terminal or the safety verification is passed. The obtaining of the use state of the target meal position according to the meal position identification information may further include various embodiments, for example, obtaining a state identifier corresponding to the meal position identification information according to the meal position identification information, where the state identifier is used to indicate whether the target meal position is in the use state, and if the state identifier indicates that the target meal position is in the use state, determining that the target meal position is in the use state, otherwise, determining that the target meal position is not in the use state; for another example, when a target meal position is used, corresponding current meal ordering information or/and current order information is generated for the target meal position, or corresponding current meal ordering user identification information is set for the target meal position, so that current meal ordering information or/and current order information or/and current meal ordering user identification information corresponding to the meal position identification information can be obtained according to the meal position identification information, if the current meal ordering information or/and current order information or/and current meal ordering user identification information corresponding to the meal position identification information is obtained, the target meal position is determined to be in a use state, otherwise, the target meal position is determined not to be in the use state. The current ordering information refers to ordering information which corresponds to the target meal position and has not been placed. The current ordering user identification information is user identification information indicating an ordering user who is currently using the target meal location.
Further optionally, when the target meal location is not used, there may be a case that the target meal location is used maliciously, for example, even if a malicious person does not order in the target restaurant, the malicious person may still access the ordering server by scanning a pre-stored graphic code, and generate current order information according to the meal location identification information of the target meal location and the pre-ordering information or the pre-ordering order, thereby bringing unnecessary interference to the catering service of restaurant staff. Therefore, in order to prevent the situation that the pre-saved graphic code is scanned by a person who is not in the restaurant to maliciously use the meal location, when the target meal location is not in a use state and step 105 is executed, step 105 may be executed after the target meal location is confirmed by the merchant terminal or passes the security verification, and specifically, the step 105 may include:
in the first embodiment, step 105 is performed after the confirmation by the merchant terminal.
The specific process of confirming by the merchant terminal may include:
and the ordering server generates prompt information corresponding to the target meal position, wherein the prompt information is used for indicating whether the merchant terminal agrees to apply the pre-ordering information or the pre-ordering order of the login user to the target meal position. The prompt information comprises user information of the login user, for example, corresponding user information is set for the user in the ordering server, the corresponding user information is obtained according to the user identification information, and the corresponding user information is the user information of the login user; for another example, if the login user is a WeChat login user or a Payment treasure login user, the interface service provided by the WeChat or Payment treasure open platform is called, and the user information of the login user is obtained after the user authorization is obtained; the user information comprises all or part of information in the user name (such as name and nickname), or/and the user head portrait, or/and all or part of information of the mobile terminal number, and the like. The prompt information may further include meal position information (e.g., a number of dining table or a bundler, etc.) of the target meal position, and the corresponding meal position information may be obtained according to the meal position identification information, where the corresponding meal position information is the meal position information of the target meal position.
And outputting the prompt information to the merchant terminal. For example, the prompt information is displayed on a management interface of the merchant terminal; for another example, the prompt message is sent to the merchant terminal; in addition, buttons indicating approval and rejection may be displayed to ask the restaurant staff whether to approve;
the restaurant staff checks the prompt information and feeds back information indicating approval or rejection to the ordering server through the merchant terminal; for example, if the restaurant staff agrees, click a button indicating agreement; if the restaurant staff member rejects, clicking a button representing the rejection;
and the ordering server receives the information fed back by the merchant terminal, and if the information which is fed back by the merchant terminal and indicates agreement is received, the ordering server is confirmed by the merchant terminal.
In the second embodiment, the security authentication is performed on the ue, and if the ue passes the security authentication, step 105 is executed.
The security verification of the user terminal may include:
generating safety verification information corresponding to the meal position identification information, for example, randomly generating a character string, and setting the character string as the safety verification information corresponding to the meal position identification information, wherein the randomly generated character string is preferably a pure number of four to six digits;
informing the safety verification information to a food ordering user, for example, when the food ordering user orders food, a restaurant worker acquires the safety verification information corresponding to the target meal location through a merchant terminal, and informs the safety verification information to the food ordering user;
displaying a user interface for safety verification on a user terminal, inputting safety verification information serving as safety verification information into the user interface by a meal ordering user, and triggering a safety verification process;
the user terminal sends the input safety verification information to the ordering server, and the ordering server receives the safety verification information;
the ordering server acquires safety verification information corresponding to the meal position identification information according to the meal position identification information, and compares whether the safety verification information is consistent with the safety verification information or not; if the user terminal is consistent with the security authentication request, determining that the user terminal passes the security authentication; otherwise, the user terminal is determined not to pass the security authentication.
In addition, in order to improve the utilization rate of the meal positions and avoid that the ordering user occupies the target meal position for a long time, once the target meal position is used, the use state of the target meal position should be timely released, for example, the release of the use state of the target meal position may be triggered after the login user finishes paying the order, or the use state of the target meal position may be released by the restaurant staff through setting on the management interface of the merchant terminal. Specifically, the use state of the target meal position is released, and corresponding to the embodiment of obtaining the use state of the target meal position, the state identifier corresponding to the meal position identification information may be set to indicate that the target meal position is not in the use state; or, current meal ordering information or/and current order information or/and current meal ordering user identification information corresponding to the meal position identification information can be cleared; or converting the current order information corresponding to the meal position identification information into historical order information and the like.
In summary, compared with the prior art, the method provided by the embodiment has the following main technical effects: on the first hand, when the ordering user orders at the target meal position, pre-ordering information or pre-ordering orders generated in advance can be applied to the target meal position, so that fast ordering operation can be realized, the ordering time of the ordering user is saved, and the utilization rate of the meal position is also improved; in the second aspect, further, the pre-ordering information or the pre-ordering order can be only applied to the target meal position which is not in a use state, so that the condition that the same meal position is used by a plurality of ordering users is avoided; in addition, if the ordering user needs to use the target meal position which is not in the use state, the meal position can be used only after the confirmation of restaurant staff or the safety verification is passed, and the condition that the meal position is maliciously used by people who are not in the restaurant in a mode of scanning a pre-saved graphic code and the like is effectively prevented.
Second, an embodiment of the ordering service device
Referring to fig. 2, a schematic structural diagram of a first embodiment of an ordering service device provided in the present invention is shown, where the ordering service device can be used to prevent malicious ordering behavior. For convenience of explanation, only portions related to the embodiments of the present invention are shown. The device includes:
the access receiving module is used for receiving an access request aiming at a target meal position sent by a user terminal;
the meal position identification module is used for acquiring meal position identification information of the target meal position according to the access request;
the user identification module is used for acquiring user identification information of the user terminal login user;
the pre-acquisition module is used for acquiring corresponding pre-ordering information or pre-ordering orders according to the user identification information;
and the current order generating module is used for generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
Preferably, the meal position identification module comprises:
the first meal position identification unit is used for acquiring the meal position identification information from the access request, wherein the access request comprises the meal position identification information; and/or the first and/or second light sources,
and the second meal position identification unit is used for acquiring the meal position identification information from the association relationship between the pre-established association information and the meal position identification information according to the association information.
Preferably, the subscriber identity module includes:
the first user identification unit is used for acquiring a user identifier or an account of the user who logs in the user terminal, and the user identifier or the account is used as the user identification information; and/or the first and/or second light sources,
and the second user identification unit is used for acquiring the mobile terminal number of the user logging in the user terminal, and taking the mobile terminal number as the user identification information.
Preferably, the first subscriber identification unit includes:
a wechat user login subunit, configured to invoke a wechat open platform interface to enable the user terminal to log in through a wechat user, and obtain an OpenID or a UnionID of the wechat login user, where the user identifier or the account number includes the OpenID or the UnionID; and/or the first and/or second light sources,
and the user identification or the account number comprises the user _ id.
Preferably, the current order generation module includes:
a first generating unit, configured to convert the pre-order information or the pre-order into the current order information, and include the meal position identification information in the current order information; alternatively, the first and second electrodes may be,
and the second generating unit is used for returning the pre-ordering information to the user terminal, generating the current order information when receiving ordering information and ordering instructions modified by the user terminal on the pre-ordering information, and including the meal position identification information and the modified ordering information in the current order information.
Third, an embodiment of ordering service device
Referring to fig. 3, a schematic structural diagram of a second ordering service device according to an embodiment of the invention is shown. The device is arranged on the device provided by the first ordering service device embodiment, and further comprises the following modules:
and the pre-generation module is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to the ordering information sent by the user terminal.
Preferably, the pre-generation module includes:
a pre-ordering receiving unit, configured to receive a pre-ordering request sent by the user terminal, and connect to the user identification module, so that when the pre-ordering request is received, the user identification module is executed to obtain user identification information of a user logged in by the user terminal;
the ordering receiving unit is used for receiving ordering information sent by the user terminal;
and the pre-generation unit is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to the sent ordering information.
Preferably, the apparatus is configured to provide a pre-order for a plurality of restaurants, and the pre-generation module further includes:
the restaurant identification obtaining unit is used for obtaining restaurant identifications according to the pre-ordering requests;
the pre-generation unit is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information and the restaurant identifier according to the sent ordering information, so that the pre-ordering information or the pre-ordering order can be obtained according to the user identification information and the restaurant identifier.
Preferably, the restaurant identification obtaining unit includes:
a first meal hall identifier obtaining subunit, configured to obtain the restaurant identifier from the pre-ordering request, where the restaurant identifier is included in the pre-ordering request; and/or the first and/or second light sources,
and the second restaurant identifier acquiring subunit is used for acquiring the restaurant identifier from the association relationship between the pre-established association information and the restaurant identifier according to the association information, wherein the association information associated with the restaurant identifier is contained in the pre-ordering request.
Fourth, an embodiment of ordering service device
Please refer to fig. 4, which illustrates a schematic structural diagram of a third embodiment of the meal ordering service device provided in the present invention. The device is arranged on the device provided by the first ordering service device embodiment, and further comprises the following modules:
and the state identification module is used for acquiring the use state of the target meal position according to the meal position identification information, and executing subsequent modules including the current order generation module if the target meal position is not in the use state.
Preferably, the state identification module is further configured to: and if the target dining position is in the use state, not executing subsequent modules, including not executing the current order generation module.
Preferably, the state identification module includes:
the first state identification unit is used for acquiring a corresponding state identifier according to the meal position identification information, wherein the state identifier is used for indicating whether the target meal position is in a use state or not, if the state identifier indicates that the target meal position is in the use state, the target meal position is determined to be in the use state, and if not, the target meal position is determined not to be in the use state; alternatively, the first and second electrodes may be,
and the second state identification unit is used for acquiring corresponding current ordering information or/and current order information or/and current ordering user identification information according to the meal position identification information, determining that the target meal position is in a use state if the corresponding current ordering information or/and current order information or/and current ordering user identification information is acquired, and determining that the target meal position is not in the use state if the corresponding current ordering information or/and current order information or/and current ordering user identification information is not acquired.
Fifth, an embodiment of a service device for ordering food
Please refer to fig. 5, which illustrates a schematic structural diagram of a fourth embodiment of the meal ordering service device provided in the present invention. The device also comprises a merchant confirmation module or a safety verification module on the device provided by the third embodiment of the ordering service device;
after the state identification module acquires that the target dining position is not in a use state and before the current order generation module is executed, the merchant confirmation module or the safety verification module is executed;
the merchant confirmation module is used for acquiring confirmation of a merchant terminal and executing the current order generation module after acquiring the confirmation of the merchant terminal;
the safety verification module is used for carrying out safety verification on the user terminal, and if the user terminal passes the safety verification, the current order generation module is executed.
Preferably, the merchant confirmation module includes:
the merchant prompting unit is used for generating prompting information corresponding to the meal position identification information, and the prompting information is used for indicating whether the merchant terminal agrees to apply the pre-ordering information or the pre-ordering order of the login user to the target meal position;
a prompt output unit, configured to output the prompt information to the merchant terminal;
and the merchant confirmation unit is used for receiving the information fed back by the merchant terminal, and determining that the information is confirmed by the merchant terminal if the information fed back by the merchant terminal and indicating agreement is received.
Preferably, the security authentication module includes:
the verification information acquisition unit is used for acquiring safety verification information corresponding to the meal position identification information according to the meal position identification information;
a check information receiving unit, configured to receive the security check information sent by the user terminal;
the information comparison unit is used for comparing whether the safety verification information is consistent with the safety verification information; and if so, determining that the user terminal passes the security verification.
The second embodiment of the ordering service device may also form an optional embodiment with the third embodiment or the fourth embodiment of the ordering service device, that is, the third embodiment or the third embodiment of the ordering service device further includes the pre-generation module, and the pre-generation module is configured to generate pre-ordering information or a pre-ordering order corresponding to the user identification information according to the ordering information sent by the user terminal, and a specific implementation manner is not described again.
The apparatuses provided in the first to fourth embodiments of the ordering service apparatus and the implementation method in the foregoing management method for ordering in advance belong to the same concept, and specific implementation principles and effects thereof can be seen in the method embodiments, and are not described herein again.
Sixthly, an embodiment of ordering system
Referring to fig. 6, a schematic structural diagram of an embodiment of an ordering system provided in the present invention is shown. The system comprises: the ordering system comprises an ordering server and at least one user terminal;
the ordering server comprises the devices in the first to fourth embodiments of the ordering service device; the user terminal is used for accessing the ordering server, and as shown in fig. 7, the user terminal includes an access request module and a user login module;
the access request module is used for sending an access request aiming at a target meal position to the ordering server;
and the user login module is used for a user to log in the ordering server.
Preferably, as shown in fig. 8, the user terminal further includes:
the pre-request module is used for sending a pre-ordering request to the ordering server;
and the ordering sending module is used for sending ordering information to the ordering server.
Preferably, as shown in fig. 9, the user terminal further includes:
and the code scanning module is used for scanning and analyzing the graphic code and triggering the access request module or the pre-request module according to the decoding information of the graphic code.
The role and implementation of the user terminal in the embodiment of the management method for ordering food in advance belong to the same concept, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," "includes," "passing," "sending," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system.
The terms "first," "second," "third," and the like (if any) are used solely to distinguish one from another and are not used to describe a particular order or sequence. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The method, apparatus and system of the present invention can be implemented in a number of ways. For example, the methods, apparatus and systems of the present invention may be implemented by software, hardware, firmware or any combination of software, hardware and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for managing pre-ordered meals, the method comprising:
receiving an access request aiming at a target dining position sent by a user terminal;
acquiring meal position identification information of the target meal position according to the access request;
acquiring user identification information of the user terminal login user;
obtaining corresponding pre-ordering information or pre-ordering orders according to the user identification information;
and generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
2. The method of claim 1, wherein the pre-order information or the pre-order is generated from the order information sent by the user terminal prior to receiving the access request sent by the user terminal for the target meal location.
3. The method of claim 1, wherein generating current order information from the meal location identification information and the pre-order information or the pre-order comprises:
converting the pre-ordering information or the pre-ordering order into the current order information, wherein the current order information comprises the meal position identification information; alternatively, the first and second electrodes may be,
and returning the pre-ordering information to the user terminal, generating the current order information when receiving ordering information and ordering instructions modified by the user terminal on the pre-ordering information, and including the meal position identification information and the modified ordering information in the current order information.
4. The method of claim 1, wherein generating current order information from the meal location identification information and the pre-order information or the pre-order further comprises:
obtaining the use state of the target dining position according to the dining position identification information;
and if the target meal position is not in a use state, executing the step of generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
5. An ordering service device, the device comprising:
the access receiving module is used for receiving an access request aiming at a target meal position sent by a user terminal;
the meal position identification module is used for acquiring meal position identification information of the target meal position according to the access request;
the user identification module is used for acquiring user identification information of the user terminal login user;
the pre-acquisition module is used for acquiring corresponding pre-ordering information or pre-ordering orders according to the user identification information;
and the current order generating module is used for generating current order information according to the meal position identification information and the pre-ordering information or the pre-ordering order.
6. The apparatus of claim 5, further comprising:
and the pre-generation module is used for generating pre-ordering information or a pre-ordering order corresponding to the user identification information according to the ordering information sent by the user terminal.
7. The apparatus of claim 5, wherein the current order generation module comprises:
a first generating unit, configured to convert the pre-order information or the pre-order into the current order information, and include the meal position identification information in the current order information; alternatively, the first and second electrodes may be,
and the second generating unit is used for returning the pre-ordering information to the user terminal, generating the current order information when receiving ordering information and ordering instructions modified by the user terminal on the pre-ordering information, and including the meal position identification information and the modified ordering information in the current order information.
8. An ordering server comprising: processor, memory and a computer program stored on the memory and executable on the processor, characterized in that the computer program realizes the method according to any of claims 1 to 4 when executed by the processor.
9. A storage medium characterized in that the storage medium has stored therein a program for implementing a method comprising any one of claims 1 to 4.
10. A food ordering system, comprising a food ordering server and at least one user terminal, wherein:
the ordering server comprises the device of any one of claims 5 to 7;
the user terminal is used for accessing the ordering server and comprises an access request module and a user login module;
the access request module is used for sending an access request aiming at a target meal position to the ordering server;
and the user login module is used for a user to log in the ordering server.
CN202010573114.0A 2020-06-24 2020-06-24 Management method, device and system for ordering in advance Pending CN111738471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010573114.0A CN111738471A (en) 2020-06-24 2020-06-24 Management method, device and system for ordering in advance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010573114.0A CN111738471A (en) 2020-06-24 2020-06-24 Management method, device and system for ordering in advance

Publications (1)

Publication Number Publication Date
CN111738471A true CN111738471A (en) 2020-10-02

Family

ID=72650304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010573114.0A Pending CN111738471A (en) 2020-06-24 2020-06-24 Management method, device and system for ordering in advance

Country Status (1)

Country Link
CN (1) CN111738471A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732366A (en) * 2021-03-30 2021-04-30 浙江口碑网络技术有限公司 Small program starting system, method and device based on graphic code

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455846A (en) * 2013-08-23 2013-12-18 徐东 Order input system and method and canteen data interactive system and method
CN107578347A (en) * 2017-08-23 2018-01-12 泊头市乾江软件科技有限公司 A kind of meal ordering system based on internet intelligent interaction
CN107609954A (en) * 2017-10-02 2018-01-19 头等尝网络餐饮管理科技(深圳)有限公司 Method of ordering, device and computer-readable recording medium based on acquiescence shops
CN107766955A (en) * 2017-09-04 2018-03-06 合肥龙图腾信息技术有限公司 A kind of predetermined method of ordering in dining room and its system
CN110428074A (en) * 2019-07-18 2019-11-08 广东佰纳生态科技有限公司 A kind of barcode scanning based on mobile Internet is ordered marketing management system and operation method
CN110874736A (en) * 2018-09-03 2020-03-10 广州市微聚宝网络技术有限公司 Catering service system based on mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455846A (en) * 2013-08-23 2013-12-18 徐东 Order input system and method and canteen data interactive system and method
CN107578347A (en) * 2017-08-23 2018-01-12 泊头市乾江软件科技有限公司 A kind of meal ordering system based on internet intelligent interaction
CN107766955A (en) * 2017-09-04 2018-03-06 合肥龙图腾信息技术有限公司 A kind of predetermined method of ordering in dining room and its system
CN107609954A (en) * 2017-10-02 2018-01-19 头等尝网络餐饮管理科技(深圳)有限公司 Method of ordering, device and computer-readable recording medium based on acquiescence shops
CN110874736A (en) * 2018-09-03 2020-03-10 广州市微聚宝网络技术有限公司 Catering service system based on mobile terminal
CN110428074A (en) * 2019-07-18 2019-11-08 广东佰纳生态科技有限公司 A kind of barcode scanning based on mobile Internet is ordered marketing management system and operation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732366A (en) * 2021-03-30 2021-04-30 浙江口碑网络技术有限公司 Small program starting system, method and device based on graphic code
CN112732366B (en) * 2021-03-30 2021-08-31 浙江口碑网络技术有限公司 Small program starting system, method and device based on graphic code

Similar Documents

Publication Publication Date Title
CN103581166B (en) Location aware certification
CN113396569A (en) System and method for second factor authentication of customer support calls
US11416859B2 (en) Methods of authenticating a user for data exchange
US20140058951A1 (en) Mobile electronic device and use thereof for electronic transactions
CN104464117B (en) Based on dynamic two-dimension code ATM (automatic teller machine) withdrawal method and system
EP2751733B1 (en) Method and system for authorizing an action at a site
CN106716918B (en) User authentication method and system
CA2665961C (en) Method and system for delivering a command to a mobile device
CN107291432A (en) Cloud desktop management-control method, device and cloud desktop access method, device
JP2007524259A (en) Data processing system user authentication method and system
JP2007328381A (en) Authentication system and method in internet banking
JP2005158066A (en) Automated customer entitlement system for vendor services
CN106716960A (en) Method and system for authenticating a user
US20140223520A1 (en) Guardian control over electronic actions
CN106471786B (en) For transmitting the system and method for voucher
GB2511879A (en) Ordering system
US20210312576A1 (en) System for authenticating patron computing device and allowing ordering food therefrom at restaurant
CN111738471A (en) Management method, device and system for ordering in advance
CN115730944A (en) Identity verification method and device
US20120066128A1 (en) Data communication method and system for providing a financial transaction
CN111737667A (en) Method, device and system for preventing malicious food ordering
CN110210831B (en) Office examination and approval method and system based on data short message technology
US20180018646A1 (en) Front end transaction system
US20220245629A1 (en) A computer implemented method of authorizing a user of a communication device access to restricted content on a server.
KR20100103760A (en) System and method for providing settlement service by complex terminal with multi-authentication application and recording medium

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