Food delivery ordering method, device and medium

CN122989236APending Publication Date: 2026-10-27UC MOBILE CHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610916746.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-23
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]相关技术中,传统的外卖下单方式主要采用图形用户界面交互模式,用户需要依次执行打开应用、浏览店铺、筛选商品、填写地址等一系列手动操作,决策成本和操作成本较高

Benefits of technology

[0014]本公开实施例的一个有益效果在于,通过本公开的实施例,其可以基于用户输入的第一指令确定对应的外卖下单意图,并根据该外卖下单意图确定下单要素,再基于确定的下单要素生成外卖订单。该方式可通过指令触发完整的外卖下单流程,用户无需手动操作图形用户界面即可完成下单,显著提升了外卖下单场景中的操作便捷性与交互智能化程度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122989236A_ABST
    Figure CN122989236A_ABST
Patent Text Reader

Abstract

The present disclosure provides an online ordering method, device and medium, the method comprising: determining an online ordering intention in response to a first instruction input by a user; determining an ordering element according to the online ordering intention; and generating an online order according to the ordering element.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of human-computer interaction technology, and more specifically, to a method, device and medium for placing food delivery orders. Background Technology

[0002] With the rapid development of artificial intelligence technology, human-computer interaction technology has been widely applied in various fields such as daily life and business services. As a high-frequency and essential life service scenario, the efficiency of food delivery services directly affects users' quality of life.

[0003] In related technologies, traditional food delivery ordering methods mainly adopt a graphical user interface interaction mode, which requires users to perform a series of manual operations such as opening the application, browsing stores, filtering products, and filling in the address, resulting in high decision-making and operational costs. Summary of the Invention

[0004] One objective of this disclosure is to provide a new technical solution for food delivery ordering.

[0005] According to a first aspect of this disclosure, a method for placing a food delivery order is provided, including: Responding to the user's first input command, determine the intention to place a food delivery order; Identify the intent to place a food delivery order and determine the order elements; A takeout order is generated based on the order elements described.

[0006] Optionally, determining the order elements based on the takeout order intention includes: If the takeout order intention is of the first intention type, the order elements are determined based on the takeout order intention; When the intent to place a takeout order is of the second intent type, the order elements are determined through at least one round of instruction dialogue. The instruction dialogue includes outputting a requirement clarification instruction to the user and obtaining a response instruction input by the user in response to the requirement clarification instruction.

[0007] Optionally, the order elements include a delivery address, and the method further includes: Obtain the user's current location information; Match the current location information with the existing address list; If a match is successful, the existing address that was matched will be designated as the delivery address. If a match fails, an address entry guide will be output so that the user can input the delivery address based on the guide. Optionally, generating a takeout order based on the order elements includes: Generate and output takeout order confirmation information based on the aforementioned order elements; In response to the second instruction entered by the user regarding the food delivery order confirmation information, a food delivery order is generated.

[0008] Optionally, determining the order elements based on the takeout order intention includes: Obtain the user's historical preference information; wherein, the historical preference information includes historical food delivery order information and / or historical conversation information; The order elements are determined based on the historical preference information and the intention to place the food delivery order.

[0009] Optionally, generating a takeout order in response to a second instruction input by the user regarding the takeout order confirmation information includes: In response to the second instruction entered by the user regarding the food delivery order confirmation information, the user's payment verification information is obtained; If the payment verification information passes, a takeout order is generated based on the order elements and payment completion information.

[0010] Optionally, the method further includes: If the payment calibration information fails, the payment interface will be displayed. In response to the user's payment operation based on the payment interface, a takeaway order is generated after the payment is completed, based on the order elements and payment completion information.

[0011] Optionally, the method further includes: In response to the third instruction input by the user regarding the food delivery order confirmation information, determine the modification intent carried in the third instruction; The order elements are updated according to the modification intent carried in the third instruction, and the takeaway order confirmation information is regenerated based on the updated order elements.

