Method, system, device and storage medium for generating restaurant service task information

Using machine vision technology to identify table status in real time, generate service tasks and automatically match service personnel, it solves the problem of untimely push of restaurant service tasks, improves consumer experience and operational efficiency, and achieves an increase in table usage and dining time dynamics. predict.

CN111191804BActive Publication Date: 2024-09-24BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811360773.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-15
Publication Date
2024-09-24
Estimated Expiration
2038-11-15

AI Technical Summary

Technical Problem

In the existing technology, restaurants cannot accurately grasp the table status in real time, resulting in untimely push of service tasks, affecting consumer experience and operational efficiency.

Method used

Machine vision technology is used to obtain internal images of the restaurant, identify consumer status and desktop status in the dining table area in real time, generate service tasks based on preset conditions, and automatically match service personnel for ordering, cleaning, and desktop scheduling tasks.

Benefits of technology

It improves consumer experience and operational efficiency, ensures that service staff respond immediately, increases table utilization, and dynamically adjusts the waiting time through dining time prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111191804B
    Figure CN111191804B
Patent Text Reader

Abstract

The present invention provides a method, system, device and storage medium for generating restaurant service task information, the method comprising: acquiring an image of a target area inside a restaurant; determining the consumer status and table status corresponding to each table area according to the image of the target area inside the restaurant; generating service tasks associated with each table area in response to the consumer status and table status of each table area meeting a preset task generation condition. The present invention is based on machine vision, grasps the consumer status and table status of each table area in a restaurant in real time, quickly generates service tasks and hands them over to service personnel for execution, improves consumer experience, and improves operational efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of society, the Internet and data analysis technology have increasingly penetrated into our daily lives, providing more convenience for various life services. After consumers get a number online or make an appointment in the store, they will get a reservation code, but they cannot know the exact dining time. The dining time they know is often estimated by the waiter, which has a large random factor and cannot be used as a reliable reference. After the consumer completes the checkout, it is impossible to know the consumer's departure time well, and there is no message system to notify the waiter to clean the table in time, which affects the table turnover rate.

[0003] Although the prior art provides a restaurant pager that can facilitate consumers to call for service and waiters to receive messages more quickly, this method, when consumers make reservations for a table, does not have a message system to immediately notify the waiter to provide service, and consumers need to manually press the restaurant pager, which is very cumbersome. In addition, since the restaurant pager is actively operated by consumers, after the active call, it takes a certain amount of time for the waiter to provide service after receiving a response, resulting in a poor user experience. Summary of the invention

[0004] In response to the problems in the prior art, the purpose of the present invention is to provide a method, system, device and storage medium for generating restaurant service task information, which can grasp the consumer status and desktop status of each table area in the restaurant in real time based on machine vision, quickly generate service tasks and hand them over to service personnel for execution, thereby improving consumer experience and improving operational efficiency.

[0005] An embodiment of the present invention provides a method for generating restaurant service task information, the method comprising the following steps:

[0006] Acquire an image of a target area inside the restaurant;

[0007] Determine the consumer status and table status corresponding to each dining table area according to the image of the target area inside the restaurant;

[0008] In response to the consumer status and table status corresponding to each dining table area satisfying a preset task generation condition, a service task associated with each dining table area is generated.

[0009] Optionally, after acquiring the image of the target area inside the restaurant, the following steps are further included:

[0010] Each dining table area is extracted from the image of the restaurant interior area target, and the identification number of each dining table area is matched according to the position of each dining table area.

[0011] Optionally, determining the consumer status corresponding to each dining table area includes the following steps:

[0012] Detecting consumers and locations of each consumer in the image of the target area inside the restaurant;

[0013] According to the pre-stored location ranges of each dining table area and the locations of each consumer, determining whether there are consumers in each dining table area;

[0014] If there are consumers in a dining table area, the consumer status corresponding to the dining table area is recorded as having consumers; otherwise, the consumer status corresponding to the dining table area is recorded as having no consumers.

