Meal ordering method, meal ordering device, and electronic device

By displaying an order confirmation card on the ordering interface and responding to user confirmation input, the ordering process is automatically executed, solving the problem of cumbersome ordering operations in existing technologies and improving ordering efficiency and convenience.

CN119311162BActive Publication Date: 2026-03-10VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, when users order food through electronic devices, they need to switch between different applications and manually enter a lot of information, making the process cumbersome and time-consuming.

Method used

By receiving the order request information entered through the ordering interface, and displaying an order confirmation card when the order details are complete, the system automatically processes the order in response to the user's confirmation, simplifying the user experience.

Benefits of technology

It enables rapid execution of electronic ordering, improves ordering efficiency and convenience, and simplifies user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311162B_ABST
    Figure CN119311162B_ABST
Patent Text Reader

Abstract

The application discloses an ordering method, an ordering device and an electronic device, and belongs to the technical field of display. The method comprises the following steps: receiving ordering demand information input in an ordering dialogue interface; displaying an ordering demand confirmation card in the case that ordering elements in the ordering demand information are complete, wherein the ordering demand confirmation card comprises at least one item of ordering element information to be confirmed; and in response to ordering confirmation input of the ordering demand confirmation card, performing automatic ordering processing according to the ordering element information in the ordering demand confirmation card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of artificial intelligence technology, specifically relating to a food ordering method, food ordering device, and electronic equipment. Background Technology

[0002] With the widespread use of electronic devices, people's lives are closely intertwined with them. As important tools for daily communication and entertainment, electronic devices are also applied to various scenarios in life, leading to their increasing use for tasks such as ordering food.

[0003] Currently, when users control electronic devices to order food, they typically need to manually switch between different applications on the device and manually input a large amount of information on each application interface. For example, when a user triggers an electronic device to order food, they must first manually open the food ordering application on the device, enter the restaurant's name in the application's interface, and then the device can display a detailed restaurant information page, including a contact number. After obtaining the restaurant's contact number from the information page, the user must open a phone application, enter the restaurant's contact number on the dial pad, and dial the number. Only after connecting to the restaurant and communicating with customer service can the order be completed. This makes the process of ordering food via electronic device cumbersome and time-consuming. Summary of the Invention

[0004] The purpose of this application is to provide a food ordering method, a food ordering device, and an electronic device that can improve the efficiency and convenience of ordering food using electronic devices.

[0005] In a first aspect, embodiments of this application provide a method for ordering food, the method comprising:

[0006] Receive the order request information entered in the order dialog interface;

[0007] If the ordering information contains all the ordering elements, an ordering confirmation card will be displayed. The ordering confirmation card includes at least one ordering element that needs to be confirmed.

[0008] In response to the order confirmation input on the order confirmation card, automatic order processing is performed according to the order information in the order confirmation card.

[0009] Secondly, embodiments of this application provide a food ordering device, which includes:

[0010] The module consists of a receiving module, a display module, and an execution module.

[0011] The receiving module is used to receive the ordering request information entered in the ordering dialog interface.

[0012] The display module is used to display an order confirmation card when the order elements in the order request information received by the receiving module are complete. The order confirmation card includes at least one order element information to be confirmed.

[0013] The execution module is used to respond to the order confirmation input on the order confirmation card displayed by the display module, and to perform automatic order processing according to the order element information in the order confirmation card.

[0014] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the ordering method as described in the first aspect.

[0015] Fourthly, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the ordering method as described in the first aspect.

[0016] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the ordering method as described in the first aspect.

[0017] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the ordering method as described in the first aspect.

[0018] In this embodiment, the system receives order request information input through an ordering dialog interface; if the ordering elements in the order request information are complete, it displays an order request confirmation card, which includes at least one ordering element to be confirmed; in response to confirmation input on the order request confirmation card, it performs automatic ordering processing according to the ordering element information in the order request confirmation card. In this application, users can input order request information through an ordering dialog interface, allowing the electronic device to display an order request confirmation card if the ordering elements in the request information are complete. Once the user confirms the input on the order request confirmation card, the electronic device can perform automatic ordering processing, thereby achieving rapid execution of the ordering task. This simplifies the user's ordering interaction, thereby improving the efficiency and ease of use of electronic devices for ordering food. Attached Figure Description

[0019] Figure 1This is a flowchart illustrating some embodiments of the food ordering method provided in this application;

[0020] Figure 2 This is a flowchart illustrating some embodiments of the food ordering method provided in this application;

[0021] Figure 3 This is a flowchart illustrating the intelligent agent identification display interface provided in some embodiments of this application;

[0022] Figure 4A This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0023] Figure 4B This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0024] Figure 4C This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0025] Figure 4D This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0026] Figure 4E This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0027] Figure 4F This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0028] Figure 4G This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0029] Figure 4H This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0030] Figure 4I This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0031] Figure 4J This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0032] Figure 4K This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0033] Figure 4L This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0034] Figure 4M This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0035] Figure 4N This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0036] Figure 4O This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0037] Figure 4P This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0038] Figure 5A This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0039] Figure 5B This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0040] Figure 5C This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0041] Figure 5D This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0042] Figure 5E This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0043] Figure 5F These are schematic diagrams of call interfaces provided in some embodiments of this application;

[0044] Figure 5G These are schematic diagrams of call interfaces provided in some embodiments of this application;

[0045] Figure 5H This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0046] Figure 5I This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0047] Figure 5J This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0048] Figure 5K These are schematic diagrams of call interfaces provided in some embodiments of this application;

[0049] Figure 6A This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0050] Figure 6B These are schematic diagrams of the food ordering application interface provided in some embodiments of this application;

[0051] Figure 6C This is a schematic diagram of an ordering dialog interface provided in some embodiments of this application;

[0052] Figure 7 These are schematic diagrams of calendar interfaces provided in some embodiments of this application;

[0053] Figure 8 This is a flowchart illustrating some embodiments of the food ordering method provided in this application;

[0054] Figure 9 These are schematic diagrams of the ordering device provided in some embodiments of this application;

[0055] Figure 10 These are schematic diagrams of the ordering device provided in some embodiments of this application;

[0056] Figure 11 These are schematic diagrams of the structure of electronic devices provided in some embodiments of this application;

[0057] Figure 12 These are schematic diagrams of the hardware structure of electronic devices provided in some embodiments of this application. Detailed Implementation

[0058] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0059] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0060] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."

[0061] Cards are information carriers with closed outlines, providing various applications with information in a condensed and intuitive way for displaying and interacting with information across different programs. In the Android system, cards are stackable window interfaces. The shape of a card is typically a rounded rectangle, similar to a credit card, but other shapes are also possible. Cards make it easier for users of electronic devices to obtain information and perform operations intuitively, hence their wide application. In the embodiments of this application, the size, position, and shape of the cards are not limited.

[0062] Intelligent agents are a crucial concept in the field of artificial intelligence. Any independent entity capable of thought and interaction with its environment can be abstracted as an intelligent agent. As the name suggests, an intelligent agent is an entity possessing intelligence; its English name is Agent. Based on the cloud and centered on AI, we aim to build a comprehensive, collaborative, accurate, continuously evolving, and open intelligent system.

[0063] A sign is a text, symbol, image, etc., used to indicate information. It can be displayed in a control or other container, including but not limited to text signs, symbol signs, and image signs.

[0064] An "Atomic Island," also known as an interactive component, is an interactive area resembling an "island" surrounding the front-facing camera. This area can also be understood as an interactive area on the screen corresponding to the front-facing camera of an electronic device, also called the Atomic Island area. The Atomic Island can include various status information, such as time, network status, and battery level, and can also display simple notification messages, such as SMS and email notifications. The Atomic Island is a new type of status bar-embedded interactive module that can dynamically display the status information of electronic devices such as mobile phones and information about applications running in the background. Interactions can be made through tapping, long-pressing, and swiping. It can display various information, such as music playback, recording, Bluetooth headset connection, timer, ringtone, ride-hailing, airplane mode, etc., and can also bring up a floating menu for simple operations, such as switching songs and pausing the timer.

[0065] The following description, in conjunction with the accompanying drawings, details the ordering method, ordering device, electronic device, and medium provided in this application through specific embodiments and application scenarios.

[0066] The ordering method provided in this application can be executed by an ordering device. Exemplarily, this ordering device can be an electronic device, or a functional component or entity within that electronic device. Electronic devices can be mobile phones, tablets, laptops, handheld computers, in-vehicle electronic devices, mobile internet devices (MIDs), augmented reality (AR) / virtual reality (VR) devices, robots, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc. Non-mobile electronic devices can also be servers, network attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application does not specifically limit the scope of the implementation. The following will use an electronic device as an example to illustrate the ordering method provided in this application.

[0067] When certain steps in the ordering method provided in this application are executed by an electronic device, the steps can be executed by an ordering assistant on the electronic device or by a processor on the electronic device. This embodiment does not impose specific limitations here.

[0068] The food ordering method provided in this application can be applied to scenarios where mobile phone food ordering is used. For example, in scenario 1, user A wants to have dinner with three colleagues at 7 pm, and they all like spicy food. Therefore, user A plans to make a reservation at Chuanwei Renjia, a Sichuan restaurant, via mobile phone. In scenario 2, user B wants to invite four friends to dinner on the weekend, and they all like hot pot. Therefore, user B plans to make a reservation at Haidilao Hot Pot via mobile phone.

[0069] Figure 1 This is a flowchart illustrating the ordering method provided in the embodiments of this application, such as... Figure 1 As shown, the food ordering method provided in this application embodiment may include the following steps 101 to 103.

[0070] Step 101: The electronic device receives the order request information entered in the ordering dialog interface.

[0071] In some embodiments of this application, the above-mentioned ordering dialogue interface can be the ordering dialogue interface of an ordering assistant indicated by an ordering agent identifier.

[0072] In some embodiments of this application, the electronic device has at least one task assistant program installed, with different task assistants used to perform different tasks. The electronic device can display an agent identifier corresponding to each task assistant on the interface, with each agent identifier indicating a task assistant.

[0073] For example, a painting agent identifier indicates a painting assistant that can perform painting tasks, a wallpaper creation agent identifier indicates a wallpaper creation assistant that can perform wallpaper creation tasks, a writing agent identifier indicates a writing assistant that can perform collaborative writing tasks, a reading agent identifier indicates a reading assistant that can perform reading tasks, and a food ordering agent identifier indicates a food ordering assistant that can perform food ordering tasks.

[0074] In some embodiments of this application, users can input their ordering requests via voice or text in the ordering dialogue interface.

[0075] For example, in scenario 1, a user can enter their ordering request information on the above ordering dialogue interface via voice or text: "Please help me reserve Sichuan Flavor Restaurant for 4 people at 7 pm tonight. The person making the order is Mr. Zhou, and his phone number is 13658987415."

[0076] For example, in scenario 2, users can enter their ordering request information on the above ordering dialogue interface by voice or text, such as "Please help me reserve Haidilao for 5 people at 8 pm on weekend night. The person making the order is Ms. Zhang, and her phone number is 123456789012".

[0077] Step 102: If the ordering information contains all the necessary ordering details, the electronic device will display an order confirmation card.

[0078] In some embodiments of this application, the aforementioned order confirmation card may include at least one order element information to be confirmed.

[0079] In some embodiments of this application, the above-mentioned ordering element information is descriptive information of the ordering elements, which may include: restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order.

[0080] In some embodiments of this application, the restaurant name description can be a specific restaurant name, such as "Chuanwei Renjia" or "Haidilao". The dining time description can be a specific dining time, such as 7 pm or 8 pm on a weekend. The number of diners description can be a specific number of diners, such as 4 or 5 people. The name of the person making the reservation can be a specific name of the person making the reservation, such as Mr. Zhou or Ms. Zhang. The contact number of the person making the reservation can be a specific contact number of the person making the reservation, such as 13658987415 or 123456789012.

[0081] It should be noted that the above ordering elements may include other elements, such as restaurant type and seating type. The restaurant type description can be Sichuan cuisine, Cantonese cuisine, Shandong cuisine, or hot pot, and the seating type description can be private room or main hall.

[0082] It should be noted that the electronic device can also read aloud the information in the order confirmation card via voice from the ordering assistant.

[0083] For example, in scenario 1, when the ordering information includes: restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order, the mobile phone confirms that the ordering information for "Please help me reserve a table at Chuanwei Renjia tonight at 7 pm for 4 people. The person making the order is Mr. Zhou, and his phone number is 13658987415" is complete, and displays an order confirmation card. The order confirmation card may include "Please confirm your order information: Restaurant: Chuanwei Renjia; Time: Tonight at 7 pm (September 28, 2024); Number of people: 4; Name: Mr. Zhou; Phone: 13658987415".

[0084] For example, in scenario 2, when the ordering elements include: restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order, the mobile phone confirms that the ordering information for "Please help me reserve Haidilao for 8 pm on weekend, 5 people, the person making the order is Ms. Zhang, and the phone number is 123456789012" is complete, and displays an order confirmation card. The order confirmation card may include "Please confirm your order information: Restaurant: Haidilao; Time: 8 pm on weekend (September 29, 2024); Number of people: 5; Name: Ms. Zhang; Phone: 123456789012".

[0085] Step 103: The electronic device responds to the order confirmation input on the order confirmation card and performs automatic order processing according to the order information in the order confirmation card.

[0086] In some embodiments of this application, while displaying the order confirmation card on the ordering dialog interface, the electronic device can also display a confirmation control for the order confirmation card on the same interface. This confirmation control prompts the user to confirm the order confirmation card. The user can confirm the order by inputting information into the confirmation control. In other words, if the user inputs information into the confirmation control, they can confirm the order on the order confirmation card. Upon receiving this input, the electronic device can determine that the user has a clear need for automatic ordering. Therefore, in response to this input, it will execute automatic ordering according to the order information in the order confirmation card.

[0087] In some embodiments of this application, the electronic device can receive user input to the above-mentioned confirmation control, which is the user's confirmation input to the order confirmation card.

[0088] In some embodiments of this application, the electronic device can respond to the input of the above-mentioned confirmation control, confirm the ordering element information in the ordering card according to the ordering requirements, and perform automatic ordering processing.

[0089] In some embodiments of this application, the above-mentioned order confirmation input can be user click input, swipe input, press input, voice input, gesture input, or other feasible input, and this application embodiment does not limit this.

[0090] In some embodiments of this application, the shape of the above-mentioned confirmation control can be any possible shape such as a circle, rectangle, triangle, rhombus, ring or polygon, and can be determined according to actual usage requirements. This embodiment of the present invention does not limit the shape.

[0091] For example Figure 4E As shown, the mobile phone can display a rectangular confirmation control 415 in the dialogue display area 41.

[0092] In the ordering method provided in this application, the system receives order request information entered into an ordering dialog interface; if the ordering elements in the order request information are complete, it displays an order request confirmation card, which includes at least one ordering element information to be confirmed; in response to the order confirmation input on the order request confirmation card, it performs automatic ordering processing according to the ordering element information in the order request confirmation card. In this application, the user can enter order request information into the ordering dialog interface, allowing the electronic device to display an order request confirmation card if the ordering elements in the request information are complete. The user confirms the input on the order request confirmation card, and the electronic device can then perform automatic ordering processing, thereby achieving rapid execution of the ordering task. This simplifies the user's operation of triggering the electronic device to execute the ordering task, thus improving the efficiency and ease of use of the electronic device in executing the ordering task.

[0093] In some embodiments of this application, step 103 above can be implemented by steps 103a to 103d as follows:

[0094] Step 103a: The ordering assistant opens the ordering application and enters the ordering information from the ordering request confirmation card in the search box of the ordering application to search for restaurants that match the ordering information.

[0095] In some embodiments of this application, the electronic device can analyze the content displayed on the desktop of the electronic device through the food ordering assistant, obtain the first position of the food ordering application on the desktop, and then send the first position to the processor of the electronic device. The electronic device can open the food ordering application by simulating a hand operation on the first position on the desktop through the processor.

[0096] In some embodiments of this application, the ordering assistant can, after opening the ordering application, enter ordering element information, including restaurant type, restaurant name, or other restaurant information, from the ordering request confirmation card in the search box of the ordering application, and search for restaurants that match the ordering element information through the ordering application.

[0097] For example, in scenario 1, when the restaurant name in the order information is "Chuanwei Renjia", the ordering assistant can enter "Chuanwei Renjia" in the search box of the ordering application and search for the Chuanwei Renjia restaurant through the ordering application.

[0098] For example, in scenario 2, when the restaurant name in the order information is Haidilao, the ordering assistant can enter "Haidilao" in the search box of the ordering application and search for the Haidilao restaurant through the ordering application.

[0099] Step 103b: The ordering assistant dials the restaurant's contact number from the restaurant's details page.

[0100] In some embodiments of this application, after the ordering assistant enters the ordering elements information in the search box, it can generate a detailed information interface of the searched restaurants by searching for restaurants that match the ordering elements information through the ordering application.

[0101] In some embodiments of this application, the above-mentioned details information interface may include detailed restaurant information such as restaurant name, restaurant address, restaurant contact number, and restaurant pictures.

