CN115271539A - Order processing method and device, storage medium and computer equipment - Google Patents

Order processing method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN115271539A
CN115271539A CN202211072403.8A CN202211072403A CN115271539A CN 115271539 A CN115271539 A CN 115271539A CN 202211072403 A CN202211072403 A CN 202211072403A CN 115271539 A CN115271539 A CN 115271539A
Authority
CN
China
Prior art keywords
dish
information
dish information
small
carbon emission
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
CN202211072403.8A
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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN202211072403.8A priority Critical patent/CN115271539A/en
Publication of CN115271539A publication Critical patent/CN115271539A/en
Priority to PCT/CN2022/133156 priority patent/WO2024045359A1/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an order processing method, an order processing device, a storage medium and computer equipment. The method comprises the following steps: the server receives dish information sent by a merchant terminal, responds to that the dish information meets preset dish marking conditions, and stores the dish information and dish labels corresponding to the dish information; the method comprises the steps that a client receives dish information sent by a server, displays the dish information, responds to an order settlement request, and sends the order settlement request to the server, wherein the order settlement request carries at least one piece of dish information; the server receives the order settlement request, responds to dish information in the order settlement request and sets a small dish label, calculates the carbon emission reduction amount of the current order according to the dish information in the order settlement request, and sends the carbon emission reduction amount to the client; the client receives the carbon emission reduction amount and displays the carbon emission reduction amount. The method can strengthen the attention of the user to the small dishes, thereby enhancing the prompting effect of the quantity of the catering products.

Description