[0015] Optionally, determining the tabletop status corresponding to each dining table area includes the following steps:

[0016] Detecting whether there are dinner plates on the tabletops corresponding to each dining table area in the image of the target area inside the restaurant;

[0017] If there is a dinner plate on the table in a dining table area, the table status corresponding to the dining table area is recorded as having a dinner plate, otherwise the table status corresponding to the dining table area is recorded as having no dinner plate.

[0018] Optionally, the step of responding to the consumer status and table status of each dining table area satisfying a preset task generation condition comprises the following steps:

[0019] Determine whether there are consumers in a dining table area;

[0020] If there are consumers, determine whether there are plates in the table area. If there are consumers and plates, the table area does not meet the task generation conditions. If there are consumers but no plates, the table area meets the order task generation conditions.

[0021] If there are no consumers, determine whether there are plates in the dining table area. If there are no consumers and there are plates, the dining table area meets the conditions for generating the table cleaning task. If there are no consumers and no plates, the dining table area meets the conditions for generating the table scheduling task.

[0022] Optionally, if there is no consumer in a dining table area and there is a dining plate in the dining table area, the following steps are further included:

[0023] Get the checkout status information corresponding to the table area;

[0024] If the checkout status of the dining table area is checked out, then the dining table area meets the conditions for generating the table cleaning task.

[0025] Optionally, after generating the service tasks associated with each dining table area, the following steps are further included:

[0026] Generate corresponding service tasks according to the task type associated with the dining table area, the service tasks including ordering tasks, table cleaning tasks and table scheduling tasks;

[0027] If the task type of the service task is an order-taking task or a desktop-cleaning task, matching a service personnel for the service task;

[0028] If the task type of the service task is a desktop scheduling task, the service task is matched with a consumer who is in queue.

[0029] Optionally, matching the desktop scheduling task with the consumers in queue includes the following steps:

[0030] For table scheduling tasks, query table specifications;

[0031] Query the consumer queue information and match the consumers who are queuing and have selected the table specifications;

[0032] Send dining reminders.

[0033] Optionally, the method further includes the following steps:

[0034] Predict the time when consumers leave each dining table area;

[0035] Classify the dining table areas according to the table specifications of each dining table area, and count the time when consumers leave all dining table areas of each table specification;

[0036] The departure times of consumers in all table areas of each table specification are sorted in ascending order, and the sorted table areas are matched with the serial numbers of the queuers who have selected the table specification to predict the expected waiting time of each queuer.

[0037] Optionally, the step of predicting the departure time of consumers in each dining table area where consumers are present comprises the following steps:

[0038] Count the number of consumers in each dining table area where there are consumers;

[0039] Count the number of order categories and order amounts in each dining table area with consumers;

[0040] The departure time of the consumers in each dining table area is predicted based on at least one of the number of consumers, the number of order categories and the order amount in each dining table area where there are consumers.

[0041] The embodiment of the present invention further provides a system for generating restaurant service task information, which is applied to the method for generating restaurant service task information, and the system includes:

[0042] An image acquisition module, used to acquire images of a target area inside the restaurant;

[0043] An image analysis module, used to determine the consumer status and table status corresponding to each dining table area according to the image of the target area inside the restaurant;

[0044] A condition judgment module, used to judge whether the consumer status and table status of each dining table area meet the preset task generation conditions;

[0045] The task generation module is used to generate service tasks associated with each dining table area in response to the consumer status and table status of a dining table area meeting the preset task generation conditions.

[0046] The embodiment of the present invention also provides a device for generating restaurant service task information, including:

[0047] processor;

[0048] a memory storing executable instructions of the processor;

[0049] Wherein, the processor is configured to perform the steps of the method for generating restaurant service task information by executing the executable instructions.

[0050] An embodiment of the present invention also provides a computer-readable storage medium for storing a program, which, when executed, implements the steps of the method for generating restaurant service task information.

[0051] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

[0052] The method, system, device and storage medium for generating restaurant service task information provided by the present invention have the following advantages:

[0053] The present invention is based on machine vision and can grasp the consumer status and table status of each table area in the restaurant in real time, quickly generate service tasks and hand them over to service personnel for execution, thereby improving consumer experience and improving operational efficiency; according to different task types, the present invention matches order-taking waiters and cleaning waiters to provide services, thereby improving table utilization rate, and waiters can appear next to consumers to provide services as soon as possible; further, according to the arrival time of consumers, combined with the number of consumers and the dining content, the dining time is estimated, and then the consumer's departure time is predicted, so that consumers who are queuing can dynamically know the waiting time. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.

[0055] Figure 1 is a flow chart of a method for generating restaurant service task information according to an embodiment of the present invention;

[0056] Figure 2 is a schematic diagram of a dining table area according to an embodiment of the present invention;

[0057] Figure 3 is a flow chart of a method for generating restaurant service task information according to a specific example of the present invention;

[0058] Figure 4 is a structural diagram of a system for generating restaurant service task information according to an embodiment of the present invention;

[0059] Figure 5 is a schematic diagram of the structure of a device for generating restaurant service task information according to an embodiment of the present invention;

[0060] Figure 6 It is a schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0061] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0062] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0063] like Figure 1 As shown, an embodiment of the present invention provides a method for generating restaurant service task information, the method comprising the following steps:

[0064] S100: Acquire an image of a target area inside the restaurant;

[0065] S200: Determine the consumer status and table status corresponding to each table area according to the image of the target area inside the restaurant;

[0066] S300: Determine whether the consumer status and table status of each dining table area meet the preset task generation conditions. If yes, generate service tasks associated with each dining table area.

[0067] Therefore, the present invention uses computer vision technology to analyze the environment in the restaurant in real time, understand the usage area of ​​the dining tables in the store, and match the analysis results with the preset task generation conditions. If the conditions are met, a service task is generated, and the order-taking waiter, cleaning waiter, etc. are matched to provide services, thereby improving the utilization rate of the dining tables.

[0068] In this embodiment, between steps S100 and S200, the following steps are also included:

[0069] Each dining table area is extracted from the image of the target area inside the restaurant, and the identification number of each dining table area is matched according to the position of each dining table area. In step S300, when generating service tasks associated with each dining table area, service tasks associated with the identification number of each dining table area are generated.

[0070] In the present invention, the table area refers to the table and the area around it. In the system for generating restaurant service task information, the position of each table area and the identification number of each table area are pre-stored. After acquiring the image of the target area inside the restaurant, the identification number (ID) can be matched according to the position of the table area in the image of the target area inside the restaurant. Figure 2 As shown, it is a schematic diagram of a dining table area according to an embodiment of the present invention. The middle box represents the dining table, and the outer box represents a predefined dining table area. The shape of the dining table area, the distance between each side and the side of the dining table, etc. can be set according to actual conditions. In the system for generating restaurant service task information, the coordinate values ​​(x1, y1), (x2, y2), (x3, y3) and (x4, y4) of the four corner points A, B, C, and D of the dining table area are pre-stored, that is, the position range of the dining table area inside the restaurant is framed.

[0071] In this embodiment, determining the consumer status corresponding to each dining table area includes the following steps:

[0072] Detecting consumers and locations of each consumer in the image of the target area inside the restaurant;

[0073] According to the pre-stored location ranges of each dining table area and the location of each consumer, determine whether there are consumers in each dining table area;

[0074] If there are consumers in a dining table area, the consumer status corresponding to the dining table area is recorded as having consumers; otherwise, the consumer status corresponding to the dining table area is recorded as having no consumers.

[0075] In this embodiment, the detection of consumers can be obtained by using a consumer recognition model of machine learning, for example, a convolutional neural network is used to learn a consumer recognition model, and then the recognition model is used to identify images of a target area inside the restaurant to identify the consumers therein.