[0102] In some embodiments of this application, the electronic device can analyze the content displayed on the above-mentioned details information interface through the ordering assistant, obtain the second location of the restaurant's contact number on the above-mentioned details information interface, and then send the second location to the processor of the electronic device. The electronic device can then dial the restaurant's contact number by simulating a hand operation on the second location on the above-mentioned details information interface through the processor.

[0103] For example, in scenario 1, when the restaurant name in the order information is "Chuanwei Renjia", the ordering assistant can obtain the restaurant's contact number in the second position on the details page of "Chuanwei Renjia" and then send the second position to the processor of the electronic device. The mobile phone can then use the processor to simulate the hand to operate on the second position on the details page and dial the restaurant's contact number of "Chuanwei Renjia".

[0104] For example, in scenario 2, when the restaurant name in the order information is Haidilao, the ordering assistant can obtain the second location of Haidilao's restaurant contact number on the Haidilao details page, and then send the second location to the processor of the electronic device. The mobile phone can then use the processor to simulate the hand to operate on the second location on the details page to dial Haidilao's restaurant contact number.

[0105] Step 103c: After the phone call to the restaurant is connected, the ordering assistant confirms the ordering information on the card according to the ordering requirements and broadcasts the ordering request.

[0106] In some embodiments of this application, the aforementioned ordering assistant can be an AI voice assistant, capable of engaging in voice conversations with the restaurant's telephone customer service by broadcasting voice messages.

[0107] In some embodiments of this application, the aforementioned order request voice includes order information from the confirmation card.

[0108] In some embodiments of this application, the step 103c above, "the ordering assistant confirms the ordering information in the card according to the ordering requirements and broadcasts the ordering request voice," can be implemented through the following steps 103c1 to 103c3:

[0109] Step 103c1: The ordering assistant broadcasts the first request voice message.

[0110] In some embodiments of this application, the aforementioned first request voice is used to inquire with the restaurant's telephone customer service whether a reservation is allowed.

[0111] For example, a mobile phone's food ordering assistant can announce the first request, "Hello, do you accept reservations?"

[0112] Step 103c2: If the restaurant's telephone customer service only indicates that the reservation is allowed, the ordering assistant will broadcast the second request message.

[0113] In some embodiments of this application, the aforementioned second request voice includes all order element information in the order confirmation card.

[0114] For example, in scenario 1, when the restaurant's telephone customer service says "Reservations are available," the ordering assistant can announce a second voice message: "Please reserve a table for 7 pm tonight for 4 people. The person making the reservation is Mr. Zhou, and his phone number is 13658987415."

[0115] For example, in scenario 2, when the restaurant's telephone customer service says "Reservations are available," the ordering assistant can announce a second voice message: "Please help me reserve a table for 5 people at 8 pm on weekend evening. The person making the reservation is Ms. Zhang, and her phone number is 123456789012."

[0116] Step 103c3: If the restaurant's telephone customer service voice prompts that reservations are allowed and includes at least one reservation inquiry, the reservation assistant will play at least one reply voice message.

[0117] In some embodiments of this application, the aforementioned at least one response voice includes all ordering element information included in the aforementioned at least one predetermined inquiry message.

[0118] For example, in scenario 1, when the first reservation inquiry in the restaurant's telephone customer service call is "Reservations are possible, what time would you like to come?", the reservation assistant can announce "7 PM tonight" as the first reply. If the second reservation inquiry is "Okay, how many of you are dining?", the reservation assistant can announce "4 people" as the second reply. If the third reservation inquiry is "Okay, what is your name and contact information?", the reservation assistant can announce "Mr. Zhou, phone number 13658987415" as the third reply.

[0119] For example, in scenario 2, when the first reservation inquiry in the restaurant's phone customer service call is "Reservations are possible, what time would you like to come?", the ordering assistant can announce "8 PM tomorrow night" as the first reply. If the second reservation inquiry is "Okay, how many people are dining?", the ordering assistant can announce "5 people" as the second reply. If the third reservation inquiry is "Okay, what is your name and contact information?", the ordering assistant can announce "Ms. Zhang, phone number 123456789012" as the third reply.

[0120] In this way, the ordering assistant can achieve natural language interaction between the ordering assistant and the restaurant's telephone customer service by broadcasting the first request voice message; if the restaurant's telephone customer service voice message only indicates that the reservation is allowed, the ordering assistant will broadcast the second request voice message; if the restaurant's telephone customer service voice message indicates that the reservation is allowed and includes at least one reservation inquiry message, the ordering assistant will broadcast at least one reply voice message.

[0121] In some embodiments of this application, the aforementioned at least one reply voice includes a first reply voice, which includes all order element information in the aforementioned order confirmation card; after step 103c1, the ordering method provided in this application embodiment further includes the following steps 103c4 and 103c5, as well as step 103c6 or step 103c7:

[0122] Step 103c4: The ordering assistant receives the first voice message from the restaurant's customer service hotline.

[0123] In some embodiments of this application, the aforementioned first call voice instruction allows for pre-planning.

[0124] For example, in conjunction with scenario 1, such as Figure 5G As shown, if the restaurant's telephone customer service says, "Hello, this is Chuanwei Renjia, how can I help you?", the ordering assistant can ask the restaurant's telephone customer service, "Hello, can I make a reservation?", and the ordering assistant can receive the restaurant's telephone customer service's first voice message, "Hello, you can make a reservation."

[0125] For example, in scenario 1, if the restaurant's telephone customer service says, "Hello, this is Haidilao, how can I help you?", the ordering assistant can ask the restaurant's telephone customer service, "Hello, can I make a reservation?", and the ordering assistant can receive the restaurant's telephone customer service's first voice message, "Hello, you can make a reservation."

[0126] Step 103c5: The ordering assistant plays the first reply voice message. If, during the process of the ordering assistant playing the first reply voice message, a second call voice message from the restaurant's customer service is received, and the second call voice message includes the first reservation inquiry information, the ordering assistant stops playing the first reply voice message and plays the second reply voice message.

[0127] In some embodiments of this application, the second response voice is used to respond to the ordering element information of the first predetermined inquiry information; wherein, the first predetermined inquiry information is used to inquire about the element information of the first ordering element.

[0128] In some embodiments of this application, when the electronic device displays the text information of all voice calls between the ordering assistant and the restaurant's telephone customer service on the call interface, it can mark the text corresponding to the first sub-voice that the ordering assistant has played in the first reply voice and the text corresponding to the second sub-voice that the ordering assistant has not played in the first reply voice with different font sizes, different font colors, bold or not bold, and underlined or not underlined, respectively, so as to distinguish the first sub-voice and the second sub-voice, so that the user can determine the played content and the unplayed content from the first reply voice.

[0129] It should be noted that the electronic device may also mark the first and second sub-voices in other different ways, and this embodiment does not impose specific limitations here.

[0130] For example, in scenario 1, when the restaurant's customer service voice message includes instructions such as "Reservations are possible" or "Yes," the ordering assistant could initially announce the first voice message: "Please reserve a table for 7 PM tonight for 4 people. Name of the person making the reservation: Mr. Zhou, Phone: 13658987415." However, if the ordering assistant is interrupted by the restaurant's customer service when mentioning "me" in the first voice message, i.e., when the ordering assistant mentions "me" in the first voice message and then receives the restaurant's second voice message: "How many people are in your party, and what time will you be dining?", the ordering assistant could then announce the second voice message: "4 people, dining at 7 PM." Figure 5G As shown, if the restaurant's telephone customer service says "Hello, reservations are possible," and the ordering assistant is about to announce the first reply, "Please help me reserve a table for 7 PM tonight, for 4 people, Mr. Zhou's name, phone number 13658987415," but is interrupted by the restaurant customer service when saying "I," you can mark the part the ordering assistant is about to say ("Please help me") and the part they did not say ("Reserve a table for 7 PM tonight, for 4 people, Mr. Zhou's name, phone number 13658987415") separately on the call screen. For example, you can bold and enlarge the text of "Please help me" to indicate that the ordering assistant was interrupted by the restaurant's telephone customer service when saying "Please help me," and gray out the text of "Reserve a table for 7 PM tonight, for 4 people, Mr. Zhou's name, phone number 13658987415" and add an underline to indicate that the ordering assistant did not say "Reserve a table for 7 PM tonight, for 4 people, Mr. Zhou's name, phone number 13658987415."

[0131] For example, in scenario 2, when the restaurant's customer service voice message includes instructions such as "Reservations are possible" or "Yes," the ordering assistant could normally announce the first voice message: "Please help me reserve a table for 8 PM this weekend, for 5 people. The person making the reservation is Ms. Zhang, and her phone number is 123456789012." If the ordering assistant is interrupted by the restaurant's customer service when saying "Please help me," meaning that when the ordering assistant says "Please help me" in the first voice message, it receives the restaurant's second voice message: "How many people are in your party, and what time do you want to dine?", the ordering assistant could then announce the second voice message: "5 people, dining at 8 PM this weekend."

[0132] Step 103c6: Upon receiving the third voice message from the restaurant's customer service hotline, and if the third voice message includes the second reservation inquiry information, the ordering assistant will broadcast the third reply voice message.

[0133] In some embodiments of this application, the third response voice is used to respond to the ordering element information of the second predetermined inquiry information; wherein, the second predetermined inquiry information is used to inquire about the element information of the second ordering element.

[0134] In some embodiments of this application, the element information of the first ordering element and the element information of the second ordering element may include all ordering element information in the ordering request information.

[0135] For example, in conjunction with scenario 1, such as Figure 5G As shown, if the ordering assistant broadcasts the second reply message "4 people, dining at 7 pm", and then receives the restaurant's third customer service message "Okay, may I ask your surname and is this the mobile number you are dialing now?", then the ordering assistant can reply "Yes, my surname is Zhou, thank you for your help".

[0136] For example, in scenario 2, if the ordering assistant announces the second reply voice "5 digits" and then receives the restaurant's third voice message from customer service saying "May I ask your name? Would you mind leaving your phone number?", the ordering assistant can reply "Ms. Zhang, phone number 123456789012".

[0137] Step 103c7: Upon receiving the third voice message from the restaurant's customer service hotline, and if the third voice message only includes confirmation information for the first order element, the ordering assistant will broadcast the fourth reply voice message.

[0138] In some embodiments of this application, the aforementioned fourth response voice is used to confirm the content of the first order element and to inform the second order element.

[0139] For example, in scenario 1, after the ordering assistant receives the third voice message from the restaurant's customer service, "4 people, dining at 7 pm, right?", the ordering assistant can announce, "Yes, this is Mr. Zhou, phone number 13658987415."

[0140] For example, in scenario 2, after the ordering assistant receives the third voice message from the restaurant's customer service, "5 people, dining at 8 pm on a weekend, right?", the ordering assistant can announce, "Yes, this is Mr. Zhou, phone number 13658987415."

[0141] In this way, the ordering assistant receives the first voice message from the restaurant's customer service hotline, plays the first response voice message, and while playing the first response voice message, if it receives the second voice message from the restaurant's customer service hotline, and the second voice message includes the first reservation inquiry information, the ordering assistant stops playing the first response voice message and plays the second response voice message; if it receives the third voice message from the restaurant's customer service hotline, and the third voice message includes the second reservation inquiry information, the ordering assistant plays the third response voice message; if it receives the third voice message from the restaurant's customer service hotline, and the third voice message only includes confirmation information of the first order element, the ordering assistant plays the fourth response voice message, which enables a more intelligent natural language interaction between the ordering assistant and the restaurant's customer service hotline.

[0142] Step 103d: If the order is successful, the ordering assistant ends the call with the restaurant's customer service.

[0143] In some embodiments of this application, the ordering assistant can determine whether the order was successful based on the restaurant's telephone customer service's voice response to the order request.

[0144] For example, in conjunction with scenario 1, such as Figure 5G As shown, if the restaurant's telephone customer service replies "We have made a reservation for you, thank you for your call," the restaurant assistant can end the call with the restaurant's telephone customer service after saying a polite closing remark, "Okay, thank you."

[0145] For example, in scenario 2, if the restaurant's customer service replies "We have made a reservation for you, thank you for your call," the restaurant assistant can end the call with the customer service representative after saying a polite closing remark, "Okay, thank you."

[0146] Step 103e: The electronic device displays the order result card on the ordering dialog interface.

[0147] In some embodiments of this application, the order result card may include: the name of the person who placed the order, the name of the restaurant, the restaurant's contact number, the restaurant's address, the dining time, the number of diners, and a message indicating successful order placement.

[0148] In some embodiments of this application, the electronic device may display the restaurant's contact number and address in a highlighted manner.

[0149] For example, in scenario 1, the restaurant displayed on the ordering dialog card could include: "Your order has been successfully placed. Restaurant: Chuanwei Renjia; Phone: 18758571526; Address: Xiasha Street, Qiantang District; Orderer: Mr. Zhou; Date: 7 PM, September 28, 2024; Number of people: 4."

[0150] For example, in scenario 2, the restaurant displayed on the ordering interface could include: "Your order has been successfully placed. Restaurant: Haidilao; Phone: 012345678901; Address: Xiasha Street, Qiantang District; Orderer: Ms. Zhang; Date: 8 PM, September 29, 2024; Number of people: 5."

[0151] In this way, the ordering assistant opens the ordering application and enters the ordering details from the order confirmation card into the search box to search for restaurants that match the ordering details. The assistant then dials the restaurant's contact number from the details page. Once the call is connected, the assistant reads the order request aloud according to the ordering details from the order confirmation card. If the order is successful, the assistant ends the call with the restaurant's customer service, thus enabling the ordering assistant to automatically execute the ordering task.

[0152] In some embodiments of this application, combined with Figure 1 ,like Figure 2 As shown, prior to step 101 above, the ordering method provided in this application embodiment further includes the following steps 104a and 104b:

[0153] Step 104a: The electronic device receives control input for the smart order agent identifier.

[0154] In some embodiments of this application, the aforementioned control input is used to trigger the electronic device to display the ordering dialogue interface of the ordering assistant indicated by the aforementioned ordering agent identifier.

[0155] In some embodiments of this application, the control input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application.

[0156] In some embodiments of this application, the above-mentioned gesture input may include, but is not limited to, at least one of the following: click gesture, swipe gesture, drag gesture, pressure recognition gesture, long press gesture, area change gesture, double press gesture, double tap gesture, specific gesture input or other possible gesture inputs. The specific gesture input form can be determined according to actual needs, and is not limited in some embodiments.

[0157] In some embodiments of this application, the above-mentioned click input can be single-click input, double-click input, or any number of clicks, or it can be long-press input or short-press input. In some embodiments, this is not limited.

[0158] In some embodiments of this application, the above-mentioned sliding input can be a sliding input in any direction, such as sliding up, sliding down, sliding left, or sliding right, etc., and in some embodiments, this is not limited.

[0159] Step 104b: The electronic device responds to the control input and displays the ordering dialogue interface of the ordering assistant indicated by the ordering agent identifier.

[0160] In some embodiments of this application, the above-mentioned ordering dialogue interface is used for users to interact with the ordering assistant via voice.

[0161] In some embodiments of this application, the ordering interface includes a dialogue display area and a voice input control. The voice input control is used to trigger the collection of the user's voice, and the dialogue display area is used to display the voice in text format.

[0162] In some embodiments of this application, the aforementioned dialogue display area can be any possible shape such as a circular area, rectangular area, triangular area, rhomboid area, annular area, or polygonal area. The specific shape can be determined according to actual usage requirements, and the embodiments of this invention do not impose any limitations.

[0163] In some embodiments of this application, the shape of the above-mentioned voice input control can be any possible shape such as a circle, rectangle, triangle, rhombus, ring or polygon, which can be determined according to actual usage requirements. This embodiment of the invention does not limit the shape.

[0164] For example, when the electronic device is a mobile phone, the mobile phone can display on the screen such as Figure 3 The intelligent agent icon display interface 30 shown can be a secondary function interface in the program interface of the mobile phone's AI assistant program. The intelligent agent icon display interface 30 displays a drawing intelligent agent icon 301, a writing intelligent agent icon 302, a reading intelligent agent icon 303, and a food ordering intelligent agent icon 304. When the mobile phone receives user control input for the food ordering intelligent agent icon 304, it combines... Figure 3 ,like Figure 4A As shown, the mobile phone can respond to the control input of the ordering smart agent identifier 304 and display the ordering dialogue interface 40 on the screen. The ordering dialogue interface 40 is used for AI interaction between the user and the mobile phone.

[0165] In some embodiments of this application, the aforementioned control input is used to control the mobile phone to wake up the ordering assistant and display the ordering dialogue interface of the ordering assistant indicated by the ordering smart agent icon, so as to use the ordering assistant to automatically order food. The control input can be a first input. Exemplarily, the aforementioned first input includes, but is not limited to: touch input by the user on the ordering smart agent icon through a touch device such as a finger or stylus, or voice commands input by the user, or specific gestures input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and the embodiments of this invention are not limited thereto. The specific gestures in the embodiments of this application can be any one of the following: single-click gesture, swipe gesture, drag gesture, pressure recognition gesture, long-press gesture, area change gesture, double-press gesture, and double-click gesture; the click input in the embodiments of this application can be single-click input, double-click input, or any number of clicks, and can also be long-press input or short-press input. For example, the aforementioned control input can be: the user's click input on the ordering smart agent icon.