Order processing method and device, storage medium and computer equipment
Technical Field
The invention relates to the technical field of internet, in particular to an order processing method, an order processing device, a storage medium and computer equipment.
Background
With the rapid development of internet technology, catering take-away software has long become one of the essential common tools in people's daily life. At present, in order to meet diversified dining demands of users, merchants can provide various catering products for the users, and meanwhile, the users can purchase various catering products in order placing modes in order to meet the demands of the users.
In the prior art, a merchant can prompt a user for the quantity of a product in a mode of setting specifications for dishes. However, when a user purchases a catering product, the user rarely pays attention to the specification information of the product, or the specification of the product is not conceptual, so that the purchased catering product is wasted finally, and meanwhile, the problem of product waste also increases the burden of environmental treatment.
Disclosure of Invention
In view of this, the present application provides an order processing method, an order processing device, a storage medium, and a computer device, and mainly aims to solve the technical problem that the quantity prompt effect of the catering product is poor due to the existing dish specification setting mode.
According to a first aspect of the present invention, there is provided an order processing method, the method comprising:
the server receives dish information sent by a merchant terminal, responds to that the dish information accords with preset dish marking conditions, and stores the dish information and dish labels corresponding to the dish information;
the client receives the dish information sent by the server, displays the dish information, responds to an order settlement request, and sends the order settlement request to the server, wherein the order settlement request carries at least one piece of dish information;
the server receives the order settlement request, responds to dish information in the order settlement request and sets a small dish label, calculates the carbon emission reduction amount of the current order according to the dish information in the order settlement request, and sends the carbon emission reduction amount to the client;
and the client receives the carbon emission reduction amount and displays the carbon emission reduction amount.
Optionally, before the server receives the dish information sent by the merchant, the method further includes: the method comprises the steps that the merchant terminal responds to a dish editing request and displays a dish editing page, wherein at least one dish editing option is displayed on the dish editing page; the merchant responds to an editing request of any one of the dish editing options, and displays an editing page of the dish editing option, wherein the dish editing option comprises at least one of a dish name, a dish type, a dish specification and a dish price, and the dish specification is one or more; and the merchant receives the dish editing information through the editing page of the dish editing option, generates dish information according to the dish editing information, and sends the dish information to the server.
Optionally, the server responds to that the dish information conforms to a preset small dish marking condition, stores the dish information and a small dish label corresponding to the dish information, and includes: the server judges whether the dish information meets preset small dish marking conditions or not according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information; if the dish information meets the dish marking condition, setting dish labels for the dish information, and storing the dish information and the dish labels corresponding to the dish information; and/or the server responds to that the dish information contains preset dish labels of the small dishes, extracts the dish labels of the small dishes from the dish information, and stores the dish information and the dish labels of the small dishes corresponding to the dish information.
Optionally, the server determines whether the dish information meets a preset small dish marking condition according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information, including: the server judges whether the dish name and/or the dish category contain preset sub-dish keywords or not; if the dish name and/or the dish category comprise the small dish keyword, the server identifies the whole dish name which is in the same business with the dish information and has similarity with the dish name exceeding a preset threshold value, and obtains the whole dish price corresponding to the whole dish name; the server judges whether the price of the dish is lower than a preset proportional value of the price of the whole dish or not; and if the price of the dish is lower than the preset proportional value of the price of the whole dish, the server judges that the dish information meets the preset small dish marking condition.
Optionally, the server determines whether the dish information meets a preset small dish marking condition according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information, and further includes: the server judges whether the dish specifications comprise a first specification and a second specification, wherein the amount of the first specification is smaller than that of the second specification; if the dish specifications comprise a first specification and a second specification, the server judges whether the dish price corresponding to the first specification is lower than a preset proportional value of the dish price corresponding to the second specification; and if the dish price corresponding to the first specification is lower than the preset proportional value of the dish price corresponding to the second specification, the server judges that the first specification of the dish information meets the preset small dish marking condition.
Optionally, if the dish information accords with the small dish marking condition, then the server sets up a small dish label for the dish information, including: if the dish information comprises a dish specification and the dish information meets the dish marking condition, the server sets a dish label for the dish information; if the dish information comprises multiple dish specifications, and at least one dish specification in the dish information meets the small dish marking condition, the server sets a small dish label for the dish specification meeting the small dish marking condition in the dish information.
Optionally, the receiving, by the client, the dish information sent by the server and displaying the dish information includes: aiming at the dish information with the small dish label, the client displays the dish name and the dish type of the dish information, wherein the preset small dish key words are displayed in the dish name and/or the dish type; and/or aiming at the dish information provided with the small dish label, the client displays various dish specifications of the dish information, wherein the quantities of the various dish specifications are different from each other.
Optionally, after the client sends the order settlement request to the server in response to the order settlement request, the method further includes: and the client responds to the dish information in the order settlement request and is provided with a small dish label, and the small dish label of the commodity information is displayed on an order submission page.
Optionally, the step of calculating, by the server, the carbon emission reduction amount of the current order according to the dish information in the order settlement request includes: the server calculates the production carbon emission and disposal carbon emission of the food material for reducing the waste amount according to the dish food material and the dish specification in the dish information aiming at the dish information with the small dish label in the current order; the server obtains the carbon reduction emission of the current order according to the production carbon emission and disposal carbon emission of the food material waste amount reduction; the server obtains the carbon emission of the current order according to the preset carbon emission of the lunch boxes, the preset carbon emission of distribution and the preset order printing carbon emission; and the server obtains the carbon emission reduction amount of the current order according to the difference value between the carbon emission reduction amount and the carbon emission amount.
Optionally, after the server receives the order settlement request, the method further includes: the server judges whether the current order contains tableware information; and if the current order does not contain the tableware information, the server acquires the carbon reduction volume corresponding to the tableware information and adds the carbon reduction volume corresponding to the tableware information into the carbon reduction volume of the current order.
Optionally, the method further includes: the server acquires right and benefit information corresponding to the carbon emission reduction amount according to the carbon emission reduction amount, and sends the right and benefit information corresponding to the carbon emission reduction amount to the client; and/or the server responds to the exchange request of the carbon emission reduction amount, acquires the rights and interests information corresponding to the carbon emission reduction amount, and sends the rights and interests information corresponding to the carbon emission reduction amount to the client.
Optionally, the method further includes: the client displays a carbon account page and displays carbon emission reduction of at least one order in the carbon account page, wherein the status of the order in the carbon account page is a completed status.
According to a second aspect of the present invention, there is provided an order processing method, the method comprising:
responding to an information viewing request, displaying a plurality of dish information, wherein at least one dish information in the plurality of dish information is provided with a small dish label;
responding to an order settlement request, and sending the order settlement request to a server, wherein the order settlement request carries at least one dish information;
and responding to the dish information in the order settlement request, setting a small dish label, and displaying the carbon reduction amount of the current order, wherein the carbon reduction amount is obtained by calculation according to the dish information in the order settlement request.
Optionally, the displaying of the information of the plurality of dishes includes: aiming at the dish information provided with the small dish label, showing the dish name and the dish category of the dish information, wherein the preset small dish keyword is shown in the dish name and/or the dish category; and/or displaying various dish specifications of the dish information aiming at the dish information provided with the small dish label, wherein the quantities of the various dish specifications are different from each other.
Optionally, after the sending the order settlement request to the server in response to the order settlement request, the method further includes: and responding to the dish information in the order settlement request, setting a small dish label, and displaying the small dish label of the commodity information on an order submission page.
Optionally, the method further includes: and displaying a carbon account page, and displaying the carbon reduction volume of at least one order in the carbon account page, wherein the status of the order in the carbon account page is a completed status.
According to a third aspect of the present invention, there is provided an order processing method, the method comprising:
receiving dish information sent by a merchant terminal, responding to that the dish information accords with preset dish marking conditions, and storing the dish information and dish labels corresponding to the dish information;
receiving an order settlement request sent by a client, setting a small dish label in response to dish information in the order settlement request, calculating the carbon emission reduction amount of a current order according to the dish information in the order settlement request, and sending the carbon emission reduction amount to the client.
Optionally, the responding to the dish information meeting the preset small dish marking condition, storing the dish information and the small dish label corresponding to the dish information, includes: judging whether the dish information meets preset dish marking conditions or not according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information; if the dish information meets the dish marking condition, setting a dish label for the dish information, and storing the dish information and the dish label corresponding to the dish information; and/or responding to that preset petty dish labels are contained in the dish information, extracting the petty dish labels from the dish information, and storing the dish information and the petty dish labels corresponding to the dish information.
Optionally, the determining, according to at least one of the name of the dish, the category of the dish, the specification of the dish, and the price of the dish in the dish information, whether the dish information meets the preset small dish marking condition includes: judging whether the dish name and/or the dish category contain preset key words of the small dishes or not; if the dish name and/or the dish category comprise the small dish keyword, identifying a whole dish name which is in the same business with the dish information and has similarity with the dish name exceeding a preset threshold value, and acquiring a whole dish price corresponding to the whole dish name; judging whether the price of the dish is lower than a preset proportional value of the price of the whole dish; and if the dish price is lower than the preset proportional value of the whole dish price, judging that the dish information meets the preset dish marking condition of the small dishes.
Optionally, the method further includes determining whether the dish information meets a preset dish marking condition according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information: judging whether the dish specifications comprise a first specification and a second specification, wherein the amount of the first specification is smaller than that of the second specification; if the dish specifications comprise a first specification and a second specification, judging whether the dish price corresponding to the first specification is lower than a preset proportional value of the dish price corresponding to the second specification; and if the dish price corresponding to the first specification is lower than the preset proportional value of the dish price corresponding to the second specification, judging that the first specification of the dish information meets the preset small dish marking condition.
Optionally, if the dish information conforms to the small dish marking condition, then set a small dish label for the dish information, including: if the dish information comprises a dish specification and the dish information meets the dish marking condition, setting a dish label for the dish information; and if the dish information comprises various dish specifications and at least one dish specification in the dish information meets the small dish marking condition, setting a small dish label for the dish specification meeting the small dish marking condition in the dish information.
Optionally, the calculating the carbon emission reduction amount of the current order according to the dish information in the order settlement request includes: aiming at dish information with a small dish label in a current order, calculating production carbon emission and disposal carbon emission of the food material for reducing waste according to dish food materials and dish specifications in the dish information; according to the production carbon emission and disposal carbon emission of the food material waste reduction amount, obtaining the carbon emission reduction amount of the current order; according to the preset carbon emission of the lunch boxes, the carbon emission of distribution and the carbon emission of order printing, the carbon emission of the current order is obtained; and obtaining the carbon emission reduction amount of the current order according to the difference value of the carbon emission reduction amount and the carbon emission amount.
Optionally, after receiving the order settlement request sent by the client, the method further includes: judging whether the current order contains tableware information or not; and if the current order does not contain the tableware information, acquiring the carbon emission reduction amount corresponding to the tableware information, and adding the carbon emission reduction amount corresponding to the tableware information into the carbon emission reduction amount of the current order.
Optionally, the method further includes: acquiring right information corresponding to the carbon emission reduction amount according to the carbon emission reduction amount, and sending the right information corresponding to the carbon emission reduction amount to the client; and/or responding to the exchange request of the carbon emission reduction amount, acquiring the interest information corresponding to the carbon emission reduction amount, and sending the interest information corresponding to the carbon emission reduction amount to the client.
According to a fourth aspect of the present invention, there is provided an order processing apparatus comprising:
the dish information display module is used for responding to an information viewing request and displaying a plurality of pieces of dish information, wherein at least one piece of dish information in the plurality of pieces of dish information is provided with a small dish label;
the settlement request responding module is used for responding to an order settlement request and sending the order settlement request to a server, wherein the order settlement request carries at least one piece of dish information;
and the carbon emission reduction display module is used for responding to the dish information in the order settlement request, setting a small dish label and displaying the carbon emission reduction of the current order, wherein the carbon emission reduction is calculated according to the dish information in the order settlement request.
Optionally, the dish information display module is specifically configured to display, for the dish information with the small dish label, a dish name and a dish category of the dish information, where a preset small dish keyword is displayed in the dish name and/or the dish category; and/or displaying various dish specifications of the dish information aiming at the dish information provided with the small dish label, wherein the quantities of the various dish specifications are different from each other.
Optionally, the dish information display module is further configured to set a minor dish label in response to the dish information in the order settlement request, and display the minor dish label of the commodity information on an order submission page.
Optionally, the carbon emission reduction display module is further configured to display a carbon account page, and display a carbon emission reduction amount of at least one order in the carbon account page, where a state of the order in the carbon account page is a completed state.
According to a fifth aspect of the present invention, there is provided an order processing apparatus comprising:
the small dish label storage module is used for receiving dish information sent by a merchant terminal, responding to the dish information meeting a preset small dish marking condition, and storing the dish information and a small dish label corresponding to the dish information;
and the carbon emission reduction calculation module is used for receiving an order settlement request sent by a client, responding to the dish information in the order settlement request and setting a small dish label, calculating the carbon emission reduction of the current order according to the dish information in the order settlement request, and sending the carbon emission reduction to the client.
Optionally, the petty dish label storage module is specifically configured to: judging whether the dish information meets preset dish marking conditions or not according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information; if the dish information meets the dish marking condition, setting a dish label for the dish information, and storing the dish information and the dish label corresponding to the dish information; and/or responding to that preset small dish labels are contained in the dish information, extracting the small dish labels from the dish information, and storing the dish information and the small dish labels corresponding to the dish information.
Optionally, the petty dish label storage module is specifically configured to: judging whether the name of the dish and/or the category of the dish contain preset key words of the small dish or not; if the dish name and/or the dish category contain the sub-dish keyword, identifying the whole dish name which is in the same business as the dish information and has similarity with the dish name exceeding a preset threshold value, and acquiring the whole dish price corresponding to the whole dish name; judging whether the price of the dish is lower than a preset proportional value of the price of the whole dish; and if the price of the dish is lower than the preset proportional value of the price of the whole dish, judging that the dish information meets the preset small dish marking condition.
Optionally, the petty dish label storage module is further specifically configured to: judging whether the dish specifications comprise a first specification and a second specification, wherein the weight of the first specification is smaller than that of the second specification; if the dish specifications comprise a first specification and a second specification, judging whether the dish price corresponding to the first specification is lower than a preset proportional value of the dish price corresponding to the second specification; and if the dish price corresponding to the first specification is lower than the preset proportional value of the dish price corresponding to the second specification, judging that the first specification of the dish information meets the preset dish marking condition.
Optionally, the petty dish label storage module is further specifically configured to: if the dish information comprises a dish specification and the dish information meets the dish marking condition, setting a dish label for the dish information; and if the dish information comprises various dish specifications and at least one dish specification in the dish information meets the small dish marking condition, setting a small dish label for the dish specification meeting the small dish marking condition in the dish information.
Optionally, the carbon emission reduction calculation module is specifically configured to: aiming at dish information with a small dish label in a current order, calculating the production carbon emission and disposal carbon emission of the food material for reducing the waste amount according to the dish food material and the dish specification in the dish information; according to the production carbon emission and disposal carbon emission of the food material waste reduction amount, obtaining the carbon emission reduction amount of the current order; obtaining the carbon emission of the current order according to the preset carbon emission of the lunch box, the carbon emission of distribution and the carbon emission of order printing; and obtaining the carbon emission reduction amount of the current order according to the difference value between the carbon emission reduction amount and the carbon emission amount.
Optionally, the carbon emission reduction calculation module is further configured to: judging whether the current order contains tableware information or not; and if the current order does not contain the tableware information, acquiring the carbon reduction volume corresponding to the tableware information, and adding the carbon reduction volume corresponding to the tableware information into the carbon reduction volume of the current order.
Optionally, the apparatus further comprises: the equity information exchange module is used for acquiring equity information corresponding to the carbon emission reduction amount according to the carbon emission reduction amount and sending the equity information corresponding to the carbon emission reduction amount to the client; and/or responding to the exchange request of the carbon emission reduction amount, acquiring the interest information corresponding to the carbon emission reduction amount, and sending the interest information corresponding to the carbon emission reduction amount to the client.
According to a sixth aspect of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described order processing method.
According to a seventh aspect of the present invention, there is provided a computer apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the order processing method when executing the program.
The invention provides an order processing method, an order processing device, a storage medium and computer equipment. According to the method, the small dish labels corresponding to the dish information are stored, when the user raises a settlement request for the dishes provided with the small dish labels, the carbon emission reduction amount of the current order is displayed for the user, the attention of the user to the small dishes can be strengthened, and the prompting effect of the quantity of the catering products is effectively enhanced.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a schematic flowchart illustrating an order processing method according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating a scenario of an order processing method according to an embodiment of the present invention;
fig. 3 is a schematic view illustrating a scenario of an order processing method according to an embodiment of the present invention;
fig. 4 is a schematic view illustrating a scenario of an order processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram illustrating an order processing apparatus according to an embodiment of the present invention;
fig. 6 shows a schematic structural diagram of an order processing apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict.
In one embodiment, as shown in fig. 1, an order processing method is provided, which is described by taking the method as an example applied to computer devices such as a client and a server, and includes the following steps:
101. and the server receives the dish information sent by the merchant terminal, responds to the dish information meeting the preset dish marking condition, and stores the dish information and the dish label corresponding to the dish information.
Specifically, the dish information can be set and completed by the merchant at the merchant terminal. For each merchant, each dish set in the dish catalog corresponds to one piece of dish information, wherein each piece of dish information at least comprises various information such as a dish name, a dish type, a dish specification and a dish price, and the dish information can also comprise other information such as a dish attribute, a dish material and a dish description.
For example, for a merchant who operates local vegetables, it is assumed that five staple foods and ten local vegetables are operated, and each staple food and each local vegetable correspond to one piece of vegetable information, taking a vegetable "signboard shredded chicken" as an example, the name of the vegetable in the vegetable information is "signboard shredded chicken", the category of the vegetable is "staple food", the specification of the vegetable is "price 20 yuan, quantity 1000 g, stock 200 parts", the attribute of the vegetable is "non-spicy, slightly spicy, heavy spicy", and the material of the vegetable is "chicken, sesame".
Furthermore, after the merchant sets and completes each piece of dish information at the merchant end, the merchant can submit the dish information to the server, and after the server receives the dish information sent by the merchant end, the server can store the dish information and the small dish label corresponding to the dish information when the dish information meets the preset small dish marking condition. In this embodiment, the server may set a small dish label for the dish information according to information such as a name of the dish, a category of the dish, a specification of the dish, a price of the dish, and the like in the dish information, so as to reduce the label setting step at the merchant end; or the server can also directly acquire the dish information provided with the small dish label, extract the small dish label from the dish information, and then store the dish information and the small dish label corresponding to the dish information; or the server can also obtain the minor dish label in the dish information, and set the minor dish label for the dish information according to the information such as the name of the dish, the category of the dish, the specification of the dish, the price of the dish and the like in the dish information when the minor dish label is not obtained. It is understood that the present embodiment does not specifically limit the setting manner of the small dish label of the dish information.
It should be noted that the server may sequentially obtain each piece of dish information sent by the merchant, and store each piece of dish information and the small-lot dish label corresponding to each piece of dish information one by one, or may obtain a plurality of pieces of dish information sent by the merchant in batch, and store a plurality of pieces of dish information and small-lot dish labels corresponding to the plurality of pieces of dish information in batch. In addition, there is no clear precedence relationship between the two steps of acquiring the dish information and storing the dish information by the server, that is, the dish information received by the server and the dish information stored by the server may not be the same dish information, but for each piece of dish information received by the server, the server stores the dish information and the small dish label corresponding to the dish information when the dish information meets the preset small dish marking condition.
102. The client receives the dish information sent by the server, displays the dish information, responds to an order settlement request, and sends the order settlement request to the server, wherein the order settlement request carries at least one piece of dish information.
Specifically, when a user requests to view a menu page of a merchant, the client may respond to the information viewing request, receive all the dish information of the merchant sent by the server, and display the received dish information. In this embodiment, for a merchant with a small dish, at least a part of dish information in the plurality of pieces of merchandise information displayed by the merchant is provided with a small dish label, and another part of dish information may not be provided with a small dish label, wherein for the dish information provided with the small dish label, the client may display the small dish label of the dish information in a text identification or picture identification manner, and may also hide the small dish label of the dish information. In the present embodiment, referring to fig. 2 and 3, in addition to the small dish label, the user may also identify the small dish by the name of the displayed dish and the keyword of the small dish in the dish category, or identify the small dish by the displayed specifications of various dishes.
Further, the user can select at least one dish from the displayed plurality of dish information according to the self requirement to perform order settlement operation, and after the user submits an order settlement request, the client can respond to the order settlement request and send the order settlement request to the server, so that the server processes the order settlement request. In this embodiment, the order settlement request refers to a request sent when the user selects the dish information and clicks the settlement control to jump to the order submission page, where the order settlement request carries at least one piece of dish information, and each piece of dish information in the at least one piece of dish information may be the dish information with the small-lot dish tag or the dish information without the small-lot dish tag.
103. The server receives the order settlement request, responds to dish information in the order settlement request and is provided with a small dish label, calculates the carbon emission reduction amount of the current order according to the dish information in the order settlement request, and sends the carbon emission reduction amount to the client.
Specifically, after receiving the order settlement request, the server may determine whether each piece of dish information in the current order is provided with a small dish label. In addition, the server can also calculate the total price of the current order according to the dish price, the delivery fee, the coupon of the user and other resource information in each piece of dish information of the current order.
Further, if at least one piece of dish information in the current order is provided with a small dish label, the server can calculate the carbon emission reduction amount of the current order according to the dish information provided with the small dish label in the current order, and then send the carbon emission reduction amount to the client. In this embodiment, the carbon emission reduction amount of the current order may be calculated by a preset formula, or may be obtained by looking up a table. It can be understood that the carbon emission reduction amount can be calculated according to the reduced food waste amount of the small dish relative to the whole dish, and the production carbon emission amount and the disposal carbon emission amount of each food are related to the food material and the amount of the dish, so that the dish material and the dish specification in the dish information can be obtained during calculation to calculate or look up a table so as to obtain the production carbon emission amount and the disposal carbon emission amount of the corresponding reduced food waste amount of the small dish relative to the whole dish, thereby obtaining the carbon emission reduction amount of the dish information provided with the small dish label, and further, the carbon emission reduction amount of the current order can be obtained by calculating the carbon emission reduction amount of each dish information provided with the small dish label in the current order. In this embodiment, the carbon emission reduction amount may be sent to the user as a kind of equity information, so that the user may exchange equity by using the carbon emission reduction amount, thereby improving the ordering probability of the small dishes.
104. The client receives the carbon emission reduction amount and displays the carbon emission reduction amount.
Specifically, referring to fig. 4, after sending the order settlement request, the client may receive the carbon reduction amount sent by the server, and display the carbon reduction amount of the current order on the order submission page, or the client may not display the carbon reduction amount of the current order on the order submission page, and display the carbon reduction amount of the current order on the order result page after the order is successfully submitted. By the method, the user can see the carbon reduction amount of the current order before and after the order is submitted, so that the prompt effect of the small dish is enhanced, and a certain incentive effect is provided for the user to place the small dish. Further, after the user submits the order or the order status changes into a complete status, the server may issue the carbon reduction amount to the account corresponding to the user, so that the user performs rights and interests exchange.
According to the order processing method provided by the embodiment, a server receives dish information sent by a merchant, responds that the dish information meets preset dish marking conditions, stores the dish information and a dish label corresponding to the dish information, then a client displays the dish information with the dish label, and when a user raises a settlement request for the dish information with the dish label, the server calculates the carbon reduction amount of a current order according to the dish information in the order settlement request, sends the carbon reduction amount of the current order to the client and displays the carbon reduction amount of the current order by the client. According to the method, the small dish labels corresponding to the dish information are stored, when the user raises a settlement request for the dishes provided with the small dish labels, the carbon emission reduction amount of the current order is displayed for the user, the attention of the user to the small dishes can be strengthened, and the prompting effect of the quantity of the catering products is effectively enhanced.
In an embodiment, before step 101, the order processing method may further include the following steps: responding to a dish editing request by the merchant terminal, and displaying a dish editing page, wherein at least one dish editing option is displayed on the dish editing page; responding to an editing request of any one of the dish editing options, and displaying an editing page of the dish editing options, wherein the dish editing options comprise at least one of a dish name, a dish type, a dish specification and a dish price, and the dish specification is one or more; and receiving the dish editing information through the editing page of the dish editing option, generating dish information according to the dish editing information, and sending the dish information to the server.
In the above embodiment, the merchant terminal may receive, in response to the dish editing request, the dish editing information corresponding to each dish editing option, and generate the dish information according to the received dish editing information. In this embodiment, the merchant terminal may further display a rule for setting the small dish, where the rule for setting the small dish may be displayed on a dish editing page, an editing page of a dish editing option, or other pages, so that the merchant can check and see the dish information in time when editing the dish information. Further, when the merchant edits the dish information, the merchant may set a small dish keyword in the dish name according to the prompt in the page, or set multiple specifications in the dish specification, and set the quantity and price of each specification to be different from each other, or set an individual small dish classification, and set the small dish in the small dish classification, or directly set a small dish label in the dish information, and the small dish setting may be realized by any of the above manners. The method for setting the dish information is simple and easy to implement, is similar to the existing dish setting method, and can be used for inputting small dishes without excessive learning cost by merchants, so that the efficiency of inputting the small dishes can be effectively improved.
In one embodiment, step 101 may be implemented by: the server judges whether the dish information meets preset dish marking conditions or not according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information; if the dish information meets the dish marking condition, setting a dish label for the dish information, and storing the dish information and the dish label corresponding to the dish information; and/or responding to that preset small dish labels are contained in the dish information, extracting the small dish labels from the dish information, and storing the dish information and the small dish labels corresponding to the dish information.
In the above embodiment, the server may determine whether the dish information meets the preset labeling condition for the small dishes according to one or more information of the dish name, the dish type, the dish specification, and the dish price in the dish information. The small dish marking condition refers to a condition that dish information meets characteristics of the small dish, for example, the small dish marking condition may include at least one of the following conditions: the dish names and/or the dish types in the dish information comprise small dish key words such as 'half', 'small parts', 'half parts', and the like; the whole dish which is in the same shop with the dish information and has similarity with the dish name higher than a preset threshold exists, and the price of the dish in the dish information is lower than a preset proportion (such as 70%) of the price of the dish of the whole dish; the dish information includes a plurality of dish specifications, wherein the price of the specification with the smaller quantity is lower than the preset proportion of the price of the specification with the larger quantity.
Further, when the server judges that the dish information meets the preset dish marking condition, a dish label can be set for the dish information, so that the dish corresponding to the dish information meets the characteristics of the dish, and then the server can store the dish information and the dish label corresponding to the dish information. For example, for a dish "signboard teared chicken (half)", it can be determined by a dish name in the dish information, where the dish name includes a preset small dish keyword "half", and by further querying other dish information entered by a merchant corresponding to the dish information, it can be queried that one dish "signboard teared chicken", and by determining that the price of the dish "signboard teared chicken (half)" is lower than 70% of the price of the dish "signboard teared chicken", it can be determined that the dish "signboard teared chicken (half)" meets the small dish marking condition, so as to set a small dish label for the dish "signboard teared chicken (half)". In addition, for the same dish information, whether the dish information meets the dish marking condition or not can be judged through other information such as dish types, dish specifications and the like in the dish information, and the dish information can be judged to meet the dish marking condition as long as one condition is met.
Further, in the above embodiment, the server may also directly extract the small dish tag from the dish information when the dish information includes the preset small dish tag, and then store the dish information and the small dish tag corresponding to the dish information; or, the server may further obtain the small dish label in the dish information, and set the small dish label for the dish information according to information such as the name of the dish, the category of the dish, the specification of the dish, the price of the dish and the like in the dish information when the small dish label is not obtained. It should be noted that there are various ways for the server to set the minor dish tag for the dish information, for example, the minor dish tag may be directly set in the dish information to facilitate query, and/or the dish information is stored in the minor dish tag mapping table and queried when needed.
In the embodiment, the small dish label is set for the dish information meeting the small dish marking condition according to the information such as the name of the dish, the category of the dish, the specification of the dish, the price of the dish and the like in the dish information, so that the complicated operation that a merchant adds the small dish label to the dish information one by one can be omitted, the merchant can complete the setting of the small dish by only simply setting or modifying the dish information, and the setting efficiency of the small dish label is effectively improved.
In an embodiment, step 101 may be specifically implemented by the following steps: the server judges whether the dish name and/or the dish category contain preset sub-dish keywords or not; if the dish name and/or the dish category contain the sub-dish keyword, identifying the whole dish name which is in the same business as the dish information and has similarity with the dish name exceeding a preset threshold value, and acquiring the whole dish price corresponding to the whole dish name; judging whether the price of the dish is lower than a preset proportional value of the price of the whole dish or not; and if the price of the dish is lower than the preset proportional value of the price of the whole dish, judging that the dish information meets the preset small dish marking condition.
In the above embodiment, when the server determines whether the dish information meets the preset dish marking condition, the server may determine through the dish name in the dish information and the keyword of the dish in the dish category, which is a more intuitive determination method. However, the judgment only by the name of the dish and the keyword of the small dish in the category of the dish may cause misjudgment, so the embodiment proposes that whether the dish information meets the marking condition of the small dish or not can be further judged by the relationship between the small dish and the whole dish in the same business in terms of price. In this embodiment, if the name and/or category of the dish in the dish information includes a preset small dish keyword, and the price of the dish in the dish information is lower than a preset proportional value of the price of the whole dish of the same business, it may be determined that the dish information meets the preset small dish marking condition. For example, in addition to words such as "small parts" and "half parts", words such as "half drawer", "star", "mini", and the like may be set as the small parts menu keywords, and are not listed here. The method is simple and easy to implement, and can effectively improve the judgment accuracy and judgment efficiency of the small dishes.
In an embodiment, step 101 may be further implemented by: the server judges whether the dish specifications comprise a first specification and a second specification, wherein the amount of the first specification is smaller than that of the second specification; if the dish specifications comprise a first specification and a second specification, the server judges whether the dish price corresponding to the first specification is lower than a preset proportional value of the dish price corresponding to the second specification; and if the dish price corresponding to the first specification is lower than the preset proportional value of the dish price corresponding to the second specification, the server judges that the first specification of the dish information meets the preset small dish marking condition. In this embodiment, the number of the first specifications may be one or more, that is, when the number of the dish specifications in the dish information is greater than two, if a plurality of dish specifications all meet the conditions of the quantity and the price, it may be determined that a plurality of dish specifications all meet the labeling conditions of the small dish.
In the above embodiment, when the dish information includes a plurality of dish specifications, the server may determine whether at least one of the dish specifications meets the preset small dish marking condition by the quantity and price of each of the dish specifications in the dish information. In this embodiment, the merchant sets one or more dish specifications on the basis of the original dish information, so that the small dishes can be set, the setting mode is simpler, and the learning cost and the labor amount required by the merchant are less. Under the condition, the server only needs to judge whether different dish specifications in the same dish information meet the set dish marking conditions, and the judgment of the dish in small dishes can be realized. And the judgment mode is simple and feasible, and the judgment accuracy and the judgment efficiency of the small dishes can be effectively improved.
In an embodiment, step 101 may be further implemented by: if the dish information comprises a dish specification and the dish information meets the small dish marking condition, the server sets a small dish label for the dish information; if the dish information comprises multiple dish specifications, and at least one dish specification in the dish information meets the small dish marking condition, the server sets small dish labels for all dish specifications meeting the small dish marking condition in the dish information.
In the above-described embodiment, the number of the dish specifications in the dish information may be one or more. When the number of the dish specifications is one, a small dish label can be set for the dish information meeting the small dish marking condition; when the number of the dish specifications is multiple, a small dish label can be set for at least one dish specification which meets the small dish marking condition in the dish information. In the present embodiment, the dish information including a plurality of dish specifications may be actually regarded as a plurality of kinds of dish information having one kind of dish specification. Furthermore, there are various ways to set the small dish label for at least one dish specification of the dish information or the dish information, for example, the small dish label may be directly set in the dish specification of the dish information or the dish information to facilitate the query, and in addition, the dish specification of the dish information or the dish information may be stored in the small dish label mapping table to be queried when necessary. According to the embodiment, the small dish label is set for the dish information or at least one dish specification of the dish information, so that the efficiency of identifying the small dishes in the order can be improved.
In one embodiment, step 102 may be implemented by: aiming at the dish information provided with the small dish label, a client displays the dish name and the dish type of the dish information, wherein the preset small dish keywords are displayed in the dish name and/or the dish type; and/or aiming at the dish information provided with the small dish label, the client displays various dish specifications of the dish information, wherein the quantities and prices of the various dish specifications are different from each other.
In the above embodiment, when the client displays the dish information of the merchant, each kind of dish information set by the merchant may be displayed. As shown in fig. 2 and 3, the client may display the small dish keywords by the name of the dish and/or the category of the dish, or may display a plurality of specifications in the commodity information when the user clicks on a certain commodity. Through the method, the user can quickly identify the small dishes in the dishes, and compared with a traditional display method of specification and weight, the identification degree of the key words of the small dishes and the specifications of various dishes is higher, and the prompting performance is stronger. In addition, for the dish information provided with the small dish label, the client can also directly display the small dish label of the dish information in a character identification or picture identification mode, and the prompt effect of the specification and the component of the dish can be further enhanced in the mode.
In one embodiment, after step 102, the client may further perform the steps of: and responding to the dish information in the order settlement request, setting a small dish label, and displaying the small dish label of the commodity information on an order submission page. In this embodiment, after the user selects the dish information and clicks the settlement control in the page, the client may jump to the order submission page in response to the order settlement request. In the order submission page, if the dish information selected by the user is provided with the small dish label, the client can display the small dish label of the commodity information by using preset components, such as character identification, picture identification and the like, so as to enhance the prompting function of the small dish. It is understood that in other embodiments, the portion label of the dish information may not be displayed.
In one embodiment, step 103 may be implemented by: the server calculates the production carbon emission and disposal carbon emission of the food material for reducing the waste amount according to the dish food material and the dish specification of the dish information aiming at the dish information of the small dish label in the current order; according to the production carbon emission and disposal carbon emission of the food material waste amount reduction, obtaining the carbon emission reduction of the current order; obtaining the carbon emission of the current order according to the preset carbon emission of the lunch box, the carbon emission of distribution and the carbon emission of order printing; and obtaining the carbon emission reduction amount of the current order according to the difference value between the carbon emission reduction amount and the carbon emission amount.
In the above embodiment, the net emission reduction amount of the small dish is mainly composed of two parts, namely, the production carbon emission amount of the food material waste part and the disposal carbon emission amount of the food material waste part are reduced, and in addition, for the same weight of food materials, the small dish may be added with additional single-serving number of copies, and the carbon emission amount for distribution and order printing is increased, so that certain supplement is performed for the increased carbon emission amount of the small dish, and based on this, the carbon emission reduction amount of each dish information provided with the small dish label can be calculated by the following formula:
P=P1+P2-P3-P4-P5;
the method comprises the steps of obtaining dish information of a small dish label, obtaining the carbon emission reduction amount of the dish information of the small dish label, obtaining the production carbon emission amount of the food material waste part by the aid of the P1, obtaining the disposal carbon emission amount of the food material waste part by the aid of the P2, obtaining the carbon emission amount of the food box by the aid of the P3, obtaining the distribution carbon emission amount by the P4, and obtaining the order printing carbon emission amount by the P5. In this embodiment, the values of P1 and P2 can be calculated according to the dish material and the dish specification in the dish information, and the food type discharge factor and the landfill discharge factor known by table lookup, and the calculation formulas of P3, P4, and P5 are relatively fixed, so that a fixed carbon discharge value can be taken as a substitute. By the formula, the carbon emission reduction amount of each small dish in the order can be calculated, and further the carbon emission reduction amount of the current order can be calculated. The carbon emission reduction amount is simple and feasible in calculation mode and high in interpretability.
In one embodiment, after step 103, the order processing method may further include the steps of: the server judges whether the current order contains tableware information; and if the current order does not contain the tableware information, acquiring the carbon emission reduction amount corresponding to the tableware information, and adding the carbon emission reduction amount corresponding to the tableware information into the carbon emission reduction amount of the current order.
In the above embodiment, when the current order does not contain the tableware information, the carbon reduction amount corresponding to the tableware information may also be added to the carbon reduction amount of the current order, so as to encourage the user to reduce the number of times of using the disposable tableware, thereby further reducing the burden of environmental processing.
In one embodiment, after step 104, the order processing method may further include the following steps: the server acquires right and benefit information corresponding to the carbon emission reduction amount according to the carbon emission reduction amount, and sends the right and benefit information corresponding to the carbon emission reduction amount to the client; and/or the server responds to the exchange request of the carbon emission reduction amount, acquires the interest information corresponding to the carbon emission reduction amount, and sends the interest information corresponding to the carbon emission reduction amount to the client.
In the above embodiment, the server may obtain the entitlement information through a mapping relationship between the carbon emission reduction amount and the entitlement information, and issue the entitlement information to the user. In addition, the user can also actively initiate the exchange action, and at the moment, the server can respond to the exchange request of carbon emission reduction, acquire the rights and interests information and send the rights and interests information to the user. In this embodiment, the rights and interests information may be issued in various forms such as a token, a point, a voucher, a gift certificate, or the like, or the rights and interests information may be issued only in the form of a token and a point, and then, the user may exchange resources through the issued token or point, for example, exchange resources into a voucher, a gift certificate, and the like, thereby implementing resource conversion. The embodiment consumes carbon emission reduction amount through the rights and interests issuing or rights and interests exchanging mode, and can play a certain incentive role in ordering small dishes by the user, so that the user experience is improved, and the burden of environmental processing is reduced.
In one embodiment, after step 104, the order processing method may further include the following steps: the method comprises the steps that a client side displays a carbon account page and displays carbon emission reduction of at least one order in the carbon account page, wherein the state of the order in the carbon account page is a finished state. In this embodiment, the user can check the carbon emission reduction amount of the historical order on the carbon account page, and meanwhile, the carbon account page can also display the carbon emission reduction amount obtained by other ways. The carbon emission reduction amount of the finished order and/or the carbon emission reduction amount obtained by other ways are displayed by using the carbon account page, so that a user can have a more visual impression on the carbon emission reduction amount, and the impression of the user on small dishes can be deepened, thereby promoting the prompting effect of the dish quantity and reducing the burden of environmental processing.
Further, as a specific implementation of the method shown in fig. 1 to fig. 4, the present embodiment provides an order processing apparatus, as shown in fig. 5, the apparatus includes: the system comprises a dish information display module 21, a settlement request response module 22 and a carbon emission reduction display module 23.
The dish information display module 21 is configured to respond to an information viewing request and display a plurality of pieces of dish information, where at least one piece of dish information in the plurality of pieces of dish information is provided with a small dish label;
a settlement request response module 22, configured to respond to an order settlement request, and send the order settlement request to a server, where the order settlement request carries at least one piece of dish information;
and the carbon emission reduction display module 23 is configured to set a small dish label in response to the dish information in the order settlement request, and display the carbon emission reduction of the current order, where the carbon emission reduction is calculated according to the dish information in the order settlement request.
In a specific application scenario, the dish information display module 21 is specifically configured to display a dish name and a dish category of the dish information for the dish information with the small dish label, where a preset small dish keyword is displayed in the dish name and/or the dish category; and/or displaying various dish specifications of the dish information aiming at the dish information provided with the small dish label, wherein the quantities of the various dish specifications are different from each other.
In a specific application scenario, the dish information display module 21 is further configured to set a small dish label in response to the dish information in the order settlement request, and display the small dish label of the commodity information on an order submission page.
In a specific application scenario, the carbon reduction capacity display module 23 is further configured to display a carbon account page, and display a carbon reduction capacity of at least one order in the carbon account page, where a status of the order in the carbon account page is a completed status.
It should be noted that other corresponding descriptions of the functional units related to the order processing apparatus provided in this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 4, and are not repeated herein.
Further, as a specific implementation of the method shown in fig. 1 to fig. 4, the present embodiment provides an order processing apparatus, as shown in fig. 6, the apparatus includes: a small dish label storage module 31 and a carbon emission reduction calculation module 32.
The small dish label storage module 31 is used for receiving dish information sent by a merchant terminal, responding to the dish information meeting a preset small dish marking condition, and storing the dish information and a small dish label corresponding to the dish information;
the carbon emission reduction calculation module 32 may be configured to receive an order settlement request sent by a client, set a small dish label in response to dish information in the order settlement request, calculate a carbon emission reduction amount of a current order according to the dish information in the order settlement request, and send the carbon emission reduction amount to the client.
In a specific application scenario, the small dish label storage module 31 is specifically configured to: judging whether the dish information meets a preset dish marking condition or not according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information; if the dish information meets the dish marking condition, setting dish labels for the dish information, and storing the dish information and the dish labels corresponding to the dish information; and/or responding to that preset small dish labels are contained in the dish information, extracting the small dish labels from the dish information, and storing the dish information and the small dish labels corresponding to the dish information.
In a specific application scenario, the petty dish label storage module 31 is specifically configured to: judging whether the name of the dish and/or the category of the dish contain preset key words of the small dish or not; if the dish name and/or the dish category contain the sub-dish keyword, identifying the whole dish name which is in the same business as the dish information and has similarity with the dish name exceeding a preset threshold value, and acquiring the whole dish price corresponding to the whole dish name; judging whether the price of the dish is lower than a preset proportional value of the price of the whole dish or not; and if the price of the dish is lower than the preset proportional value of the price of the whole dish, judging that the dish information meets the preset small dish marking condition.
In a specific application scenario, the petty dish label storage module 31 is further specifically configured to: judging whether the dish specifications comprise a first specification and a second specification, wherein the amount of the first specification is smaller than that of the second specification; if the dish specifications comprise a first specification and a second specification, judging whether the dish price corresponding to the first specification is lower than a preset proportional value of the dish price corresponding to the second specification; and if the dish price corresponding to the first specification is lower than the preset proportional value of the dish price corresponding to the second specification, judging that the first specification of the dish information meets the preset small dish marking condition.
In a specific application scenario, the petty dish label storage module 31 is further specifically configured to: if the dish information comprises a dish specification and the dish information meets the dish marking condition, setting a dish label for the dish information; and if the dish information comprises various dish specifications and at least one dish specification in the dish information meets the small dish marking condition, setting a small dish label for the dish specification meeting the small dish marking condition in the dish information.
In a specific application scenario, the carbon emission reduction calculation module 32 is specifically configured to: aiming at dish information with a small dish label in a current order, calculating the production carbon emission and disposal carbon emission of the food material for reducing the waste amount according to the dish food material and the dish specification in the dish information; according to the production carbon emission and disposal carbon emission of the food material waste reduction amount, obtaining the carbon emission reduction amount of the current order; according to the preset carbon emission of the lunch boxes, the carbon emission of distribution and the carbon emission of order printing, the carbon emission of the current order is obtained; and obtaining the carbon emission reduction amount of the current order according to the difference value between the carbon emission reduction amount and the carbon emission amount.
In a specific application scenario, the carbon emission reduction calculation module 32 is further configured to: judging whether the current order contains tableware information or not; and if the current order does not contain the tableware information, acquiring the carbon reduction volume corresponding to the tableware information, and adding the carbon reduction volume corresponding to the tableware information into the carbon reduction volume of the current order.
In a specific application scenario, the apparatus further includes: the equity information exchange module 33 is used for acquiring equity information corresponding to the carbon emission reduction amount according to the carbon emission reduction amount and sending the equity information corresponding to the carbon emission reduction amount to the client; and/or responding to the exchange request of the carbon emission reduction amount, acquiring the interest information corresponding to the carbon emission reduction amount, and sending the interest information corresponding to the carbon emission reduction amount to the client.
It should be noted that other corresponding descriptions of the functional units related to the order processing apparatus provided in this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 4, and are not repeated herein.
Based on the method shown in fig. 1 to 4, correspondingly, the present embodiment further provides a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the order processing method shown in fig. 1 to 4.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, and the software product to be identified may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, or the like), and include several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the implementation scenarios of the present application.
Based on the method shown in fig. 1 to 4 and the embodiment of the order processing apparatus shown in fig. 5 and 6, in order to achieve the above object, this embodiment further provides an order processing computer device, which may specifically be a personal computer, a server, a smart phone, a tablet computer, a smart watch, or other network devices, and the computer device includes a storage medium and a processor; a storage medium for storing a computer program and an operating system; a processor for executing a computer program to implement the above-described method as shown in fig. 1 to 4.
Optionally, the computer device may further include an internal memory, a communication interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, a Display (Display), an input device such as a Keyboard (Keyboard), and the like, and optionally, the communication interface may further include a USB interface, a card reader interface, and the like. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
It will be appreciated by those skilled in the art that the configuration of a computer device for recognition of an operational action provided in the present embodiments does not constitute a limitation of the computer device, and may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium can also comprise an operating system and a network communication module. The operating system is a program that manages the hardware of the above-described computer device and the software resources to be identified, and supports the execution of the information processing program and other software and/or programs to be identified. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the information processing computer equipment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. According to the technical scheme, the server receives the dish information sent by the merchant, responds to the fact that the dish information meets the preset small dish marking condition, stores the dish information and small dish labels corresponding to the dish information, displays the dish information with the small dish labels by the client, calculates the carbon emission reduction amount of the current order according to the dish information in the order settlement request when the user raises the settlement request for the dish information with the small dish labels, sends the carbon emission reduction amount of the current order to the client, and displays the carbon emission reduction amount of the current order by the client. Compared with the prior art, the method can strengthen the attention of the user to the small dishes, thereby effectively enhancing the prompting effect of the quantity of the catering products.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art can understand that the modules in the device in the implementation scenario may be distributed in the device in the implementation scenario according to the implementation scenario description, and may also be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into multiple sub-modules.
The above application serial number is merely for description and does not represent the superiority and inferiority of the implementation scenario. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. An order processing method, characterized in that the method comprises:
the method comprises the steps that a server receives dish information sent by a merchant terminal, responds to the dish information meeting a preset dish marking condition, and stores the dish information and dish labels corresponding to the dish information;
the client receives the dish information sent by the server, displays the dish information, responds to an order settlement request, and sends the order settlement request to the server, wherein the order settlement request carries at least one piece of dish information;
the server receives the order settlement request, responds to dish information in the order settlement request and sets a small dish label, calculates the carbon emission reduction amount of the current order according to the dish information in the order settlement request, and sends the carbon emission reduction amount to the client;
and the client receives the carbon emission reduction amount and displays the carbon emission reduction amount.
2. The method of claim 1, wherein before the server receives the dish information sent by the merchant terminal, the method further comprises:
the method comprises the steps that the merchant terminal responds to a dish editing request and displays a dish editing page, wherein at least one dish editing option is displayed on the dish editing page;
the merchant responds to an editing request of any one of the dish editing options, and displays an editing page of the dish editing option, wherein the dish editing option comprises at least one of a dish name, a dish type, a dish specification and a dish price, and the dish specification is one or more;
and the merchant receives the dish editing information through the editing page of the dish editing option, generates dish information according to the dish editing information, and sends the dish information to the server.
3. The method of claim 1, wherein the server stores the dish information and a small dish label corresponding to the dish information in response to the dish information meeting a preset small dish marking condition, and comprises:
the server judges whether the dish information meets preset dish marking conditions or not according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information; if the dish information meets the dish marking condition, setting a dish label for the dish information, and storing the dish information and the dish label corresponding to the dish information; and/or
And the server responds to that the dish information contains preset small dish labels, extracts the small dish labels from the dish information, and stores the dish information and the small dish labels corresponding to the dish information.
4. The method of claim 3, wherein the step of judging whether the dish information meets the preset small dish marking condition according to at least one of the dish name, the dish type, the dish specification and the dish price in the dish information by the server comprises the following steps:
the server judges whether the dish name and/or the dish category contain preset sub-dish keywords or not;
if the dish name and/or the dish category contain the sub-dish keyword, the server identifies the whole dish name which is in the same business as the dish information and has similarity with the dish name exceeding a preset threshold value, and obtains the whole dish price corresponding to the whole dish name;
the server judges whether the price of the dish is lower than a preset proportional value of the price of the whole dish or not;
and if the price of the dish is lower than the preset proportional value of the price of the whole dish, the server judges that the dish information meets the preset small dish marking condition.
5. An order processing method, characterized in that the method comprises:
responding to an information viewing request, and displaying a plurality of pieces of dish information, wherein at least one piece of dish information in the plurality of pieces of dish information is provided with a small dish label;
responding to an order settlement request, and sending the order settlement request to a server, wherein the order settlement request carries at least one dish information;
and responding to the dish information in the order settlement request, setting a small dish label, and displaying the carbon reduction amount of the current order, wherein the carbon reduction amount is obtained by calculation according to the dish information in the order settlement request.
6. An order processing method, characterized in that the method comprises:
receiving dish information sent by a merchant terminal, responding to that the dish information accords with preset dish marking conditions, and storing the dish information and dish labels corresponding to the dish information;
receiving an order settlement request sent by a client, setting a small dish label in response to dish information in the order settlement request, calculating the carbon emission reduction amount of a current order according to the dish information in the order settlement request, and sending the carbon emission reduction amount to the client.
7. An order processing apparatus, characterized in that the apparatus comprises:
the dish information display module is used for responding to an information viewing request and displaying a plurality of pieces of dish information, wherein at least one piece of dish information in the plurality of pieces of dish information is provided with a small dish label;
the settlement request responding module is used for responding to an order settlement request and sending the order settlement request to a server, wherein the order settlement request carries at least one piece of dish information;
and the carbon emission reduction display module is used for responding to the dish information in the order settlement request, setting a small dish label and displaying the carbon emission reduction of the current order, wherein the carbon emission reduction is calculated according to the dish information in the order settlement request.
8. An order processing apparatus, characterized in that the apparatus comprises:
the petty dish label storage module is used for receiving dish information sent by a merchant terminal, responding to the dish information meeting a preset petty dish marking condition, and storing the dish information and a petty dish label corresponding to the dish information;
and the carbon emission reduction calculation module is used for receiving an order settlement request sent by a client, responding to the dish information in the order settlement request and setting a small dish label, calculating the carbon emission reduction of the current order according to the dish information in the order settlement request, and sending the carbon emission reduction to the client.
9. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by the processor.
CN202211072403.8A 2022-09-02 2022-09-02 Order processing method and device, storage medium and computer equipment Pending CN115271539A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211072403.8A CN115271539A (en) 2022-09-02 2022-09-02 Order processing method and device, storage medium and computer equipment
PCT/CN2022/133156 WO2024045359A1 (en) 2022-09-02 2022-11-21 Order processing method and apparatus, storage medium, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211072403.8A CN115271539A (en) 2022-09-02 2022-09-02 Order processing method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN115271539A true CN115271539A (en) 2022-11-01