[0076] Specifically, in a specific example, a YOLO neural network is used. YOLO is a convolutional neural network that can predict multiple Box positions and categories at one time, and can achieve end-to-end target detection and recognition. YOLO divides the input image into S*S grids. If the center of an object falls within a grid (cell), the corresponding grid is responsible for detecting the object. During training and testing, each network predicts B bounding boxes, and each bounding box corresponds to 5 prediction parameters, namely the center point coordinates (x, y), width and height (w, h), and confidence score of the bounding box. The confidence score here (Pr(Object)*IOU(pred|truth)) comprehensively reflects the possibility Pr(Object) of the existence of the target in the bounding box based on the current model and the accuracy IOU(pred|truth) of the bounding box predicting the target position. If there is no object in the boudingbox, Pr(Object)=0. If an object exists, the IOU is calculated based on the predicted bounding box and the real bounding box, and the posterior probability Pr(Class_i|Object) that the object belongs to a certain class is predicted when the object exists. Based on the calculated Pr(Class_i|Object), the confidence level related to a certain bounding box class can be calculated during testing:

[0077] Pr(Class_i|Object)*Pr(Object)*IOU(pred|truth)=Pr(Class_i)*IOU(pred|truth). For example, if the input image is divided into 7*7 grids (S=7), each grid predicts 2 bounding boxes (B=2), and there are 20 types of objects to be detected (C=20), it is equivalent to predicting a vector with a length of S*S*(B*5+C)=7*7*30, thus completing the detection + recognition task.

[0078] Therefore, consumer identification may include the following steps:

[0079] (1) Resize the image of the target area inside the restaurant to 448*448, segment the image into 7*7 cells, and set two bounding boxes for each cell;

[0080] (2) CNN (convolutional neural network) extracts features and makes predictions: The convolution part is responsible for extracting features, and the fully connected part is responsible for predictions:

[0081] a) 7*7*2=98 bounding box (b box) coordinates:

[0082] x_{center}, y_{center}, w, h and the confidence score of whether there is an object.

[0083] b) The probability that 7*7=49 cells belong to 20 objects;

[0084] (3) Filter the b box (through NMS (NON-MAXIMUM SUPPRESSION)) to obtain the location of the consumer attribute (x, y, w, h)

[0085] Through step (3), the consumer position in the image is obtained.

[0086] This is only one method of consumer detection. In practical applications, other methods may be used, such as local feature recognition or trained active shape models, etc., all of which can realize consumer detection and consumer position calculation, and are within the protection scope of the present invention.

[0087] In this embodiment, determining the tabletop status corresponding to each dining table area includes the following steps:

[0088] Detecting whether there are dinner plates on the tabletops corresponding to each dining table area in the image of the target area inside the restaurant;

[0089] If there is a dinner plate on the table in a dining table area, the table status corresponding to the dining table area is recorded as having a dinner plate, otherwise the table status corresponding to the dining table area is recorded as having no dinner plate.

[0090] Here, the detection of dinner plates in the image of the target area inside the restaurant can also adopt a method similar to the consumer detection listed above, such as using YOLO for detection to determine whether the dinner plate features are detected within a specific position range. Furthermore, other methods, such as local feature recognition methods, or trained active shape models, etc., can all be used to realize the recognition of dinner plates on the dining table, all of which are within the scope of protection of the present invention.

[0091] In this embodiment, the step of determining whether the consumer status and table status of each dining table area meets the preset task generation conditions includes the following steps:

[0092] Determine whether there are consumers in a dining table area;

[0093] If there are consumers, determine whether there are plates in the table area. If there are consumers and plates, it means that the consumers in the table area are eating and do not need service temporarily, so the table area does not meet the task generation conditions. If there are consumers but no plates, it means that the consumers in the table area need to place orders, so the table area meets the order task generation conditions;

[0094] If there are no consumers, determine whether there are plates in the dining table area. If there are no consumers and there are plates, the dining table area meets the conditions for generating the table cleaning task. If there are no consumers and no plates, the dining table area meets the conditions for generating the table scheduling task.

[0095] Furthermore, if there is no consumer in a dining table area and there is a dining plate in the dining table area, the following steps are further included:

[0096] Communicate with the restaurant's checkout management system and obtain checkout status information corresponding to the table area from the checkout management system;

[0097] If the checkout status of the table area is Checked Out, it means that the consumer has finished eating and there are still plates on the table that need to be cleaned. Therefore, the table area meets the conditions for generating the table cleaning task.

[0098] If the checkout status of the table area is Unchecked, it means that the consumer may have just temporarily left the table and has not finished the meal, so the table area does not meet the task generation conditions.

[0099] In this embodiment, after generating the service task associated with the identification number of the dining table area, the following steps are also included:

[0100] Generate corresponding service tasks according to the task type associated with the dining table area, the service tasks including ordering tasks, table cleaning tasks and table scheduling tasks;

[0101] If the task type of the service task is an ordering task or a table cleaning task, service personnel are matched to the ordering task or the table cleaning task respectively, and the ordering task and the table cleaning task and the ID number of the associated table area can be displayed on the display screen of the restaurant. After seeing them, the service personnel can find the consumers who need service according to the ID number of the table area and provide services. The corresponding task and the ID number of the associated table area can also be sent to the service personnel's terminal, and the ordering waiter and the cleaning waiter can be further distinguished, and the idle waiters can be queried to assign the tasks;

[0102] If the task type of the service task is a desk scheduling task, the desk scheduling task can be matched with consumers in the queue, so that the consumers can be automatically reminded to enter the restaurant for dining, and the ID number of the table area can be sent to the consumer or the guide in the restaurant to facilitate the consumer to quickly find the corresponding table.

[0103] In this embodiment, the matching of the desktop scheduling task with the consumers who are in queue includes the following steps:

[0104] For table scheduling tasks, query table specifications based on the identification number of the table area;

[0105] Query the consumer queue information, match the consumers who are queuing and choose the table specifications, and select the consumer with the earliest queue number from the matched consumers, and match the table area to this consumer;

[0106] The dining reminder information is sent to the matching consumer's terminal, where the consumer's terminal can be a communication tool such as the consumer's mobile phone, or an electronic number plate issued by the restaurant to the consumer. In addition, the dining reminder information can also be sent to other terminals, such as the restaurant's management terminal, etc. When sending the dining reminder information, the identification number of the dining table area can be sent together to facilitate consumers to find the table.

[0107] In this embodiment, the method for generating restaurant service task information further includes the following steps:

[0108] Predict the time when consumers leave each dining table area;

[0109] Classify the dining table areas according to the table specifications of each dining table area, and count the time when consumers leave all dining table areas of each table specification;

[0110] The departure times of consumers in all table areas of each table specification are sorted in ascending order, and the sorted table areas are matched with the serial numbers of the queuers who have selected the table specification to predict the expected waiting time of each queuer.

[0111] That is, if there are currently three three-person tables Z1, Z2, and Z3 where consumers are dining, and the predicted departure times for the three three-person tables Z1, Z2, and Z3 are 20 minutes, 50 minutes, and 30 minutes later, respectively, the three three-person tables are sorted from smallest to largest according to the departure time of the consumers: Z1, Z3, and Z2. Currently, there are three teams of consumers waiting in line for a three-person table, and the queue numbers of these three teams of consumers are X10, X11, and X12, respectively. Then, the table Z1 that X10 consumers are waiting for is matched, the table Z3 that X11 consumers are waiting for, and the table Z2 that X12 consumers are waiting for is matched, so the estimated waiting time can be sent to the corresponding consumers, for example, an estimated waiting time of 20 minutes is sent to the X10 consumer, an estimated waiting time of 30 minutes is sent to the X11 consumer, and an estimated waiting time of 50 minutes is sent to the X12 consumer.

[0112] In this embodiment, the step of predicting the departure time of consumers at each dining table area where consumers are present includes the following steps:

[0113] Count the number of consumers in each dining table area where there are consumers;