[0166] In this way, the electronic device receives control input to the ordering agent identifier and, in response to the control input, displays the ordering dialogue interface of the ordering assistant indicated by the ordering agent identifier. This allows the user to input ordering information in the ordering dialogue interface, enabling the electronic device to quickly execute the ordering task based on the ordering information.

[0167] In some embodiments of this application, the above-mentioned ordering dialogue interface includes a dialogue display area and a voice input control; the above-mentioned step 101 can be implemented by the following steps 101a1 and 101a2:

[0168] Step 101a1: The electronic device receives touch input to the voice input control.

[0169] In some embodiments of this application, the touch input described above is used to trigger an electronic device to collect voice data.

[0170] In some embodiments of this application, the above-mentioned touch input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible input, which is not limited in this application embodiment.

[0171] Step 101a2: In response to touch input, the electronic device converts the voice data captured by the microphone into text information.

[0172] In some embodiments of this application, the touch input can be a long press input by the user on the voice input control. When the user presses the voice input control, the user can speak their ordering needs, and the microphone can collect the user's voice data. When the user stops pressing the voice input control, the microphone stops collecting the user's voice data.

[0173] In some embodiments of this application, the electronic device may first extract audio features from the aforementioned speech data, then encode it using a speech encoder to obtain speech encoded data. The speech encoded data is then mapped into text encoded data, and the text encoded data is decoded using a text encoder to obtain the aforementioned text information.

[0174] In some embodiments of this application, the above-mentioned text information is the same as the text information corresponding to the above-mentioned food ordering request information.

[0175] In some embodiments of this application, after the electronic device converts the voice data captured by the microphone into text information, it can display the text information in the dialogue display area of ​​the ordering dialogue interface so that the user can confirm the ordering information by viewing the text information.

[0176] Optionally, after step 101a2 above, the ordering method provided in this application may further include the following step 101a3:

[0177] Step 101a3: The electronic device displays a dialog box and the orderer's avatar in the dialog display area. The dialog box includes text information.

[0178] In some embodiments of this application, the dialog box is used to display the ordering information.

[0179] In some embodiments of this application, the shape of the dialog box can be any possible shape such as a circle, rectangle, triangle, rhombus, annulus or polygon, which can be determined according to actual usage requirements. This embodiment of the invention does not limit the shape.

[0180] In some embodiments of this application, the aforementioned orderer's avatar can be the user's real avatar or the user's virtual avatar, such as the virtual avatar used by the user in a social application or a food ordering application. This embodiment does not impose specific limitations here.

[0181] For example, Figure 4A As shown, the ordering dialogue interface 40 includes a dialogue display area 41 and a voice input control 42. The voice input control 42 is located at the bottom of the ordering dialogue interface 40, and the dialogue display area 41 is located at the top of the ordering dialogue interface 40. Referring to scenario 1, if the user says "I want to eat Sichuan cuisine," then... Figure 4A ,like Figure 4BAs shown, after the mobile phone collects the voice data of "I want to eat Sichuan cuisine", it can display a dialog box 411 and the avatar of the person who ordered the food in the dialog display area 41. The dialog box 411 includes the text information "I want to eat Sichuan cuisine".

[0182] For example, in scenario 2, if a user says "8 pm on a weekend, 4 people, Haidilao", the phone will collect the voice data of "8 pm on a weekend, 4 people, Haidilao" and display a dialog box 411 and the avatar of the person who placed the order in the dialog display area 41. The dialog box 411 includes the text information "8 pm on a weekend, 4 people, Haidilao".

[0183] In this way, the electronic device receives touch input to the voice input control, and in response to the touch input, converts the voice data captured by the microphone into text information. In the dialog display area, a dialog box and the avatar of the person making the order are displayed. The dialog box includes text information, which can display the ordering information entered by the user in text form, so that the user can confirm the accuracy of the ordering information, thereby improving the accuracy of the ordering task execution result.

[0184] In some embodiments of this application, the aforementioned food ordering information includes information entered by the person making the order at least once in the aforementioned food ordering dialog interface;

[0185] Step 101 above can be implemented through step 101b below. After step 101b above, the ordering method provided in this application embodiment may further include step 105 below:

[0186] Step 101b: The electronic device receives the original demand information entered in the ordering dialog interface.

[0187] In some embodiments of this application, the person making the order can input the original demand information in the above-mentioned ordering dialogue interface by voice or text.

[0188] In some embodiments of this application, the aforementioned original demand information is the ordering request information that the user enters for the first time each time they order food.

[0189] In some embodiments of this application, after receiving the original demand information, the electronic device can display the text information corresponding to the original demand in the dialog display area.

[0190] In some embodiments of this application, the electronic device can acquire the ordering elements included in the original demand information.

[0191] For example, in scenario 1, when a customer says, "Please reserve a Sichuan-style restaurant for 7 pm tonight for 4 people," the original request information includes the restaurant name, dining time, and number of diners.

[0192] For example, in scenario 2, when a customer says, "Please reserve a Haidilao for 4 people, Ms. Zhang, phone number 123456789012", the original request information includes the number of diners, restaurant name, customer's name, and customer's contact number.

[0193] Step 105: If the original demand information includes all ordering elements, the electronic device determines the original demand information as ordering demand information and confirms that the ordering elements in the ordering demand information are complete.

[0194] In some embodiments of this application, the electronic device may pre-set at least one ordering element, and then treat the at least one ordering element as a necessary element for ordering. If the original demand information includes all the ordering elements of the at least one ordering element, then the original demand information is determined to be ordering demand information, and it is determined that the ordering elements in the ordering demand information are complete.

[0195] For example, electronic devices can use restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order as essential elements for ordering food. If the original demand information includes dining time, number of diners, name of the person making the order, and contact number of the person making the order, then the original demand information is determined to be ordering demand information, and the ordering elements in the ordering demand information are complete.

[0196] For example, in scenario 1, if the essential elements for ordering food include the restaurant name, dining time, number of diners, name of the person making the order, and contact number, and if the person ordering food via mobile phone determines that the original request information, such as "Please reserve a table at Chuanwei Renjia for 7 pm tonight for 4 people," includes the restaurant name, number of diners, and dining time, then the original request information will be missing the name of the person making the order and their contact number. Conversely, if the essential elements for ordering food include the restaurant name, dining time, number of diners, name of the person making the order, and their contact number, and if the person ordering food via mobile phone determines that the original request information, such as "Please reserve a table at Chuanwei Renjia for 7 pm tonight for 4 people, Mr. Zhou, phone number 13658987415," includes the restaurant name, number of diners, dining time, name of the person making the order, and their contact number, then the original request information will be complete.

[0197] For example, in scenario 2, if the essential elements for ordering food include the restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order, and if the mobile phone determines that the original demand information includes the restaurant name, number of diners, name of the person making the order, and contact number of the person making the order based on the original demand information stated by the person making the order, "Please reserve Haidilao for 5 people, Ms. Zhang, phone number 123456789012", then it is determined that the dining time element is missing from the original demand information.

[0198] In this way, the electronic device receives the original demand information entered in the ordering dialogue interface, and if the original demand information includes all ordering elements, it determines the original demand information as the ordering demand information, which can ensure that the ordering elements in the ordering demand information are complete. This allows the ordering assistant to quickly execute the ordering task based on the complete ordering demand information.

[0199] It should be noted that after the electronic device performs step 105, it can perform step 102.

[0200] In some embodiments of this application, after step 101 described above, the ordering method provided in this application may further include steps 106a to 106c:

[0201] Step 106a: If at least one order element is missing from the original demand information, the electronic device displays an order element query on the order dialog interface.

[0202] In some embodiments of this application, the above-mentioned ordering element inquiry information includes guidance information for missing ordering element information.

[0203] In some embodiments of this application, the electronic device may display the above-mentioned ordering element inquiry information in the above-mentioned dialogue display area.

[0204] For example, combining Figure 4B ,like Figure 4C As shown, when a user enters the initial request "I want to eat Sichuan food" in the ordering dialogue interface 40, the phone can display the text "I want to eat Sichuan food" in the dialogue display area 41. The dialogue display area 41 also displays the ordering information such as "Sichuan food is great, it's numbing and spicy. There's a Sichuan-style restaurant that's really good. Are you planning to go there at 7 pm tonight? How many people are in your party?" This guides the user to enter the missing information about the number of diners and the dining time.

[0205] Step 106b: The electronic device receives at least one reply message entered in the ordering dialog interface.

[0206] In some embodiments of this application, the above-mentioned at least one reply information may be the information provided by the diner in response to the inquiry information regarding the above-mentioned ordering elements, and the above-mentioned at least one reply information may include at least one missing element information.

[0207] In some embodiments of this application, the electronic device can receive at least one of the above-mentioned reply messages input by the user via voice or text.

[0208] In some embodiments of this application, after receiving at least one reply message, the electronic device can display the text information corresponding to the at least one reply message in the dialog display area, and the user can confirm whether the input of the at least one reply message is correct by viewing the text information corresponding to the at least one reply message.

[0209] In some embodiments of this application, the aforementioned dialogue display area is an area used to display the dialogue content between the ordering assistant and the user.

[0210] For example Figure 4C As shown, after the phone's screen displays the order information "Sichuan food is great, so spicy and numbing! There's a Sichuan restaurant that's really good. Are you planning to go there at 7 pm tonight? How many people are in your party?" in the dialogue display area 41, the phone can then display the received text message "7 pm tonight, 4 people" in the dialogue display area 41. Combined with... Figure 4C ,like Figure 4D As shown, the received text message "7 PM tonight, 4 people" input by the user is displayed in the dialogue display area 41. The phone can display the text message corresponding to the first reply. At this time, the phone determines that the ordering elements are still missing the name and contact number of the person making the order. Therefore, the ordering assistant will continue to ask the user for the missing name and contact number. Thus, the phone can continue to display the ordering element inquiry message "What is your name and contact number?" in the dialogue display area 41. When the user inputs the second reply message "Mr. Zhou, the phone number is 13658987415" in the ordering dialogue interface 40, the phone can display the text message corresponding to the second reply message.

[0211] Step 106c: If the original demand information and at least one reply information include all ordering elements, the electronic device determines the original demand information and at least one reply information as ordering demand information, and determines that the ordering elements in the ordering demand information are complete.

[0212] It should be noted that the implementation process of step 106c can be referred to step 105 above. To avoid repetition, it will not be described again in this embodiment.

[0213] It should be noted that after the electronic device performs step 106c, it can perform step 102.

[0214] In this way, electronic devices can ask users for missing ordering information from their original request information, thereby obtaining complete ordering information. This allows electronic devices to improve the success rate of ordering when they execute the ordering task with complete ordering information.

[0215] In some embodiments of this application, after step 106b above, the ordering method provided in this application may further include step 106d, and step 106c above can be implemented by step 106c1:

[0216] Step 106d: If the electronic device instructs the ordering assistant to use historical ordering information in one of the at least one reply message, it retrieves historical ordering element information from the ordering history.

[0217] In some embodiments of this application, if the electronic device identifies the keywords "historical order" or "last order" from one of the at least one reply message, it determines that the reply message instructs the ordering assistant to use historical order information. At this time, the electronic device can obtain historical order element information from the order history.

[0218] For example, when the phone displays the order information "What is your name and contact number?" in the dialogue display area 41, the phone receives the reply "Mr. Zhou, please use the number from the last order" on the order dialogue interface. The ordering assistant can search for Mr. Zhou's ordering history, which includes three ordering records: Ordering History 1: Restaurant: Chuanwei Renjia; Dining Time: August 5, 2024; Number of Diners: 5; Orderer: Mr. Zhou; Contact Number: 13658987415; Ordering History 2: Restaurant: Haidilao; Dining Time: August 19, 2024; Number of Diners: 3; Orderer: Mr. Zhou; Contact Number: 13658987415; Ordering History 3: Restaurant: Chuanwei Renjia; Dining Time: September 15, 2024; Number of Diners: 5; Orderer: Mr. Zhou; Contact Number: 13658987415. If the dining time in the order history 3 is September 18th, and the dining time in the current order request information is September 28th, then the contact number of Mr. Zhou (13658987415) in the order history 3 will be used as the contact number of the orderer in the order request information.

[0219] Step 106c1: The electronic device identifies the original demand information, historical order element information, and at least one reply message (excluding the reply message instructing the ordering assistant to use historical order information) as the order demand information.

[0220] In some embodiments of this application, the electronic device can determine the ordering element information included in the original demand information, the historical ordering element information, and the ordering element information included in at least one reply message other than the reply message instructing the ordering assistant to use the historical ordering information as the ordering demand information.

[0221] For example, if the original request information is "I want to eat Sichuan cuisine", the historical order information is the name of the restaurant where the last order was placed, Chuanwei Renjia, and at least one reply message, excluding the reply message instructing the order assistant to use the historical order information, includes the following order information: 7 pm, 4 people dining at Chuanwei Renjia, name of the person making the order, Mr. Zhou, and contact number 13658987415, then the order request information includes the restaurant name Chuanwei Renjia, dining time 7 pm, number of diners 4, name of the person making the order, Mr. Zhou, and contact number 13658987415.

[0222] For example, when the original demand information is "8 pm on weekend, 5 people, Haidilao", and the historical order information is the contact number 123456789012 from the last order, and at least one reply message, excluding the reply message instructing the ordering assistant to use the historical order information, includes the ordering information of the person making the order, Ms. Zhang, then the order demand information includes the restaurant name Haidilao, the dining time is 8 pm on weekend, the number of diners is 5, the name of the person making the order is Ms. Zhang, and the contact number of the person making the order is 123456789012.

[0223] It should be noted that after each order processing based on the order request information, the electronic device can generate an order history record. This order history record can include the order request information.

[0224] Thus, by instructing the ordering assistant to use historical order information from at least one of the reply messages, the electronic device can obtain the ordering element information required by the user by retrieving historical ordering element information from the ordering history. By identifying the original request information, historical ordering element information, and reply messages other than those instructing the ordering assistant to use historical ordering information as the ordering request information, the completeness of the ordering elements in the ordering request information can be ensured, thereby enabling the ordering assistant to quickly execute the ordering task based on the complete ordering request information.

[0225] In some embodiments of this application, after step 101 above, the ordering method provided by this application further includes the following step 107, and step 102 above can be implemented by the following step 102a:

[0226] Step 107: The electronic device displays the ordering assistant's avatar in the dialogue display area.

[0227] In some embodiments of this application, the aforementioned food ordering assistant avatar can be an avatar that the electronic device has pre-set for the food ordering assistant.

[0228] In some embodiments of this application, the aforementioned food ordering assistant avatar can also be the avatar selected by the user for the food ordering assistant.

[0229] Step 102a: The electronic device displays the order confirmation card in the dialogue display area.

[0230] In some embodiments of this application, the aforementioned food order confirmation card is used to prompt the user to confirm the aforementioned food order information.

[0231] In some embodiments of this application, the shape of the order confirmation card can be any possible shape such as a circle, rectangle, triangle, rhombus, ring, or polygon, which can be determined according to actual usage needs. This embodiment of the invention does not limit the shape.

[0232] For example, such as Figure 4E As shown, the mobile phone can display the ordering assistant's avatar 413 and the request confirmation card 414 in the dialogue display area 41. The request confirmation card includes the restaurant to be confirmed, Chuanwei Renjia, the dining time is 7 pm, the number of diners is 4, the name of the person making the order is Mr. Zhou, and the contact number of the person making the order is 13658987415.

[0233] It should be noted that if the ordering details include a private dining room, the order card must include a description of that seating type. For example... Figure 4O As shown, the request confirmation card includes the restaurant to be confirmed, Chuanwei Renjia, the dining time is 7 pm, the number of diners is 4, the name of the person making the reservation is Mr. Zhou, the contact number of the person making the reservation is 13658987415, and the seating type is a private room.

[0234] In this way, by displaying a confirmation card for ordering requests in the dialog display area, the electronic device can, on the one hand, make it convenient for users to confirm each element of the order information. If users need to modify any one or more of the information, they can do so before ordering. On the other hand, by only executing the order processing after the order information is confirmed, the order processing is avoided from being accidentally triggered and thus the ordering fails, improving the success rate of the ordering task.

[0235] In some embodiments of this application, during a call between the ordering assistant and the restaurant's telephone customer service, the ordering method provided in this application further includes:

[0236] 103f. After confirming all order details with the restaurant's customer service by phone, the ordering assistant will play a message indicating the end of the call.

[0237] In some embodiments of this application, the aforementioned end-of-call voice message may include a thank-you message, such as "thank you."

[0238] In this way, after confirming all the ordering details with the restaurant's customer service, the ordering assistant plays a call-ending message, allowing it to confirm all the ordering details with the restaurant's customer service. This ensures that the ordering task meets the user's needs and improves the accuracy of the ordering results.