[0012] According to a second aspect of this disclosure, an electronic device is provided, including a memory and a processor, the memory being configured to store a computer program, and the processor being configured to execute the method described according to the first aspect of this disclosure under the control of the computer program.

[0013] According to a third aspect of this disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, the computer program implementing the method according to the first aspect above when executed by a processor.

[0014] One beneficial effect of this disclosure is that, through the embodiments of this disclosure, the corresponding food delivery ordering intention can be determined based on the user's input of a first instruction, and the ordering elements can be determined according to the ordering intention, and then a food delivery order can be generated based on the determined ordering elements. This method can trigger the complete food delivery ordering process through instructions, and users can complete the order without manually operating the graphical user interface, significantly improving the convenience of operation and the level of intelligent interaction in the food delivery ordering scenario.

[0015] The features and advantages of the embodiments of this specification will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of this specification and, together with their description, serve to explain the principles of these embodiments.

[0017] Figure 1 A schematic diagram of the hardware structure of an electronic device according to some embodiments of a food delivery ordering method is shown; Figure 2 This diagram illustrates an application scenario of a food delivery ordering method according to some embodiments. Figure 3 A flowchart illustrating a method for placing a food delivery order according to some embodiments is shown; Figure 4 A flowchart illustrating a method for placing a food delivery order according to some embodiments is shown; Figure 5 A flowchart illustrating a method for placing a food delivery order according to some embodiments is shown; Figure 6 A block diagram of an electronic device according to some embodiments is shown. Detailed Implementation

[0018] Various exemplary embodiments of this specification will now be described in detail with reference to the accompanying drawings.

[0019] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the embodiments of this specification or their application or use.

[0020] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0021] It should be noted that all actions involving the acquisition of signals, information, or data in this embodiment are carried out in compliance with the relevant data protection laws and regulations of the country where the location is situated, and with authorization from the owner of the relevant equipment.

[0022] Figure 1 A schematic diagram of the hardware structure of an electronic device according to some embodiments of a food delivery ordering method is shown. Figure 1 As shown, electronic device 1000 is a device capable of running computer programs. These programs can be local applications installed on the electronic device, web applications, lightweight applications, or mini-programs, etc., and are not limited thereto. Electronic device 1000 can be a mobile phone, tablet computer, PC, etc., and is not limited thereto.

[0023] like Figure 1 As shown, the electronic device 1000 may include a processor 1101, a memory 1102, an interface device 1103, a communication device 1104, an output device 1105, an input device 1106, etc. Figure 1 The hardware configuration shown is illustrative only and is not intended to limit this disclosure, its application, or its use.

[0024] The processor 1101 executes computer programs, which can be written using instruction sets of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1102 includes, for example, ROM (Read-Only Memory), RAM (Random Access Memory), and non-volatile memory such as a hard disk. The interface device 1103 includes, for example, a USB interface, a network cable interface, and a headphone jack. The communication device 1104 is capable of wired or wireless communication. The communication device 1104 may include at least one short-range communication module, such as any module for short-range wireless communication based on short-range wireless communication protocols such as Hilink, WiFi (IEEE 802.11), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, and LiFi. The communication device 1104 may also include a long-range communication module, such as any module for WLAN, GPRS, or 2G / 3G / 4G / 5G long-range communication. The output device 1105 may include, for example, an LCD screen or touch screen, and a speaker. Input device 1106 may include, for example, a touch screen, a keyboard, a microphone, various sensors, etc.

[0025] In this embodiment, the memory 1102 of the electronic device 1000 is used to store a computer program that controls the processor 1101 to perform an order-taking method according to any embodiment of the present disclosure.

[0026] <First Embodiment> Figure 2 The diagram illustrates a flowchart of a food delivery ordering method according to some embodiments. This method is implemented by an electronic device, such as... Figure 1Electronic device 1000. The food delivery ordering method may include the following steps S210~S230: Step S210: In response to the first instruction input by the user, determine the intention to place a food delivery order.

[0027] The first instruction can be either a first voice instruction or a first text instruction. This embodiment does not limit this, and the following description will use a voice instruction as an example.