[0114] Count the number of order categories and the order amount at each dining table where consumers are present. The number of order categories can be the number of dishes ordered by consumers, or the number of each type of dish ordered by consumers, such as the number of staple foods, the number of vegetables, the number of non-vegetarian dishes, etc.

[0115] The departure time of the consumers in each dining table area is predicted based on at least one of the number of consumers, the number of order categories and the order amount in each dining table area where there are consumers.

[0116] In practical applications, we can first collect data on multiple consumers' meals, including the number of consumers, the number of order categories and the amount of order, the consumer's meal time, etc., and use machine models such as support vector machines to train the meal time model. The input is the number of consumers, the number of order categories and the amount of order, and the output is the consumer's meal time. After the model is trained, the consumer's meal data to be predicted is input to obtain the corresponding consumer's meal time. The consumer's departure time can be predicted based on the consumer's arrival time.

[0117] like Figure 3 FIG. 1 is a flowchart of a method for generating restaurant service task information according to a specific example of the present invention. The method includes the following steps:

[0118] S1: Set up cameras inside the restaurant to monitor the dining tables;

[0119] S2: The camera captures an image of the target area inside the restaurant every 5 seconds;

[0120] S3: Mark the location and ID number of the table area in the image of the target area inside the restaurant;

[0121] S4: Monitoring consumers in images of target areas inside a restaurant;

[0122] S5: Determine whether there are consumers in the dining table area. When the pedestrian position (x, y) is located in the dining table area defined by the four corner points ABCD, it is determined that the consumer is dining around the dining table.

[0123] S6: If there is a consumer, determine whether there is a dinner plate on the table;

[0124] If there is a consumer and a plate, then S7: no action is taken;

[0125] S8: If there is a consumer but no plate, notify the waiter to order food, and match the notification information to a relatively free waiter for service;

[0126] S9: If there is no consumer, determine whether there is a dinner plate on the table;

[0127] S10: If there is no consumer and there is a plate, determine whether the checkout has been completed. The checkout information is obtained from the restaurant checkout management system. The restaurant checkout management system stores the ID number of each table area and the corresponding checkout record. If the checkout has not been completed, S7: no action is taken;

[0128] S11: If the checkout has been completed, notify the cleaning attendant;

[0129] S12: After the table is cleaned, S13: table resources are released, and S14: the consumer table system is notified, and the consumer table system stores the consumer queue;

[0130] For consumers, S15: after consumers get their numbers, S16: get the consumer queue;

[0131] S17: Determine whether there is a matching table. When matching, matching can be performed based on the order number of the consumer's queue, the specifications of the table selected by the consumer, and the specifications of the vacant tables;

[0132] S18: if there is a matching dining table, then S18: notify the consumer to dine;

[0133] S19: If there is no matching dining table, the consumer continues to wait.

[0134] Therefore, by adopting the method of generating restaurant service task information of this embodiment, information matching between dining tables and waiting consumers, information matching between tables to be cleaned and cleaning waiters, and an information matching system between consumers at tables to be served and waiters are established to optimize efficiency.

[0135] like Figure 4As shown, an embodiment of the present invention further provides a system for generating restaurant service task information, which is applied to the method for generating restaurant service task information, and the system includes:

[0136] An image acquisition module M100 is used to acquire an image of a target area inside the restaurant;

[0137] The image analysis module M200 is used to determine the consumer status and table status corresponding to each table area according to the image of the target area inside the restaurant;

[0138] The condition judgment module M300 is used to judge whether the consumer status and table status of each dining table area meet the preset task generation conditions;

[0139] The task generation module M400 is used to generate service tasks associated with each dining table area in response to the consumer status and table status of a dining table area meeting a preset task generation condition.

[0140] Therefore, the system for generating restaurant service task information of the present invention is based on machine vision, which can grasp the consumer status and table status of each table area in the restaurant in real time, quickly generate service tasks and hand them over to service personnel for execution, thereby improving consumer experience and improving operational efficiency; according to different task types, the order-taking waiter and the cleaning waiter are matched to provide service, thereby improving the utilization rate of the table, and the waiter can appear next to the consumer to provide service as soon as possible.