Family

ID=83754821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211072403.8A Pending CN115271539A (en) 2022-09-02 2022-09-02 Order processing method and device, storage medium and computer equipment

Country Status (2)

Country Link
CN (1) CN115271539A (en)
WO (1) WO2024045359A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024045359A1 (en) * 2022-09-02 2024-03-07 浙江口碑网络技术有限公司 Order processing method and apparatus, storage medium, and computer device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157043A (en) * 2008-12-26 2010-07-15 Masatoshi Ogata Order support system and order processing method of the same
CN112116424A (en) * 2020-09-16 2020-12-22 张文 Personalized takeout order generation method, device and system capable of saving food
CN112581090A (en) * 2020-12-21 2021-03-30 武汉工程大学 Takeaway supervision system and supervision method
CN114662917A (en) * 2022-03-23 2022-06-24 绿普惠碳中和科技(苏州)有限公司 Personal green low-carbon behavior greenhouse gas emission reduction calculation method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110129740A (en) * 2010-05-26 2011-12-02 주식회사 쏘올 Odering system using electronic menu and the method thereof
TWI684908B (en) * 2018-12-05 2020-02-11 國立勤益科技大學 Multi-language intelligent multi-functional menu system
CN115271539A (en) * 2022-09-02 2022-11-01 浙江口碑网络技术有限公司 Order processing method and device, storage medium and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157043A (en) * 2008-12-26 2010-07-15 Masatoshi Ogata Order support system and order processing method of the same
CN112116424A (en) * 2020-09-16 2020-12-22 张文 Personalized takeout order generation method, device and system capable of saving food
CN112581090A (en) * 2020-12-21 2021-03-30 武汉工程大学 Takeaway supervision system and supervision method
CN114662917A (en) * 2022-03-23 2022-06-24 绿普惠碳中和科技(苏州)有限公司 Personal green low-carbon behavior greenhouse gas emission reduction calculation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024045359A1 (en) * 2022-09-02 2024-03-07 浙江口碑网络技术有限公司 Order processing method and apparatus, storage medium, and computer device