[0028] In some embodiments, a user inputs a first voice command to an electronic device. After receiving the first voice command, the electronic device performs voice recognition and intent analysis to determine the intent to place a food delivery order and the intent category of that order. The intent categories include explicit intent, vague intent, partially explicit intent, store-based intent, constrained intent, and batch intent. Here, explicit intent can be considered the first intent type, and vague intent, partially explicit intent, store-based intent, constrained intent, and batch intent can be considered the second intent types.

[0029] The aforementioned explicit intent refers to an intent type where the user has at least clearly identified specific store and product information. For example, if a user inputs a first voice command, "Order me a glass of orange juice from store x," this first voice command already contains store information (store x) and product information (orange juice), and the electronic device categorizes it as an explicit intent.

[0030] The aforementioned vague intent refers to a user's expression of a need to order takeout but without specifying the exact category, store, or product. For example, when a user inputs the first voice command, "Order me takeout," the electronic device categorizes it as a vague intent.

[0031] The aforementioned partially explicit intent refers to a user's intent to specify a product category but not a particular store or product. For example, if a user inputs the first voice command "I want to order breakfast," the electronic device categorizes it as a partially explicit intent.

[0032] The aforementioned "store-based intent" refers to an intent type where the user explicitly specifies a store or brand but not a specific product. For example, if a user inputs the first voice command, "Give me something from store X," the electronic device categorizes it as a store-based intent.

[0033] The aforementioned constrained intent refers to an intent type where the user has specified the product category and has imposed constraints. For example, when a user inputs the first voice command, "Order me a milk tea that isn't too sweet," the electronic device categorizes it as a constrained intent.

[0034] The aforementioned bulk intent refers to the category of intent where a user needs to order more than one item. For example, if a user enters the first voice command, "Order 5 drinks for the office: two iced Americanos, one matcha latte, one regular sugar, and one half sugar," the electronic device will classify it as a bulk intent.

[0035] In this embodiment, by actively identifying the intention to place a food delivery order in the first instruction and determining the intention category of that intention, the electronic device can accurately capture the ordering needs from the user's first instruction and provide a basis for adopting corresponding processing methods according to different intention categories.

[0036] Step S220: Determine the order elements based on the intention to place a takeout order.

[0037] The order placement elements should include at least store information, product information, and delivery address.

[0038] The above store information indicates the store the user wishes to order from, and may include at least one of the following: store name, store location, and store rating. The above product information indicates the product the user wishes to purchase, and may include at least one of the following: product name, product specifications, and product quantity. The above delivery address indicates the destination of the food delivery.

[0039] In some embodiments, when the food delivery order intent is of the first intent type, the electronic device can directly determine the order elements based on the food delivery order intent.

[0040] In this embodiment, when the intent type of the food delivery order is an explicit intent, meaning the food delivery order intent includes at least the store information and product information from the order elements, the electronic device can directly determine the store information and product information from the order elements based on the food delivery order intent. That is, when the food delivery order intent is an explicit intent, and the user has already specified the specific store information and product information, the electronic device does not need to perform any additional interaction and can directly extract the store information and product information from the food delivery order intent.

[0041] In some embodiments, when the intent to place a food delivery order is of the second intent type, the electronic device can determine the store information and product information in the order elements through at least one round of instruction dialogue.

[0042] The voice dialogue includes outputting clarification instructions to the user and obtaining the user's response instructions in response to the clarification instructions.

[0043] In some embodiments, after determining the intention to place a food delivery order, if the electronic device detects that the order intention does not include store information and / or product information, it proactively outputs a request clarification voice to the user to guide the user in clarifying their ordering needs, and obtains the user's response voice input to the request clarification voice, and determines the store information and product information in the order elements based on the response voice. At least one round of voice dialogue can be one round or multiple rounds.

[0044] Specifically, after determining the intention to place a food delivery order, if the electronic device detects that the currently acquired information is insufficient to directly generate the order elements, it will proactively output a request clarification voice to the user to guide the user to clarify their ordering needs, and obtain the user's response voice input to the request clarification voice, and determine the order elements based on the response voice.

