Company group meal reservation method and system convenient for customizing
By obtaining group meal information to generate sub-orders for ordering and comparing the meal delivery code, determining the qualification of group meal reservations, adjusting the data transmission path or updating the dish mapping relationship, the problem of low food matching rate during group meal reservation is solved, and efficient meal matching and customer satisfaction are achieved.
Patent Information
- Application Number
- CN202510530859.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-08-01
AI Technical Summary
The group meal reservation process in the prior art lacks a real-time verification mechanism, resulting in a low matching rate between the meal and customer needs, and the reservation process cannot be effectively adjusted to improve matching efficiency.
By obtaining the group meal information of the ordering personnel, generating the order order and analyzing it, scanning the meal order to compare the expected dish code and the serving dish code, calculating the mismatch proportion, determining whether the group meal reservation is qualified or unqualified based on the comparison results, and generating instructions when it is unqualified to adjust the data transmission path or update the dish mapping relationship.
The meal matching qualification rate is improved, ensuring that the meal matches customer needs, improving customer satisfaction, and reducing waste.
Smart Images

Figure CN120409747A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular, to a company group meal reservation method and system that are convenient for customization. Background Art
[0002] With the acceleration of the enterprise digitalization process, company group meal reservation has gradually shifted from the traditional telephone / email communication mode to online and intelligent management. This scenario involves the integration of food and beverage supply chain management, enterprise services (B2B), and consumer-side technologies, and needs to solve complex requirements such as large-scale order processing, multi-role collaboration, and food safety traceability. How to improve the matching rate between ordering and meal delivery during the processing of large-scale orders is also an important part of the group meal reservation process.
[0003] The Chinese patent publication number: CN108921313A in the current technology provides an intelligent meal reservation method, device, and terminal device. This technical solution uploads the meal reservation request to the meal reservation server, and then screens out the food and beverage merchants that match the meal reservation demand information and the menus of each food and beverage merchant that match the dish demand information according to the preset food and beverage merchants. The user reserves dishes at the food and beverage merchant according to the screened information. The meal reservation server generates a reservation order based on the merchant reservation request generated by the user and sends it to the meal reservation terminal of the selected food and beverage merchant, so as to realize the provision of appropriate meal customization according to the user's needs and quickly match, improving the user's meal reservation experience. However, this technical solution does not involve whether a number of meals generated according to a large number of orders can meet the actual needs of the corresponding customers. This technical solution lacks a meal matching verification mechanism and cannot perform self-detection and adjustment during the reservation process, thus affecting the meal matching efficiency. Summary of the Invention
[0004] Therefore, the present invention provides a company group meal reservation method and system that are convenient for customization, so as to solve the problem that the prior art does not involve real-time verification and analysis of the group meal reservation process and corresponding adjustment of each link of the reservation process, resulting in a low matching rate between the delivered meals and the actual needs of customers.
[0005] To achieve the above object, the present invention provides a company group meal reservation method that is convenient for customization, including:
[0006] Successively obtain the group meal information of each meal orderer, where the group meal information includes the work number information corresponding to each meal orderer and the expected dish information;
[0007] Preprocess each piece of the group meal information and successively generate corresponding several meal reservation sub-orders, where the meal reservation sub-order includes an identification code corresponding to the work number information and several expected dish codes corresponding to the expected dish information;
[0008] Transmit a plurality of the meal ordering sub-orders, receive each meal ordering sub-order and perform parsing and processing to obtain a plurality of meal information, output corresponding meals according to each meal information, and, based on the meal information, set up meal delivery sub-orders on the corresponding meals, wherein the meal delivery sub-order includes the identification code and a plurality of meal delivery dish codes;
[0009] After completing the delivery of a plurality of the meals, scan each of the meal delivery sub-orders in sequence to obtain the identification code corresponding to each meal and a plurality of the meal delivery dish codes, and, compare a plurality of meal delivery dish codes with the same identification code with a plurality of the expected dish codes to determine unmatched meals, wherein the unmatched meals are meals in which there is at least one expected dish different from one meal delivery dish;
[0010] Statistically calculate the ratio between the number of the unmatched meals and the total number of the meals, record the ratio as the unmatched proportion, determine whether the group meal reservation is qualified according to the comparison result between the unmatched proportion and the critical unmatched proportion, and generate a corresponding instruction when it is determined to be unqualified;
[0011] Based on the instruction, determine the number of data transmission paths or re-update the mapping relationship between the expected dish codes and the dishes.
[0012] Further, the process of determining whether the group meal reservation is qualified according to the comparison result between the unmatched proportion and the critical unmatched proportion includes:
[0013] If the unmatched proportion is less than or equal to the critical unmatched proportion, determine that the group meal reservation is qualified;
[0014] If the unmatched proportion is greater than the critical unmatched proportion, determine that the group meal reservation is unqualified;
[0015] When it is determined that the group meal reservation is unqualified, determine the reason according to the distribution of the dish types in each of the unmatched meals.
[0016] Further, the process of determining the reason according to the distribution of the dish types in each of the unmatched meals includes:
[0017] Obtain the frequency of occurrence of the unmatched dish types in a plurality of the unmatched meals and record it as the variance of the frequency of the unmatched dish types;
[0018] Based on the comparison result between the variance of the frequency of the unmatched dish types and the preset variance of the frequency of the unmatched dish types, determine the reason for the unqualified group meal reservation;
[0019] Based on the reason, determine to increase the number of data transmission paths, re-determine the reason based on the number of the statistically unmatched dish types, or re-determine the corresponding processing based on the number of the types of replaced dishes;
[0020] Among them, the mismatched dish types are the dish types where each dish in the served dish codes does not match the corresponding dish in the expected dish codes, and the mismatched dishes are recorded as the replacement dishes.
[0021] Further, the process of increasing the number of the data transmission paths includes:
[0022] Count the total number of the meals and determine to increase the number of the data transmission paths based on the comparison result between the total number of the meals and a preset total number of the meals. The increase amplitude of the number of the data transmission paths is in a positive correlation with the total number of the meals.
[0023] Further, the process of re-determining the reason based on the counted number of the mismatched dish types includes:
[0024] Count the number of the mismatched dish types and determine whether to correct the preset frequency variance of the mismatched dish types based on the comparison result between the number of the mismatched dish types and a preset number of the mismatched dish types.
[0025] Further, the process of determining to correct the preset frequency variance of the mismatched dish types includes:
[0026] Calculate the difference between the preset number of the mismatched dish types and the number of the mismatched dish types, and record the difference as the quantity difference.
[0027] Determine to increase the preset frequency variance of the mismatched dish types based on the comparison result between the quantity difference and a preset quantity difference. The increase amplitude of the preset frequency variance of the mismatched dish types is in a positive correlation with the quantity difference.
[0028] Further, the process of re-determining the corresponding processing method based on the types of the replacement dishes includes:
[0029] For a single mismatched dish type, count the number of the types of the replacement dishes and record it as the replacement type quantity.
[0030] Determine to classify the types of the mismatched dishes into the corresponding level dish types or re-determine the level dish types based on the comparison result between the replacement type quantity and a preset replacement type quantity. Among them, the level dish types include the first-level dish types and the second-level dish types.
[0031] Further, the process of re-determining the level dish types based on the comparison result between the replacement type quantity and the preset replacement type quantity includes:
[0032] For a single mismatched dish type, count the occurrence frequency and record it as the occurrence frequency of the mismatched dish.
[0033] Redetermine the category of dishes at the corresponding level for the mismatched dish types based on the comparison result between the frequency of occurrence of the mismatched dishes and the preset frequency of occurrence of the mismatched dishes.
[0034] Further, count the number of the first-level dish types and the number of the second-level dish types and calculate the ratio, and record the ratio as the proportion of the dishes at the corresponding level.
[0035] Based on the comparison result between the proportion of the dishes at the corresponding level and the preset proportion of the dishes at the corresponding level, determine to re-update the mapping relationship between the expected dish codes and the dishes or increase the number of the data transmission paths.
[0036] The present invention further provides a company group meal reservation system facilitating customization, including:
[0037] An interaction terminal for sequentially obtaining the group meal information of each of the ordering personnel, where the group meal information includes the job number information and the expected dish information corresponding to each ordering personnel one by one;
[0038] A data processing module connected to the interaction terminal for preprocessing each of the group meal information and sequentially generating corresponding several ordering sub-orders, where the ordering sub-orders include the identification code corresponding to the job number information and several expected dish codes corresponding to the expected dish information;
[0039] A data transmission module connected to the data processing module for transmitting each of the ordering sub-orders;
[0040] A data parsing module connected to the data transmission module for receiving each of the ordering sub-orders and performing parsing processing to obtain several meal information;
[0041] A meal delivery module connected to the data parsing module for outputting the corresponding meals based on each of the meal information, and for setting the meal delivery sub-orders on the corresponding meals based on the meal information, where the meal delivery sub-orders include the identification code and several meal delivery dish codes;
[0042] A delivery module connected to the meal delivery module for delivering each of the meals;
[0043] An inspection module connected to the data processing module for sequentially scanning each of the meal delivery sub-orders to determine the identification code and several meal delivery dish codes corresponding to each of the meals, and for sequentially comparing several expected dish codes and several meal delivery dish codes with the same identification code to determine the mismatched meals, where the mismatched meals are the meals where there is at least one expected dish inconsistent with one meal delivery dish;
[0044] An analysis module, which is connected to the verification module, is used to count and calculate the ratio between the number of unmatched meals and the total number of meals, record the ratio as the non - matching proportion, and is used to determine whether the group meal reservation is qualified based on the comparison result between the non - matching proportion and the critical non - matching proportion, and is used to generate a corresponding instruction in the case of determining unqualified.
[0045] An adjustment module, which is respectively connected to the analysis module, the data processing module, and the data transmission module, is used to determine the number of data transmission paths based on the instruction or re - update the mapping relationship between the expected dish codes and the dishes.
[0046] Compared with the prior art, the beneficial effect of a company group meal reservation method that is easy to customize in the present invention is that the method obtains the group meal information of each ordering person and generates a number of ordering sub - orders according to the group meal information. The ordering sub - orders include identification codes and a number of expected dish codes; transmits and parses the ordering sub - orders to obtain a number of meal information, outputs corresponding meals based on the meal information, and generates a serving sub - order based on the meal information. The serving sub - order includes an identification code and a number of served dish codes; sets the serving sub - order on the corresponding meal and distributes it, scans the serving sub - order to obtain the identification code and a number of served dish codes, and compares the expected dish codes and the served dish codes with the same identification code to determine the unmatched meals; counts the number of unmatched meals and the total number of meals to calculate the non - matching proportion, determines whether the group meal reservation process is qualified based on the comparison result between the non - matching proportion and the critical non - matching proportion, generates a corresponding instruction when unqualified, adjusts relevant parameters or settings in the group meal reservation process based on the instruction, corrects the group meal reservation process, improves the subsequent meal matching qualification rate, ensures that the needs of the ordering personnel can be matched, and thus improves customer satisfaction.
[0047] Further, when the present invention determines that the group meal reservation is unqualified based on the comparison between the non - matching proportion and the critical non - matching proportion, it can determine the reason for the unqualified according to the distribution of the types of dishes in the unmatched meals, and then can adjust the group meal reservation process accordingly based on the reason to improve the meal matching qualification rate.
[0048] Further, the present invention obtains the variance of the frequencies of the unmatched dish types according to the occurrence frequencies of the unmatched dish types, compares the variance of the frequencies of the unmatched dish types with the preset variance of the frequencies of the unmatched dish types to determine the reason for the unqualified group meal reservation, and then can determine the corresponding processing method based on the reason, thereby reducing the types of unmatched dishes and improving the meal matching qualification rate.
[0049] Furthermore, when the present invention determines to reduce the number of mismatched meals by increasing the number of data transmission paths, it can determine the increase amplitude of the number of data transmission paths based on the comparison result between the total number of meals and the preset total number of meals, and then accurately correct the group meal reservation process to increase the number of matched meals.
[0050] Furthermore, the present invention can also determine to correct the variance of the preset frequency of mismatched dish types based on the comparison result between the number of mismatched dish types and the preset number of mismatched dish types, and then can reduce the number of mismatched meals by increasing the number of data transmission paths.
[0051] Furthermore, when the present invention determines to reduce the number of mismatched dish types by increasing the variance of the preset frequency of mismatched dish types, it can determine the increase amplitude of the variance of the preset frequency of mismatched dish types based on the comparison result between the quantity difference and the preset quantity difference, and accurately correct the group meal reservation process to increase the number of matched meals.
[0052] Furthermore, the present invention also determines the level dish types corresponding to the mismatched dish types according to the comparison result between the number of replacement types and the preset number of replacement types, and the comparison result between the occurrence frequency of mismatched dishes and the preset occurrence frequency of mismatched dishes. Then, based on the level dish types, the proportion of level dishes is obtained. Based on the comparison between the proportion of level dishes and the preset proportion of level dishes, it is determined whether to increase the number of data transmission paths or re-update the mapping relationship between the expected dish codes and dishes in the database, so as to accurately correct the group meal reservation process and thus improve the matching qualification rate of dishes. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic diagram of the modules of the company group meal reservation system that is convenient for customization according to the present invention;
[0054] Figure 2 It is a schematic flowchart of the company group meal reservation method that is convenient for customization according to the present invention;
[0055] Figure 3 It is a logical decision diagram for determining whether the group meal reservation process is qualified based on the mismatch ratio according to the present invention;
[0056] Figure 4 It is a logical decision diagram for determining the reasons for the unqualified group meal reservation process and corresponding corrections based on the variance of the frequency of mismatched dish types according to the present invention;
[0057] Figure 5 It is a logical decision diagram for determining the level dish types corresponding to a single mismatched dish type based on the number of replacement types according to the present invention;
[0058] Figure 6 It is a logical decision diagram for determining the corresponding processing based on the proportion of level dishes according to the present invention. Detailed Implementation Modes
[0059] In order to make the objectives and advantages of the present invention more clearly understood, the present invention will be further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0060] The preferred implementation modes of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art should understand that these implementation modes are only used to explain the technical principles of the present invention and do not limit the protection scope of the present invention.
[0061] It should be noted that in the description of the present invention, unless otherwise clearly defined and limited, the term "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0062] Please refer to Figure 1As shown in the figure, it is a schematic diagram of the modules of the company group meal reservation system that is convenient for customization in this embodiment. The system includes an interaction terminal, a data processing module, a data transmission module, a data parsing module, a meal preparation module, a delivery module, a verification module, an analysis module, and an adjustment module. Among them, the interaction terminal is used to sequentially obtain the group meal information of each ordering person, and the group meal information includes the employee number information and the expected dish information corresponding to each ordering person one by one; the data processing module is connected to the interaction terminal and is used to preprocess each group meal information and sequentially generate corresponding several ordering sub-orders. Among them, the ordering sub-order includes an identification code corresponding to the employee number information and several expected dish codes corresponding to the expected dish information; the data transmission module is connected to the data processing module and is used to transmit each ordering sub-order; the data parsing module is connected to the data transmission module and is used to receive each ordering sub-order and perform parsing processing to obtain several meal information; the meal preparation module is connected to the data parsing module and is used to output corresponding meals based on each meal information, and is used to set an outmeal sub-order on the corresponding meal based on the meal information. Among them, the outmeal sub-order includes the identification code and several outmeal dish codes; the delivery module is connected to the meal preparation module and is used to deliver each meal; the verification module is respectively connected to the data processing module and the delivery module and is used to sequentially scan each outmeal sub-order to determine the identification code and several outmeal dish codes corresponding to each meal, and is used to sequentially compare several expected dish codes and several outmeal dish codes with the same identification code to determine unmatched meals. Among them, an unmatched meal is a meal in which there is at least one expected dish different from one outmeal dish; the analysis module is connected to the verification module and is used to count and calculate the ratio between the number of unmatched meals and the total number of meals, record the ratio as the unmatched proportion, and is used to determine whether the group meal reservation is qualified based on the comparison result between the unmatched proportion and the critical unmatched proportion, and is used to generate a corresponding instruction when it is determined to be unqualified; the adjustment module is respectively connected to the analysis module, the data processing module, and the data transmission module and is used to determine the number of data transmission paths based on the instruction or re-update the mapping relationship between the expected dish code and the dish.
[0063] Please refer to Figure 2 As shown in the figure, it is a schematic diagram of the process of the company group meal reservation method that is convenient for customization in this embodiment. The process of this method includes at least the following steps:
[0064] S1: Sequentially obtain the group meal information of each ordering person. Among them, the group meal information includes the employee number information and the expected dish information corresponding to each ordering person one by one;
[0065] S2: Preprocess each group meal information and sequentially generate corresponding several ordering sub-orders. Among them, the ordering sub-order includes an identification code corresponding to the employee number information and several expected dish codes corresponding to the expected dish information;
[0066] S3: Transmit several ordering sub-orders, receive each ordering sub-order and perform parsing processing to obtain several meal information, output corresponding meals according to each meal information, and, based on the meal information, set up a serving sub-order on the corresponding meal. Among them, the serving sub-order includes an identification code and several serving dish codes;
[0067] S4: After completing the delivery of several meals, sequentially scan each serving sub-order to obtain the identification code and several serving dish codes corresponding to each meal, and, compare several serving dish codes with the same identification code with several expected dish codes to determine the unmatched meals. Among them, the unmatched meals are the meals where there is at least one expected dish different from one serving dish;
[0068] S5: Statistically calculate the ratio between the number of unmatched meals and the total number of meals, record the ratio as the unmatched proportion, determine whether the group meal reservation is qualified according to the comparison result between the unmatched proportion and the critical unmatched proportion, and generate corresponding instructions for the reasons when it is determined to be unqualified;
[0069] S6: Determine the number of data transmission paths based on the instructions or re-update the mapping relationship between the expected dish codes and the dishes.
[0070] Specifically, in this embodiment, for the current group meal reservation, the default staple food is rice. If one doesn't want to have rice, they can choose not to participate in this group meal reservation action and select other group meal reservation actions. The staff number information is unique and corresponds to a single orderer. The expected dish information includes various dish information ordered by the orderer, which is suitable for the situation where there are a large number of people in the group meal, a rich variety of dishes, and unified distribution. Preprocess each group meal information and generate several sub-orders for meal reservation in sequence. Each sub-order for meal reservation will be retained and used for verification in the subsequent verification process. Each sub-order for meal reservation includes an identification code uniquely corresponding to the staff number information and several expected dish codes. Each expected dish code is determined in sequence according to the orderer's order sequence. The identification code is used to determine which orderer each meal is to be distributed to. Among them, each expected dish code has a mapping relationship with each dish in the database and corresponds to one dish one by one. For example, the expected dish code 001 corresponds to shredded potatoes with vinegar and chili, the expected dish code 002 corresponds to sweet and sour pork, the expected dish code 003 corresponds to ground three delicacies, the expected dish code 004 corresponds to stir-fried shredded pork, the expected dish code 005 corresponds to cold cucumber salad, etc. Using dish codes can achieve standardized management. For example, coding can avoid confusion caused by differences in dialects, translations, or writing styles of dish names, and can also achieve quick identification. Scanning or entering the code is faster than looking up the text menu, especially during peak hours, and the code is more easily recognized and processed by machines. Transmit each sub-order for meal reservation to the food preparation end of the cafeteria or restaurant. The food preparation end parses the data of the sub-order for meal reservation to obtain several meal information, and then prepares and packs the corresponding dishes according to the meal information. The completed meal can be a packed lunch box, and a corresponding sub-order for food preparation is generated according to each meal information. The sub-order for food preparation includes an identification code and several food preparation dish codes. The identification code here is the same as the identification code in the sub-order for meal reservation, and each food preparation dish code also needs to correspond to the expected dish code one by one. Only when the food preparation dish codes correspond to the expected dish codes one by one under the same identification code is the meal qualified and matching. If one food preparation dish code does not correspond to the expected dish code, the meal is considered a mismatched meal. Determine whether the current group meal reservation is qualified by comparing the number of mismatched meals with the total number of meals. When verifying that the current group meal reservation is unqualified, a corresponding instruction can be generated. Among them, the instruction is used to adjust the data transmission process or the database of dish codes, and then re-determine the number of data transmission paths or re-update the mapping relationship between the expected dish codes and the dishes based on the instruction, thereby correcting the group meal reservation process, improving the subsequent meal matching qualification rate, ensuring that the meals received by the orderers can fully match the requirements, thus enhancing customer satisfaction, and also reducing waste.
[0071] Please refer to Figure 3As shown, it is a logical decision diagram for determining whether the group meal reservation process is qualified based on the mismatch ratio in this embodiment. The process of determining whether the group meal reservation is qualified according to the comparison result between the mismatch ratio and the critical mismatch ratio includes:
[0072] If the mismatch ratio is less than or equal to the critical mismatch ratio, it is determined that the group meal reservation is qualified; if the mismatch ratio is greater than the critical mismatch ratio, it is determined that the group meal reservation is unqualified; when it is determined that the group meal reservation is unqualified, the reason is determined according to the distribution of dish types in each of the mismatched meals.
[0073] Specifically, in this embodiment, taking 100 meals delivered at one time as an example, the critical mismatch ratio F0 is set to 0.02; the specific process of comparing the mismatch ratio F with the critical mismatch ratio F0 is as follows:
[0074] If the mismatch ratio F is less than or equal to the critical mismatch ratio F0, it means that the number of current mismatched meals is relatively small and within the acceptable range, that is, at most two mismatched meals appear in 100 meals. At this time, it can be determined that this group meal reservation is qualified. It is clear that F is not infinitely small at this time.
[0075] If the mismatch ratio F is greater than the critical mismatch ratio F0, it means that at least three mismatched meals will appear. At this time, this group meal reservation can be determined to be unqualified. When determining unqualified, the reason needs to be determined according to the distribution of dish types in the mismatched meals. At this time, F is not infinitely large and conforms to the actual situation. It can be understood that the embodiment of the present invention does not specifically limit F0. In an alternative embodiment, a new critical mismatch ratio F01 = 0.03 can also be set, as long as it satisfies determining whether the group meal reservation is qualified by comparing F with F01 and determining the unqualified reason. The specific comparison process refers to the above content.
[0076] Please refer to Figure 4 As shown, it is a logical decision diagram for determining the reason for the unqualified group meal reservation process based on the variance of the frequency of mismatched dish types and the corresponding correction. The process of determining the reason according to the distribution of dish types in each of the mismatched meals includes:
[0077] Count the occurrence frequencies of the types of mismatched dishes among several of the mismatched meals and calculate the variance of the frequencies of the types of mismatched dishes; determine the reason for the unqualified group meal reservation based on the comparison result between the variance of the frequencies of the types of mismatched dishes and the preset variance of the frequencies of the types of mismatched dishes; determine to increase the number of data transmission paths based on the reason, re-determine the reason based on the number of the types of mismatched dishes counted, or re-determine the corresponding processing based on the number of the types of replacement dishes; wherein, the types of mismatched dishes are the types of dishes in which each dish in the served dish code does not match the corresponding dish in the expected dish code, and the mismatched dishes are recorded as the replacement dishes.
[0078] Specifically, in this embodiment, if the expected dish codes ordered by a diner are 001, 002, and 003 respectively, and the served dish codes are 001, 003, and 005 respectively, then the dish corresponding to the expected dish code 002 is recorded as a type of mismatched dish, and the occurrence frequency of this type of mismatched dish at this time is recorded as 1; if the expected dish codes ordered by another diner are 001, 004, and 007 respectively, and the served dish codes are 001, 004, and 005 respectively, the type of dish corresponding to the expected dish code 007 is still recorded as a type of mismatched dish of the second category, and the occurrence frequency of this type of mismatched dish of the second category at this time is recorded as 1, and so on; the mismatched dish corresponding to 005 is recorded as the replacement dish; then, the occurrence frequencies of different types of mismatched dishes are counted and the variance is calculated uniformly to obtain the variance D of the frequencies of the types of mismatched dishes. In order to more accurately determine the reason, the preset variance D0 of the frequencies of the types of mismatched dishes can be divided into a first preset variance D1 of the frequencies of the types of mismatched dishes and a second preset variance D2 of the frequencies of the types of mismatched dishes, and it is set that D1 = 0.22 and D2 = 0.24; the specific process of comparing the variance D of the frequencies of the types of mismatched dishes with D1 and D2 is as follows:
[0079] If the variance D of the frequencies of unmatched dish types is less than or equal to the first preset variance D1 of the frequencies of unmatched dish types, it indicates that the occurrence frequencies of the current unmatched dish types are relatively low. At this time, it can be determined that there is a problem in the data transmission process, and the poor data transmission environment causes data packets to be damaged or data to be missing. At this time, the risk of single-point transmission failure can be reduced by increasing the number of data transmission paths, dispersing the data to multiple paths for transmission, and ensuring stable data transmission. It is clear that D is not infinitely small at this time. If the variance D of the frequencies of unmatched dish types is greater than the first preset variance D1 of the frequencies of unmatched dish types and less than or equal to the second preset variance D2 of the frequencies of unmatched dish types, the number of unmatched dish types can be counted at this time, and the cause of non-conformance can be further re-determined based on this number. If the variance D of the frequencies of unmatched dish types is greater than the second preset variance D2 of the frequencies of unmatched dish types, it indicates that the occurrence frequencies of the current unmatched dish types are relatively high. At this time, the frequencies of occurrence of a single unmatched dish in each unmatched meal can be counted and recorded as the number of types of replacement dishes, and the corresponding processing method can be re-determined based on the number of types of replacement dishes. It is clear that D is not infinitely large at this time. It can be understood that the present invention embodiment does not specifically limit the preset variance D0 of the frequencies of unmatched dish types. In an alternative embodiment, a new first preset variance D11 = 0.21 and a new second preset variance D21 = 0.23 can also be set, as long as it satisfies that the cause of non-conformance of the current group meal reservation and the corresponding processing method can be determined by comparing D with D11 and D21. The specific comparison process refers to the above content.
[0080] Further, the process of increasing the number of the data transmission paths includes:
[0081] Count the total number of meals and determine the number of data transmission paths to be increased based on the comparison result between the total number of meals and the preset total number of meals. The increase amplitude of the number of data transmission paths is positively correlated with the total number of meals.
[0082] Specifically, in this embodiment, if it is determined that there is a problem in the data transmission process, the total number of meals can be compared to determine to start more data transmission paths to resist the phenomenon of poor transmission environment. For example, data can be transmitted using multiple physical or logical paths simultaneously. The preset total number of meals Q0 can be divided into a first preset total number of meals Q1 and a second preset total number of meals Q2, and Q1 = 85 and Q2 = 95 are set. The comparison process based on the total number of meals Q with Q1 and Q2 is as follows:
[0083] If the total number of dishes Q is less than or equal to the first preset total number of dishes Q1, it is determined to increase by 1 on the basis of the original number of data transmission paths; if the total number of dishes Q is greater than the first preset total number of dishes Q1 and less than or equal to the second preset total number of dishes Q2, it is determined to increase by 2 on the basis of the original number of data transmission paths; if the total number of dishes Q is greater than the second preset total number of dishes Q2, it is determined to increase by 3 on the basis of the original number of data transmission paths. It can be clearly seen that Q is not infinitely large at this time, and the increased value of the number of data transmission paths can also be set to other values that meet the requirements, and the total number of data transmission paths after the increase meets the requirements of the actual situation, and the number of data transmission paths shows an increasing trend. It can be understood that the embodiment of the present invention does not specifically limit the preset total number of dishes Q0. In an alternative embodiment, a new first preset total number of dishes Q11 = 90 and a new second preset total number of dishes Q21 = 98 can also be set, as long as it satisfies the comparison of Q with Q11 and Q21 to determine the increase range of the number of data transmission paths. The specific comparison process refers to the above content.
[0084] Further, the process of re-determining the reason based on the counted number of mismatched dish types includes:
[0085] Count the number of mismatched dish types and determine whether to correct the preset frequency variance of mismatched dish types based on the comparison result between the number of mismatched dish types and the preset number of mismatched dish types.
[0086] Specifically, in this embodiment, the preset number of mismatched dish types N0 = 3 is set. At this time, the preset number of mismatched dish types N0 is a critical value and has nothing to do with the occurrence frequency of mismatched dish types. The specific comparison process between the number of mismatched dish types N and N0 is as follows:
[0087] If the number N of unmatched dish types is less than or equal to the preset number N0 of unmatched dish types, it indicates that the number of unmatched dish types in the current group meal reservation is relatively small. At this time, the preset variance D0 of the frequency of unmatched dish types can be corrected. Specifically, the first preset variance D1 of the frequency of unmatched dish types is increased to increase the probability that the variance D of the frequency of unmatched dish types falls within the range less than or equal to the first preset variance D1 of the frequency of unmatched dish types. Furthermore, it can be determined to reduce the occurrence probability of data loss or missing by increasing the number of data transmission paths. If the number N of unmatched dish types is greater than the preset number N0 of unmatched dish types, the corresponding processing method is re-determined based on the number of types of replacement dishes. It is clear that D is not infinite at this time and conforms to the actual situation. It can be understood that in the embodiments of the present invention, the preset number N0 of unmatched dish types is not specifically limited. In an alternative embodiment, a new preset number N0 of unmatched dish types can also be set to 2, as long as it satisfies the comparison between N and N0 to determine whether to correct the preset variance D0 of the meal. The specific comparison process refers to the above content.
[0088] Further, the process of determining to correct the preset variance of the frequency of unmatched dish types includes:
[0089] Calculate the difference between the preset number of unmatched dish types and the number of unmatched dish types, and record the difference as the quantity difference; determine to increase the preset variance of the frequency of unmatched dish types based on the comparison result between the quantity difference and the preset quantity difference. The increase amplitude of the preset variance of the frequency of unmatched dish types is positively correlated with the quantity difference.
[0090] Specifically, in this embodiment, the preset quantity difference K0 is divided into a first preset quantity difference K1 and a second preset quantity difference K2, and K1 = 2 and K2 = 4 are set; the comparison process based on the quantity difference K with K1 and K2 is as follows:
[0091] If the quantity difference K is less than or equal to the first preset quantity difference K1, use the first variance adjustment coefficient to increase the preset variance D of the frequency of unmatched dish types by 0.01 more than the initial value. If the quantity difference K is greater than the first preset quantity difference K1 and less than or equal to the second preset quantity difference K2, use the second variance adjustment coefficient to increase the preset variance D of the frequency of unmatched dish types by 0.02 more than the initial value. If the quantity difference K is greater than the second preset quantity difference K2, use the third variance adjustment coefficient to increase the preset variance D by 0.03 more than the initial value. It is clear that K is not infinite at this time and conforms to the actual situation. The increased value of the preset variance D of the frequency of unmatched dish types can also be set to other values that meet the requirements.
[0092] Please refer to Figure 5As shown, this is the logic decision diagram for determining the level of a single mismatched dish type corresponding to the replacement type quantity in this embodiment. The process of re-determining the corresponding processing method based on the type of the replacement dish includes:
[0093] For a single mismatched dish type, count the type quantity of the replacement dishes and record it as the replacement type quantity; based on the comparison result between the replacement type quantity and the preset replacement type quantity, determine whether to classify the type of the mismatched dish into the corresponding level of dish types or re-determine the level of dish types, where the level of dish types includes the first-level dish type and the second-level dish type.
[0094] Specifically, in this embodiment, for example, shredded potatoes are included in both expected dishes. If shredded potatoes are replaced with cold cucumber in one meal, then cold cucumber counts as one type of replacement dish. If shredded potatoes are replaced with braised pork in another meal, then braised pork counts as one type of replacement dish. At this time, the type quantity of the replacement dishes for shredded potatoes can be counted and recorded as 2; a preset replacement type quantity C0 = 2 can be set; the specific comparison process between the replacement type quantity C and C0 is as follows:
[0095] If the replacement type quantity C is less than the preset replacement type quantity C0, it indicates that the type quantity of the replacement dishes for the currently targeted single mismatched dish is relatively small, and it can be recorded as the first-level dish type. If the replacement type quantity C is equal to the preset replacement type quantity C0, at this time, the corresponding level of dish type can be re-determined according to the frequency of occurrence of the mismatched dish type in a single reservation process. For example, minced meat and eggplant and tomato and egg are in the expected dish a, and the corresponding served dish a1 is sweet and sour pork and tomato and egg. Minced meat and eggplant and cold cucumber are in the expected dish b, and the corresponding served dish b1 is sautéed potato, green pepper and eggplant and cold cucumber. At this time, it can be known that the frequency of occurrence of the single mismatched dish - minced meat and eggplant is 2 times. If the replacement type quantity C is greater than the preset replacement type quantity C0, it indicates that the type quantity of the replacement dishes for the currently targeted single mismatched dish is relatively large, and it can be recorded as the second-level dish type. It should be clear that C at this time is not infinitely large and conforms to the actual situation. According to the actual situation, the level of dish types can also be expanded later, such as adding a third-level dish type, etc. It can be understood that in the embodiment of the present invention, no specific limitation is imposed on the preset replacement type quantity C0. In an alternative embodiment, a new preset replacement type quantity C01 = 3 can also be set, as long as it satisfies determining the corresponding level of dish type for the mismatched dish type through the comparison between C and C01. The specific comparison process refers to the above content.
[0096] Further, the process of re-determining the level of dish types based on the comparison result between the replacement type quantity and the preset replacement type quantity includes:
[0097] Statistically count the occurrence frequency for a single mismatched dish type, and record it as the occurrence frequency of the mismatched dish; re-determine the corresponding level dish type for the mismatched dish type based on the comparison result between the occurrence frequency of the mismatched dish and the preset occurrence frequency of the mismatched dish.
[0098] Specifically, in this embodiment, set the preset occurrence frequency M0 of the mismatched dish to 2; the specific process of comparing the occurrence frequency M of the mismatched dish with M0 is as follows:
[0099] If the occurrence frequency M of the mismatched dish is less than or equal to the preset occurrence frequency M0 of the mismatched dish, it indicates that the number of occurrences of the current mismatched dish is relatively small. When the replacement type quantity C is equal to the preset replacement type quantity C0, the mismatched dish type at this time can be recorded as the second-level dish type. If the occurrence frequency M of the mismatched dish is greater than the preset occurrence frequency M0 of the mismatched dish, it indicates that the number of occurrences of the current mismatched dish is quite large. When the replacement type quantity C is equal to the preset replacement type quantity C0, the mismatched dish type at this time can be recorded as the first-level dish type. It can be clearly seen that C is not infinitely large at this time. It can be understood that in the embodiments of the present invention, there is no specific limitation on M0. In an alternative embodiment, a new M01 = 3 can also be set, as long as it satisfies determining the corresponding level dish type for the mismatched dish type through the comparison between M and M01. The specific comparison process refers to the above content.
[0100] Please refer to Figure 6 As shown, it is the logical decision diagram for the corresponding processing based on the proportion of level dishes in this embodiment. Statistically count the number of the first-level dish types and the number of the second-level dish types and calculate the ratio, and record the ratio as the proportion of level dishes; determine to re-update the mapping relationship between the expected dish code and the dish or increase the number of data transmission paths based on the comparison result between the proportion of level dishes and the preset proportion of level dishes.
[0101] Specifically, in this embodiment, the proportion of level dishes G is the ratio between the number of the first-level dish types and the number of the second-level dish types. Set the preset proportion of level dishes G0 = 1, and the specific process of comparing G with G0 is as follows:
[0102] If the proportion G of dishes at a certain level is less than the preset proportion G0 of dishes at that level, it indicates that the number of second-level dish types is currently more than the number of first-level dish types. For a single unmatched dish type, the number of replacement types is large. When the occurrence frequency of each unmatched dish type is relatively high, it is possible that there is a problem in the data transmission process, resulting in a situation where a desired dish code corresponds to multiple different served dish codes in different meals, thus generating a relatively large number of replacement dish types. In this case, the number of data transmission paths can be increased. If the proportion G of dishes at a certain level is greater than or equal to the preset proportion G0 of dishes at that level, it indicates that the number of second-level dish types is currently less than or equal to the number of first-level dish types. For a single unmatched dish type, the number of replacement types is small. When the occurrence frequency of each unmatched dish type is relatively high, it can be determined that there is a problem with the mapping relationship between the desired dish code in the database and the dishes. For example, when it is determined that shredded potatoes are only replaced with a single type such as cold cucumber, it is because the desired dish code corresponding to shredded potatoes in the database is mapped to cold cucumber, resulting in a situation where the occurrence frequency of unmatched dish types is relatively high but the number of replacement types is small. When it is determined that there is an error in the recognition and conversion of the desired dish code at this time, the database needs to be verified to update the mapping relationship between the desired dish code and the dishes again.
[0103] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present invention.
[0104] The above are only the preferred embodiments of the present invention and are not used to limit the present invention; for those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A company group meal reservation method that is convenient for customization, characterized in that, include: Obtain the group meal information of each orderer in turn, where the group meal information includes the work number information and expected dish information corresponding to each orderer; Preprocessing each of the group meal information and sequentially generating a corresponding plurality of meal order sub-orders, wherein the meal order sub-orders include an identification code corresponding to the employee number information and a plurality of desired dish codes corresponding to the desired dish information; Transmitting the plurality of order sub-orders, receiving and parsing each order sub-order to obtain a plurality of dish information, outputting a corresponding dish according to each dish information, and setting a delivery sub-order for the corresponding dish based on the dish information, wherein the delivery sub-order includes the identification code and a plurality of delivery dish codes; After the delivery of the plurality of dishes is completed, each of the delivery sub-orders is scanned in sequence to obtain the identification code and the plurality of delivery dish codes corresponding to each dish, and the plurality of delivery dish codes having the same identification code are compared with the plurality of desired dish codes to determine unmatched dishes, wherein an unmatched dish is a dish in which at least one desired dish is different from one delivered dish; Counting and calculating the ratio between the number of the mismatched dishes and the total number of the dishes, recording the ratio as the mismatch ratio, determining whether the group meal reservation is qualified based on the comparison result of the mismatch ratio and the critical mismatch ratio, and generating a corresponding instruction when it is determined to be unqualified; The number of data transmission paths is determined based on the instruction, or the mapping relationship between the desired dish code and the dish is re-updated.
2. The company group meal reservation method facilitating customization according to claim 1, wherein, The process of determining whether the group meal reservation is qualified according to the comparison result of the mismatch ratio and the critical mismatch ratio includes: If the mismatch ratio is less than or equal to the critical mismatch ratio, the group meal reservation is determined to be qualified; If the mismatch ratio is greater than the critical mismatch ratio, the group meal reservation is determined to be unqualified; When a group meal reservation is determined to be unqualified, the reason is determined based on the distribution of types of dishes in each of the unmatched meals.
3. The company group meal reservation method facilitating customization according to claim 2, characterized in that, The process of determining the cause based on the distribution of dish types in each of the unmatched dishes includes: Obtaining the frequency variance of the occurrence of the mismatched dish types in the plurality of mismatched dishes and recording it as the frequency variance of the mismatched dish types; Determining the reason for the group meal reservation being unqualified based on a comparison result of the frequency variance of the mismatched dish types and a preset frequency variance of the mismatched dish types; Determine to increase the number of data transmission paths based on the cause, re-determine the cause based on the number of types of unmatched dishes counted, or re-determine the corresponding processing based on the number of types of replaced dishes; Among them, the unmatched dish categories are the dish categories in which each dish in the dish code does not match the corresponding dish in the expected dish code, and the unmatched dishes are recorded as the replacement dishes.
4. The company group meal reservation method that is convenient for customization according to claim 3, wherein The process of increasing the number of data transmission paths includes: The total number of meals is counted and based on the comparison result of the total number of meals with the preset total number of meals, the number of data transmission paths to be increased is determined, and the increase in the number of data transmission paths is positively correlated with the total number of meals.
5. The company group meal reservation method facilitating customization according to claim 3, characterized in that The process of re-determining the cause based on the statistical number of mismatched dish types includes: Count the number of mismatched dish types and determine whether to correct the preset frequency variance of mismatched dish types based on the comparison result between the number of mismatched dish types and the preset number of mismatched dish types.
6. The company group meal reservation method that is convenient for customization according to claim 5, characterized in that, The process of determining to correct the preset frequency variance of mismatched dish types includes: Calculate the difference between the preset number of mismatched dish types and the number of mismatched dish types, and record the difference as the quantity difference; Based on the comparison result between the quantity difference and the preset quantity difference, determine to increase the preset frequency variance of mismatched dish types, and the increase amplitude of the preset frequency variance of mismatched dish types is positively correlated with the quantity difference.
7. The company group meal reservation method facilitating customization according to claim 3, characterized in that, The process of re-determining the corresponding processing method based on the types of replacement dishes includes: For a single mismatched dish type, count the number of types of replacement dishes and record it as the replacement type quantity; Based on the comparison result between the replacement type quantity and the preset replacement type quantity, determine to classify the types of mismatched dishes into corresponding level dish types or re-determine the level dish types, where the level dish types include first-level dish types and second-level dish types.
8. The company group meal reservation method facilitating customization according to claim 7, wherein The process of re-determining the level dish types based on the comparison result between the replacement type quantity and the preset replacement type quantity includes: For a single mismatched dish type, count the occurrence frequency and record it as the mismatched dish occurrence frequency; Based on the comparison result between the mismatched dish occurrence frequency and the preset mismatched dish occurrence frequency, re-determine the level dish type corresponding to the mismatched dish type.
9. The company group meal reservation method that is convenient for customization according to claim 8, characterized in that, Count the number of first-level dish types and the number of second-level dish types and calculate the ratio, and record the ratio as the level dish proportion; Based on the comparison result between the level dish proportion and the preset level dish proportion, determine to re-update the mapping relationship between the expected dish codes and the dishes or increase the number of data transmission paths.
10. A company group meal reservation system that is convenient for customization, characterized in that, An apparatus for executing the customizable corporate group meal reservation method according to any one of claims 1-9, comprising: An interaction terminal for sequentially obtaining the group meal information of each of the ordering personnel, where the group meal information includes the staff number information and the expected dish information corresponding to each ordering personnel one by one; A data processing module connected to the interaction terminal for preprocessing each of the group meal information and sequentially generating corresponding several ordering sub-orders, where the ordering sub-orders include the identification code corresponding to the staff number information and several expected dish codes corresponding to the expected dish information; A data transmission module connected to the data processing module for transmitting each of the ordering sub-orders; A data parsing module connected to the data transmission module for receiving each of the ordering sub-orders and performing parsing processing to obtain several meal information; A meal delivery module connected to the data parsing module for outputting corresponding meals based on each of the meal information, and for setting the meal delivery sub-orders on the corresponding meals based on the meal information, where the meal delivery sub-orders include the identification code and several meal delivery dish codes; A distribution module connected to the meal delivery module for distributing each of the meals; Verification module, which is respectively connected to the data processing module and the distribution module, is used to sequentially scan each of the meal delivery sub-orders to determine the identification code corresponding to each meal and a number of the meal delivery dish codes, and is used to sequentially compare a number of the expected dish codes with the same identification code with the number of the meal delivery dish codes to determine the unmatched meals, where the unmatched meals are meals in which at least one expected dish is inconsistent with one meal delivery dish; Analysis module, which is connected to the verification module, is used to count and calculate the ratio between the number of the unmatched meals and the total number of the meals, record the ratio as the unmatched proportion, and is used to determine whether the group meal reservation is qualified based on the comparison result between the unmatched proportion and the critical unmatched proportion, and is used to generate a corresponding instruction in the case of determining unqualified; Adjustment module, which is respectively connected to the analysis module, the data processing module and the data transmission module, is used to determine the number of data transmission paths or re-update the mapping relationship between the expected dish codes and the dishes based on the instruction.
Citation Information
Patent Citations
Intelligent ordering method and device, and terminal equipment
CN108921313A