Cluster robot cooperative control method, terminal equipment and storage medium
By monitoring the ordering cycle, categorizing dishes, sorting cooking sequences and mobilizing food delivery robots, the problem of robots in restaurants being difficult to adjust cooking and food delivery in a targeted manner is solved, achieving timely food delivery and improving the dining experience of customers.
Patent Information
- Application Number
- CN202410795077.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult for robots in existing restaurants to make targeted adjustments to the cooking and food delivery processes based on the differences in ordering times for each table, causing some customers to wait too long and affecting the dining experience.
By monitoring the ordering cycle, we can obtain ordering orders, classify dishes, count portions, sort cooking sequences, and mobilize food delivery robots according to target orders to optimize the cooking and food delivery process.
It is possible to reasonably arrange cooking and food delivery according to the ordering time of customers at each table, avoiding long waiting times and improving the dining experience.
Smart Images

Figure CN118657332A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular, relates to a cluster robot collaborative control method, terminal equipment and storage medium. Background Art
[0002] With the development of artificial intelligence and robotics technology, restaurants are increasingly investing in robots to operate their restaurants in order to save on staff costs, such as ordering robots, cooking robots, and food delivery robots.
[0003] However, the current level of intelligence of robots in restaurants is not high. The three types of robots can often only perform simple collaborative tasks such as independent ordering, cooking, and delivery for each table of guests. However, when serving multiple tables of guests at the same time, this type of collaborative method is difficult to make targeted collaborative adjustments to the robots' cooking and delivery processes based on the differences in ordering time at each table, which will cause some guests to wait too long, which will seriously affect their dining experience. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a cluster robot collaborative control method, terminal device and storage medium, which can solve the problem that the prior art is difficult to make targeted collaborative adjustments to the robot's cooking process and delivery process according to the differences in ordering time of each table, which in turn causes some guests to wait too long.
[0005] A first aspect of an embodiment of the present application provides a cluster robot collaborative control method, the cluster robot collaborative control method comprising:
[0006] S1: Monitor whether the current ordering cycle is over. If so, obtain the order generated by each ordering robot in the current ordering cycle;
[0007] S2: Summarize all ordered dishes in each order;
[0008] S3: Classify the same ordered dishes into several ordered dish groups, and count the number of ordered dishes in each ordered dish group;
[0009] S4: sorting each ordered dish group according to the preparation time of the ordered dishes corresponding to each ordered dish group to obtain a first sequence;
[0010] S5: Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the first sequence;
[0011] S6: When any cooking robot finishes cooking, a target order including the ordered dishes cooked by the cooking robot is determined from various order orders, and a delivery robot is dispatched to deliver the cooked ordered dishes according to the generation time of each target order.
[0012] A second aspect of an embodiment of the present application provides a terminal device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the cluster robot collaborative control method.
[0013] A third aspect of an embodiment of the present application provides a terminal-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the steps of the cluster robot collaborative control method.
[0014] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the method provided by the present invention includes monitoring whether the current ordering cycle is over, and if so, obtaining the ordering orders generated by each ordering robot in the current ordering cycle; summarizing all the ordered dishes in each ordering order; classifying the same ordered dishes to form a plurality of ordered dish groups, and counting the number of ordered dishes in each ordered dish group; sorting each ordered dish group according to the preparation time of the ordered dishes corresponding to each ordered dish group to obtain a first sequence; arranging the cooking robots to cook according to the first sequence The ordered dishes corresponding to each ordered dish group; when any cooking robot completes cooking, determine the target order including the ordered dishes cooked by the cooking robot from each order, and mobilize the delivery robot to deliver the cooked ordered dishes according to the generation time of each target order; in the present application, the cooking process of the cooking robot and the delivery process of the delivery robot can be reasonably arranged according to the order time of each table of customers, so as to deliver meals to each table of customers in time, avoid the problem of customers waiting for too long, and ensure the customers' dining experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0016] Figure 1 It is a schematic diagram of the implementation flow of the cluster robot collaborative control method provided in the embodiment of the present application;
[0017] Figure 2It is a schematic diagram of the application environment of the cluster robot collaborative control method provided in the embodiment of the present application;
[0018] Figure 3 It is a schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0020] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0021] Figure 1 A cluster robot collaborative control method provided in Embodiment 1 of the present application is shown, and the cluster robot collaborative control method includes:
[0022] S1: Monitor whether the current ordering cycle is over. If so, obtain the order generated by each ordering robot in the current ordering cycle;
[0023] S2: Summarize all ordered dishes in each order;
[0024] S3: Classify the same ordered dishes into several ordered dish groups, and count the number of ordered dishes in each ordered dish group;
[0025] S4: sorting each ordered dish group according to the preparation time of the ordered dishes corresponding to each ordered dish group to obtain a first sequence;
[0026] S5: Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the first sequence;
[0027] S6: When any cooking robot finishes cooking, a target order including the ordered dishes cooked by the cooking robot is determined from various order orders, and a delivery robot is dispatched to deliver the cooked ordered dishes according to the generation time of each target order.
[0028] In this embodiment, if Figure 2As shown, the method is executed in a terminal device, which may be an independent physical server or terminal, or a server cluster consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud servers, cloud databases, cloud storage, and CDN; the cluster robot includes several ordering robots, cooking robots, and delivery robots, each of which is controlled by the terminal device;
[0029] In this embodiment, the ordering robot includes a mobile module, a voice module, a display screen, etc. It can move under the control of the terminal device through the mobile module, communicate with the customer through the voice module, and display a menu on the display screen for the customer to choose. After the customer confirms, the order can be generated and sent to the terminal device;
[0030] In this embodiment, the cooking robot includes a cooking device, which can cook dishes requested by the terminal device at a corresponding time under the control of the terminal device. The cooking ingredients can be pre-stored in the cooking robot or placed into the cooking device manually.
[0031] In this embodiment, the food delivery robot includes a moving module and a plating device, which can plate the dishes cooked in the cooking device and then move them to the customer's table for delivery;
[0032] In this embodiment, the ordering cycle is a cycle of a preset time length, which can be 5 minutes or 10 minutes. After the current ordering cycle is over, the next ordering cycle will be entered, and the cycle will continue until the restaurant closes. Since it is difficult to generate multiple orders at the same time, by setting a time cycle, there is a higher probability of obtaining multiple orders, so that multiple orders can be processed at the same time to improve efficiency. In addition, the ordering cycle is set to a shorter time length, which avoids the overall waiting time of customers being extended due to the ordering cycle process.
[0033] In the present application, after the terminal device collects each meal order, since each order includes several dishes, and the cooking robot can only cook one dish at a time regardless of the amount of food it cooks, the same dishes in each order are classified into the same order dish group. When the cooking robot is controlled to cook one dish based on the order dish group, the single cooking quantity can be arranged as much as possible, so that each cooking can meet the needs of multiple orders as much as possible, with higher cooking efficiency. Furthermore, the present embodiment arranges the cooking sequence based on the preparation time of different dishes. In addition, the food delivery robot reasonably determines the delivery sequence according to the order of order generation time, that is, the cooking process of the cooking robot and the delivery process of the food delivery robot can be reasonably arranged according to the order time of each table of customers, so that food can be delivered to each table of customers in a timely manner, which can avoid the problem of customers waiting for too long and ensure the customers' dining experience.
[0034] As a preferred embodiment, before step S1, the method further includes:
[0035] During the current ordering cycle, monitor whether there are any customers entering the store;
[0036] If a customer enters the store, the ordering robot will be mobilized to guide the customer to a seat and assist the customer in placing an order to generate an order.
[0037] In this embodiment, a camera is also provided at the entrance of the restaurant, and the camera is connected to the terminal device. The terminal device can monitor whether there are customers entering the store through the camera. When a customer enters the store, an idle ordering robot is mobilized to lead the guest to an empty table and record the table number.
[0038] As a preferred embodiment, the preparation time of each ordered dish is the average time taken by the cooking robot to prepare the ordered dish in history, and each ordered dish group is sorted according to the preparation time corresponding to the ordered dishes of each ordered dish group, that is, each ordered dish group is sorted in order of preparation time from long to short.
[0039] Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the order of the ordered dish groups includes:
[0040] S51: for each ordered dish group, determining the number of cooking robots required for the ordered dish group according to the number of portions corresponding to the ordered dish group;
[0041] S52: Calculating the total number of cooking robots required for each ordered dish group;
[0042] S53: Determine whether the total number exceeds the number of existing cooking robots;
[0043] S54: If the total number does not exceed the number of existing cooking robots, the cooking tasks corresponding to each ordered dish group are distributed to each cooking robot in the same round, so that each cooking robot cooks according to the received cooking tasks;
[0044] S55: If the total number exceeds the number of existing cooking robots, the cooking tasks corresponding to each ordered dish group are distributed to each cooking robot in several rounds according to the first sequence, so that each cooking robot cooks according to the received cooking tasks.
[0045] In this embodiment, the terminal device pre-stores the maximum number of portions that a cooking robot can cook for each dish at a time. The total number of cooking robots required can be obtained by dividing the number of portions in the ordered dish group by the maximum number of portions cooked at a time.
[0046] In this embodiment, priority is given to cooking the ordered dishes in the group of ordered dishes that are ranked higher in the first sequence, that is, priority is given to cooking the dishes that take longer to prepare, so that the cooking time of various dishes can be relatively uniform, and the situation that some dishes take an extremely long time to complete can be avoided, thereby avoiding the problem of customers' dining time being greatly extended due to the slow serving of some dishes; the existing cooking robots, that is, the cooking robots that can be mobilized at present, can be all the cooking robots of the restaurant (when no cooking robot is cooking) or some of the robots of the restaurant (when another part is cooking); this embodiment determines a batch of existing cooking robots for each ordering cycle, and these cooking robots are specifically used to execute the tasks of the order orders corresponding to the ordering cycle.
[0047] As a preferred embodiment, distributing the cooking tasks corresponding to each ordered dish group to each cooking robot in the same round includes:
[0048] S541: Take an ordered dish group as a target group;
[0049] S542: Obtain the number of cooking robots required by the target group, and select a corresponding number of cooking robots from the cooking robots that have not been assigned tasks as target robots;
[0050] S543: Dividing the number of ordered dishes included in the target group by the number of target robots to obtain a target number of ordered dishes that each target robot needs to cook;
[0051] S544: Generate a cooking task including the target number of servings and the ordered dishes corresponding to the target group, and send the cooking task to each target robot, so that each target robot cooks according to the received cooking task;
[0052] S545: Take another ordered dish group as the target group, and execute steps S542 to S545 until the distribution of cooking tasks for each ordered dish group is completed.
[0053] In this embodiment, if the calculated target number of servings is a decimal, when sending the cooking task, the target number of servings for some of the cooking robots can be rounded up, and the target number of servings for other cooking robots can be rounded down to ensure that the total number of servings remains unchanged; when there are sufficient cooking robots, the cooking tasks corresponding to each ordered dish group can be directly assigned to each cooking robot, and each cooking robot starts to perform the cooking task at the same time, and each only needs to perform one round of cooking tasks. There is no need to queue and there is no cooking waiting time, which improves cooking efficiency.
[0054] As a preferred embodiment, distributing the cooking tasks corresponding to each ordered dish group to each cooking robot in several rounds according to the first sequence includes:
[0055] S551: Take the first ordered dish group in the first sequence as the target group, and execute steps S542 to S544;
[0056] S552: taking the next ordered dish group in the first sequence as the target group, executing steps S542 to S544, and repeating this step until the remaining cooking robots are insufficient to complete the cooking task of the current target group, and recording the number of ordered dish groups that have completed the task allocation as n;
[0057] S553: taking the n+1th ordered dish group in the first sequence, and generating a cooking task corresponding to the ordered dish group according to the number of ordered dishes included in the ordered dish group and the number of cooking robots required for the ordered dish group;
[0058] S554: sending the cooking task corresponding to the ordered dish group to each remaining cooking robot, so that each remaining cooking robot performs cooking according to the received cooking task;
[0059] S555: monitoring whether there is a cooking robot that has completed the previous round of cooking. If yes, sending the cooking task corresponding to the ordered dish group to the cooking robot that has completed the previous round of cooking, until the number of cooking tasks that matches the number of cooking robots required by the ordered dish group is sent;
[0060] S556: Let i=n+1, take the i-th ordered dish group in the first sequence, and generate a cooking task corresponding to the ordered dish group according to the number of ordered dishes included in the ordered dish group and the number of cooking robots required for the ordered dish group;
[0061] S557: monitoring whether there is a cooking robot that has completed the previous round of cooking. If yes, sending the cooking task corresponding to the ordered dish group to the cooking robot that has completed the previous round of cooking, until the number of cooking tasks that matches the number of cooking robots required by the ordered dish group is sent;
[0062] S558: Repeat S556 to S557 until i=t+1, and stop issuing cooking tasks, where t is the number of ordered dish groups in the first sequence.
[0063] In this embodiment, when the number of cooking robots is insufficient, each cooking robot is first fully loaded with tasks according to the order of the first sequence, wherein the last ordered dish group that can be currently arranged can only be partially arranged with cooking tasks, then the tasks of the ordered dish group are divided into two parts, one part is arranged for cooking in the first round, and the other part waits for the next round of cooking; after all cooking robots have arranged cooking tasks in the first round, each cooking robot starts to execute, and the terminal device waits for each cooking robot to complete the tasks of the previous round. When any cooking robot completes the cooking tasks of the previous round, the cooking tasks of the subsequent ordered dish groups are arranged to the cooking robot according to the sorting of the first sequence until the cooking robot is fully loaded, and then continue to wait for other robots to be free, and repeat this cycle until all cooking tasks are arranged; in this embodiment, since the preparation time of the later ordered dish groups is shorter, their tolerance for waiting is higher, cooking arrangements made in this way can make the waiting time of various dishes uniform, which can bring customers a relatively better dining experience.
[0064] As a preferred embodiment, each generated meal order includes the generation time of the meal order and the corresponding table number, and mobilizing the meal delivery robot to deliver the cooked ordered dishes according to the generation time of each target order includes:
[0065] S61: sorting the target orders according to the generation time to obtain a second sequence;
[0066] S62: Obtain the number x of cooked ordered dishes;
[0067] S63: Filter out the first x target orders from the second sequence, mobilize the food delivery robot to deliver x portions of cooked ordered dishes to the tables corresponding to the table numbers of the filtered target orders, and delete the filtered target orders from the second sequence.
[0068] After step S63, the method further includes:
[0069] S64: monitoring whether the same ordered dish has been cooked, and obtaining the number y of the ordered dish that has been cooked;
[0070] S65: Filter out the first y target orders from the remaining target orders in the second sequence, mobilize the food delivery robot to deliver y portions of the cooked ordered dishes to the tables corresponding to the table numbers of the filtered target orders, and delete the filtered target orders from the second sequence;
[0071] S66: Repeat steps S64 to S65 until all orders in the second sequence are deleted.
[0072] In this embodiment, the meals can be delivered first to the customers who ordered first, which reduces the gap between the time when the customers place their orders and the time when the meals are delivered, that is, reduces the waiting time for the customers.
[0073] A terminal device provided in a second embodiment of the present application includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the cluster robot collaborative control method, specifically including:
[0074] S1: Monitor whether the current ordering cycle is over. If so, obtain the order generated by each ordering robot in the current ordering cycle;
[0075] S2: Summarize all ordered dishes in each order;
[0076] S3: Classify the same ordered dishes into several ordered dish groups, and count the number of ordered dishes in each ordered dish group;
[0077] S4: sorting each ordered dish group according to the preparation time of the ordered dishes corresponding to each ordered dish group to obtain a first sequence;
[0078] S5: Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the first sequence;
[0079] S6: When any cooking robot finishes cooking, a target order including the ordered dishes cooked by the cooking robot is determined from various order orders, and a delivery robot is dispatched to deliver the cooked ordered dishes according to the generation time of each target order.
[0080] A terminal-readable storage medium is provided in the third embodiment of the present application. A computer program is stored on the terminal-readable storage medium. When the computer program is executed by a processor, the processor executes the steps of the cluster robot collaborative control method, specifically including:
[0081] S1: Monitor whether the current ordering cycle is over. If so, obtain the order generated by each ordering robot in the current ordering cycle;
[0082] S2: Summarize all ordered dishes in each order;
[0083] S3: Classify the same ordered dishes into several ordered dish groups, and count the number of ordered dishes in each ordered dish group;
[0084] S4: sorting each ordered dish group according to the preparation time of the ordered dishes corresponding to each ordered dish group to obtain a first sequence;
[0085] S5: Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the first sequence;
[0086] S6: When any cooking robot finishes cooking, a target order including the ordered dishes cooked by the cooking robot is determined from various order orders, and a delivery robot is dispatched to deliver the cooked ordered dishes according to the generation time of each target order.
[0087] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0088] It should be understood that when used in the present application specification, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0089] It should also be understood that the term “and / or” used in the specification of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0090] As used in the present specification, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [the described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [the described condition or event] is detected" or "in response to detecting [the described condition or event]" depending on the context.
[0091] In addition, in the description of the present specification, the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance. It should also be understood that although the terms "first", "second", etc. are used to describe various elements in some embodiments of the present application in the text, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first table can be named as the second table, and similarly, the second table can be named as the first table, without departing from the scope of the various described embodiments. The first table and the second table are both tables, but they are not the same table.
[0092] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0093] The cluster robot collaborative control method provided in the embodiments of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
[0094] For example, the terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set top box (STB), a customer premises equipment (CPE) and / or other devices for communicating on a wireless system and a next-generation communication system, such as a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (PLMN) network, etc.
[0095] As an example but not limitation, when the terminal device is a wearable device, the wearable device can also be a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0096] Figure 3 Schematic diagram of the structure of a terminal device provided by an embodiment of the present application. Figure 3 As shown, the terminal device of this embodiment includes: at least one processor ( Figure 3 Only one is shown in the figure), a memory, wherein the memory stores a computer program that can be run on the processor. When the processor executes the computer program, the steps in the above-mentioned embodiments of the cluster robot collaborative control method are implemented, such as Figure 1 Steps S1 to S2 are shown.
[0097] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 3 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include an input sending device, a network access device, a bus, etc.
[0098] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0099] In some embodiments, the memory may be an internal storage unit of the terminal device, such as a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data and other programs, such as the program code of the computer program, etc. The memory may also be used to temporarily store data that has been sent or is to be sent.
[0100] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0101] An embodiment of the present application provides a computer program product. When the computer program product is run on a mobile terminal device, the mobile terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0102] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0104] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A cluster robot collaborative control method, characterized in that: The cluster robot collaborative control method comprises: S1: Monitor whether the current ordering cycle is over. If so, obtain the order generated by each ordering robot in the current ordering cycle; S2: Summarize all ordered dishes in each order; S3: Classify the same ordered dishes into several ordered dish groups, and count the number of ordered dishes in each ordered dish group; S4: sorting each ordered dish group according to the preparation time of the ordered dishes corresponding to each ordered dish group to obtain a first sequence; S5: Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the first sequence; S6: When any cooking robot finishes cooking, a target order including the ordered dishes cooked by the cooking robot is determined from various order orders, and a delivery robot is dispatched to deliver the cooked ordered dishes according to the generation time of each target order.
2. The cluster robot collaborative control method according to claim 1, characterized in that: Before step S1, the method further includes: During the current ordering cycle, monitor whether there are any customers entering the store; If a customer enters the store, the ordering robot will be mobilized to guide the customer to a seat and assist the customer in placing an order to generate an order.
3. The cluster robot collaborative control method according to claim 1, characterized in that: The preparation time of each ordered dish is the average time taken by the cooking robot to prepare the ordered dish in history. The ordered dish groups are sorted according to the preparation time corresponding to the ordered dishes of each ordered dish group, that is, the ordered dish groups are sorted in order of preparation time from long to short.
4. The cluster robot collaborative control method according to claim 3, characterized in that: Arranging the cooking robot to cook the ordered dishes corresponding to each ordered dish group according to the order of the ordered dish groups includes: S51: for each ordered dish group, determining the number of cooking robots required for the ordered dish group according to the number of portions corresponding to the ordered dish group; S52: Calculating the total number of cooking robots required for each ordered dish group; S53: Determine whether the total number exceeds the number of existing cooking robots; S54: If the total number does not exceed the number of existing cooking robots, the cooking tasks corresponding to each ordered dish group are distributed to each cooking robot in the same round, so that each cooking robot cooks according to the received cooking tasks; S55: If the total number exceeds the number of existing cooking robots, the cooking tasks corresponding to each ordered dish group are distributed to each cooking robot in several rounds according to the first sequence, so that each cooking robot cooks according to the received cooking tasks.
5. The cluster robot collaborative control method according to claim 4, characterized in that: In the same round, the cooking tasks corresponding to each ordered dish group are distributed to each cooking robot including: S541: Take an ordered dish group as a target group; S542: Obtain the number of cooking robots required by the target group, and select a corresponding number of cooking robots from the cooking robots that have not been assigned tasks as target robots; S543: Dividing the number of ordered dishes included in the target group by the number of target robots to obtain a target number of ordered dishes that each target robot needs to cook; S544: Generate a cooking task including the target number of servings and the ordered dishes corresponding to the target group, and send the cooking task to each target robot, so that each target robot cooks according to the received cooking task; S545: Take another ordered dish group as the target group, and execute steps S542 to S545 until the distribution of cooking tasks for each ordered dish group is completed.
6. The cluster robot collaborative control method according to claim 4, characterized in that: Distributing the cooking tasks corresponding to each ordered dish group to each cooking robot in several rounds according to the first sequence includes: S551: Take the first ordered dish group in the first sequence as the target group, and execute steps S542 to S544; S552: taking the next ordered dish group in the first sequence as the target group, executing steps S542 to S544, and repeating this step until the remaining cooking robots are insufficient to complete the cooking task of the current target group, and recording the number of ordered dish groups that have completed the task allocation as n; S553: taking the n+1th ordered dish group in the first sequence, and generating a cooking task corresponding to the ordered dish group according to the number of ordered dishes included in the ordered dish group and the number of cooking robots required for the ordered dish group; S554: sending the cooking task corresponding to the ordered dish group to each remaining cooking robot, so that each remaining cooking robot performs cooking according to the received cooking task; S555: monitoring whether there is a cooking robot that has completed the previous round of cooking. If yes, sending the cooking task corresponding to the ordered dish group to the cooking robot that has completed the previous round of cooking, until the number of cooking tasks that matches the number of cooking robots required by the ordered dish group is sent; S556: Let i=n+1, take the i-th ordered dish group in the first sequence, and generate a cooking task corresponding to the ordered dish group according to the number of ordered dishes included in the ordered dish group and the number of cooking robots required for the ordered dish group; S557: monitoring whether there is a cooking robot that has completed the previous round of cooking. If yes, sending the cooking task corresponding to the ordered dish group to the cooking robot that has completed the previous round of cooking, until the number of cooking tasks that matches the number of cooking robots required by the ordered dish group is sent; S558: Repeat S556 to S557 until i=t+1, and stop issuing cooking tasks, where t is the number of ordered dish groups in the first sequence.
7. The cluster robot collaborative control method according to claim 1, characterized in that: Each generated meal order includes the generation time of the meal order and the corresponding table number. According to the generation time of each target order, the meal delivery robot is mobilized to deliver the cooked ordered dishes, including: S61: sorting the target orders according to the generation time to obtain a second sequence; S62: Obtain the number x of cooked ordered dishes; S63: Filter out the first x target orders from the second sequence, mobilize the food delivery robot to deliver x portions of cooked ordered dishes to the tables corresponding to the table numbers of the filtered target orders, and delete the filtered target orders from the second sequence.
8. The cluster robot collaborative control method according to claim 7, characterized in that: After step S63, the method further includes: S64: monitoring whether the same ordered dish has been cooked, and obtaining the number y of the ordered dish that has been cooked; S65: Filter out the first y target orders from the remaining target orders in the second sequence, mobilize the food delivery robot to deliver y portions of the cooked ordered dishes to the tables corresponding to the table numbers of the filtered target orders, and delete the filtered target orders from the second sequence; S66: Repeat steps S64 to S65 until all orders in the second sequence are deleted.
9. A terminal device, characterized in that: It includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the cluster robot collaborative control method as claimed in any one of claims 1 to 8.
10. A terminal-readable storage medium, characterized in that: A computer program is stored on the terminal-readable storage medium. When the computer program is executed by the processor, the processor executes the steps of the cluster robot collaborative control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for determining cooking sequence, cooking processing equipment and storage medium
CN107993008A
Method and device for quickly serving dishes in smart restaurant and storage medium
CN110136029A
Cooking information processing method and device, cooking system and computer equipment
CN111427274A
Food delivery robot and food delivery system based on artificial intelligence
CN112171645A
Cooking time determination method and device and computer equipment
CN112258290A