[0045] In these embodiments, the electronic device can determine the delivery address through location matching. Specifically, the electronic device obtains the user's current location information and matches it with an existing address list. If a match is successful, the matched address is designated as the delivery address. If a match fails, the electronic device outputs address input guidance information, and the user inputs the delivery address based on this guidance, for example, by speaking the address aloud or manually entering the address on an address input card.

[0046] For example, the first voice command received by the electronic device is "Order me some takeout," which is a vague intent. The electronic device combines implicit input such as the current time (10:00 AM on a weekend) and user location information to identify missing information including delivery address, contact information, user status (breakfast / coffee / lunch), payment information, food items, and store name.

[0047] The electronic device generates the first round of request clarification voice: "Good morning, would you like to order breakfast, coffee, or lunch in advance?" The electronic device obtains the user's reply voice input in response to the request clarification voice: "I would like to order breakfast."

[0048] Based on the user's response voice, the electronic device determines that the user's current need is for breakfast and generates a second round of clarification voice: "Want some steamed buns? Or maybe a soy milk and fried dough stick combo? Also, there's a really popular pancake shop nearby; lots of people order takeout from them in the mornings. Want to try it?" The electronic device then receives the user's response voice: "Steamed buns, please."

[0049] The electronic device, based on the voice reply, determined that the product information in the order details was steamed buns, but the specific store was not yet specified. Therefore, it made a combination recommendation of store and product, generating a third round of request clarification voice: "There are Hangzhou Xiaolongbao shops nearby with good ratings, as well as Qingfeng Steamed Bun Shop and Babi Steamed Bun Shop. I recommend you try Qingfeng Steamed Bun Shop's Three Delicacies Steamed Buns, paired with a bowl of fried liver, and that makes a good breakfast." The electronic device then obtained the user's input voice reply: "I don't like fried liver, change it to porridge."

[0050] The electronic device updates the product information in the order details based on the reply voice and generates a fourth confirmation voice: "Okay, how about a basket of three-delicacy buns and a bowl of millet porridge?" The electronic device obtains the user's input reply voice: "Okay".

[0051] At this point, through multiple rounds of interaction between request clarification voice and user response voice, the electronic device confirmed the store information (Qingfeng Steamed Bun Shop) and product information (one basket of three-delicacy steamed buns and one bowl of millet porridge) in the order elements. Subsequently, the electronic device continued to confirm the delivery address in the order elements. The electronic device generated an address inquiry voice: "Delivery requires your contact information and address. For contact information, I'll leave your registered phone number, is that okay? Please provide the address." The electronic device then obtained the user's input response voice: "Building 9, Room 902, xx Community."

[0052] The electronic device determined "Building 9, Room 902, xx Community" as the delivery address based on the voice reply. At this point, the electronic device confirmed the store information (Qingfeng Steamed Bun Shop), product information (one basket of three-delicacy steamed buns and one bowl of millet porridge) and delivery address (Building 9, Room 902, xx Community) in the order information through voice dialogue.

[0053] Step S230: Generate a takeout order based on the order details.

[0054] In this embodiment, after determining the order elements, the electronic device can generate a takeout order based on the order elements.

[0055] In some embodiments, step S230, generating a takeout order based on the order elements, may further include: generating takeout order confirmation information based on the order elements and outputting the takeout order confirmation information to the user; generating a takeout order in response to a second instruction input by the user regarding the takeout order confirmation information.

[0056] The aforementioned food delivery order confirmation information is used to display the details of the order to be placed to the user, allowing the user to make a final confirmation before placing the order. The food delivery order confirmation information may include at least one of the following: store information, product information, delivery address, product price, delivery fee, and estimated delivery time.

[0057] The aforementioned second instruction is used to instruct the user to confirm the order information for food delivery. This second instruction can be a second voice instruction or a second text instruction.

[0058] For example, the second voice command can be a voice command that expresses a positive meaning, such as "okay", "can", or "confirm order".