[0239] In some embodiments of this application, after step 107 above, the ordering method provided in this application is implemented as follows: steps 108a and 108b.

[0240] Step 108a: When the electronic device receives window adjustment input for the floating window, it updates the display mode of the floating window to zoom mode, split-screen mode, or full-screen mode.

[0241] In split-screen mode, the floating window and the ordering chat interface are displayed in a split-screen manner; in full-screen mode, the size of the floating window is larger than that in zoomed-in mode, the size of the floating window in zoomed-in mode is larger than that in split-screen mode, and the size of the floating window in split-screen mode is larger than that in zoomed-out mode.

[0242] In some embodiments of this application, when the window adjustment input is an input to drag a minimized floating window to the top of the electronic device screen, the electronic device can switch the display mode of the floating window to split-screen mode upon receiving the aforementioned window adjustment input.

[0243] In some embodiments of this application, when the window adjustment input is a click input on a minimized floating window, the electronic device can switch the display mode of the floating window to a zoomed-in mode upon receiving the aforementioned window adjustment input.

[0244] For example, when a phone receives input to drag a minimized floating window to the top of the electronic device screen, combined with Figure 5A ,like Figure 6A The phone can display the floating window 416 in the upper half of the screen and the ordering chat interface 40 in the lower half of the screen; or combine... Figure 5A ,like Figure 6B The floating window 416 is displayed in the lower half of the screen, while the ordering dialog interface 40 is displayed in the upper half of the phone screen.

[0245] In some embodiments of this application, when the window adjustment input is a double-click input to a minimized floating window, the electronic device can switch the display mode of the floating window to full-screen mode upon receiving the aforementioned window adjustment input.

[0246] For example, when the phone receives a double-tap input to a minimized floating window, combined with Figure 5A ,like Figure 6B The phone can display the floating window 416 in full screen on the screen.

[0247] In some embodiments of this application, when the window adjustment input is a stretch input for a minimized floating window, the electronic device can switch the display mode of the floating window to a zoomed-in mode or a full-screen mode upon receiving the aforementioned window adjustment input.

[0248] For example, when the phone receives a stretch input for a minimized floating window, combined with Figure 5A ,like Figure 6C The phone can enlarge the floating window 416 and display it on the screen.

[0249] Step 108b: When the electronic device receives a suspend control input for the floating window, it updates the display mode of the floating window to the suspend mode.

[0250] In some embodiments of this application, when the window adjustment input is a right swipe input to a minimized floating window, the electronic device can update the display mode of the floating window to a side-hung state upon receiving the aforementioned window adjustment input.

[0251] For example, when the phone receives a double-tap input to a minimized floating window, combined with Figure 5A ,like Figure 4E The phone can suspend the floating window 416, at which point only the ordering dialogue interface 40 is displayed on the phone screen.

[0252] In this way, when the electronic device receives input to adjust the floating window, it updates the display mode of the floating window to zoom mode, split-screen mode, or full-screen mode. When it receives input to suspend the floating window, it updates the display mode of the floating window to suspend mode, making the display mode of the floating window more flexible.

[0253] In some embodiments of this application, the above-mentioned automatic ordering process includes at least one ordering process;

[0254] In the process of executing automatic ordering, the ordering method provided in this application embodiment further includes the following step 109:

[0255] Step 109: The electronic device displays a floating window in a minimized mode.

[0256] In some embodiments of this application, the aforementioned floating window can be displayed floating above the aforementioned ordering dialog interface.

[0257] The aforementioned floating window is used to display the processing interface and processing progress information for each order.

[0258] In some embodiments of this application, the processing interface can be the interface of an application that performs each order processing, and the processing progress information is used to prompt the user about the progress of each order processing operation.

[0259] In some embodiments of this application, the above-mentioned processing progress information can be displayed in a floating manner on the above-mentioned processing interface.

[0260] In some embodiments of this application, the aforementioned processing progress prompt information and the cancellation control for the aforementioned processing progress prompt information can be simultaneously displayed floatingly on the aforementioned processing interface. When the electronic device receives touch input to the cancellation control, the aforementioned processing progress prompt information is canceled, and only the aforementioned processing interface is displayed.

[0261] For example, when at least one ordering process includes opening a food ordering app, searching for a restaurant within the app, calling the restaurant, and communicating with the restaurant's customer service after connecting to the phone, the process interface might be the app's startup screen if the current ordering process involves opening the app, with the progress information displayed as "Food ordering app starting up." If the current ordering process involves searching for a restaurant within the app, the process interface might be the app's restaurant search screen, with the progress information displayed as "Restaurant search in progress."

[0262] For example, combined with Figure 4E ,like Figure 5A As shown, if the current ordering process involves searching for a restaurant in the ordering application, the processing progress information displayed in the floating window 416 on the ordering dialog interface 40 can be "Restaurant search in progress." The processing interface displayed in the floating window 416 is the restaurant search interface of the ordering application, and the "Restaurant search in progress" processing progress information and the cancellation control 4161 of the "Restaurant search in progress" processing progress information are displayed floatingly on the restaurant search interface of the ordering application. When the mobile phone receives touch input to the cancellation control 4161, combined with, for example, 5A, ... Figure 5B As shown, the "Restaurant search in progress" message is disabled, and the restaurant search interface of the 416 ordering application is displayed only in the floating window.

[0263] In some embodiments of this application, the shape of the floating window can be any possible shape, such as a circle, rectangle, triangle, rhombus, annulus, or polygon. The specific shape can be determined according to actual usage requirements, and this application does not impose any limitations.

[0264] In some embodiments of this application, the aforementioned floating window can be displayed floatingly at any position in the aforementioned ordering dialog interface. When the user drags the floating window, the floating window can move on the ordering dialog interface as the user drags it.

[0265] It should be noted that when users want to interact with the floating window later, they can control its movement through specific inputs.

[0266] In some embodiments of this application, the aforementioned floating window may also be overlaid on the ordering dialog interface with a first transparency.

[0267] For example, the first preset transparency is denoted as T, and the value of T can be 0%. <T<120%。

[0268] In this way, electronic devices display a floating window in a minimized mode, allowing users to view the processing interface and progress information for each order, thus improving the user experience.

[0269] In some embodiments of this application, during the automatic ordering process, the ordering method provided in this application further includes the following steps 110a to 110d:

[0270] Step 110a: When the food ordering assistant opens the food ordering application, the electronic device displays the program interface of the food ordering application in a floating window.

[0271] In some embodiments of this application, the above-mentioned food ordering application can be any food ordering application on an electronic device.

[0272] In some embodiments of this application, the "ordering assistant opens the ordering application" step 110a above can be implemented through the following step 110a1:

[0273] Step 110a1: The ordering assistant opens an ordering application whose frequency of use exceeds a frequency threshold, or the ordering assistant opens an ordering application that has been used within a historical usage period.

[0274] The historical usage period is the time interval between the time of receiving the food order information and the time of receiving the information is less than the interval threshold.

[0275] In some embodiments of this application, the electronic device can open a food ordering application that is used more frequently than a frequency threshold through the food ordering assistant, or the food ordering assistant can open a food ordering application that has been used within a historical usage period.

[0276] It should be noted that a usage frequency greater than the frequency threshold indicates that the above-mentioned food ordering application is a frequently used food ordering application, and "used within the above-mentioned historical usage period" indicates that the above-mentioned food ordering application has been used recently.

[0277] For example, if a user has two food ordering apps installed on their phone, "A Review" and "B Ordering," and within the past six months, the user has used "A Review" to order food 10 times and "B Ordering" to order food 5 times, then the phone can open "A Review."

[0278] For example, if a user has two food ordering apps installed on their phone, namely "A Review" and "B Order," and the user has used "B Order" to order food within the past 10 days but has not used "A Review" to order food within the past 10 days, then the phone can open "B Order."

[0279] For example, combined with Figure 4E ,like Figure 5B As shown, when the food ordering application is opened in the phone's food ordering assistant, the phone can display the program interface of the food ordering application in the floating window 416 through the food ordering assistant.

[0280] In this way, the ordering assistant can use ordering apps that the user frequently uses or has recently used to place an order by opening the app that the user uses more frequently than a frequency threshold, or by opening the ordering app that the user has used in the past usage period.

[0281] Step 110b: During the process of the ordering assistant searching for restaurants that match the ordering information, the electronic device displays the search interface of the ordering application in a floating window.

[0282] In some embodiments of this application, electronic devices can use a food ordering assistant to search for restaurants that match the ordering information in a food ordering application.

[0283] In some embodiments of this application, the electronic device can use the ordering assistant to search for restaurants that match the restaurant type, restaurant name, or other restaurant information in the ordering element information.

[0284] In some embodiments of this application, the search interface described above can be the search interface for the restaurant described above.

[0285] For example, combining Figure 5B ,like Figure 5CAs shown, when the restaurant name is "Chuanwei Renjia", the mobile phone can display the search interface of the restaurant "Chuanwei Renjia" in the floating window 46 through the ordering assistant while searching for restaurants that match the ordering information.

[0286] For example, when the restaurant name is Haidilao, the mobile phone can display the search interface for Haidilao in a floating window during the process of searching for restaurants that match the ordering information in the ordering assistant.

[0287] Step 110c: When the ordering assistant finds a restaurant that matches the ordering information, the electronic device displays the restaurant's details in a floating window.

[0288] In some embodiments of this application, when the ordering assistant finds a restaurant that matches the ordering information, the electronic device can display the restaurant's details in a floating window through the ordering assistant.

[0289] In some embodiments of this application, the detailed information interface described above can display detailed restaurant information such as restaurant contact number, restaurant address, and restaurant pictures.

[0290] For example, combining Figure 5C ,like Figure 5D As shown, when the restaurant name is "Chuanwei Renjia", the mobile phone can display the detailed information interface of "Chuanwei Renjia" in the floating window 416 when the restaurant is found by the ordering assistant.

[0291] For example, when the restaurant name is Haidilao, the phone can display the restaurant's details in a floating window when the ordering assistant finds the Haidilao restaurant.

[0292] Step 110d: During the process of the electronic device dialing the restaurant's contact number in the details interface of the searched restaurant through the ordering assistant, the call status component is displayed.

[0293] In some embodiments of this application, the call status component includes first status information, which is used to indicate that a call is being dialed.

[0294] In some embodiments of this application, the electronic device can obtain the restaurant's contact number in the details information interface through the ordering assistant, and then make a call to the restaurant through the ordering assistant.

[0295] In some embodiments of this application, the electronic device can display the call status component through the ordering assistant while the ordering assistant is dialing the restaurant's contact number.

[0296] In some embodiments of this application, the call status component described above may also be an atomic island.

[0297] For example, combining Figure 5D ,like Figure 5E As shown, when the mobile phone can find the Sichuan Flavor Restaurant through the details of the Sichuan Flavor Restaurant displayed in the floating window 46, a call component 427 is displayed in the top area of ​​the screen. The call component 427 includes a phone icon 4271, and the phone icon can be red, indicating that the contact number of Sichuan Flavor Restaurant is being dialed. The red phone icon is the first status information mentioned above.

[0298] For example, when the mobile phone can find Haidilao restaurant through the floating window 46 displaying the details of Haidilao restaurant, a call component can be displayed at the top of the screen, and the phone icon in the call component can be red, indicating that the contact number of Haidilao restaurant is being dialed. The red phone icon is the first status information mentioned above.

[0299] Thus, when the electronic device opens the food ordering application with the ordering assistant, the application's interface is displayed in a floating window; while the food ordering assistant searches for restaurants matching the ordering criteria, the search interface is displayed in the floating window; when the food ordering assistant finds a restaurant matching the ordering criteria, the restaurant's details are displayed in the floating window; and while the food ordering assistant dials the restaurant's contact number from the details, the call status is displayed. This allows the floating window to display various processing screens of the food ordering assistant during the ordering process, thereby improving the flexibility of the floating window display method.

[0300] In some embodiments of this application, after the phone call to the aforementioned restaurant is connected, during the call between the ordering assistant and the restaurant's customer service, the ordering method provided in this application embodiment may further include the following step 110e or the following step 110f:

[0301] Step 110e: The electronic device displays second status information on the status reminder component.

[0302] In some embodiments of this application, the aforementioned second status information is used to indicate that a call is in progress.

[0303] For example, such as Figure 5E As shown, after the phone call to the restaurant is connected, the ordering assistant can change the color of the phone icon 4271 in the call component 427 from red to green during the call with the restaurant's customer service, indicating that a call is in progress. The green phone icon is the second status information mentioned above.

[0304] Step 110f: The electronic device cancels the display of the call status component and displays the call interface.

[0305] In some embodiments of this application, the call interface is used to simultaneously display all call information of the telephone communication process between the ordering assistant and the restaurant's customer service.

[0306] For example, after the restaurant's call is connected, the ordering assistant can, during the call with the restaurant's customer service, such as... Figure 5F As shown, a call interface 50 is displayed on the screen, which displays all the text information of the call between the ordering assistant and the restaurant's telephone customer service.

[0307] It should be noted that if the ordering information includes a description of the seating type for private rooms, such as "private room," the ordering assistant can inquire about room availability during the call between the restaurant and the restaurant's customer service representative after the phone call is connected. For example... Figure 5K As shown, the text messages displayed on the call interface 50 during the phone conversation between the ordering assistant and the restaurant's customer service include the ordering assistant asking the restaurant's customer service, "Hello, do you have any private rooms available? I would like to reserve one," and the restaurant's customer service replying, "Hello, we do have private rooms available."

[0308] It should be noted that during the communication between the ordering assistant and the restaurant's customer service, if the ordering assistant is using a voice prompt, then... Figure 5K As shown, message 501 from the automatic reply of the ordering assistant is displayed at the bottom left of the call interface 50. If the user wants to communicate directly with the restaurant's customer service during the communication process between the ordering assistant and the restaurant's customer service, then... Figure 5K As shown, the user can control the voice communication control 502 at the bottom right of the call interface 50. After the user controls the voice communication control 502, the user can directly communicate with the restaurant's customer service hotline, and the call interface 50 can display the text information of the conversation between the user and the restaurant's customer service hotline. The above-mentioned control input can include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible input, which is not limited in this embodiment.

[0309] In this way, the electronic device displays a second status information through the status reminder component, allowing users to understand the processing progress of the current order. Alternatively, it can disable the display of the call status component and display the call interface, allowing users to understand all the call information of the restaurant's telephone customer service, thereby improving the flexibility of the way the processing progress of the previous order is displayed.

[0310] In some embodiments of this application, during the automatic ordering process, the ordering method provided in this application may further include the following steps 111a to 111d:

[0311] Step 111a: During the process of the food ordering assistant opening the food ordering application, the electronic device displays the first progress prompt information in a floating window.

[0312] In some embodiments of this application, the aforementioned first progress notification information is used to indicate that the food ordering application is being opened.

[0313] In some embodiments of this application, the electronic device can display first progress information in a floating window via an ordering assistant.

[0314] For example, the phone can combine the process of opening the food ordering application with the ordering assistant. Figure 4E ,like Figure 5H As shown, the first progress message "Ordering application starting" is displayed in the floating window 416.

[0315] Step 111b: During the process of the ordering assistant searching for restaurants that match the ordering information, the electronic device displays a second progress prompt in a floating window.

[0316] In some embodiments of this application, the aforementioned second progress notification information is used to indicate that a restaurant search is in progress.

[0317] In some embodiments of this application, the electronic device can display first progress information in a floating window via an ordering assistant.

[0318] For example, the phone can combine the process of opening the food ordering application with the ordering assistant. Figure 6A ,like Figure 6B As shown, the phone can display a second progress message "Restaurant search in progress" in the floating window 416.

[0319] Step 111c: When the ordering assistant finds at least two candidate restaurants, the electronic device displays a third progress prompt in a floating window.

[0320] In some embodiments of this application, the aforementioned third progress notification information is used to indicate that restaurants are being filtered.

[0321] In some embodiments of this application, the electronic device can display a third progress prompt in a floating window via an ordering assistant.

[0322] For example, if the mobile phone can find at least two candidate restaurants in the ordering assistant, it can combine... Figure 5E ,like Figure 5IAs shown, the third progress message "Restaurant Filtering in Progress" is displayed in the floating window 416.

[0323] Step 111d: When the ordering assistant finds a restaurant that matches the ordering information from at least two candidate restaurants, the electronic device displays a fourth progress prompt in a floating window.

[0324] In some embodiments of this application, the aforementioned fourth progress notification information is used to indicate that a restaurant has been found.

[0325] In some embodiments of this application, the electronic device can display a fourth progress prompt message in a floating window via an ordering assistant.

[0326] For example, if the mobile phone can filter restaurants that match the ordering criteria from at least two candidate restaurants, it can combine... Figure 5I ,like Figure 5J As shown, the fourth progress message "Restaurant found" is displayed in the floating window 416.

[0327] In this way, by displaying various progress prompts in a floating window, electronic devices allow users to view the progress of the current food order processing, thus improving the flexibility of the floating window display method.