Also Published As

Publication number Publication date
WO2024045359A1 (en) 2024-03-07

Similar Documents

Publication Publication Date Title
CN112837118B (en) Commodity recommendation method and device for enterprise users
CN104077693B (en) Commodity control methods, server, client and e-commerce system
US20090299822A1 (en) System and method for optimized shopping transactions
US20170249605A1 (en) Electronic receipt system, electronic receipt management server, and program therefor
CN111654714B (en) Information processing method, apparatus, electronic device and storage medium
JP2018077615A (en) Advertising image generation device, advertising image generation method and program for advertising image generation device
CN113867881B (en) Application home page dynamic display method, device, equipment and medium
US20150348210A1 (en) System and method for generating alternative electronic receipt displays on a computing device
CN108763378A (en) Information displaying method and information display system
US10606832B2 (en) Search system, search method, and program
US20150073840A1 (en) Information processing device, program and electronic receipt system
CN115271539A (en) Order processing method and device, storage medium and computer equipment
CN110874775A (en) Commodity pushing method and device, equipment and storage medium
JP2015210607A (en) Asset management server, asset management method, and program for asset management server
EP2704083A1 (en) Method of minimising advertising space
CN107977876B (en) Method and device for processing order information
US20140249971A1 (en) Electronic receipt management server, information processing device, and information processing method
JP2005031972A (en) Commodity information tabulation device, program, and commodity information tabulation system
TW201533670A (en) Merchandise/service sales and distribution method and computer readable storage medium having the same
CN110163632A (en) Withdrawing method and its system, user terminal
US20190318386A1 (en) Information processing method, program, information processing system, and information processing apparatus
CN112132391A (en) Commodity evaluation acquisition method and device, server and storage medium
CN114219589B (en) Virtual entity object generation and page display method and device and electronic equipment
JPWO2020129527A1 (en) Receipt processing device, control method, and program
KR102322453B1 (en) Method, apparatus and computer readable recording medium for product marketing related webtoon contents

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40076557

Country of ref document: HK