[0059] For example, following the example in step S220, after determining the store information (Qingfeng Steamed Bun Shop), product information (one basket of three-delicacy steamed buns and one bowl of millet porridge), and delivery address (Building 9, Room 902, xx Community), the electronic device generates takeout order confirmation information. The electronic device can output the takeout order confirmation information via voice broadcast to provide final confirmation to the user: "Okay, here's your order: one basket of three-delicacy steamed buns and one bowl of millet porridge from Qingfeng Steamed Bun Shop, delivered to Building 9, Room 902, xx Community, for a total of 35 yuan. Do you confirm?"

[0060] Of course, electronic devices can also display the order confirmation information to users in the form of a graphical user interface card while broadcasting the order confirmation information via voice. The card can contain complete order information such as product details, price information, delivery address, and estimated delivery time, so that users can visually confirm the order on the screen when needed.

[0061] In this embodiment, the above-mentioned response to the user's voice command for confirming the food delivery order can further include the following steps S231 to S233: Step S231: In response to the second instruction entered by the user for the food delivery order confirmation information, obtain the user's payment verification information.

[0062] The aforementioned payment verification information is used to verify the user's payment identity and payment authorization, ensuring the security of the payment operation. Payment verification information may include at least one of the following: voiceprint verification information, fingerprint verification information, facial recognition verification information, and password verification information. For example, the payment verification information may be voiceprint payment verification information, allowing the user to complete identity verification via voice without manual operation.

[0063] For example, the electronic device outputs a voice message: "Okay, here's your order: one basket of three-delicacy steamed buns and one bowl of millet porridge from Qingfeng Steamed Bun Shop, delivered to apartment 902, building 9, xx community, for a total of 35 yuan. Do you confirm?" The user then inputs a second voice command: "Okay, confirm." This uses voice to collect the user's voice characteristics for identity verification.

[0064] Step S232: If the payment verification information passes, generate a takeout order based on the order elements and payment completion information.

[0065] In step S232, when the electronic device confirms that the payment verification information has passed, that is, the user's payment identity verification is successful, the electronic device generates a takeaway order based on the order elements (including store information, product information and delivery address) and payment completion information, and submits it to the order system.

[0066] The aforementioned payment completion information is used to indicate that the payment operation has been successfully completed, and may include at least one of the following: payment method, payment amount, payment time, etc.

[0067] For example, after obtaining the user's voiceprint payment verification information, the electronic device verifies the voiceprint information. If the verification is successful, it generates a takeout order based on the order elements (store information: Qingfeng Steamed Bun Shop; product information: one basket of three-delicacy steamed buns and one bowl of millet porridge; delivery address: Room 902, Building 9, xx Community) and payment completion information (payment method: voiceprint payment; payment amount: 35 yuan), and submits it to the order system to complete the order.

[0068] Step S233: If the payment verification information fails, display the payment interface, respond to the payment operation entered by the user on the payment interface, and generate a takeaway order based on the order elements and payment completion information after the payment is completed.

[0069] In step S233, when the electronic device determines that the payment verification information has failed, i.e. the user's payment identity verification has failed, the electronic device displays the payment interface so that the user can make the payment manually. After the payment is completed, a takeaway order is generated based on the order elements and payment completion information.

[0070] The payment interface described above is used to display payment entry points and payment method options to users, who can then select their payment method on the payment interface.

[0071] For example, after obtaining the user's voiceprint payment verification information, the electronic device verifies the voiceprint information. If the verification fails (e.g., voice characteristics do not match), the electronic device displays the payment interface, where the user selects a payment method and enters a payment password to complete the payment. After payment, the electronic device generates a food delivery order based on the order details and payment completion information and submits it to the food delivery platform.

[0072] Through the embodiments of this disclosure, the corresponding food delivery ordering intention can be determined based on the first instruction input by the user, and the ordering elements can be determined according to the ordering intention. Then, a food delivery order can be generated based on the determined ordering elements. This method can trigger the complete food delivery ordering process through instructions, and users can complete the order without manually operating the graphical user interface, which significantly improves the convenience of operation and the level of intelligent interaction in the food delivery ordering scenario.