[0328] In some embodiments of this application, after step 103c above, the ordering method provided by this application may further include the following steps 112a and 112b:

[0329] Step 112a: Add controls to the electronic device display schedule.

[0330] In some embodiments of this application, the electronic device may display the aforementioned schedule addition control in the dialog display area of ​​the ordering dialog interface.

[0331] In some embodiments of this application, the above-described schedule addition control is used to prompt for adding a meal order schedule.

[0332] In some embodiments of this application, the shape of the above-mentioned schedule addition control can be any possible shape such as a circle, rectangle, triangle, rhombus, ring or polygon, which can be determined according to actual usage requirements. This embodiment of the invention does not limit the shape.

[0333] For example, as shown in 4E, such as Figure 4F As shown, while the phone displays the ordering result card 417 of the ordering assistant in the dialogue display area 41, it can also display the schedule addition control 419 in the dialogue display area 41.

[0334] Step 112b: When the electronic device receives control input for adding a schedule control or receives a schedule addition request message entered in the ordering dialog interface, it creates a schedule based on the ordering element information in the ordering result card.

[0335] In some embodiments of this application, the person making the order can input a schedule addition request message via voice or text in the ordering dialog interface. The schedule addition request message is used to request the addition of an ordering schedule.

[0336] In some embodiments of this application, the electronic device can create a schedule in a calendar application based on the order details information in the order results card.

[0337] In some embodiments of this application, after a schedule is created in a calendar application, the electronic device can display the calendar application interface of the calendar application, which displays the created meal order schedule information.

[0338] For example, when the mobile phone receives control input for adding control 419 to the schedule, the electronic device creates the schedule and combines it with... Figure 4F ,like Figure 7 As shown, the calendar application interface 70 is displayed, and the calendar application interface 70 displays the meal order schedule information 71.

[0339] In this way, electronic devices can display a schedule addition control, and upon receiving control input to the schedule addition control or a schedule addition request message entered in the ordering dialog interface, create a schedule based on the ordering information in the ordering results card. The created schedule can remind users to eat on time, thereby improving the user experience.

[0340] In some embodiments of this application, the food ordering method provided by this application further includes the following steps 113a and 113b:

[0341] Step 113a: If the order fails, the ordering assistant will end the call with the restaurant's customer service.

[0342] In some embodiments of this application, if the ordering assistant fails to call the restaurant within a preset time period, or if the restaurant's customer service indicates in the first voice message that reservations are not allowed, or if the restaurant's customer service indicates in the second or third voice message that there are no seats available during the dining time, the ordering is deemed to have failed.

[0343] Step 113b: On the ordering dialog box, the electronic device displays an order failure message.

[0344] In some embodiments of this application, the above-mentioned order failure message includes the reason for the order failure and order suggestions.

[0345] For example, combining Figure 4E ,like Figure 4G As shown, in the event of a failed order, the mobile phone can display a message on the order result card 417 stating "No seats available at the restaurant at 7 o'clock. Please select a different dining time."

[0346] For example, if an order fails, the phone can display a message on the order result card that says "The restaurant's phone number was not reached, please try again later."

[0347] In this way, if the order fails, the ordering assistant ends the call with the restaurant's customer service; on the ordering interface, the electronic device displays an order failure message, thereby improving the user experience.

[0348] In some embodiments of this application, the food ordering method provided in this application further includes the following steps 114a and 114b:

[0349] Step 114a: After the ordering assistant ends its call with the restaurant's customer service, the electronic device generates a call log based on the call information and displays a call log viewing control on the ordering interface.

[0350] In some embodiments of this application, the call log viewing control described above is used to prompt the user to view the call log between the ordering assistant and the restaurant's telephone customer service.

[0351] In some embodiments of this application, the electronic device may display the aforementioned call log viewing control in the dialogue display area of ​​the food ordering interface.

[0352] For example Figure 4F As shown, after the ordering assistant ends its call with the restaurant's customer service, the mobile phone can display the order result card 417 and the call log viewing control 419 in the dialogue display area 41.

[0353] Step 114b: When the electronic device receives control input for viewing the call log, it displays the call log between the ordering assistant and the restaurant's telephone customer service.

[0354] In some embodiments of this application, the control input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application.

[0355] In this way, after the ordering assistant ends the call with the restaurant's customer service, the electronic device generates a call log based on the call information and displays a call log viewing control on the ordering interface; when it receives input to control the call log viewing control, it displays the call log between the ordering assistant and the restaurant's customer service, thus improving the flexibility of the way order progress information is displayed during the ordering process.

[0356] In some embodiments of this application, after step 103e above, the ordering method provided in this application further includes steps 115a to 115c:

[0357] Step 115a: The electronic device receives the selection input of the restaurant address in the order result card.

[0358] In some embodiments of this application, the above-mentioned input selection may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application embodiment.

[0359] Step 115b: In response to the selected input, the electronic device displays a navigation interface, which includes a navigation path to the restaurant address.

[0360] In some embodiments of this application, the navigation path described above is a navigation path from the current location of the person who placed the order to the location of the restaurant address.

[0361] For example, if the current location of the person making the reservation is location A, and the location of the restaurant is location B, then the navigation route is the navigation path from location A to location B.

[0362] Step 115c: When the electronic device receives navigation control input to the navigation interface, it navigates according to the navigation path.

[0363] In some embodiments of this application, the navigation control input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application.

[0364] In this way, the electronic device receives the selection input of the restaurant address in the order result card; in response to the selection input, it displays a navigation interface, which includes the navigation path of the restaurant address; when it receives navigation control input to the navigation interface, it can quickly display the interface and start navigation, and follow the navigation path, which can simplify the operation of performing navigation tasks, thereby improving the efficiency and convenience of performing navigation tasks.

[0365] In some embodiments of this application, the above-mentioned ordering dialog interface further includes: functional introduction information of the ordering assistant and at least one ordering recommendation; wherein, the above-mentioned ordering recommendation is an example of ordering demand information containing complete ordering elements;

[0366] Step 103 above can be achieved through the following step C1:

[0367] Step C1: When the electronic device receives a selection input for at least one of the ordering recommendations, it performs automatic ordering processing according to the ordering element information in the selected ordering recommendation.

[0368] In some embodiments of this application, the electronic device can obtain at least one of the aforementioned order recommendation information from the historical order task list. The aforementioned at least one order recommendation information may be order request information including complete order elements that appears more than or equal to a preset number of times in the historical order task list, or order request information including complete order elements that has been used within the aforementioned historical usage time period in the historical order task list.

[0369] For example, if the historical ordering task list contains ordering information including complete ordering elements used within a historical usage period, such as "Restaurant: Haidilao, Dining Time: Sunday 7 PM, Number of Diners: 5, Orderer's Name: Ms. Zhang, and Orderer's Contact Number: 123456789012", combined with... Figure 3 ,like Figure 4I As shown, the dialogue display area 41 can also display the function introduction information 421 of the ordering assistant and the ordering recommendation information 422 of "Please help Ms. Zhang make a reservation for Haidilao at 8 pm on Sunday, for 5 people, the phone number is 123456789012".

[0370] For example, when the preset number of times is 4, and the historical order task list contains order request information including complete order elements that appears 4 times or more, such as order request information 1, order request information 2, and order request information 3, order request information 1 is "Restaurant: Haidilao, Dinner time: Tomorrow night at 6 PM, Number of diners: 2, Name of the person making the order: Ms. Zhang, and contact number: 123456789012", order request information 2 is "Restaurant: Chuanwei Renjia, Dinner time: Tomorrow night at 12 PM, Number of diners: 3, Name of the person making the order: Mr. Zhou, and contact number: 13658987415", and order request information 3 is "Restaurant type: Thai cuisine, Dinner time: Tomorrow night at 7 PM, Number of diners: 5, Name of the person making the order: Ms. Zhang, and contact number: 123456789012", then, combined with... Figure 3 ,like Figure 4PAs shown, the dialogue display area 41 can also display the function introduction information 421 of the ordering assistant, the ordering recommendation information 4221 of "Please help Ms. Zhang reserve Haidilao for 6 pm tomorrow night, 2 people, phone number is 123456789012", the ordering recommendation information 4222 of "Please help Mr. Zhou reserve Chuanwei Renjia for 12 pm Sunday night, 3 people, phone number is 123456789012", and the ordering recommendation information 4223 of "Please help Ms. Zhang reserve Thai food for 7 pm tomorrow night, 5 people, phone number is 123456789012".

[0371] In this way, when the electronic device receives a selection input for at least one of the ordering recommendations, it can automatically order food according to the ordering elements in the selected recommendation, which simplifies the operation of ordering and improves the efficiency and convenience of the electronic device in ordering food.

[0372] In some embodiments of this application, after "displaying the order confirmation card" in step 102 above, the ordering method provided by this application further includes the following steps 116a and 116b:

[0373] Step 116a: The electronic device receives the order modification information entered in the ordering dialog interface.

[0374] In some embodiments of this application, the aforementioned order modification information is used to instruct modifications to at least some order elements on the aforementioned order confirmation card.

[0375] In some embodiments of this application, the ordering information can be modified by voice or text input in the ordering dialog interface.

[0376] Step 116b: The electronic device updates at least one order element on the order confirmation card according to the order modification information.

[0377] In some embodiments of this application, the electronic device can modify the corresponding order element information on the order request confirmation card according to the order element information indicated by the order modification information.

[0378] For example, combining Figure 4E ,like Figure 4HAs shown, when a customer makes a reservation, they can use the touch input control to say "Change the dining time to 8 PM." The microphone can capture the reservation request information "Change the dining time to 8 PM," and the phone can convert this reservation request information into text and display it in the text box 420 within the dialogue display area 41. Furthermore, after updating at least one reservation element on the reservation confirmation card according to the reservation request information, the phone can redisplay the updated reservation confirmation card 414, which now shows the reservation time as 8 PM.

[0379] In this way, by receiving order modification information entered in the ordering dialogue interface, and updating at least one order element on the order confirmation card according to the order modification information, the electronic device can modify the order information on the order confirmation card according to the user's needs, thereby improving the user experience.

[0380] In some embodiments of this application, before step 103 above, the ordering method provided in this application further includes steps 117a to 117b below; after step 103 above, the ordering method provided in this application further includes steps 118a and 118b below:

[0381] Step 117a: The electronic device displays a dialing permission request message.

[0382] In some embodiments of this application, the dialing permission request message can be displayed in a floating manner on the ordering dialog interface.

[0383] In some embodiments of this application, the dialing permission request message is used to obtain dialing permission for the food ordering assistant.

[0384] Step 117b: When the electronic device receives the permission control input for the dialing permission request message, it enables the dialing permission of the food ordering assistant.

[0385] In some embodiments of this application, the control input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application.

[0386] In some embodiments of this application, after the electronic device enables the ordering assistant to make a dialing request, the ordering assistant can dial the restaurant's contact number.

[0387] For example, such as Figure 4JAs shown, the mobile phone can display a message 423 on the blank area of ​​the ordering dialogue interface 40, including the text prompt 4231 "Ordering Assistant requests dialing permission" and a confirmation control 4232, indicating a request for dialing permission. The confirmation control instructs the user to confirm that the ordering assistant is requesting dialing permission. When the user inputs control input to the confirmation control 4232, the mobile phone can respond to the user's input and grant the ordering assistant dialing permission.

[0388] In this way, the electronic device displays a dialing permission request message. Upon receiving the permission control input for the dialing permission request message, it grants the ordering assistant dialing permission, allowing the ordering assistant to call the restaurant's contact number to place an order, thereby improving the success rate of the ordering task.

[0389] After receiving the order confirmation input for the order confirmation card, the method further includes:

[0390] Step 118a: The electronic device displays a call permission request message.

[0391] In some embodiments of this application, the aforementioned call permission request message may be displayed in a floating manner on the aforementioned food ordering dialogue interface.

[0392] In some embodiments of this application, the dialing permission request message is used to obtain dialing permission for the food ordering assistant.

[0393] Step 118b: When the electronic device receives the permission use control input for the call permission request message, it grants the ordering assistant call permission.

[0394] In some embodiments of this application, the control input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application.

[0395] In some embodiments of this application, after the electronic device enables the ordering assistant to make a dialing call, the ordering assistant can make a voice call with the restaurant's telephone customer service and obtain the call record.

[0396] For example, such as Figure 4K As shown, the mobile phone can display a call permission request message 424, including the text "Ordering Assistant requests call permission" 4241 and a confirmation control 4242, in a blank area on the ordering dialogue interface 40. The confirmation control instructs the user to confirm that the ordering assistant is requesting call permission. When the user inputs control input to the confirmation control 4242, the mobile phone can respond to the user's input and grant the ordering assistant call permission.

[0397] In this way, the electronic device displays a call permission request message. Upon receiving the permission control input for the call permission request message, it grants the ordering assistant call permission, enabling the ordering assistant to communicate with the restaurant's telephone customer service to place an order, thereby improving the success rate of the ordering task.

[0398] In some embodiments of this application, the food ordering method provided by this application further includes the following step 119a or the following step 119b:

[0399] Step 119a: When the electronic device has two SIM cards, it displays a SIM card selection confirmation message.

[0400] In some embodiments of this application, the card selection confirmation information includes two card identifiers. Upon receiving a selection input for one of the two card identifiers, the calling card indicated by the selected card identifier is identified as the card used by the ordering assistant to dial; wherein, one card identifier is used to indicate one calling card.

[0401] In some embodiments of this application, the card selection confirmation information may also include multiple card identifiers. In this embodiment, the number of card identifiers in the card selection confirmation information is not specifically limited.

[0402] Step 119b: When the electronic device has a single SIM card, it identifies the single SIM card as the card used for dialing by the food ordering assistant.

[0403] For example, such as Figure 4L As shown, the mobile phone can display card selection confirmation information 425, including card 1 and card 2, in the blank area of ​​the ordering dialogue interface 40. When the user makes a control input on card 1, the mobile phone can respond to the user's control input on card 1 and identify the calling card indicated by card 1 as the card for the ordering assistant to dial.

[0404] In this way, when the electronic device has two SIM cards, it displays the card selection confirmation information; or when it has a single SIM card, it identifies the single SIM card as the card for the ordering assistant to dial, so that the ordering assistant can dial the restaurant's contact number based on the card selection confirmation information or the single SIM card, thereby improving the efficiency of the ordering task.

[0405] In some embodiments of this application, the food ordering method provided by this application may further include the following steps A1 to A4:

[0406] Step A1: The electronic device receives control input for the broadcast tone setting control of the food ordering assistant.

[0407] In some embodiments of this application, the electronic device may display the aforementioned broadcast tone setting control next to the ordering assistant on the ordering dialogue interface.

[0408] In some embodiments of this application, the shape of the above-mentioned broadcast tone setting control can be any possible shape such as a circle, rectangle, triangle, rhombus, ring or polygon, which can be determined according to actual usage requirements. This embodiment of the present invention does not limit the shape.

[0409] In some embodiments of this application, the control input may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application.

[0410] Step A2: In response to the control input, the electronic device displays at least one broadcast tone option.

[0411] In some embodiments of this application, at least one broadcast voice option may include at least one of a gentle female voice, a handsome male voice, a sunny male voice, and a broadcasting / hosting voice.

[0412] Step A3: The electronic device receives input for selecting one of the at least one broadcast tone options.

[0413] In some embodiments of this application, the above-mentioned input selection may include any of the following: user click input, swipe input, press input, voice input, gesture input, or other feasible inputs, which are not limited in this application embodiment.

[0414] Step A4: In response to the selected input, the electronic device updates the broadcast tone of the ordering assistant to the broadcast tone corresponding to the selected broadcast tone option.

[0415] In some embodiments of this application, the electronic device can preset a broadcast tone for the food ordering assistant. Upon receiving a selection input, the broadcast tone of the food ordering assistant is updated from the preset broadcast tone to the broadcast tone corresponding to the selected broadcast tone option.

[0416] For example, such as Figure 4M As shown, the mobile phone can display the broadcast tone setting control 426 in the blank area of ​​the ordering dialog interface 40. When the user makes control input to the broadcast tone setting control 426, the mobile phone can respond to the control input to the broadcast tone setting control 426, such as... Figure 4N As shown, the display shows the options for a gentle female voice (4261), a handsome male voice (4262), a sunny male voice (4263), and a broadcast / host voice (4264). When the user selects the handsome male voice option (4262), the phone responds by updating the ordering assistant's voice to that option.

[0417] Thus, by responding to the selection input of one of the at least one broadcast tone option, the electronic device updates the broadcast tone of the ordering assistant to the broadcast tone corresponding to the selected broadcast tone option, allowing users to customize the broadcast tone of the ordering assistant according to their personal preferences.

[0418] Figure 8 This is a flowchart illustrating the food ordering method provided in this application embodiment. Taking a mobile phone as an example, the method may include the following steps 801 to 810.

[0419] Step 801: The mobile phone displays the food ordering dialog interface.

[0420] For example, the ordering interface may include information introducing the ordering assistant's functions and ordering recommendations. Figure 4I As shown.