[0141] An embodiment of the present invention also provides a device for generating restaurant service task information, comprising a processor; a memory, in which executable instructions of the processor are stored; wherein the processor is configured to execute the steps of the method for generating restaurant service task information by executing the executable instructions.

[0142] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".

[0143] Refer to the following Figure 5 The electronic device 600 according to this embodiment of the present invention is described. Figure 5 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0144] like Figure 5As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0145] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps according to various exemplary embodiments of the present invention described in the electronic prescription circulation processing method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .

[0146] Therefore, when the processor of the device for generating restaurant service task information of this embodiment executes the program code in the storage unit, it can initiate a network request through the application while saving related information such as the name of the network request function, network request parameters, network return parameters, and callback function, so as to facilitate packet capture and debugging of the application, facilitate user operation, improve packet capture efficiency, and reduce packet capture costs.

[0147] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0148] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0149] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0150] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.

[0151] The embodiment of the present invention also provides a computer-readable storage medium for storing a program, which implements the steps of the method for generating restaurant service task information when the program is executed. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the above-mentioned electronic prescription circulation processing method section of this specification.

[0152] refer to Figure 6 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0153] Therefore, when the program code in the computer storage medium of this embodiment is executed, the name of the network request function, network request parameters, network return parameters, callback function and other related information can be saved while the application initiates a network request, which facilitates packet capture and debugging of the application, facilitates user operation, improves packet capture efficiency, and reduces packet capture costs.

[0154] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0155] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0156] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0157] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the system, device, and computer storage medium, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0158] The method, system, device and storage medium for generating restaurant service task information provided by the present invention have the following advantages:

[0159] The present invention is based on machine vision and can grasp the consumer status and table status of each table area in the restaurant in real time, quickly generate service tasks and hand them over to service personnel for execution, thereby improving consumer experience and improving operational efficiency; according to different task types, the present invention matches order-taking waiters and cleaning waiters to provide services, thereby improving table utilization rate, and waiters can appear next to consumers to provide services as soon as possible; further, according to the arrival time of consumers, combined with the number of consumers and the dining content, the dining time is estimated, and then the consumer's departure time is predicted, so that consumers who are queuing can dynamically know the waiting time.

[0160] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for generating restaurant service task information, characterized in that: The steps include: Acquire an image of a target area inside the restaurant; Determine the consumer status and table status corresponding to each table area according to the image of the target area inside the restaurant; the consumer status includes whether there is a consumer or not, and the table status includes whether there is a dinner plate or not; In response to the consumer status and table status corresponding to each table area meeting the preset task generation condition, generating service tasks associated with each table area; the service tasks include ordering tasks, table cleaning tasks and table scheduling tasks; Furthermore, the following steps are included: predicting the time when consumers leave each dining table area where there are consumers; classifying the dining table areas according to the table specifications of each dining table area, and counting the time when consumers leave all dining table areas of each dining table specification; sorting the time when consumers leave all dining table areas of each dining table specification in ascending order, matching the sorted dining table areas with the serial numbers of queuers who have selected the table specifications, and predicting the expected waiting time for each queuer.

2. The method for generating restaurant service task information according to claim 1, characterized in that: After obtaining the image of the target area inside the restaurant, the following steps are also included: Each dining table area is extracted from the image of the restaurant interior area target, and the identification number of each dining table area is matched according to the position of each dining table area.

3. The method for generating restaurant service task information according to claim 1, characterized in that: Determining the consumer status corresponding to each dining table area includes the following steps: Detecting consumers and locations of each consumer in the image of the target area inside the restaurant; According to the pre-stored location ranges of each dining table area and the locations of each consumer, determining whether there are consumers in each dining table area; If there are consumers in a dining table area, the consumer status corresponding to the dining table area is recorded as having consumers; otherwise, the consumer status corresponding to the dining table area is recorded as having no consumers.