[0073] <Second Embodiment> Figure 3 The diagram illustrates a flowchart of a food delivery ordering method according to some embodiments. This method is implemented by an electronic device, such as... Figure 1 Electronic device 1000. The food delivery ordering method may include the following steps S310~S340: Step S310: In response to the first instruction input by the user, determine the intention to place a food delivery order.

[0074] Step S320: Obtain the user's historical preference information, and determine the order elements based on the historical preference information and the user's intention to place a takeout order.

[0075] Historical preference information includes historical food delivery order information and / or historical conversation information.

[0076] The aforementioned historical food delivery order information may include at least one of the following: the user's historical order records on the food delivery platform, such as the historical store, the historical product, the historical order time, the historical delivery address, and the historical transaction amount. The aforementioned historical conversation information may include the user's historical conversation content in the voice interaction system, such as dietary preferences, dietary restrictions, and frequently ordered items mentioned by the user during voice interaction with electronic devices.

[0077] For example, the first voice command received by the electronic device is "Order me some takeout," which does not specify any particular store or product information. Based on this takeout order intention, the electronic device obtains the user's historical preference information. This historical preference information indicates that the user frequently orders two cups of coffee around 10:00 AM on weekends, mostly from store A.

[0078] Based on the user's order intention and historical preference information, the electronic device determines the user's preferred store (Store A) and preferred product (coffee). However, it still needs to confirm whether the user is ordering according to historical preferences, so it generates a first-round preference confirmation voice message: "Good morning, would you like a coffee?" The electronic device then obtains the user's response to this preference confirmation voice message: "Yes, order me two iced Americanos."

[0079] The electronic device, based on the voice reply, determines that the order details include two iced Americanos, but the specific store is not yet specified. Therefore, it generates a second voice clarification: "Is store A okay?". The electronic device then receives the user's voice reply: "Are there any others?". Based on this reply, the electronic device determines that the user wants to learn about other store options and generates a third voice recommendation: "Nearby branded coffee shops include stores B, C, and D. Do you like any of them?". Finally, the electronic device receives the user's voice reply: "How much is store D?".

[0080] Based on the voice reply and its understanding of the product information (knowing the category and corresponding price of Americano), the electronic device generates a fourth voice reply regarding the price: "Two regular Americanos, 40." The electronic device then receives the user's input voice reply: "Then two regular Americanos, please."

[0081] The electronic device determines the store information (Store D) and product information (two regular iced Americanos) in the order elements based on the reply voice, and generates the fifth confirmation voice: "Okay, please confirm payment."

[0082] For example, the first voice command received by the electronic device is "Order me a coffee," which specifies the product category (coffee) but not the specific store. Based on this order intention, the electronic device obtains the user's historical preference information. This historical preference information indicates that the user frequently orders the double iced latte combo from store D at the current address and time.

[0083] Based on the user's order intention and historical preference information, the electronic device determines the user's preferred store (Store D) and preferred product (double iced latte combo), generating a first-round preference confirmation voice message: "Would the double iced latte combo from Store D still be okay?". The electronic device then receives the user's response to this preference confirmation voice message: "Okay, okay." Based on this response voice message and the historical preference information, the electronic device determines the store information (Store D) and product information (double iced latte combo) in the order details.

[0084] Thus, the electronic device determines the store information and product information in the order elements through multi-round voice dialogue combined with the user's historical preference information. Compared with the scenario without preference information (such as the first embodiment), the electronic device can more quickly locate the category that the user may prefer through historical preference information, thereby reducing a large number of category clarification rounds.

[0085] Step S330: Generate and output takeaway order confirmation information based on the order elements.