[0421] For example, the entire user ordering process is handled by an AI agent. This AI agent is a pre-installed AI assistant on the phone's system, backed by a large model. Different AI agents can perform different tasks; in this case, the ordering AI agent executes the user's requests, such as... Figure 3 Clicking the smart agent icon in the smart agent icon display interface 30 will lead to the ordering dialog interface of the ordering assistant, which displays the ordering smart agent icon. The function introduction information and ordering recommendation information of the ordering assistant will be displayed. The ordering recommendation information is located below the function introduction information of the ordering assistant and provides quick operation. After reading the function introduction information of the ordering assistant, the user can enter the ordering process.

[0422] Step 802: The mobile phone receives the user's food order information.

[0423] For example, Figure 4B As shown, users can long-press the voice input control at the bottom of the ordering dialogue interface to input their dining needs, such as "I want to eat Sichuan cuisine." After the voice input is completed, the transcribed text will be displayed in the dialogue display area 41 of the ordering dialogue interface 40.

[0424] Step 803: The mobile phone determines whether the user's input of the food ordering information is complete.

[0425] For example, the large model must determine the completeness of the order request, including the following elements: restaurant name, time, number of diners, names, and phone number. Only when all five elements are complete will the model recognize it as an order request that can be automatically executed. Otherwise, the model will ask follow-up questions about any missing information.

[0426] If one order element is missing, at least one follow-up question will be asked; if multiple necessary elements are missing, multiple follow-up questions will be asked. Follow-up questions do not prioritize order elements; they are asked based on the missing elements in the user's current response.

[0427] For example, if a user only says they want to eat Sichuan food, omitting the time, number of people, names, and phone numbers, it's advisable to follow up with these details. To avoid overwhelming the user with all the information at once and causing annoyance, follow-up questions can focus on one or two specific pieces of information, such as asking about the time and number of people together: "Are you planning to eat there at 7 pm tonight? How many people are in your party?"

[0428] For example, if the mobile phone determines that the user's input order information is complete, it proceeds to step 804. If it determines that the user's input order information is incomplete, it prompts the user for more order information and proceeds to step 802.

[0429] Step 804: The mobile phone displays the order confirmation card.

[0430] For example, once the ordering request has been fully described, the model will provide a request confirmation card. The user can modify the information on this card via voice, such as saying, "Change the dining time to 8 PM." The modified request will then reappear as a confirmation card. Please refer to [link / reference] for details. Figure 4H This will not be elaborated upon here.

[0431] Step 805: The ordering assistant will open a floating window and enter the ordering application to search for restaurants.

[0432] For example, when a user clicks the confirmation card to confirm their order, a floating window will appear in the ordering dialog. This floating window has a mask on top that indicates the current progress of the operation, such as opening Dianping (a Chinese review platform) or searching for a restaurant. See the following for details. Figures 5A to 5G This will not be elaborated upon here. For example, the first step is to automatically open the food ordering application, and then automatically enter the restaurant name to search.

[0433] Step 806: The ordering assistant will display a floating window to access the restaurant details page and find the restaurant's phone number.

[0434] For example, after retrieving the restaurant name, the ordering assistant will enter the restaurant details page and locate the restaurant's contact number in the first position of the restaurant details page, simulating manual operation by clicking the first position to dial the restaurant's contact number.

[0435] Step 807: Communicate with the ordering assistant and the restaurant's customer service by phone.

[0436] For example, the restaurant assistant can tap the merchant's phone number at the bottom. Once connected, the assistant will communicate the dining request to the restaurant's customer service on behalf of the user, and the conversation will be displayed in real-time on the phone screen. After the order is placed, the AI ​​will automatically summarize the conversation information and generate an order record, which will then be returned to the model.

[0437] For example, combining Figure 5F As shown, the dialogue process can be as follows:

[0438] Restaurant customer service: Hello, Sichuan Cuisine Restaurant, how can I help you?

[0439] Food order assistant: I would like to reserve a table for 7 pm tonight for 4 people.

[0440] Restaurant customer service: Okay, may I ask your surname and whether you are calling this number now?

[0441] Food ordering assistant: Yes, my surname is Zhou. Thank you for your help.

[0442] Restaurant customer service: Your reservation has been successfully made. Thank you for your call.

[0443] Food ordering assistant: Thank you.

[0444] Step 808: The phone determines whether the floating window needs to be enlarged.

[0445] For example, the floating window can be enlarged. When a user wants to view the current operation, they can pinch to enter full-screen mode, and the operation already in progress will not be interrupted by the zooming. However, if the user chooses to manually close the floating window, the entire automatic execution state will stop.

[0446] For example, if the phone determines that the floating window should be enlarged, it executes step 811; if it determines that the floating window should not be enlarged, it executes step 809.

[0447] Step 809: The mobile phone displays the order result card in the order dialogue interface.

[0448] For example, a successful order is displayed as an order result card, highlighting the merchant's address and phone number. Clicking the merchant's address will automatically redirect to a map navigation page. If the order fails, a failure message will be returned, informing the user of the reason.

[0449] Step 810: Save the schedule on your phone.

[0450] For example, Figure 4F As shown, after a successful order, a call viewing control 418 and a calendar addition control 419 are provided below the order result card 417. The user can click the calendar control 419 to save the order schedule to the calendar, and the user can click the call viewing control 418 to display the call interface on the phone.

[0451] Step 811: Enlarge the floating window on your phone.

[0452] For example, after the mobile phone completes step 811, it can proceed to step 809.

[0453] The ordering method provided in this application allows users to interact with the system by inputting their ordering needs in natural language, without needing to understand complex instructions. It also saves users time from manually searching, selecting restaurants, and making phone calls, thus simplifying the ordering process and providing users with a more relaxed and convenient ordering experience.

[0454] It should be noted that the specific implementation process of the above-mentioned ordering method can be found in the relevant description of the above embodiments. To avoid repetition, this embodiment will not repeat it here.

[0455] It should be noted that each of the above method embodiments, or various possible implementations of each method embodiment, can be executed individually or in combination of any two or more. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.

[0456] The food ordering method provided in this application can be executed by a food ordering device. This application uses a food ordering device as an example to illustrate the food ordering device provided in this application.

[0457] Figure 9 This is a schematic diagram of the structure of the ordering device provided in the embodiment of this application. The ordering device includes: a receiving module 901, a display module 902, and an execution module 903.

[0458] The receiving module 901 is used to receive the ordering request information entered in the ordering dialogue interface;

[0459] The display module 902 is used to display an order confirmation card when the order elements in the order request information received by the receiving module are complete. The order confirmation card includes at least one order element information to be confirmed.

[0460] The execution module 903 is used to respond to the order confirmation input on the order confirmation card displayed by the display module, and to perform automatic order processing according to the order element information in the order confirmation card.

[0461] In some embodiments of this application, the ordering request information includes information entered by the orderer at least once in the ordering dialogue interface; the receiving module 901 is specifically used to: receive the original request information entered in the ordering dialogue interface; the execution module 903 is further used to, after receiving the ordering request information entered in the ordering dialogue interface, determine the original request information as ordering request information if the original request information includes all ordering elements, and determine that the ordering elements in the ordering request information are complete.

[0462] In some embodiments of this application, the display module 902 is further configured to, after receiving the order request information input in the ordering dialogue interface, display order element inquiry information in the ordering dialogue interface if at least one order element information is missing from the original request information, the order element inquiry information including guidance information for the missing order element information; the receiving module 901 is further configured to receive at least one reply information input in the ordering dialogue interface; the execution module 903 is further configured to, if the original request information and the at least one reply information include all order elements, determine the original request information and the at least one reply information as order request information, and determine that the order elements in the order request information are complete.

[0463] In some embodiments of this application, the execution module 903 is further configured to, after receiving at least one reply message entered in the ordering dialogue interface, obtain historical ordering element information from the ordering history record when one of the at least one reply messages instructs the ordering assistant to use historical ordering information; specifically, the execution module 903 is configured to: determine the original demand information, the historical ordering element information, and the reply messages in the at least one reply message other than the reply message instructing the ordering assistant to use historical ordering information as ordering demand information.

[0464] In some embodiments of this application, the ordering element information is descriptive information of the ordering elements, which includes: restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order.

[0465] In some embodiments of this application, the automatic ordering process includes at least one ordering process; during the execution of the automatic ordering process, the display module 902 is further configured to display a floating window in a minimized mode; wherein the floating window is used to display the processing interface and processing progress information of each ordering process.

[0466] In some embodiments of this application, during the automatic ordering process, the display module 902 is further configured to: display the program interface of the ordering application in the floating window when the ordering assistant opens the ordering application; display the search interface of the ordering application in the floating window when the ordering assistant searches for restaurants matching the ordering element information; display the restaurant's details interface in the floating window when the ordering assistant finds a restaurant matching the ordering element information; and display a call status component, which includes first status information indicating that a call is being dialed, when the ordering assistant dials the restaurant's contact number in the details interface of the found restaurant.

[0467] In some embodiments of this application, the display module 902 is further configured to, after displaying the floating window in a minimized mode, update the display mode of the floating window to a zoomed-in mode, a split-screen mode, or a full-screen mode upon receiving a window adjustment input for the floating window; wherein, in split-screen mode, the floating window and the ordering dialogue interface are displayed in a split-screen manner; in full-screen mode, the window size of the floating window is larger than that in zoomed-in mode, the window size of the floating window in zoomed-in mode is larger than that in split-screen mode, and the window size of the floating window in split-screen mode is larger than that in minimized mode; upon receiving a suspension control input for the floating window, update the display mode of the floating window to a suspension mode.

[0468] In some embodiments of this application, after the phone call to the restaurant is connected, during the call between the ordering assistant and the restaurant's customer service, the display module 902 is further configured to display second status information on the status reminder component, the second status information being used to indicate that a call is in progress; or, to cancel the display of the call status component and display a call interface, the call interface being used to synchronously display all call information of the telephone communication process between the ordering assistant and the restaurant's customer service.

[0469] In some embodiments of this application, during the automatic ordering process, the display module 902 is further configured to display a first progress prompt in the floating window while the ordering assistant is opening the ordering application, the first progress prompt indicating that the ordering application is being opened; while the ordering assistant is searching for restaurants matching the ordering element information, a second progress prompt in the floating window, the second progress prompt indicating that a restaurant search is in progress; if the ordering assistant finds at least two candidate restaurants, a third progress prompt in the floating window, the third progress prompt indicating that a restaurant is being filtered; and if the ordering assistant finds a restaurant matching the ordering element information among the at least two candidate restaurants, a fourth progress prompt in the floating window, the fourth progress prompt indicating that a restaurant has been found.

[0470] In some embodiments of this application, the execution module 903 is specifically used to: open a food ordering application, and in the search box of the food ordering application, enter the ordering element information from the ordering request confirmation card to search for restaurants that match the ordering element information; the display module 902 is also used to have the ordering assistant dial the restaurant's contact number in the details interface of the searched restaurant; combined with Figure 9 ,like Figure 10 As shown, the device 900 further includes a broadcast module 904, used to broadcast the order request voice according to the order information in the order confirmation card after the restaurant's phone call is connected; the execution module is also used to end the call between the order assistant and the restaurant's customer service if the order is successful; the display module is also used to display an order result card on the order dialogue interface, the order result card including: the name of the person making the order, the restaurant name, the restaurant's contact number, the restaurant's address, the dining time, the number of diners, and a successful order notification message.

[0471] In some embodiments of this application, the broadcast module 904 is specifically used to: broadcast a first request voice, which is used to inquire whether the restaurant's telephone customer service allows the reservation; when the restaurant's telephone customer service's voice only indicates that the reservation is allowed, broadcast a second request voice, which includes all the ordering element information in the order confirmation card; when the restaurant's telephone customer service's voice indicates that the reservation is allowed and includes at least one reservation inquiry, broadcast at least one reply voice, which includes all the ordering element information included in the at least one reservation inquiry.

[0472] In some embodiments of this application, the at least one response voice includes a first response voice, which includes all order element information in the order confirmation card; the receiving module 901 is further configured to receive a first call voice from the restaurant's customer service after the order assistant broadcasts the first request voice, the first call voice indicating that the reservation is allowed; the broadcasting module 904 is further configured to broadcast the first response voice, and if, during the broadcasting of the first response voice by the order assistant, a second call voice from the restaurant's customer service is received, and the second call voice includes the first reservation inquiry information, the broadcasting of the first response voice is stopped, and the second response voice is broadcast, the second response voice being used to respond to the first reservation inquiry information. The ordering element information; wherein, the first reservation inquiry information is used to inquire about the element information of the first ordering element; the broadcast module 904 is further used to broadcast a third reply voice when receiving a third voice call from the restaurant's customer service, and the third voice call includes the second reservation inquiry information, the third reply voice being used to reply to the ordering element information of the second reservation inquiry information; wherein, the second reservation inquiry information is used to inquire about the element information of the second ordering element; or, when receiving a third voice call from the restaurant's customer service, and the third voice call only includes confirmation information of the first ordering element, broadcast a fourth reply voice, the fourth reply voice being used to confirm the content of the first ordering element and inform the second ordering element.

[0473] In some embodiments of this application, the display module 902 is further configured to display a schedule addition control after displaying the order result card in the ordering dialog interface; the execution module 903 is further configured to create a schedule based on the ordering element information in the ordering result card when receiving control input to the schedule addition control or receiving a schedule addition request message entered in the ordering dialog interface.

[0474] In some embodiments of this application, the execution module 903 is further configured to terminate the call between the ordering assistant and the restaurant's customer service in the event of an ordering failure; the display module 902 is further configured to display an ordering failure message on the ordering dialogue interface; wherein the ordering failure message includes the reason for the ordering failure and ordering suggestions.

[0475] In some embodiments of this application, the display module 902 is further configured to generate a call record based on the call information after the ordering assistant ends the call with the restaurant's customer service, and display a call record viewing control on the ordering dialogue interface; and display the call record between the ordering assistant and the restaurant's customer service when a control input to the call record viewing control is received.

[0476] In some embodiments of this application, the execution module 903 is specifically used to: open a food ordering application whose usage frequency is greater than a frequency threshold, or the food ordering assistant opens a food ordering application used within a historical usage period; wherein, the historical usage period is a period of time in which the time interval between the time of receiving the food ordering request information is less than an interval threshold.

[0477] In some embodiments of this application, the receiving module 901 is further configured to receive a selection input for the restaurant address in the ordering result card after the ordering result card is displayed on the ordering dialog interface; the display module is further configured to display a navigation interface in response to the selection input, the navigation interface including a navigation path for the restaurant address; and the execution module 903 is further configured to perform navigation according to the navigation path upon receiving navigation control input for the navigation interface.

[0478] In some embodiments of this application, the receiving module 901 is further configured to receive order modification information entered on the ordering dialog interface after displaying the order confirmation card; the execution module 903 is further configured to update at least one order element information on the order confirmation card according to the order modification information.

[0479] In some embodiments of this application, the receiving module 901 is further configured to receive control input on the ordering agent identifier before receiving the ordering request information entered in the ordering dialogue interface; the display module 902 is further configured to display the ordering dialogue interface of the ordering assistant indicated by the ordering agent identifier in response to the control input.

[0480] In some embodiments of this application, the ordering interface includes a dialogue display area and a voice input control;

[0481] The receiving module 901 is specifically used to: receive touch input to the voice input control; the execution module 903 is further used to convert the voice data captured by the microphone into text information in response to the touch input; the display module 902 is further used to display a dialog box and the orderer's avatar in the dialog display area, the dialog box including the text information.

[0482] In some embodiments of this application, the display module 902 is further configured to display the ordering assistant's avatar in the dialogue display area after receiving the ordering request information entered in the ordering dialogue interface; specifically, the display module 902 is configured to display an ordering request confirmation card in the dialogue display area.

[0483] In some embodiments of this application, the ordering dialog interface further includes: functional introduction information of the ordering assistant and at least one ordering recommendation; wherein, the ordering recommendation is an example of ordering demand information containing complete ordering elements; the execution module 903 is specifically used to perform automatic ordering processing according to the ordering element information in the ordering recommendation selected by the selection input when receiving a selection input for one of the ordering recommendation information.

[0484] In some embodiments of this application, the display module 902 is further configured to display a dialing permission request message before performing automatic ordering processing according to the ordering element information in the ordering request confirmation card; the execution module is further configured to enable the ordering assistant's dialing permission upon receiving permission use control input for the dialing permission request message; the display module 902 is further configured to display a call permission request message after receiving order confirmation input for the ordering request confirmation card; the execution module is further configured to enable the ordering assistant's call permission upon receiving permission use control input for the call permission request message.

[0485] In some embodiments of this application, the display module 902 is further configured to display card selection confirmation information when the calling card is a dual-card system. The card selection confirmation information includes two card identifiers. Upon receiving a selection input for one of the two card identifiers, the calling card indicated by the selected card identifier is identified as the card for dialing by the ordering assistant. Herein, one card identifier is used to indicate one calling card. The execution module is further configured to identify the single calling card as the card for dialing by the ordering assistant when the calling card is a single-card system.