4. The method for generating restaurant service task information according to claim 3, characterized in that: Determining the tabletop status corresponding to each dining table area includes the following steps: Detecting whether there are dinner plates on the tabletops corresponding to each dining table area in the image of the target area inside the restaurant; If there is a dinner plate on the table in a dining table area, the table status corresponding to the dining table area is recorded as having a dinner plate, otherwise the table status corresponding to the dining table area is recorded as having no dinner plate.

5. The method for generating restaurant service task information according to claim 4, characterized in that: The method of responding to the consumer status and table status of each dining table area meeting the preset task generation conditions includes the following steps: Determine whether there are consumers in a dining table area; If there are consumers, determine whether there are plates in the table area. If there are consumers and plates, the table area does not meet the task generation conditions. If there are consumers but no plates, the table area meets the order task generation conditions. If there are no consumers, determine whether there are plates in the dining table area. If there are no consumers and there are plates, the dining table area meets the conditions for generating the table cleaning task. If there are no consumers and no plates, the dining table area meets the conditions for generating the table scheduling task.

6. The method for generating restaurant service task information according to claim 5, characterized in that: If there is no consumer in a table area, and there is a plate in the table area, the following steps are further included: Get the checkout status information corresponding to the table area; If the checkout status of the dining table area is checked out, then the dining table area meets the conditions for generating the table cleaning task.

7. The method for generating restaurant service task information according to claim 5, characterized in that: After generating the service tasks associated with each dining table area, the following steps are also included: Generate corresponding service tasks according to the task type associated with the dining table area, the service tasks including ordering tasks, table cleaning tasks and table scheduling tasks; If the task type of the service task is an order-taking task or a desktop-cleaning task, matching a service personnel for the service task; If the task type of the service task is a desktop scheduling task, the service task is matched with a consumer who is in queue.

8. The method for generating restaurant service task information according to claim 7, characterized in that: Matching the desktop scheduling task with the consumers in queue includes the following steps: For table scheduling tasks, query table specifications; Query the consumer queue information and match the consumers who are queuing and have selected the table specifications; Send dining reminders.

9. The method for generating restaurant service task information according to claim 1, characterized in that: The method of predicting the departure time of consumers in each dining table area where consumers are present comprises the following steps: Count the number of consumers in each dining table area where there are consumers; Count the number of order categories and order amounts in each dining table area with consumers; The departure time of the consumers in each dining table area is predicted based on at least one of the number of consumers, the number of order categories and the order amount in each dining table area where there are consumers.

10. A system for generating restaurant service task information, characterized in that: The method for generating restaurant service task information applied to any one of claims 1 to 9, the system comprising: An image acquisition module, used to acquire images of a target area inside the restaurant; An image analysis module, for determining the consumer status and table status corresponding to each table area according to the image of the target area inside the restaurant; the consumer status includes whether there is a consumer or not, and the table status includes whether there is a dinner plate or not; A condition judgment module, used to judge whether the consumer status and table status of each dining table area meet the preset task generation conditions; A task generation module, for generating service tasks associated with each dining table area in response to the consumer status and table status of a dining table area satisfying a preset task generation condition; the service tasks include ordering tasks, table cleaning tasks and table scheduling tasks; Furthermore, the task generation module is further used to predict the departure time of consumers at each dining table area with consumers; classify the dining table areas according to the table specifications of each dining table area, and count the departure time of consumers in all dining table areas of each dining table specification; sort the departure time of consumers in all dining table areas of each dining table specification in ascending order, match the sorted dining table areas with the serial numbers of queuers who have selected the table specifications, and predict the expected waiting time of each queuer.

11. A device for generating restaurant service task information, characterized in that: include: processor; a memory storing executable instructions of the processor; The processor is configured to execute the steps of the method for generating restaurant service task information according to any one of claims 1 to 9 by executing the executable instructions.

12. A computer-readable storage medium for storing a program, characterized in that: When the program is executed, the steps of the method for generating restaurant service task information according to any one of claims 1 to 9 are implemented.