[0086] Continuing with the first example above, after the electronic device generates the takeout order confirmation information based on the order elements (store information: store D; product information: two regular iced Americanos; delivery address: can be determined based on the user's historical preference information), it outputs "two regular iced Americanos, total 40 yuan, please confirm payment" to the user via voice broadcast. The user confirms and completes the order through a second voice command.

[0087] Continuing with the second example above, after the electronic device generates the takeout order confirmation information based on the order elements (store information: store D; product information: double iced latte combo; delivery address: can be determined based on the user's historical preference information), it outputs to the user via voice broadcast, "Okay, I have placed an order for the double iced latte combo from store D for you, totaling 35 yuan. Please confirm payment." The user confirms and completes the order through a second voice command.

[0088] Step S340: In response to the second instruction entered by the user for the food delivery order confirmation information, a food delivery order is generated.

[0089] Continuing the example above, after the electronic device outputs "Please confirm payment" via voice broadcast, the user enters a second voice command (such as "OK" or "Confirm"). In response to this second voice command, the electronic device obtains the user's voiceprint payment verification information. If the voiceprint payment verification is successful, it generates a food delivery order and submits it to the order system, completing the food delivery order process.

[0090] Through the embodiments of this disclosure, the user's intent to place a food delivery order can be determined based on the user's instructions, and the order elements can be determined by combining historical preference information. Order confirmation information can then be generated and output, and a food delivery order can be generated in response to the user's second instruction. This method utilizes historical preference information to reduce the number of request clarification rounds; when there is a preference, only one round of dialogue is needed to determine the order elements, significantly improving the interaction efficiency and user experience of food delivery ordering.

[0091] <Third Embodiment> Figure 4 The diagram illustrates a flowchart of a food delivery ordering method according to some embodiments. This method is implemented by an electronic device, such as... Figure 1 Electronic device 1000. The food delivery ordering method may include the following steps S410~S450: Step S410: In response to the first instruction input by the user, determine the intention to place a food delivery order.

[0092] Step S420: Determine the order elements based on the takeout order intention.

[0093] Step S430: Generate and output takeaway order confirmation information based on the order elements.

[0094] Step S440: In response to the second instruction entered by the user for the food delivery order confirmation information, a food delivery order is generated.

[0095] Step S450: Output the order status information corresponding to the food delivery order.

[0096] In this embodiment, after generating a food delivery order, the electronic device plays or displays the order status information corresponding to the food delivery order.

[0097] The order status information mentioned above is used to provide users with feedback on the current status of their food delivery orders. It may include at least one of the following: order status (such as "submitted", "pending order", "in delivery", "delivered", etc.), order number, estimated delivery time, order amount, merchant's food preparation progress, and rider's delivery location.

[0098] Through the embodiments of this disclosure, the system can determine the corresponding food delivery ordering intent based on the user's first input instruction, determine the ordering elements according to the ordering intent, generate and output food delivery order confirmation information, generate a food delivery order in response to a second instruction, and play order status information. This method parses the user's intent through a proactive clarification mechanism and proactively announces the order status after the order is generated, realizing a closed-loop voice interaction process from ordering to tracking, truly achieving a hands-free voice food delivery ordering experience.

[0099] <Fourth Embodiment> Figure 5 The diagram illustrates a flowchart of a food delivery ordering method according to some embodiments. This method is implemented by an electronic device, such as... Figure 1 Electronic device 1000. The food delivery ordering method may include the following steps S510~S550: Step S510: In response to the first instruction input by the user, determine the intention to place a food delivery order.

[0100] Step S520: Determine the order elements based on the intention to place a takeout order.

[0101] Step S530: Generate and output takeaway order confirmation information based on the order elements.

[0102] Step S540: In response to the third instruction entered by the user for the food delivery order confirmation information, determine the modification intent carried in the third instruction.

[0103] The third instruction can be either a third voice instruction or a third text instruction.

[0104] Step S550: Update the order elements according to the third instruction, and regenerate the takeaway order confirmation information based on the updated order elements.

[0105] In this embodiment, after the electronic device outputs the takeout order confirmation information, it obtains a third instruction input by the user regarding the takeout order confirmation information, and the third instruction carries the intention to modify.

[0106] Through the embodiments of this disclosure, after generating and outputting takeaway order confirmation information, the electronic device can respond to the user's input of modification intent, flexibly update the order elements and regenerate the confirmation information.

[0107] <Fifth Embodiment> Figure 6 A block diagram of an electronic device according to some embodiments is shown. Figure 6 The basic hardware components of this electronic device are shown. For example... Figure 6 As shown, the electronic device 600 includes a processor 610 and a memory 620. The memory 620 stores a computer program that controls the processor 610 to operate in order to control the electronic device 600 to execute a food delivery ordering method according to any embodiment of the present disclosure.

[0108] This disclosure also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements a takeout ordering method according to any embodiment of this disclosure.

[0109] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0110] This disclosure may be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement any of the methods in the foregoing embodiments of this disclosure.

[0111] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media may include, for example, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), compact disc-read-only memory (CD-ROM), digital versatile disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any combination thereof. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0112] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include one or more of copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to computer-readable storage media in the respective computing / processing device.