[0486] In the food ordering device provided in this application embodiment, the device receives order request information input through an ordering dialog interface; if the ordering elements in the order request information are complete, it displays an order request confirmation card, which includes at least one ordering element information to be confirmed; in response to the order confirmation input on the order request confirmation card, it performs automatic ordering processing according to the ordering element information in the order request confirmation card. In this application, users can input order request information through an ordering dialog interface, allowing the electronic device to display an order request confirmation card if the ordering elements in the request information are complete. Once the user confirms the input on the order request confirmation card, the electronic device can perform automatic ordering processing, thereby achieving rapid execution of the ordering task. This simplifies the user's ordering interaction, thereby improving the efficiency and ease of use of electronic devices for ordering food.

[0487] The ordering device in this application embodiment can be an electronic device or a component of an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device, augmented reality / virtual reality device, robot, wearable device, super mobile personal computer, netbook, or personal digital assistant, etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.

[0488] The ordering device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0489] The ordering device provided in this application can realize the various processes implemented in the various embodiments of the above-described ordering method. To avoid repetition, it will not be described again here.

[0490] Optionally, such as Figure 11 As shown, this application embodiment also provides an electronic device 1100, including a processor 1101 and a memory 1102. The memory 1102 stores a program or instructions that can run on the processor 1101. When the program or instructions are executed by the processor 1101, they implement the various steps of the above-described ordering method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0491] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0492] Figure 12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0493] The electronic device 1200 includes, but is not limited to, components such as: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.

[0494] Those skilled in the art will understand that the electronic device 1200 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1210 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 12 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0495] The user input unit 1207 is used to receive the ordering request information entered in the ordering dialogue interface;

[0496] Display unit 1206 is used to display an order confirmation card when the order elements in the order request information are complete, the order confirmation card including at least one order element information to be confirmed; processor 1210 is used to perform automatic order processing in response to the order confirmation input on the order confirmation card, according to the order element information in the order confirmation card.

[0497] In some embodiments of this application, the ordering request information includes information entered by the orderer at least once in the ordering dialogue interface; the user input unit 1207 is specifically used to: receive the original request information entered in the ordering dialogue interface; the processor 1210 is further used to, after receiving the ordering request information entered in the ordering dialogue interface, determine the original request information as ordering request information if the original request information includes all ordering elements, and determine that the ordering elements in the ordering request information are complete.

[0498] In some embodiments of this application, the display unit 1206 is further configured to, after receiving the order request information input in the ordering dialogue interface, display order element inquiry information in the ordering dialogue interface if at least one order element information is missing from the original request information, the order element inquiry information including guidance information for the missing order element information; the user input unit 1207 is further configured to receive at least one reply information input in the ordering dialogue interface; the processor 1210 is further configured to, if the original request information and the at least one reply information include all order elements, determine the original request information and the at least one reply information as order request information, and determine that the order elements in the order request information are complete.

[0499] In some embodiments of this application, the processor 1210 is further configured to, after receiving at least one reply message entered in the ordering dialogue interface, obtain historical ordering element information from the ordering history record if one of the at least one reply messages instructs the ordering assistant to use historical ordering information; specifically, the processor 1210 is configured to: determine the original demand information, the historical ordering element information, and the reply messages other than the reply message instructing the ordering assistant to use historical ordering information as ordering demand information.

[0500] In some embodiments of this application, the ordering element information is descriptive information of the ordering elements, which includes: restaurant name, dining time, number of diners, name of the person making the order, and contact number of the person making the order.

[0501] In some embodiments of this application, the automatic ordering process includes at least one ordering process;

[0502] During the automatic ordering process, the display unit 1206 is also used to display a floating window in a minimized mode; wherein the floating window is used to display the processing interface and processing progress information for each order.

[0503] In some embodiments of this application, the display unit 1206 is further configured to, after displaying the floating window in a minimized mode, update the display mode of the floating window to a zoomed-in mode, a split-screen mode, or a full-screen mode upon receiving a window adjustment input for the floating window; wherein, in split-screen mode, the floating window and the ordering dialogue interface are displayed in a split-screen manner; in full-screen mode, the window size of the floating window is larger than that of the floating window in zoomed-in mode, the window size of the floating window in zoomed-in mode is larger than that of the floating window in split-screen mode, and the window size of the floating window in split-screen mode is larger than that of the floating window in minimized mode; upon receiving a suspend control input for the floating window, update the display mode of the floating window to a suspend mode.

[0504] In some embodiments of this application, during the automatic ordering process, the display unit 1206 is further configured to: display the program interface of the ordering application in the floating window when the ordering assistant opens the ordering application; display the search interface of the ordering application in the floating window when the ordering assistant searches for restaurants matching the ordering element information; display the restaurant's details interface in the floating window when the ordering assistant finds a restaurant matching the ordering element information; and display a call status component, which includes first status information indicating that a call is being dialed, when the ordering assistant dials the restaurant's contact number in the details interface of the found restaurant.

[0505] In some embodiments of this application, after the phone call to the restaurant is connected, during the call between the ordering assistant and the restaurant's customer service, the display unit 1206 is further configured to display second status information on the status reminder component, the second status information being used to indicate that a call is in progress; or, to cancel the display of the call status component and display a call interface, the call interface being used to synchronously display all call information of the telephone communication process between the ordering assistant and the restaurant's customer service.

[0506] In some embodiments of this application, during the automatic ordering process, the display unit 1206,

[0507] It is also used to display a first progress prompt in the floating window during the process of the ordering assistant opening the ordering application, the first progress prompt indicating that the ordering application is opening; during the process of the ordering assistant searching for restaurants matching the ordering element information, a second progress prompt in the floating window, the second progress prompt indicating that a restaurant search is in progress; if the ordering assistant finds at least two candidate restaurants, a third progress prompt in the floating window, the third progress prompt indicating that a restaurant is being filtered; and if the ordering assistant finds a restaurant matching the ordering element information from the at least two candidate restaurants, a fourth progress prompt in the floating window, the fourth progress prompt indicating that a restaurant has been found.

[0508] In some embodiments of this application, the processor 1210 is specifically configured to: open a food ordering application, and in the search box of the food ordering application, enter the ordering element information from the ordering request confirmation card to search for restaurants that match the ordering element information; dial the restaurant's contact number in the details interface of the searched restaurant; the audio output unit 1203 is configured to, after the restaurant's call is connected, play the ordering request voice according to the ordering element information in the ordering request confirmation card; the processor 1210 is also configured to, upon successful ordering, end the call with the restaurant's customer service; the display unit 1206 is also configured to, on the food ordering dialogue interface, display an ordering result card, the ordering result card including: the name of the person making the order, the restaurant name, the restaurant's contact number, the restaurant's address, the dining time, the number of diners, and a successful ordering notification message.

[0509] In some embodiments of this application, the audio output unit 1203 is specifically used for: playing a first request voice, which is used to inquire whether the restaurant's telephone customer service allows the reservation; when the restaurant's telephone customer service's voice only indicates that the reservation is allowed, playing a second request voice, which includes all the ordering element information in the order confirmation card; and when the restaurant's telephone customer service's voice indicates that the reservation is allowed and includes at least one reservation inquiry, playing at least one reply voice, which includes all the ordering element information included in the at least one reservation inquiry.

[0510] In some embodiments of this application, the at least one reply voice includes a first reply voice, which includes all order element information in the order confirmation card; the user input unit 1207 is further configured to receive a first call voice from the restaurant's customer service after the order assistant broadcasts the first request voice, the first call voice indicating that the reservation is allowed; the audio output unit 1203 is further configured to broadcast the first reply voice, and if, during the broadcast of the first reply voice by the order assistant, a second call voice from the restaurant's customer service is received, and the second call voice includes the first reservation inquiry information, the broadcast of the first reply voice is stopped, and the second reply voice is broadcast, the second reply voice being used to reply to the first request confirmation card. The reservation inquiry information includes the following elements: the first reservation inquiry information is used to inquire about the element information of the first reservation element; upon receiving a third voice call from the restaurant's customer service, and the third voice call includes the second reservation inquiry information, a third reply voice call is played, which is used to reply to the reservation element information of the second reservation inquiry information; wherein the second reservation inquiry information is used to inquire about the element information of the second reservation element; or, upon receiving a third voice call from the restaurant's customer service, and the third voice call only includes confirmation information of the first reservation element, a fourth reply voice call is played, which is used to confirm the content of the first reservation element and inform the second reservation element.

[0511] In some embodiments of this application, the display unit 1206 is further configured to display a schedule addition control after displaying the order result card in the ordering dialog interface; the processor 1210 is further configured to create a schedule based on the ordering element information in the ordering result card when receiving control input to the schedule addition control or receiving a schedule addition request message entered in the ordering dialog interface.

[0512] In some embodiments of this application, the processor 1210 is further configured to terminate the call with the restaurant's customer service in the event of a failed order; the display unit 1206 is further configured to display an order failure message on the ordering dialogue interface; wherein the order failure message includes the reason for the order failure and ordering suggestions.

[0513] In some embodiments of this application, the display unit 1206 is further configured to generate a call record based on the call information after the ordering assistant ends the call with the restaurant's customer service, and display a call record viewing control on the ordering dialogue interface; and to display the call record between the ordering assistant and the restaurant's customer service when receiving control input to the call record viewing control.

[0514] In some embodiments of this application, the processor 1210 is specifically configured to: open a food ordering application whose application usage frequency is greater than a frequency threshold, or the food ordering assistant opens a food ordering application used within a historical usage period; wherein, the historical usage period is a period of time in which the time interval between the time of receiving the food ordering request information is less than an interval threshold.

[0515] In some embodiments of this application, the user input unit 1207 is further configured to receive a selection input for the restaurant address in the ordering result card after the ordering result card is displayed on the ordering dialog interface; the display unit 1206 is further configured to display a navigation interface in response to the selection input, the navigation interface including a navigation path for the restaurant address; and the processor 1210 is further configured to perform navigation according to the navigation path upon receiving navigation control input for the navigation interface.

[0516] In some embodiments of this application, the user input unit 1207 is further configured to receive order modification information entered on the ordering dialogue interface after displaying the order confirmation card; the display unit 1206 is further configured to update at least one order element information on the order confirmation card according to the order modification information.

[0517] In some embodiments of this application, the user input unit 1207 is further configured to receive control input on the ordering agent identifier before receiving the ordering request information entered in the ordering dialogue interface; the display unit 1206 is further configured to display the ordering dialogue interface of the ordering assistant indicated by the ordering agent identifier in response to the control input.

[0518] In some embodiments of this application, the ordering dialogue interface includes a dialogue display area and a voice input control; the user input unit 1207 is specifically used to: receive touch input to the voice input control; the processor 1210 is also used to convert voice data captured by the microphone into text information in response to the touch input; the display unit 1206 is also used to display a dialog box and the orderer's avatar in the dialogue display area, the dialog box including the text information.

[0519] In some embodiments of this application, the display unit 1206 is further configured to display the ordering assistant's avatar in the dialogue display area after receiving the ordering request information entered in the ordering dialogue interface; specifically, the display unit 1206 is configured to display an ordering request confirmation card in the dialogue display area.

[0520] In some embodiments of this application, the ordering dialog interface further includes: functional introduction information of the ordering assistant and at least one ordering recommendation; wherein, the ordering recommendation is an example of ordering demand information containing complete ordering elements; the processor 1210 is specifically used to: upon receiving a selection input for one of the at least one ordering recommendation, perform automatic ordering processing according to the ordering element information in the ordering recommendation selected by the selection input.

[0521] In some embodiments of this application, the display unit 1206 is further configured to display a dialing permission request message before performing automatic ordering processing according to the ordering element information in the ordering request confirmation card; the processor 1210 is further configured to enable the dialing permission of the ordering assistant upon receiving permission use control input for the dialing permission request message; the display unit 1206 is further configured to display a call permission request message after receiving order confirmation input for the ordering request confirmation card; the processor 1210 is further configured to enable the call permission of the ordering assistant upon receiving permission use control input for the call permission request message.

[0522] In some embodiments of this application, the display unit 1206 is further configured to display card selection confirmation information when the calling card is a dual-card system. The card selection confirmation information includes two card identifiers. Upon receiving a selection input for one of the two card identifiers, the calling card indicated by the selected card identifier is identified as the card for dialing the food ordering assistant. Herein, one card identifier is used to indicate one calling card. The processor 1210 is further configured to identify the single calling card as the card for dialing the food ordering assistant when the calling card is a single-card system.

[0523] In the electronic device provided in this application embodiment, the electronic device receives order request information input in an ordering dialog interface; if the ordering elements in the order request information are complete, it displays an order request confirmation card, which includes at least one ordering element information to be confirmed; in response to the order confirmation input on the order request confirmation card, it performs automatic ordering processing according to the ordering element information in the order request confirmation card. In this application, the user can input order request information in the ordering dialog interface, so that the electronic device can display an order request confirmation card if the ordering elements in the request information are complete. After the user confirms the input on the order request confirmation card, the electronic device can perform automatic ordering processing, thereby realizing the rapid execution of the ordering task. In this way, the user's ordering interaction is simplified, thereby improving the efficiency and ease of operation of ordering food using electronic devices.

[0524] It should be understood that, in this embodiment, the input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042. The GPU 12041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0525] The memory 1209 can be used to store software programs and various data. The memory 1209 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1209 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0526] Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1210.

[0527] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described ordering method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0528] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0529] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described ordering method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0530] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0531] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described ordering method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0532] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0533] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0534] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method of ordering a meal, characterized by, The method comprises: receiving ordering demand information input in an ordering dialogue interface; in the case that ordering elements in the ordering demand information are complete, displaying an ordering demand confirmation card, the ordering demand confirmation card comprising at least one ordering element information to be confirmed; in response to an ordering confirmation input to the ordering demand confirmation card, an ordering assistant opening an ordering application and inputting ordering element information in the ordering demand confirmation card in a search box of the ordering application to search for a restaurant matching the ordering element information; the ordering assistant dialing a restaurant contact number in a detail information interface of the searched restaurant; after the restaurant phone is connected, the ordering assistant broadcasting an ordering request voice according to the ordering element information in the ordering demand confirmation card; in the case that ordering is successful, the ordering assistant ending a call with the restaurant phone customer service; in the ordering dialogue interface, displaying an ordering result card, the ordering result card comprising an orderer name, a restaurant name, a restaurant contact number, a restaurant address, a dining time, a number of diners and an ordering success prompt information.

2. The method of claim 1, wherein, The ordering demand information comprises information input by the orderer at least once in the ordering dialogue interface; The receiving ordering demand information input in the ordering dialogue interface comprises: receiving original demand information input in the ordering dialogue interface; after the receiving ordering demand information input in the ordering dialogue interface, the method further comprises: in the case that the original demand information comprises all ordering elements, determining the original demand information as the ordering demand information and determining that the ordering elements in the ordering demand information are complete.

3. The method of claim 2, wherein, After the receiving ordering demand information input in the ordering dialogue interface, the method further comprises: in the case that the original demand information is missing at least one ordering element information, displaying ordering element inquiry information in the ordering dialogue interface, the ordering element inquiry information comprising guiding information of the missing ordering element information; receiving at least one reply information input in the ordering dialogue interface; in the case that the original demand information and the at least one reply information comprise all ordering elements, determining the original demand information and the at least one reply information as the ordering demand information and determining that the ordering elements in the ordering demand information are complete.

4. The method of claim 3, wherein, After the receiving at least one reply information input in the ordering dialogue interface, the method further comprises: in the case that one of the at least one reply information indicates that the ordering assistant uses historical ordering information, obtaining historical ordering element information from an ordering history record; The determining the original demand information and the at least one reply information as the ordering demand information comprises: determining the original demand information, the historical ordering element information and the at least one reply information except the reply information indicating that the ordering assistant uses historical ordering information as the ordering demand information.

5. The method of claim 1, wherein, The ordering element information is description information of ordering elements, the ordering elements comprising a restaurant name, a dining time, a number of diners, an orderer name and an orderer contact number.

6. The method of claim 1, wherein, The automatic ordering process comprises at least one ordering process; During the execution of the automatic ordering process, the method further comprises: displaying the floating window in a reduced mode; The floating window is used to display the process interface and process progress information of each ordering process.

7. The method of claim 6, wherein, After the floating window is displayed in the reduced mode, the method further comprises: In the case where a window adjustment input to the floating window is received, the display mode of the floating window is updated to an enlarged mode, a split-screen mode or a full-screen mode; In the split-screen mode, the floating window and the ordering dialogue interface are displayed in a split-screen mode; the window size of the floating window in the full-screen mode is larger than that in the enlarged mode, the window size of the floating window in the enlarged mode is larger than that in the split-screen mode, and the window size of the floating window in the split-screen mode is larger than that in the reduced mode; In the case where a suspension control input to the floating window is received, the display mode of the floating window is updated to a suspension mode.

