Method, device and equipment for generating dining table list based on after-class trusteeship, and medium
Through the method of generating meal lists based on after-school care, dining records are extracted, students' dining situations are judged and records are updated, and the problem of inaccurate Chinese food lists in the existing technology is solved, achieving the accuracy and timeliness of meal lists.
Patent Information
- Application Number
- CN202510154785.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-06-27
AI Technical Summary
The existing technology of meals and consumption list is inaccurate, and it is impossible to promptly respond to changes in meal distribution situations caused by temporary leave requests and overlapping course time.
A method for generating a meal list based on after-school care is proposed. By extracting meal records, determining whether the target student is eating and updating the meal records, and students who configure the meal records to prepare meals are added to the meal list.
Generating a meal and consumption list that matches the students who actually need to eat can promptly deal with the situation where students temporarily change to meals or withdraw food due to various reasons, improving the accuracy of the meal and consumption list.
Smart Images

Figure CN120219028A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and particularly to a method, device, equipment and medium for generating a meal consumption list based on after-school trusteeship. Background Art
[0002] In the actual operation of current in-school trusteeship services, after managers generate a meal distribution list based on a pre-obtained class schedule and submit the meal distribution list to a cooperating catering enterprise in advance for meal preparation, due to various factors such as students taking temporary leave, only attending classes without ordering meals, overlapping class times, or outstanding meal fees, the meal consumption list may have over-distributed or under-distributed meals. Therefore, the meal consumption list of the prior art is inaccurate and cannot promptly respond to changing meal distribution situations. Summary of the Invention
[0003] The main purpose of the embodiments of this application is to propose a method, device, equipment and medium for generating a meal consumption list based on after-school trusteeship, so as to generate an accurate meal consumption list and promptly respond to changing meal distribution situations.
[0004] To achieve the above object, on the one hand, an embodiment of this application proposes a method for generating a meal consumption list based on after-school trusteeship, and the method includes the following steps:
[0005] Extract the list of students who have meal records for meal distribution as the meal consumption list;
[0006] Determine the students who do not have the meal records during the meal period on the meal day based on the meal consumption list as the target students;
[0007] Judge whether the target students have meals on the meal day, and then update the meal records of the target students;
[0008] Add the target students whose meal records are configured for meal distribution to the meal consumption list.
[0009] In some embodiments, the step of extracting the list of students who have meal records for meal distribution as the meal consumption list includes the following steps:
[0010] Extract the list of students who have meal records for meals from the student meal management system as the first list;
[0011] Extract the list of students in the classes with meal periods from the student class division system as the second list;
[0012] Extract the list of students with the same meal period as that in the first list from the second list as the third list;
[0013] Extract the list of students in the second list whose dining time periods are the same as those of the meal orders in the student meal order system as the fourth list; wherein, the meal consumption list includes the first list, the second list, the third list, and the fourth list.
[0014] In some embodiments, determining whether the target student dines on the dining day and then updating the dining record of the target student includes the following steps:
[0015] Determine whether the target student takes leave in all the classes where meals are consumed on the dining day;
[0016] If the target student does not take leave in all the classes where meals are consumed, then determine whether the target student has a consumable meal order;
[0017] If the target student does not have a consumable meal order, then determine whether the meal fee of the school where the target student is located is configured to allow arrears;
[0018] If the meal fee of the school where the target student is located is configured to allow arrears, then determine whether the trusteeship course where the target student is located is bound to order meals;
[0019] If the trusteeship course where the target student is located is bound to order meals, then configure the dining record of the target student as to be confirmed and in arrears, and add the target student to the meal consumption list;
[0020] If the trusteeship course where the target student is located is not bound to order meals, then configure the dining record of the target student as not to be provided with meals.
[0021] In some embodiments, if the target student takes leave in all the classes where meals are consumed, then configure the dining record of the target student as not to be provided with meals;
[0022] If the target student has a consumable meal order, then configure the dining record of the target student as to be provided with meals;
[0023] If the meal fee of the school where the target student is located is not configured to allow arrears, then configure the dining record of the target student as not to be provided with meals.
[0024] In some embodiments, the method further includes the following steps:
[0025] Receive a cancellation dining request initiated by the user for the students in the meal consumption list;
[0026] Update the dining record of the student who requests to cancel dining to not be provided with meals, and delete the student who requests to cancel dining from the meal consumption list.
[0027] In some embodiments, updating the meal record of the student who requests to cancel the meal to not being served includes the following steps:
[0028] If the meal cancellation request initiated by the user is made before a set time before the meal day, update the meal record of the student who requests to cancel the meal to not being served.
[0029] In some embodiments, the method further includes the following steps:
[0030] After detecting that the user pays for the meal order of a student, configure the meal record of the student after paying for the meal order as being served, and add the student after paying for the meal order to the meal cancellation list.
[0031] To achieve the above object, on the other hand, an embodiment of the present application provides a meal cancellation list generation device based on after-school care, and the device includes:
[0032] A meal cancellation list extraction unit, configured to extract the list of students with a meal record of being served as the meal cancellation list;
[0033] A target student retrieval unit, configured to determine, according to the meal cancellation list, the students who do not have the meal record during the meal period on the meal day as target students;
[0034] A meal judgment unit, configured to judge whether the target students have meals on the meal day, and then update the meal records of the target students;
[0035] A meal cancellation list update unit, configured to add the target students with the meal record configured as being served to the meal cancellation list.
[0036] To achieve the above object, on the other hand, an embodiment of the present application provides an electronic device, and the electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the above method is implemented.
[0037] To achieve the above object, on the other hand, an embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above method is implemented.
[0038] The embodiments of the present application at least include the following beneficial effects:
[0039] This application can extract the dining records to obtain the list of students for meal distribution as the list of students with meal consumption; determine the students without dining records during the dining period on the dining day as the target students; judge whether the target students dine on the dining day, and then update the dining records of the target students; add the target students whose dining records are configured for meal distribution to the list of students with meal consumption. By determining the target students without dining records, then updating the dining records of the target students, and then updating the list of students with meal consumption, this application can generate a list of students with meal consumption that conforms to the actual students who need to dine, and can promptly respond to the situation where students temporarily change to dine or cancel their meals for various reasons, improving the accuracy of the list of students with meal consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0041] Figure 1 It is a flowchart of the method for generating a list of students with meal consumption based on after-school trusteeship provided by an embodiment of this application;
[0042] Figure 2 It is an example diagram for configuring the meal consumption time provided by an embodiment of this application;
[0043] Figure 3 It is an example diagram for meal cancellation settings provided by an embodiment of this application;
[0044] Figure 4 It is an example flowchart for generating a list of students with meal consumption provided by an embodiment of this application;
[0045] Figure 5 It is a schematic structural diagram of the device for generating a list of students with meal consumption based on after-school trusteeship provided by an embodiment of this application;
[0046] Figure 6 It is a schematic hardware structure diagram of an electronic device provided by an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0047] In order to make the objectives, technical solutions, and advantages of this application clearer and more understandable, the following further elaborates on this application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely used to explain this application and are not intended to limit this application. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the embodiments of this application. They are merely examples of devices and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0048] It can be understood that the terms "first", "second", etc. used in this application can be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information. Depending on the context, the words "if", "when" as used herein can be interpreted as "when...", "while...", or "in response to determining".
[0049] The terms "at least one", "a plurality of", "each", "any one", etc. used in this application, "at least one" includes one, two, or more than two, "a plurality of" includes two or more than two, "each" refers to each one of the corresponding plurality, and "any one" refers to any one of the plurality.
[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0051] The embodiments of the present application provide a method, device, equipment and medium for generating a meal consumption list based on after-school trusteeship, which relates to the technical field of data processing. The method, device, equipment and medium for generating a meal consumption list based on after-school trusteeship provided by the embodiments of the present application can be applied to a terminal, or can be applied to a server, or can also be software running on a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a vehicle-mounted terminal, etc., but is not limited thereto; the server side can be configured as an independent physical server, or can be configured as a server cluster or a distributed system composed of multiple physical servers, or can also be configured as a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application for implementing the method for generating a meal consumption list based on after-school trusteeship, etc., but is not limited to the above forms.
[0052] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and so on. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0053] Referring to Figure 1 , the embodiments of the present application provide a method for generating a meal consumption list based on after-school trusteeship. The method can include but is not limited to S100 to S130, specifically as follows:
[0054] S100: Extract the list of students who have meals as the meal consumption list.
[0055] Further, S100 can include the following steps S101 to S104:
[0056] S101: Extract the list of students who have meals from the student meal management system as the first list;
[0057] S102: Extract the list of students in the class divisions with dining periods from the student class division system as the second list;
[0058] S103: Extract from the second list the list of students with the same dining periods as those in the first list as the third list;
[0059] S104: Extract from the second list the list of students with the same dining periods as those in the meal orders in the student meal order system as the fourth list; wherein, the meal consumption list includes the first list, the second list, the third list, and the fourth list.
[0060] S110: Determine, based on the meal consumption list, the students without the dining records during the dining periods on the dining day as the target students.
[0061] S120: Judge whether the target students dine on the dining day, and then update the dining records of the target students.
[0062] Further, S120 may include the following steps S121 - S126:
[0063] S121: Judge whether the target students are absent from classes in all the class divisions with meal consumption on the dining day;
[0064] S122: If the target students are not absent from classes in all the class divisions with meal consumption, then judge whether the target students have consumable meal orders;
[0065] S123: If the target students do not have consumable meal orders, then judge whether the meal fees of the schools where the target students are located are configured to allow arrears;
[0066] S124: If the meal fees of the schools where the target students are located are configured to allow arrears, then judge whether the trusteeship courses where the target students are located are bound to meal orders;
[0067] S125: If the trusteeship courses where the target students are located are bound to meal orders, then configure the dining records of the target students as to be confirmed and in arrears, and add the target students to the meal consumption list;
[0068] S126: If the trusteeship courses where the target students are located are not bound to meal orders, then configure the dining records of the target students as not having meals provided.
[0069] Even further, S120 may also include the following steps S127 - S129:
[0070] S127: If the target students are absent from classes in all the class divisions with meal consumption, then configure the dining records of the target students as not having meals provided;
[0071] S128: If there is a consumable meal order for the target student, configure the dining record of the target student as meal distribution.
[0072] S129: If the meal fee of the school where the target student is located is not configured to allow arrears, configure the dining record of the target student as no meal distribution.
[0073] S130: Add the target student whose dining record is configured as meal distribution to the meal consumption list.
[0074] As a further implementation, the embodiment of the present application may further include steps S141 - S142 for canceling a meal:
[0075] S141: Receive a meal cancellation request initiated by the user for a student in the meal consumption list.
[0076] S142: Update the dining record of the student who requests to cancel the meal to no meal distribution, and delete the student who requests to cancel the meal from the meal consumption list.
[0077] As an even further implementation, S142 may include the following steps:
[0078] If the meal cancellation request initiated by the user is made before a set time before the dining day, update the dining record of the student who requests to cancel the meal to no meal distribution.
[0079] As a further implementation, the embodiment of the present application may further include step S150 for adding a meal:
[0080] S150: After detecting that the user pays for a student's meal order, configure the dining record of the student after paying the meal order as meal distribution, and add the student after paying the meal order to the meal consumption list.
[0081] Next, the solution of the embodiment of the present application will be introduced and described in detail in combination with specific application examples.
[0082] First, the terms that may be involved in this embodiment are described:
[0083] "Meal consumption" means "catering consumption", referring to the expenses generated by consumption in a catering place (such as a school cafeteria, etc.). This usually includes meal fees, etc.
[0084] "Consume a meal" means "consume food", referring to the consumption behavior during a meal. Consuming a meal covers the processes of selecting dishes, placing an order, paying, etc.
[0085] The difference between the two is that "meal consumption" focuses more on the cost itself, that is, the amount or cost statistics of food and beverage consumption, while "consuming meals" focuses more on the behavior itself, that is, the consumption behavior carried out by users when dining. "Meal consumption" emphasizes the generation and statistics of costs, while "consuming meals" emphasizes the process of consumption behavior.
[0086] This embodiment aims to achieve a high degree of integration and intelligent analysis of student attendance data, course scheduling information, and order records to accurately generate a meal consumption list. This embodiment further generates or optimizes the meal consumption list in real time based on factors such as meal cancellation behavior and the payment status of meal arrears, so as to effectively address the problems of over-allocation or missed statistics of meals caused by various complex situations such as students' temporary absences, only participating in teaching activities without ordering meals, course time conflicts, and meal fee arrears, thereby improving the accuracy and efficiency of catering resource management.
[0087] Specifically, this embodiment may include the following solutions:
[0088] 1. Configuration description of the meal distribution system.
[0089] 1.1 Meal consumption generation configuration.
[0090] Due to the inspection of relevant data such as student class division data and student meal consumption data, and the large quantity of relevant data, according to the school trusteeship business situation, this embodiment will generate the student meal consumption list for the next day in advance according to parameter configuration.
[0091] Exemplarily, an example diagram of configuring the meal consumption generation time is as Figure 2 shown.
[0092] 1.2 Explanation of generating / confirming meal consumption.
[0093] ① Meal cancellation settings can be configured: Parents can initiate meal cancellation before the following time. After the time node, this embodiment will not initiate meal cancellation.
[0094] ② Supervisor meal cancellation settings: After this embodiment generates the meal consumption list, the supervisor teacher can modify the meal consumption list. After the time node, this embodiment will not initiate adjustment of meal distribution.
[0095] Exemplarily, an example diagram of meal cancellation settings is as Figure 3 shown.
[0096] 2. This embodiment can generate meal consumption data comparison rules, and an example flowchart of generating the meal consumption list is as Figure 4 shown.
[0097] The meal consumption list of this embodiment can be reserved. This embodiment obtains the list of students who can generate meal consumption from the student class division system, the student meal management system, and the student meal order system.
[0098] ① Dining status = students eating: refers to students whose dining status is "eating" in the student dining management system.
[0099] ② Meal time of divided classes = Meal time of students having meals: refers to obtaining students in divided classes with meal time from the student divided class system, and extracting students whose meal time of divided classes is the same as the meal time in the student dining management system.
[0100] ③ Meal time of class = meal time of meal order: refers to obtaining students in classes with meal time from the student class system, and extracting students whose meal time of class is the same as the meal time of meal order in the student meal order system.
[0101] Then, follow the steps below to perform further comparison:
[0102] ④ Search for students whose dining records do not have dining records for the corresponding dining period on the same day.
[0103] ⑤ Did not apply for leave in all the classes that needed to consume meals on that day (if so, a meal record with the “no meal” status will be generated).
[0104] ⑥ Search for students who have no consumable orders in the meal order system (if there are any, a meal record with the "meal distribution" status will be generated).
[0105] ⑦ Retrieve the meal fee configuration of the student’s school and check whether the fees can be owed (if the fees cannot be owed, a meal record with the “no meal” status will be generated).
[0106] ⑧ Retrieve the course-bound meal ordering of students in the course management system (if there is a binding, a meal record with "pending confirmation" and unpaid fees will be generated; if there is no binding, a meal record with "unavailable meal" status will be generated).
[0107] 3. Automatically update or generate student meal record conditions.
[0108] ①Cancellation of meals:
[0109] Judgment condition: After the user (parent or teacher) initiates the cancellation of the meal.
[0110] Update meal record: Generate or update meal record to “No meal” and “No” for arrears.
[0111] ②When the user has a new paid meal order.
[0112] Judgment condition: After the user pays / renews the meal order.
[0113] Update meal records: Generate or update meal records to "Meal Allocated" and "No" for outstanding payments.
[0114] In summary, the beneficial effects of this embodiment may include:
[0115] The seamless connection and data extraction of multiple business systems such as the student dining system, the student class division system, the order management system, and the course database are realized. Through the connection and data extraction of this embodiment, the meal consumption rules can be dynamically generated, and the meal consumption student list can be automatically formed. More importantly, this embodiment can adjust the meal consumption list in real time according to dynamic information such as the student's meal withdrawal behavior and meal fee supplementary payment, thereby effectively solving the problem of excess or missing meal statistics caused by temporary absences of students, course time conflicts, etc., and reducing operating costs.
[0116] Reference Figure 5 The embodiment of the present application further provides a device for generating a meal consumption list based on after-school care, which can implement the above-mentioned method for generating a meal consumption list based on after-school care, and the device includes:
[0117] A meal consumption list extraction unit is used to extract the list of students whose meal records are meal distribution as a meal consumption list;
[0118] A target student search unit, configured to determine, according to the meal consumption list, students who do not have the meal records during the meal period on the meal day as target students;
[0119] A meal determination unit, used to determine whether the target student has eaten on the meal day, and then update the meal record of the target student;
[0120] A meal consumption list updating unit is used to add the target student whose meal record is configured as meal preparation to the meal consumption list.
[0121] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0122] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned method for generating a dining list based on after-school care when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0123] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0124] See also Figure 6 , Figure 6 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0125] The processor 601 can be implemented in ways such as a general - purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application;
[0126] The memory 602 can be implemented in forms such as a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a Random Access Memory (RAM). The memory 602 can store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 602 and are called by the processor 601 to execute the method for generating a meal consumption list based on after - school trusteeship in the embodiments of this application;
[0127] The input / output interface 603 is used to implement information input and output;
[0128] The communication interface 604 is used to implement communication interaction between this device and other devices. It can achieve communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.);
[0129] The bus 605 transmits information between various components of the device (such as the processor 601, the memory 602, the input / output interface 603, and the communication interface 604);
[0130] Among them, the processor 601, the memory 602, the input / output interface 603, and the communication interface 604 achieve communication connections with each other inside the device through the bus 605.
[0131] The embodiments of this application also provide a computer - readable storage medium. The computer - readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the above - mentioned method for generating a meal consumption list based on after - school trusteeship.
[0132] It can be understood that the content in the above - mentioned method embodiments is applicable to the embodiments of this storage medium. The functions specifically implemented by the embodiments of this storage medium are the same as those of the above - mentioned method embodiments, and the beneficial effects achieved are also the same as those of the above - mentioned method embodiments.
[0133] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory optionally includes a memory remotely disposed relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0134] The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art will know that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0135] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or combine certain steps, or different steps.
[0136] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and appropriate combinations thereof.
[0138] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above figures are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0139] It should be understood that in this application, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can represent: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item) of the following" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0140] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the above-mentioned division of units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.
[0141] The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, each functional unit in various embodiments of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0143] When an integrated 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 such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes: various media that can store programs, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0144] The preferred embodiments of the embodiments of this application have been described above with reference to the accompanying drawings. However, this does not limit the scope of the rights of the embodiments of this application. Any modification, equivalent replacement, and improvement made by those skilled in the art without departing from the scope and essence of the embodiments of this application shall be within the scope of the rights of the embodiments of this application.
Claims
1. A method for generating a meal list based on after-school care, characterized in that: The method comprises the following steps: Extract the dining records to serve as the list of students who are provided with meals as the dining consumption list; According to the meal consumption list, students who do not have the meal records during the meal period on the meal day are identified as target students; Determine whether the target student has eaten on the meal day, and then update the meal record of the target student; The target student whose dining record is configured as meal preparation is added to the dining consumption list.
2. The method for generating a meal consumption list based on after-school care according to claim 1 is characterized in that: The step of extracting the dining records as a list of students with meals as a dining list comprises the following steps: Extracting the list of students whose dining records are recorded as having eaten from the student dining management system as the first list; Extract the list of students in the class with meal period from the student class division system as the second list; Extracting from the second list the list of students with the same meal time as those in the first list as the third list; A list of students whose meal periods are the same as those of the meal orders in the student meal order system is extracted from the second list as the fourth list; wherein the meal consumption list includes the first list, the second list, the third list and the fourth list.
3. The method for generating a meal consumption list based on after-school care according to claim 1 is characterized in that: The determining whether the target student has eaten on the dining day and then updating the dining record of the target student comprises the following steps: Determine whether the target student asks for leave in all classes that consume meals on the meal day; If the target student has not asked for leave in all the classes where meals are consumed, it is determined whether the target student has any meal orders that can be consumed; If the target student does not have any consumable meal order, determining whether the meal fee of the school where the target student is located is configured to be payable; If the meal fee configuration of the school where the target student is located is that the meal fee can be owed, then determining whether the managed course where the target student is located is bound to meal ordering; If the managed course that the target student is in is bound to meal ordering, the meal record of the target student is configured as pending confirmation and in arrears, and the target student is added to the meal consumption list; If the managed course that the target student is in is not bound to meal ordering, the meal record of the target student is configured as not having meal ordering.
4. The method for generating a meal consumption list based on after-school care according to claim 3 is characterized in that: The method further comprises the following steps: If the target student asks for leave in all classes where meals are consumed, the meal record of the target student is configured as no meal is provided; If the target student has a consumable meal order, configuring the meal record of the target student as meal distribution; If the meal fee of the school where the target student is located is not configured as payable, the meal record of the target student will be configured as not providing meals.
5. The method for generating a meal consumption list based on after-school care according to claim 1 is characterized in that: The method further comprises the following steps: receiving a meal cancellation request initiated by a user for a student on the meal cancellation list; The dining record of the student who requests to cancel the meal is updated to no meal, and the student who requests to cancel the meal is deleted from the dining cancellation list.
6. The method for generating a meal consumption list based on after-school care according to claim 5 is characterized in that: The step of updating the meal record of the student requesting to cancel the meal to not providing the meal comprises the following steps: If the meal cancellation request initiated by the user is initiated before the set time before the meal day, the meal record of the student requesting the meal cancellation is updated to no meal.
7. The method for generating a meal consumption list based on after-school care according to any one of claims 1 to 6, characterized in that: The method further comprises the following steps: After detecting that the user has paid for the meal order of the student, the meal record of the student who has paid for the meal order is configured as meal distribution, and the student who has paid for the meal order is added to the meal consumption list.
8. A device for generating a meal list based on after-school care, characterized in that: The device comprises: A meal consumption list extraction unit is used to extract the list of students whose meal records are meal distribution as a meal consumption list; A target student search unit, configured to determine, according to the meal consumption list, students who do not have the meal records during the meal period on the meal day as target students; A meal determination unit, used to determine whether the target student has eaten on the meal day, and then update the meal record of the target student; A meal consumption list updating unit is used to add the target student whose meal record is configured as meal preparation to the meal consumption list.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method for predicting dining of students after school leaving
CN113570136A
Student nutritious food ordering and distribution method and system
CN113781170A
Student meal pricing method and system, electronic equipment and storage medium
CN116402561A
Student meal management method and system, electronic equipment and storage medium
CN117152737A
Catering method and system
US20090198547A1