[0113] The computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object programs written in any combination of one or more programming languages, including object-oriented programming languages ​​(such as Smalltalk, C++, etc.) and conventional procedural programming languages ​​(such as the "C" language or similar programming languages). The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network (e.g., a local area network or a wide area network), or it may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays, or programmable logic arrays, can execute computer-readable program instructions to implement various aspects of the embodiments of this disclosure by utilizing state information from the computer-readable program instructions.

[0114] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0115] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0116] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It should be noted that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are all equivalent.

[0118] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.

Claims

1. A method for placing a food delivery order, characterized in that, The method includes: Responding to the user's first input command, determine the intention to place a food delivery order; Based on the stated intention to place a takeout order, determine the order elements; A takeout order is generated based on the order elements described.

2. The method according to claim 1, characterized in that, The step of determining the order elements based on the takeout order intention includes: If the takeout order intention is of the first intention type, the order elements are determined based on the takeout order intention; When the intent to place a takeout order is of the second intent type, the order elements are determined through at least one round of instruction dialogue. The instruction dialogue includes outputting a requirement clarification instruction to the user and obtaining a response instruction input by the user in response to the requirement clarification instruction.

3. The method according to claim 1, characterized in that, The order placement elements include a delivery address, and the method further includes: Obtain the user's current location information; Match the current location information with the existing address list; If a match is successful, the existing address that was matched will be designated as the delivery address. If a match fails, an address entry guide will be output so that the user can enter the delivery address based on the address entry guide.

4. The method according to claim 1, characterized in that, The process of generating a takeout order based on the order elements includes: Generate and output takeout order confirmation information based on the aforementioned order elements; In response to the second instruction entered by the user regarding the food delivery order confirmation information, a food delivery order is generated.

5. The method according to claim 1, characterized in that, The step of determining the order elements based on the takeout order intention includes: Obtain the user's historical preference information; wherein, the historical preference information includes historical food delivery order information and / or historical conversation information; The order elements are determined based on the historical preference information and the intention to place the food delivery order.

6. The method according to claim 4, characterized in that, The step of generating a takeout order in response to a second instruction input by the user regarding the takeout order confirmation information includes: In response to the second instruction entered by the user regarding the food delivery order confirmation information, the user's payment verification information is obtained; If the payment verification information passes, a takeout order is generated based on the order elements and payment completion information.

7. The method according to claim 6, characterized in that, The method further includes: If the payment calibration information fails, the payment interface will be displayed. In response to the user's payment operation based on the payment interface, a takeaway order is generated after the payment is completed, based on the order elements and payment completion information.

8. The method according to claim 4, characterized in that, The method further includes: In response to the third instruction input by the user regarding the food delivery order confirmation information, determine the modification intent carried in the third instruction; The order elements are updated according to the modification intent carried in the third instruction, and the takeaway order confirmation information is regenerated based on the updated order elements.

9. An electronic device, wherein, It includes a memory and a processor, the memory being used to store a computer program, and the processor being used, under the control of the computer program, to execute the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, wherein, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the method according to any one of claims 1 to 8.