8. The method of claim 6, wherein, During the execution of the automatic ordering process, the method further comprises: In the case where the ordering assistant opens the ordering application, the program interface of the ordering application is displayed in the floating window; In the case where the ordering assistant searches for a restaurant matching the ordering element information, the search interface of the ordering application is displayed in the floating window; In the case where the ordering assistant searches for a restaurant matching the ordering element information, the detail information interface of the restaurant is displayed in the floating window; In the case where the ordering assistant dials the restaurant contact number in the detail information interface of the searched restaurant, a call state component is displayed, and the call state component comprises first state information for prompting that the dialing is in progress.

9. The method of claim 8, wherein, After the phone of the restaurant is connected, during the call process between the ordering assistant and the phone customer service of the restaurant, the method further comprises: In the state reminder component, second state information is displayed, and the second state information is used to prompt that the call is in progress; Alternatively, the display of the call state component is cancelled, and a call interface is displayed, and the call interface is used to synchronously display all call information of the call process between the ordering assistant and the phone customer service of the restaurant.

10. The method of claim 8, wherein, During the execution of the automatic ordering process, the method further comprises: In the case where the ordering assistant opens the ordering application, first progress prompt information is displayed in the floating window, and the first progress prompt information is used to prompt that the ordering application is being opened; In the case where the ordering assistant searches for a restaurant matching the ordering element information, second progress prompt information is displayed in the floating window, and the second progress prompt information is used to prompt that the restaurant is being searched; In the case where the ordering assistant searches for at least two candidate restaurants, third progress prompt information is displayed in the floating window, and the third progress prompt information is used to prompt that the restaurant is being screened; In the case where the ordering assistant screens a restaurant matching the ordering element information from the at least two candidate restaurants, fourth progress prompt information is displayed in the floating window, and the fourth progress prompt information is used to prompt that the restaurant has been searched.

11. The method of claim 1, wherein, The ordering assistant confirms the ordering element information in the ordering demand confirmation card, broadcasts ordering request voice, including: The ordering assistant broadcasts the first request voice, and the first request voice is used to inquire whether the restaurant telephone customer service allows reservation; In the case that the telephone voice of the restaurant telephone customer service only indicates that the reservation is allowed, the ordering assistant broadcasts the second request voice, and the second request voice includes all the ordering element information in the ordering demand confirmation card; In the case that the telephone voice of the restaurant telephone customer service indicates that the reservation is allowed and includes at least one reservation inquiry information, the ordering assistant broadcasts at least one reply voice, and the at least one reply voice includes all the ordering element information included in the at least one reservation inquiry information.

12. The method of claim 11, wherein, The at least one reply voice includes a first reply voice, and the first reply voice includes all the ordering element information in the ordering demand confirmation card; After the ordering assistant broadcasts the first request voice, the method further includes: Receiving the first telephone voice of the restaurant telephone customer service, and the first telephone voice indicates that the reservation is allowed; The ordering assistant broadcasts the first reply voice, and in the process of broadcasting the first reply voice, if the second telephone voice of the restaurant telephone customer service is received and the second telephone voice includes first reservation inquiry information, the ordering assistant stops broadcasting the first reply voice and broadcasts a second reply voice, and the second reply voice is used to reply to the ordering element information of the first reservation inquiry information; wherein the first reservation inquiry information is used to inquire the element information of the first ordering element; In the case that the third telephone voice of the restaurant telephone customer service is received and the third telephone voice includes second reservation inquiry information, the ordering assistant broadcasts a third reply voice, and the third reply voice is used to reply to the ordering element information of the second reservation inquiry information; wherein the second reservation inquiry information is used to inquire the element information of the second ordering element; Or, in the case that the third telephone voice of the restaurant telephone customer service is received and the third telephone voice only includes confirmation information of the first ordering element, the ordering assistant broadcasts a fourth reply voice, and the fourth reply voice is used to confirm the content of the first ordering element and inform the second ordering element.

13. The method of claim 1, wherein, After displaying the ordering result card in the ordering dialogue interface, the method further includes: Displaying a schedule adding control; In the case that a control input to the schedule adding control is received or a schedule adding request message input in the ordering dialogue interface is received, a schedule is created based on the ordering element information in the ordering result card.

14. The method of claim 1, wherein, The method further includes: In the case of ordering failure, the ordering assistant ends the conversation with the restaurant telephone customer service; Displaying ordering failure prompt information in the ordering dialogue interface; Wherein, the ordering failure prompt information includes the reason for ordering failure and ordering suggestion information.

15. The method of claim 1, wherein, The method further includes: After the ordering assistant ends the conversation with the restaurant telephone customer service, a conversation record is generated based on the conversation information, and a conversation record viewing control is displayed in the ordering dialogue interface; In a case where a control input for the call record viewing control is received, a call record between the meal ordering assistant and the restaurant telephone customer service is displayed.

16. The method of claim 1, wherein, The meal ordering assistant opens a meal ordering application, including: The meal ordering assistant opens a meal ordering application whose application use frequency is greater than a frequency threshold, or a meal ordering application that has been used in a historical use time period; The historical use time period is a time period in which a time interval from a reception time of the meal ordering demand information is less than an interval threshold.

17. The method of claim 1, wherein, After displaying the meal ordering result card in the meal ordering dialogue interface, the method further includes: Receiving a selection input for a restaurant address in the meal ordering result card; In response to the selection input, a navigation interface is displayed, the navigation interface including a navigation path of the restaurant address; In a case where a navigation control input for the navigation interface is received, navigation is performed according to the navigation path.

18. The method of claim 1, wherein, After displaying the meal ordering demand confirmation card, the method further includes: Receiving meal ordering modification information input in the meal ordering dialogue interface; According to the meal ordering modification information, at least one meal ordering element information on the meal ordering demand confirmation card is updated.

19. The method of claim 1, wherein, Before receiving the meal ordering demand information input in the meal ordering dialogue interface, the method further includes: Receiving a control input for a meal ordering agent identifier; In response to the control input, a meal ordering dialogue interface of the meal ordering assistant indicated by the meal ordering agent identifier is displayed.

20. The method of claim 1, wherein, The meal ordering dialogue interface includes a dialogue display area and a voice input control; The receiving of the meal ordering demand information input in the meal ordering dialogue interface includes: Receiving a touch input for the voice input control; In response to the touch input, voice data captured by a microphone is converted into text information; In the dialogue display area, a dialogue box and an orderer avatar are displayed, and the dialogue box includes the text information.

21. The method of claim 18, wherein, After receiving the meal ordering demand information input in the meal ordering dialogue interface, the method further includes: In the dialogue display area, a meal ordering assistant avatar is displayed; The displaying of the meal ordering demand confirmation card includes: In the dialogue display area, a meal ordering demand confirmation card is displayed.

22. The method of claim 1, wherein, The meal ordering dialogue interface further includes function introduction information of the meal ordering assistant and at least one meal ordering recommendation information; wherein the meal ordering recommendation information is an example of meal ordering demand information containing complete meal ordering elements; In a case where a selection input for one of the at least one meal ordering recommendation information is received, an automatic meal ordering process is performed according to meal ordering element information in the meal ordering recommendation information selected by the selection input.

23. The method of claim 1, wherein, Before the meal ordering assistant opens a meal ordering application and inputs meal ordering element information in the meal ordering demand confirmation card into a search box of the meal ordering application to search for a restaurant matching the meal ordering element information, the method further includes: A dialing permission request message is displayed; In a case where a permission use control input for the dialing permission request message is received, a dialing permission of the meal ordering assistant is enabled; After receiving a meal ordering confirmation input for the meal ordering demand confirmation card, the method further includes: A call permission request message is displayed; In a case where a permission use control input is received for the call permission request message, the call permission of the meal ordering assistant is enabled.

24. The method of claim 1, wherein, The method further includes: In a case where the call card is a dual card, display a card selection confirmation information including two card identifiers, and in a case where a selection input for one of the two card identifiers is received, determine the call card indicated by the selected card identifier as the card for the meal ordering assistant dialing; wherein one card identifier is used to indicate one call card; In a case where the call card is a single card, determine the single card as the card for the meal ordering assistant dialing.

25. An ordering apparatus, characterized by The device includes: A receiving module configured to receive meal ordering demand information input in a meal ordering dialogue interface; A display module configured to, in a case where meal ordering elements in the meal ordering demand information received by the receiving module are complete, display a meal ordering demand confirmation card including at least one item of meal ordering element information to be confirmed; An execution module configured to, in response to a meal ordering confirmation input for the meal ordering demand confirmation card displayed by the display module, open a meal ordering application, and input meal ordering element information in the meal ordering demand confirmation card in a search box of the meal ordering application to search for a restaurant matching the meal ordering element information; The display module is further configured to dial a restaurant contact phone number in a detail information interface of the searched restaurant by the meal ordering assistant; The device further includes a broadcast module configured to, after the phone of the restaurant is connected, broadcast a meal ordering request voice according to the meal ordering element information in the meal ordering demand confirmation card; The execution module is further configured to, in a case where the meal ordering is successful, end a call with a phone customer service of the restaurant; The display module is further configured to display a meal ordering result card in the meal ordering dialogue interface, the meal ordering result card including a name of a meal ordering person, a name of the restaurant, a contact phone number of the restaurant, an address of the restaurant, a dining time, a number of diners, and a meal ordering success prompt information.

26. The apparatus of claim 25, wherein, The meal ordering demand information includes information input by at least one information input of a meal ordering person in the meal ordering dialogue interface; The receiving module is specifically configured to: Receive original demand information input in a meal ordering dialogue interface; The execution module is further configured to, after receiving the meal ordering demand information input in the meal ordering dialogue interface, in a case where the original demand information includes all meal ordering elements, determine the original demand information as the meal ordering demand information, and determine that the meal ordering elements in the meal ordering demand information are complete.

27. The apparatus of claim 26, wherein, The display module is further configured to, after receiving the meal ordering demand information input in the meal ordering dialogue interface, in a case where the original demand information is missing at least one item of meal ordering element information, display meal ordering element inquiry information in the meal ordering dialogue interface, the meal ordering element inquiry information including guide information of the missing meal ordering element information; The receiving module is further configured to receive at least one reply information input in the meal ordering dialogue interface; The execution module is further configured to determine the original requirement information and the at least one piece of reply information as order requirement information when the original requirement information and the at least one piece of reply information include all order elements, and determine that order elements in the order requirement information are complete.

28. The apparatus of claim 27, wherein, The execution module is further configured to, after receiving the at least one piece of reply information input in the order conversation interface, acquire historical order element information from an order history record when a piece of reply information in the at least one piece of reply information indicates that a historical order information is used by the order assistant. The execution module is specifically configured to: determine the original requirement information, the historical order element information, and the reply information except the reply information indicating that the historical order information is used by the order assistant as order requirement information.

29. The apparatus of claim 25, wherein, The order element information is description information of an order element, and the order element includes a restaurant name, a dining time, a number of diners, an orderer name, and a contact number of the orderer.

30. The apparatus of claim 25, wherein, The automatic order processing includes at least one order processing. During the execution of the automatic order processing, the display module is further configured to display a floating window in a zoom-out mode. The floating window is configured to display a processing interface and processing progress information of each order processing.

31. The apparatus of claim 30, wherein, During the execution of the automatic order processing, the display module is further configured to display a program interface of the order application in the floating window when the order assistant opens the order application. During the search of the order assistant for a restaurant matching the order element information, a search interface of the order application is displayed in the floating window. When the order assistant searches for a restaurant matching the order element information, a detail information interface of the restaurant is displayed in the floating window. During the process in which the order assistant dials a restaurant contact number in the detail information interface of the searched restaurant, a call state component is displayed, and the call state component includes first state information for prompting that a dialing is in progress.

32. The apparatus of claim 31, wherein, The display module is further configured to: after the floating window is displayed in the zoom-out mode, update a display mode of the floating window to a zoom-in mode, a split-screen mode, or a full-screen mode when a window adjustment input to the floating window is received; in the split-screen mode, the floating window and the order conversation interface are displayed in a split-screen mode; the window size of the floating window in the full-screen mode is larger than that in the zoom-in mode, the window size of the floating window in the zoom-in mode is larger than that in the split-screen mode, and the window size of the floating window in the split-screen mode is larger than that in the zoom-out mode; update the display mode of the floating window to a suspended mode when a suspension control input to the floating window is received.

33. The apparatus of claim 32, wherein, After the restaurant telephone is connected, the display module is further configured to display second state information in a state reminder component during a call process between the order assistant and the restaurant telephone customer service, and the second state information is used to prompt that a call is in progress. Or, cancel the display of the call state component, and display a call interface, the call interface being configured to synchronously display all call information of a telephone communication process between the ordering assistant and the telephone customer service of the restaurant.

34. The apparatus of claim 32, wherein, In the process of performing the automatic ordering process, the display module is further configured to, in the process in which the ordering assistant opens the ordering application, display first progress prompt information in the floating window, the first progress prompt information being configured to prompt that the ordering application is being opened. In the process in which the ordering assistant searches for a restaurant matching the ordering element information, the display module is further configured to display second progress prompt information in the floating window, the second progress prompt information being configured to prompt that the restaurant is being searched. In the case where the ordering assistant searches for at least two candidate restaurants, the display module is further configured to display third progress prompt information in the floating window, the third progress prompt information being configured to prompt that the restaurant is being screened. In the case where the ordering assistant screens a restaurant matching the ordering element information from the at least two candidate restaurants, the display module is further configured to display fourth progress prompt information in the floating window, the fourth progress prompt information being configured to prompt that the restaurant has been searched.

35. The apparatus of claim 25, wherein, The broadcast module is specifically configured to: broadcast a first request voice, the first request voice being configured to inquire whether the telephone customer service of the restaurant allows ordering; in the case where the call voice of the telephone customer service of the restaurant only indicates that ordering is allowed, broadcast a second request voice, the second request voice including all ordering element information in the ordering demand confirmation card; in the case where the call voice of the telephone customer service of the restaurant indicates that ordering is allowed and includes at least one ordering inquiry information, broadcast at least one reply voice, the at least one reply voice including all ordering element information included in the at least one ordering inquiry information.

36. The apparatus of claim 25, wherein, The at least one reply voice includes a first reply voice, the first reply voice including all ordering element information in the ordering demand confirmation card. The receiving module is further configured to, after the ordering assistant broadcasts the first request voice, receive a first call voice of the telephone customer service of the restaurant, the first call voice indicating that ordering is allowed. The broadcast module is further configured to broadcast the first reply voice, in the case where the ordering assistant broadcasts the first reply voice, a second call voice of the telephone customer service of the restaurant is received, and the second call voice includes first ordering inquiry information, stop broadcasting the first reply voice, and broadcast a second reply voice, the second reply voice being configured to reply to ordering element information of the first ordering inquiry information; wherein the first ordering inquiry information is configured to inquire element information of a first ordering element. The broadcast module is further configured to, in the case where a third call voice of the telephone customer service of the restaurant is received, and the third call voice includes second ordering inquiry information, broadcast a third reply voice, the third reply voice being configured to reply to ordering element information of the second ordering inquiry information; wherein the second ordering inquiry information is configured to inquire element information of a second ordering element. Or, in a case that a third call voice of a restaurant telephone customer service is received, and the third call voice only includes confirmation information of the first ordering element, a fourth reply voice is played, the fourth reply voice is used for confirming content of the first ordering element and informing a second ordering element.

37. The apparatus of claim 25, wherein, The display module is further configured to display a schedule adding control after displaying the ordering result card in the ordering dialogue interface. The execution module is further configured to create a schedule based on ordering element information in the ordering result card in a case that a control input to the schedule adding control is received or a schedule adding request message input in the ordering dialogue interface is received.

38. The apparatus of claim 25, wherein, The receiving module is further configured to: receive a selection input to a restaurant address in the ordering result card after the ordering result card is displayed in the ordering dialogue interface; The display module is further configured to display a navigation interface in response to the selection input, the navigation interface including a navigation path of the restaurant address. The execution module is further configured to navigate according to the navigation path in a case that a navigation control input to the navigation interface is received.

39. The device of claim 25, wherein, The receiving module is further configured to: receive ordering modification information input in the ordering dialogue interface after the ordering demand confirmation card is displayed; The execution module is further configured to update at least one ordering element information on the ordering demand confirmation card according to the ordering modification information.

40. The apparatus of claim 25, wherein, The display module is further configured to: display a ordering assistant avatar in the dialogue display area after receiving ordering demand information input in the ordering dialogue interface; The display module is specifically configured to: display an ordering demand confirmation card in the dialogue display area.

41. The apparatus of claim 25, wherein, The ordering dialogue interface further includes function introduction information of the ordering assistant and at least one ordering recommendation information; the ordering recommendation information is an example of ordering demand information including complete ordering elements. The execution module is specifically configured to execute automatic ordering processing according to ordering element information in the ordering recommendation information selected by the selection input in a case that a selection input to one of the at least one ordering recommendation information is received.

42. An electronic device, comprising: A processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement steps of the ordering method in any one of claims 1 to 24.

Citation Information

Patent Citations

  • Meal ordering method and relevant device based on voice interaction

    CN107578320A

  • Restaurant reservation method and terminal based on multi-round voice interaction

    CN110992948A