Dining report display method and device, electronic equipment and computer readable medium
By using target dining analysis scripts and distributed file systems to process dining data on the processing end, the problem of lag and crash caused by excessive processing load on the processing end is solved, efficient processing and accurate analysis of dining data is achieved, and a detailed visual report is generated.
Patent Information
- Application Number
- CN202510109914.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-01-23
AI Technical Summary
On the basis of facing a large number of employees, the processing end often has a large load on the processing data processing and does not have enough resources to efficiently process the dining data, resulting in problems such as lag on the processing end, low response speed and even crash on the processing end.
Efficient processing and analysis of dining data is achieved by utilizing target dining analysis scripts and distributed file systems. The specific steps include obtaining dining data and employee attendance data from the dining data terminal and the user attendance terminal, performing data preprocessing, and automatically importing the data into associated files in the distributed file system, and generating dining analysis data. The system uses the coordinated work between the file metadata management node and the data processing node to allocate the processing workload and reduce the pressure on the processing end.
在不给处理端造成太大数据处理负荷的情况下,实现了用餐分析数据的准确和高效生成,获取了各方面的用餐信息,通过生成的可视化报告了解用餐情况,避免了处理端的卡顿和死机问题。
Smart Images

Figure CN120029981A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a dining report presentation method, device, electronic device, and computer-readable medium. Background Art
[0002] At present, with the development of information technology, enterprises are gradually using computer systems to store and manage meal-related data. Although the degree of automation has improved, meal-related data still mainly relies on regular data aggregation and manual comparison, which limits efficiency and accuracy. In addition, facing a large number of employees, the processing end often has a large meal data processing load, and there are not enough resources for efficient processing of meal data, resulting in problems such as freezes, slow response speeds, and even crashes on the processing end.
[0003] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0004] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0005] Some embodiments of the present disclosure propose a dining report presentation method, apparatus, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.
[0006] In a first aspect, some embodiments of the present disclosure provide a method for displaying a meal report, comprising: in response to determining that a meal processing time has been reached, obtaining a meal data set from a meal data terminal, and obtaining employee attendance data for at least one employee from a user attendance terminal, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the at least one employee within a target time period; performing data preprocessing on the meal data set and the employee attendance data to generate a preprocessed meal data set and preprocessed attendance data; automatically importing the preprocessed meal data set and the preprocessed attendance data into an associated file corresponding to a target meal analysis script and stored in a distributed file system, and generating at least one meal analysis data corresponding to at least one department, wherein the at least one department is each department corresponding to the at least one employee, and the meal analysis data includes: an employee information set, dinner usage records corresponding to each employee, overtime times corresponding to each employee, meal value outflow information corresponding to the department, and dinner Comparison information between usage records and overtime times, the comparison information includes: the number of meals handled by the employees themselves and the first meal value outflow information, the above-mentioned distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node; each meal analysis data in the above-mentioned at least one meal analysis data is sent to a terminal used by a corresponding department, so that the department can review the meal data and meal value outflow; obtain at least one meal data return information sent by the terminal corresponding to the above-mentioned at least one department, wherein the meal data return information includes: meal data confirmation information; in response to determining that the above-mentioned at least one meal data return information represents that the meal analysis data is correct and that the meal value outflow has been executed, generate a visual meal report for the above-mentioned at least one department, the above-mentioned at least one meal analysis data and the above-mentioned meal value outflow information; send the above-mentioned visual meal report to a target terminal for visual display.
[0007] In a second aspect, some embodiments of the present disclosure provide a meal report display device, including: a first acquisition unit, configured to acquire a meal data set from a meal data terminal in response to determining that a meal processing time has been reached, and to acquire employee attendance data for at least one employee from a user attendance terminal, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the at least one employee within a target time period; a processing unit, configured to perform data preprocessing on the meal data set and the employee attendance data to generate a preprocessed meal data set and preprocessed attendance data; an import unit, configured to automatically import the preprocessed meal data set and the preprocessed attendance data into an associated file corresponding to a target meal analysis script and stored in a distributed file system, to generate at least one meal analysis data corresponding to at least one department, wherein the at least one department is each department corresponding to the at least one employee, and the meal analysis data includes: an employee information set, dinner usage records corresponding to each employee, overtime times corresponding to each employee, meal value outflow information corresponding to the department, dinner usage records and overtime The comparison information between the shift times includes: the number of meals handled by the employees themselves and the first meal value outflow information. The distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node; a sending unit is configured to send each meal analysis data in the at least one meal analysis data to a terminal used by a corresponding department, so that the department can review the meal data and the meal value outflow; a second acquisition unit is configured to acquire at least one meal data return information sent by the terminal corresponding to the at least one department, wherein the meal data return information includes: meal data confirmation information; a generating unit is configured to generate a visual meal report for the at least one department, the at least one meal analysis data and the meal value outflow information in response to determining that the at least one meal data return information represents that the meal analysis data is correct and that the meal value outflow has been completed; a display unit is configured to send the visual meal report to a target terminal for visual display.
[0008] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner in the first aspect.
[0009] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
[0010] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the meal report display method of some embodiments of the present disclosure, without causing too much data processing load to the processing end, the target meal analysis script can be used to accurately and efficiently generate meal analysis data to obtain various aspects of meal information, so that the meal situation can be understood through the subsequent accurate visualization report generated. Specifically, relying on regular data aggregation and manual comparison, the efficiency and accuracy are limited. In addition, on the basis of facing a large number of employees, the processing end often has a large meal data processing load, and there are not enough resources to efficiently process the meal data, resulting in the problem of jamming, low response speed and even crash of the processing end. Based on this, the meal report display method of some embodiments of the present disclosure, first, in response to determining that the meal processing time has been reached, a meal data set is obtained from the meal data terminal, and employee attendance data for at least one employee is obtained from the user attendance end, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the above-mentioned at least one employee in the target time period. Here, the effective data management of the corresponding business data can be realized through the meal data terminal and the user attendance end, and the meal data set and employee attendance data are obtained to facilitate the subsequent accurate analysis of the meal situation. Then, the above-mentioned dining data set and employee attendance data are preprocessed to generate preprocessed dining data set and preprocessed attendance data, so as to process the dining data set and employee attendance data into high-quality data for subsequent use and extraction of data features. Then, the above-mentioned preprocessed dining data set and the above-mentioned preprocessed attendance data are automatically imported into the associated file corresponding to the target dining analysis script based on the distributed file system, and at least one dining analysis data corresponding to at least one department is generated, wherein the at least one department is each department corresponding to the at least one employee, and the dining analysis data includes: employee information set, dinner usage records corresponding to each employee, overtime times corresponding to each employee, dining value outflow information corresponding to the department, comparison information between dinner usage records and overtime times, comparison information includes: employee corresponding meal self-processing times and first dining value outflow information, and the above-mentioned distributed file system has at least one physical node for storing associated files, and at least one physical node includes: file metadata management node and at least one data processing node. Here, the dining analysis script can realize the accurate and efficient generation of dining analysis data under various business needs. The distributed file system can effectively solve the problem that when there are a large number of employees, there are not enough resources to efficiently process the dining data, which leads to lag, low response speed and even crash of the processing end. Through the coordination of the file metadata management node and at least one data processing node, the workload of dining data analysis can be shared, reducing the processing pressure on the processing end.Then, each of the at least one dining analysis data is sent to the terminal used by the corresponding department for the department to review the dining data and the dining value outflow, so that each department can understand the dining analysis data in time and execute the dining value outflow as soon as possible. Then, at least one dining data return information sent by the corresponding terminal of the at least one department is obtained to obtain the corresponding feedback information of the department. Among them, the dining data return information includes: dining data confirmation information. Further, in response to determining that the at least one dining data return information indicates that the dining analysis data is correct and that the dining value outflow is completed, a visual dining report for the at least one department, the at least one dining analysis data and the dining value outflow information is generated to facilitate visual display, and then effectively display the dining key information corresponding to each department. Finally, the visual dining report is sent to the target terminal for visual display. In summary, by using the target dining analysis script and the corresponding distributed file system, the dining analysis data can be accurately and efficiently generated without causing too much data processing load to the processing end, so as to obtain dining information in various aspects, so that the dining situation can be understood through the subsequent accurate visual report generated. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0012] Figure 1 is a flow chart of some embodiments of the dining report display method according to the present disclosure;
[0013] Figure 2 is a schematic diagram of the structure of some embodiments of the dining report display device according to the present disclosure;
[0014] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0015] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0016] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0017] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0018] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0019] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0020] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0021] refer to Figure 1 , shows a process 100 of some embodiments of the dining report display method according to the present disclosure. The dining report display method comprises the following steps:
[0022] Step 101, in response to determining that a meal processing time has been reached, obtaining a meal data set from a meal data terminal, and obtaining employee attendance data for at least one employee from a user attendance terminal.
[0023] In some embodiments, in response to determining that the meal processing time has been reached, the execution subject (e.g., electronic device) of the above-mentioned meal report display method can obtain a meal data set from a meal data terminal through a wired connection or a wireless connection, and obtain employee attendance data for at least one employee from a user attendance terminal. Among them, the meal processing time can be the time for analyzing and processing the meal data corresponding to each employee. In practice, the meal processing time can also be the time for meal reimbursement statistics. Meal reimbursement statistics can be to determine whether the meal situation corresponding to each employee meets the company's meal reimbursement regulations. The meal processing time can be a time pre-set in the meal processing system. The meal processing system can be a processing system that performs various processing on the meal situation. For example, the meal processing time can be the 5th of each month. Various processing can include: meal data analysis, report generation, and meal data visualization. The meal data terminal can be a terminal that stores the meal data corresponding to each employee. The meal data terminal obtains the meal situation of each employee in each dining restaurant in real time. The meal data can be the meal situation of the employee in the corresponding dining restaurant in the last month. For example, the meal data can include: the meal situation of each employee in the dining restaurant in a month. For example, the dining restaurant set bound to the dining processing system includes: dining restaurant A, dining restaurant B and dining restaurant C. The corresponding dining data set may include: dining data corresponding to dining restaurant A, dining data corresponding to dining restaurant B and dining data corresponding to dining restaurant C. The user attendance terminal may be a terminal that records the attendance of each employee in the last month. The user attendance terminal records the attendance of each employee in real time every day. At least one employee may be the main processing object of the current dining data analysis. The employee attendance data may be the actual attendance of each employee in the last month. Among them, each dining data has a corresponding dining restaurant, and the dining data is the dining data of the at least one employee in the target time period. For example, the target time period may be the last month.
[0024] Step 102, preprocessing the dining data set and employee attendance data to generate preprocessed dining data set and preprocessed attendance data.
[0025] In some embodiments, the execution subject may perform data preprocessing on the dining data set and employee attendance data to generate a preprocessed dining data set and preprocessed attendance data. The data preprocessing may include but is not limited to at least one of the following: time format processing, invalid record or duplicate record removal processing, and department name adjustment processing.
[0026] Step 103, automatically importing the pre-processed dining data set and the pre-processed attendance data into an associated file corresponding to the target dining analysis script and stored in a distributed file system, and generating at least one dining analysis data corresponding to at least one department.
[0027] In some embodiments, the execution subject may automatically import the pre-processed meal data set and the pre-processed attendance data into the associated file corresponding to the target meal analysis script, and generate at least one meal analysis data corresponding to at least one department. The target meal analysis script may be a pre-written script for comprehensive analysis of meal data and attendance data. The associated file may be a file bound to the target meal analysis script. After the data set is added to the entry-related file, the corresponding target meal analysis script will be automatically started to generate meal analysis data. There is a one-to-one correspondence between the departments in at least one department and the meal analysis data in at least one meal analysis data. At least one department may be the departments to which at least one employee belongs. For example, at least one department may include: an algorithm department, a data processing department, a personnel department, an administrative department, and a legal department. The meal analysis data includes: an employee information set, a dinner usage record corresponding to each employee, the number of overtimes corresponding to each employee, the meal value outflow information corresponding to the department, and the comparison information between the dinner usage record and the number of overtimes, and the comparison information includes: the number of meals handled by the employee and the first meal value outflow information. The employee information may represent the identity of the employee. For example, the employee information may be the employee's work number. The employee set corresponding to the employee information set may be each employee under the department. The dinner usage record may be the dining record of the employee's evening dining last month. In practice, the dinner usage record may include: dinner time, dinner restaurant, and dinner price. The number of overtimes may be the total number of overtimes of the employee in the last month. The meal value outflow information may be the value of the value outflow of the meal value. In practice, for the dinner reimbursement scenario, the corresponding meal value outflow information may be the dinner expense payment value. The meal value outflow information may be the total value of the overall dinner expense payment required under the department. The comparison information may be the comparison information obtained after a comprehensive comparison between the dinner usage record and the number of overtimes. The number of meal self-processing may be the number of meal expenses paid by the employee. The first meal value outflow information may be the total value of the dinner expenses paid by the employee. In practice, the target meal analysis script may be a pre-developed script for at least one analysis function required by the meal scenario. That is, the target meal analysis script supports meal analysis under multi-functional scenario requirements. For example, the multi-functional scenario requirements may include: the overtime number summary requirement, the meal value outflow information requirement corresponding to the department, and the comparison information generation requirement. The source file content corresponding to the target dining analysis script supports the model source file of the neural network model corresponding to the layout and multi-functional scene requirements to realize intelligent dining analysis. The above-mentioned distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node. The file metadata management node can be a master node in at least one physical node.The file metadata management node can be used to perform file metadata management and a node for scheduling meal data processing flow. The data processing node can be a node for storing scripts and setting associated files. The processing end can be a terminal where the meal processing system is located.
[0028] In some optional implementations of some embodiments, the above-mentioned meal analysis data also includes: lunch usage records corresponding to each employee and second meal value outflow information corresponding to each employee. The lunch usage record can be the employee's lunch usage in the previous month. In practice, the lunch usage record can include: lunch time, lunch restaurant, lunch price. The second meal value outflow information can be the total value of the lunch expenses paid by the employee himself.
[0029] Optionally, the execution entity may automatically import the preprocessed meal data set and the preprocessed attendance data into the associated file corresponding to the target meal analysis script, so as to utilize the lunch rule processing script included in the target meal analysis script to generate lunch usage records corresponding to each employee and second meal value outflow information corresponding to each employee, wherein the lunch rule processing script indicates that lunch does not support employees dining at multiple dining restaurants at the same time and determines the corresponding meal value outflow of employees when dining at multiple dining restaurants at the same time. Determining the corresponding meal value outflow of employees when dining at multiple dining restaurants at the same time may be determining the meal expenses that employees should pay when dining at multiple dining restaurants at the same time. In practice, the first lunch may be determined as a free lunch, and the remaining lunches after the first lunch may be determined as lunches that employees should pay for themselves.
[0030] In some optional implementations of some embodiments, the comparison information corresponding to the target employee is generated by the following steps:
[0031] In the first step, in response to the target employee's corresponding overtime number being greater than or equal to the dinner usage number in the corresponding dinner usage record, a target value is set as the number of self-processed meals and the target value is set as the first meal value outflow information corresponding to the target employee. The target value may be a pre-set value, or the target value may be a value "0".
[0032] In the second step, in response to the overtime number corresponding to the target employee being less than the dinner usage number, the overtime number is subtracted from the dinner usage number to obtain a subtraction value.
[0033] The third step is to determine the above subtraction value as the number of times the meal is handled by the user.
[0034] Step 4: According to the dinner usage record and the attendance data corresponding to the target employee in the pre-processed attendance data, determine a time information set representing the mismatch between overtime and dinner usage. The time information in the time information set may be the time information of the employee not working overtime but using dinner.
[0035] As an example, the execution subject uses the method of matching overtime data with dinner data to characterize the time information set that does not match overtime and dinner usage.
[0036] The fifth step is to determine the dinner value information set corresponding to the above time information set based on the above dinner usage record.
[0037] As an example, the execution entity may query the dinner cost value under each time information from the dinner usage record to obtain a dinner cost value set as the dinner value information set.
[0038] The sixth step is to determine the value outflow object corresponding to each dinner value information in the above dinner value information set, wherein the value outflow object is one of the following: employee object, department object, company object, and the value outflow object corresponding to the dinner value information is confirmed by the object confirmation information received through the value outflow object confirmation page after the dinner is over. The value outflow object can represent the object that pays the dinner expenses. When the value outflow object is an employee object, it represents that the employee himself pays the dinner expenses. When the value outflow object is a department object, it represents that the department itself reimburses the dinner expenses. When the value outflow object is a company object, it represents that the enterprise reimburses the dinner expenses. Among them, the value outflow object confirmation page can be a confirmation page for determining who pays the dinner expenses of the day.
[0039] Step 7: taking at least one dinner value information in the dinner value information set whose corresponding value outflow object is an employee object as at least one first dinner value information, wherein the first dinner value information may be the payment value of the dinner paid by the employee himself.
[0040] Step 8: taking at least one dinner value information in the dinner value information set whose corresponding value outflow object is a department object as at least one second dinner value information. The first dinner value information may be a reimbursement value for dinner reimbursement by a department.
[0041] In the ninth step, at least one dinner value information corresponding to the company object in the dinner value information set is used as at least one third meal value information. The first dinner value information may be the reimbursement value of the dinner reimbursement by the company.
[0042] The tenth step is to add the at least one first dinner value information to obtain a first added value.
[0043] In the eleventh step, the at least one second dinner value information is added to obtain a second added value.
[0044] In step 12, add the at least one third dinner value information mentioned above to obtain a third added value.
[0045] In the thirteenth step, the association information between the first added value and the employee object, the association information between the second added value and the department object, and the association information between the third added value and the company object are determined as the first meal value outflow information corresponding to the target employee.
[0046] In some optional implementations of some embodiments, the execution subject may automatically import the pre-processed dining data set and the pre-processed attendance data into an associated file corresponding to a target dining analysis script and stored in a distributed file system, and generate at least one dining analysis data corresponding to at least one department, including the following steps:
[0047] The first step, in response to determining that the number of employees corresponding to the above-mentioned at least one employee is lower than the first value, directly and automatically import the above-mentioned preprocessed meal data set and the above-mentioned preprocessed attendance data into the associated files in the above-mentioned file metadata management node corresponding to the target meal analysis script, and generate at least one meal analysis data corresponding to at least one department.
[0048] In a second step, in response to determining that the number of employees corresponding to the at least one employee is higher than the first value, for each of the at least one department, using the file metadata management node, the following second generation step is performed:
[0049] Sub-step 1, in response to determining that the number of employees corresponding to the above-mentioned department is higher than the second value, the employee information set corresponding to the above-mentioned department is grouped to obtain an employee information group set, wherein the number of employees corresponding to each employee information group is less than the above-mentioned second value, wherein the above-mentioned second value is less than the division value. The above-mentioned division value is the above-mentioned first value divided by the number of departments. The second value may be a preset value that is less than the first value. The first value may be a preset value. When the number of employees is greater than the first value, it indicates that the number of employees corresponding to the company is large. When the number of employees is greater than the second value, it indicates that the number of employees corresponding to the department is large. Grouping is required to reduce the pressure on the script to perform dining data analysis.
[0050] As an example, the execution entity may randomly group the employee information of the employee information set corresponding to the department according to the second value to obtain an employee information set.
[0051] Sub-step 2: in response to determining that the number of employees corresponding to the above department is less than or equal to the above second value, determining the employee information set corresponding to the above department as an employee information group set.
[0052] The third step is to determine the number of groups corresponding to the employee information groups in the at least one employee information group set obtained.
[0053] The fourth step is to determine the group identifier corresponding to each employee information group in the at least one employee information group set. The group identifier can represent the group identity corresponding to the employee information group.
[0054] The fifth step is to set a predetermined number of associated files, wherein the predetermined number is the same as the number of groups.
[0055] The sixth step is to use the file metadata management node to set the file names corresponding to the predetermined number of associated files, wherein the text name is the group identifier.
[0056] In the seventh step, the file metadata management node is used to allocate a predetermined number of copies corresponding to the target dining analysis script to the at least one data processing node, and each data processing node has a corresponding copy.
[0057] In the eighth step, the file metadata management node is used to bind the predetermined number of copies to the predetermined number of associated files.
[0058] In the ninth step, the file metadata management node is used to divide the pre-processed dining data set and the pre-processed attendance data according to the grouping method corresponding to the at least one employee information set, so as to generate at least one dining data set and at least one attendance data set.
[0059] In the tenth step, based on the at least one dining data set, the at least one attendance data set, the predetermined number of copies, and the predetermined number of associated files, at least one dining analysis data corresponding to at least one department is generated using the file metadata management node.
[0060] Optionally, the execution entity may generate at least one dining analysis data corresponding to at least one department using the file metadata management node according to the at least one dining data set, the at least one attendance data set, the predetermined number of copies, and the predetermined number of associated files, including the following steps:
[0061] In the first step, for each employee information group in the at least one employee information group set, the file metadata management node is used to automatically import the meal data group and the attendance data group corresponding to the employee information group into an associated file named as the group identifier corresponding to the employee information group, so as to generate an employee meal analysis data group using the copy in the corresponding data processing node.
[0062] The second step is to generate at least one dining analysis data corresponding to at least one department based on the obtained at least one employee dining analysis data set and using the department dining analysis script included in the target dining analysis script. The department dining analysis script may be a script for performing data analysis on the department dining data.
[0063] As one of the invention points, another technical problem is solved: "When facing a large number of employees, the processing end often has a large dining data processing load, and there are not enough resources to efficiently process the dining data, resulting in the processing end being stuck, the response speed is low, and even the processing end crashes." Based on this, the present disclosure realizes the allocation of employees and the generation of at least one dining analysis data corresponding to at least one department by utilizing a file metadata management node and at least one data processing node, which can greatly improve the generation efficiency of dining analysis data and avoid high load conditions.
[0064] In some optional implementations of some embodiments, the above-mentioned target dining analysis script supports the use of a recommendation model to make intelligent recommendations for dining locations and dining times. The recommendation model can be a model for recommending dining locations and dining times. In practice, the recommendation model can make real-time recommendations during the employee's dining time period. The recommendation model can be connected to a visualization page to let employees know the dining locations and dining times for dining.
[0065] Step 104 , each meal analysis data in the at least one meal analysis data is sent to a terminal used by a corresponding department, so that the department can review the meal data and flow out the meal value.
[0066] In some embodiments, the execution entity may send each of the at least one meal analysis data to a terminal used by a corresponding department, so that the department can review the meal data and the meal value outflow. The review of the meal data may be a review of the accuracy of the meal analysis data by the corresponding reviewer of the department. In practice, for the meal reimbursement scenario, the meal value outflow may be the payment of meal expenses. Each department has a corresponding user terminal. The correctness of the meal analysis data is reviewed on the user terminal.
[0067] Step 105, obtaining at least one dining data return information sent by the terminal corresponding to the at least one department.
[0068] In some embodiments, the above-mentioned execution entity can obtain at least one meal data return information sent by the corresponding terminal of the above-mentioned at least one department. Among them, the meal data return information can represent the feedback information of the department on the meal analysis data. There is a one-to-one correspondence between the meal data return information in at least one meal data return information and the department in at least one department. Among them, the meal data return information includes: meal data confirmation information. The meal data confirmation information can represent whether the corresponding meal analysis data is normal and correct. In addition, when the meal data confirmation information represents that there is a problem with the meal analysis data, the meal data return information also includes: problem data, a description corresponding to the problem data, and a certification document for the problem data. The problem data can be meal data that the department believes is erroneous. The description corresponding to the problem data can be a detailed description of the problem. The certification document for the problem data can be relevant certification materials for the existence of the problem.
[0069] Step 106, in response to determining that the at least one meal data return information indicates that the meal analysis data is correct and that the meal value outflow is completed, a visual meal report is generated for the at least one department, the at least one meal analysis data and the meal value outflow information.
[0070] In some embodiments, in response to determining that the at least one meal data return information indicates that the meal analysis data is correct and that the meal value outflow is completed, the execution entity may generate a visual meal report for the at least one department, the at least one meal analysis data, and the meal value outflow information. Among them, the visual meal report may be a report in the form of a picture for displaying the dining situation corresponding to each department. The meal value outflow information may indicate whether the department has completed the payment of the meal expenses. That is, the meal value outflow information may be one of the following: "01", "00". When the meal value outflow information is "00", it indicates that the department has completed the payment of each meal expense. When the meal value outflow information is "01", it indicates that the department has not completed the payment of each meal expense.
[0071] As an example, the execution entity may fill the at least one department, the at least one meal analysis data and the meal value outflow information into the initial visualized meal report to obtain a visualized meal report.
[0072] In some optional implementations of some embodiments, the execution entity may generate a visual dining report for the at least one department, the at least one dining analysis data, and the dining value outflow information, including the following steps:
[0073] In the first step, for each department in the at least one department, the following first generation step is performed:
[0074] Sub-step 1: determine the dining analysis data corresponding to the above departments as target dining analysis data.
[0075] Sub-step 2, based on the above target meal analysis data, generate the per capita meal data and department meal value information corresponding to the above department. The per capita meal data can be the average meal data corresponding to each employee in the department. In practice, the per capita meal data can include: per capita lunch cost, per capita dinner cost. The department meal value information can be the total meal cost of each employee in the department. In practice, the department meal value information can include:
[0076] As an example, first, the total lunch meal expenses and total dinner meal expenses corresponding to the department are determined from the above target meal analysis data as the department meal value information. Then, the total lunch meal expenses and total dinner meal expenses are divided by the number of employees corresponding to the department to obtain the per capita meal data.
[0077] Sub-step 3, determining the historical department dining value information sequence of the above department within the historical time period. The historical time period may be the historical time period before the target time period. For example, the current time is December 5. The target time period is November. The corresponding historical time period may be January to October.
[0078] Sub-step 4: adding the above department meal value information to the above historical department meal value information sequence to obtain the department meal value information sequence.
[0079] Sub-step 5, based on the above-mentioned departmental meal value information sequence, use the meal value information prediction model to determine the future meal value information sequence in the target future time period. The meal value information prediction model can be a neural network model that predicts the meal value information in the future time period. For example, the target future time period can be a future time period after the target time period. In practice, the meal value information prediction model can be a regression model or a time series neural network model (for example, a recurrent neural network model).
[0080] Sub-step 6, generating the first dining value description information for the above-mentioned departmental dining value information sequence and the second dining value description information for the above-mentioned future dining value information sequence. Among them, the first dining value description information can be the description information that describes the cost of the department's dining expenses in the target time period and the historical time period. The first dining value description information can characterize the cost level of the department's dining expenses. For example, the first dining value description information can be "Department A has higher expenses in the historical time period and the target time period." The second dining value description information can be the description information that describes the cost of the department's dining expenses in the future time period. For example, the first dining value description information can be "Department A has higher expenses in the future time period."
[0081] As an example, the execution entity may utilize a question-answering model to generate first dining value elaboration information for the department dining value information sequence and second dining value elaboration information for the future dining value information sequence.
[0082] Sub-step 7, generating a department dining report for the department based on the per capita dining data, the department dining value information, the first dining value description information and the second dining value description information. The department dining report may be a report analyzing and summarizing the dining situation of the department.
[0083] The second step is to determine the dining location distribution information and dining value distribution information based on the at least one dining analysis data. The dining location distribution information may be the distribution of dining locations where at least one employee has dining. The dining location distribution information may represent the distribution of dining at least one employee in various dining restaurants. The dining value distribution information may be the cost distribution of dining expenses after at least one employee has dining. The dining value distribution information may represent the number of employees dining in each cost range.
[0084] The third step is to generate a visual dining report based on the dining report of at least one department, the dining location distribution information and the dining value distribution information.
[0085] As an example, the execution entity may fill at least one department dining report, the dining location distribution information, and the dining value distribution information into the initial visualized dining report to obtain a visualized dining report.
[0086] Step 107, sending the above-mentioned visualized dining report to the target terminal for visualized display.
[0087] In some embodiments, the above-mentioned execution entity may send the above-mentioned visual dining report to a target terminal for visual display. Among them, the target terminal may be the usage terminal of the superior object corresponding to each department.
[0088] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the meal report display method of some embodiments of the present disclosure, without causing too much data processing load to the processing end, the target meal analysis script can be used to accurately and efficiently generate meal analysis data to obtain various aspects of meal information, so that the meal situation can be understood through the subsequent accurate visualization report generated. Specifically, relying on regular data aggregation and manual comparison, the efficiency and accuracy are limited. In addition, on the basis of facing a large number of employees, the processing end often has a large meal data processing load, and there are not enough resources to efficiently process the meal data, resulting in the problem of jamming, low response speed and even crash of the processing end. Based on this, the meal report display method of some embodiments of the present disclosure, first, in response to determining that the meal processing time has been reached, a meal data set is obtained from the meal data terminal, and employee attendance data for at least one employee is obtained from the user attendance end, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the above-mentioned at least one employee in the target time period. Here, the effective data management of the corresponding business data can be realized through the meal data terminal and the user attendance end, and the meal data set and employee attendance data are obtained to facilitate the subsequent accurate analysis of the meal situation. Then, the above-mentioned dining data set and employee attendance data are preprocessed to generate preprocessed dining data set and preprocessed attendance data, so as to process the dining data set and employee attendance data into high-quality data for subsequent use and extraction of data features. Then, the above-mentioned preprocessed dining data set and the above-mentioned preprocessed attendance data are automatically imported into the associated file corresponding to the target dining analysis script based on the distributed file system, and at least one dining analysis data corresponding to at least one department is generated, wherein the at least one department is each department corresponding to the at least one employee, and the dining analysis data includes: employee information set, dinner usage records corresponding to each employee, overtime times corresponding to each employee, dining value outflow information corresponding to the department, comparison information between dinner usage records and overtime times, comparison information includes: employee corresponding meal self-processing times and first dining value outflow information, and the above-mentioned distributed file system has at least one physical node for storing associated files, and at least one physical node includes: file metadata management node and at least one data processing node. Here, the dining analysis script can realize the accurate and efficient generation of dining analysis data under various business needs. The distributed file system can effectively solve the problem that when there are a large number of employees, there are not enough resources to efficiently process the dining data, which leads to lag, low response speed and even crash of the processing end. Through the coordination of the file metadata management node and at least one data processing node, the workload of dining data analysis can be shared, reducing the processing pressure on the processing end.Then, each of the at least one dining analysis data is sent to the terminal used by the corresponding department for the department to review the dining data and the dining value outflow, so that each department can understand the dining analysis data in time and execute the dining value outflow as soon as possible. Then, at least one dining data return information sent by the corresponding terminal of the at least one department is obtained to obtain the corresponding feedback information of the department. Among them, the dining data return information includes: dining data confirmation information. Further, in response to determining that the at least one dining data return information indicates that the dining analysis data is correct and that the dining value outflow is completed, a visual dining report for the at least one department, the at least one dining analysis data and the dining value outflow information is generated to facilitate visual display, and then effectively display the dining key information corresponding to each department. Finally, the visual dining report is sent to the target terminal for visual display. In summary, by using the target dining analysis script and the corresponding distributed file system, the dining analysis data can be accurately and efficiently generated without causing too much data processing load to the processing end, so as to obtain dining information in various aspects, so that the dining situation can be understood through the subsequent accurate visual report generated.
[0089] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a dining report display device, and these device embodiments are Figure 1 Corresponding to the method embodiments shown, the dining report display device can be specifically applied to various electronic devices.
[0090] like Figure 2As shown, a dining report display device 200 includes: a first acquisition unit 201, a processing unit 202, an import unit 203, a sending unit 204, a second acquisition unit 205, a generation unit 206 and a display unit 207. Among them, the first acquisition unit 201 is configured to obtain a meal data set from a meal data terminal in response to determining that a meal processing time has been reached, and to obtain employee attendance data for at least one employee from a user attendance terminal, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the at least one employee within a target time period; the processing unit 202 is configured to perform data preprocessing on the meal data set and the employee attendance data to generate a preprocessed meal data set and preprocessed attendance data; the import unit 203 is configured to automatically import the preprocessed meal data set and the preprocessed attendance data into an associated file corresponding to a target meal analysis script and stored in a distributed file system, and generate at least one meal analysis data corresponding to at least one department, wherein the at least one department is each department corresponding to the at least one employee, and the meal analysis data includes: an employee information set, a dinner usage record corresponding to each employee, the number of overtimes corresponding to each employee, meal value outflow information corresponding to the department, and comparison information between the dinner usage record and the number of overtimes, and the comparison information The information includes: the number of meal self-processing times corresponding to the employee and the first meal value outflow information. The above-mentioned distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node; a sending unit 204 is configured to send each meal analysis data in the above-mentioned at least one meal analysis data to a terminal used by a corresponding department, so that the department can review the meal data and the meal value outflow; a second obtaining unit 205 is configured to obtain at least one meal data return information sent by the terminal corresponding to the above-mentioned at least one department, wherein the meal data return information includes: meal data confirmation information; a generating unit 206 is configured to generate a visual meal report for the above-mentioned at least one department, the above-mentioned at least one meal analysis data and the above-mentioned meal value outflow information in response to determining that the above-mentioned at least one meal data return information represents that the meal analysis data is correct and that the meal value outflow is completed; a display unit 207 is configured to send the above-mentioned visual meal report to a target terminal for visual display.
[0091] It is understandable that the units recorded in the dining report display device 200 are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the dining report display device 200 and the units included therein, and will not be described in detail here.
[0092] Reference below Figure 3, which shows a structural schematic diagram of an electronic device (eg, an electronic device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0093] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0094] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0095] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0096] It should be noted that the computer-readable medium in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0097] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0098] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to determining that the meal processing time has been reached, obtains a meal data set from the meal data terminal, and obtains employee attendance data for at least one employee from the user attendance terminal, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the at least one employee in the target time period; performs data preprocessing on the meal data set and employee attendance data to generate a preprocessed meal data set and preprocessed attendance data; automatically imports the preprocessed meal data set and the preprocessed attendance data into the associated file corresponding to the target meal analysis script and stored in the distributed file system, and generates at least one meal analysis data corresponding to at least one department, wherein the at least one department is each department corresponding to the at least one employee, and the meal analysis data includes: an employee information set, dinner usage records corresponding to each employee, overtime times corresponding to each employee, and meal usage records corresponding to the department. Comparison information between value outflow information, dinner usage records and overtime times, the comparison information includes: the number of meals handled by the employees themselves and the first meal value outflow information, the above-mentioned distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node; each meal analysis data in the above-mentioned at least one meal analysis data is sent to a terminal used by a corresponding department, so that the department can review the meal data and meal value outflow; obtain at least one meal data return information sent by the terminal corresponding to the above-mentioned at least one department, wherein the meal data return information includes: meal data confirmation information; in response to determining that the above-mentioned at least one meal data return information represents that the meal analysis data is correct and that the meal value outflow has been executed, generate a visual meal report for the above-mentioned at least one department, the above-mentioned at least one meal analysis data and the above-mentioned meal value outflow information; send the above-mentioned visual meal report to a target terminal for visual display.
[0099] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0100] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0101] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor including a first acquisition unit, a processing unit, an import unit, a sending unit, a second acquisition unit, a generation unit, and a display unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the display unit may also be described as "a unit that sends the above-mentioned visualized dining report to a target terminal for visual display".
[0102] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0103] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A dining report display method, comprising: In response to determining that the meal processing time has been reached, a meal data set is obtained from a meal data terminal, and employee attendance data for at least one employee is obtained from a user attendance terminal, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the at least one employee within a target time period; Preprocessing the dining data set and the employee attendance data to generate a preprocessed dining data set and preprocessed attendance data; The pre-processed meal data set and the pre-processed attendance data are automatically imported into the associated file corresponding to the target meal analysis script and stored in the distributed file system, and at least one meal analysis data corresponding to at least one department is generated, wherein the at least one department is each department corresponding to the at least one employee, and the meal analysis data includes: an employee information set, a dinner usage record corresponding to each employee, an overtime number corresponding to each employee, meal value outflow information corresponding to the department, and comparison information between the dinner usage record and the overtime number, and the comparison information includes: the number of meals handled by the employee and the first meal value outflow information, and the distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node; Sending each meal analysis data of the at least one meal analysis data to a terminal used by a corresponding department, so that the department can review the meal data and flow out the meal value; Acquire at least one meal data return information sent by the terminal corresponding to the at least one department, wherein the meal data return information includes: meal data confirmation information; In response to determining that the at least one meal data return information indicates that the meal analysis data is correct and that the meal value outflow is completed, generating a visual meal report for the at least one department, the at least one meal analysis data and the meal value outflow information; The visualized dining report is sent to a target terminal for visual display.
2. The method according to claim 1, wherein: The meal analysis data also includes: lunch usage records corresponding to each employee and second meal value outflow information corresponding to each employee; and The method of automatically importing the pre-processed dining data set and the pre-processed attendance data into an associated file corresponding to a target dining analysis script and stored in a distributed file system to generate at least one dining analysis data corresponding to at least one department includes: The preprocessed meal data set and the preprocessed attendance data are automatically imported into the associated file corresponding to the target meal analysis script, so as to utilize the lunch rule processing script included in the target meal analysis script to generate lunch usage records corresponding to each employee and second meal value outflow information corresponding to each employee, wherein the lunch rule processing script represents that lunch does not support employees dining in multiple dining restaurants at the same time and determines the corresponding meal value outflow of employees when they dine in multiple dining restaurants at the same time.
3. The method according to claim 1, wherein: The comparison information corresponding to the target employee is generated through the following steps: In response to the overtime number corresponding to the target employee being greater than or equal to the dinner usage number in the corresponding dinner usage record, setting the target value as the number of self-processed meals and setting the target value as the first meal value outflow information corresponding to the target employee; In response to the target employee's corresponding overtime number being less than the dinner usage number, subtracting the overtime number from the dinner usage number to obtain a subtraction value; Determine the subtracted value as the number of times the meal is handled by the user; Determine a time information set representing a mismatch between overtime and dinner usage according to the dinner usage record and the attendance data corresponding to the target employee in the pre-processed attendance data; Determine, according to the dinner usage record, a dinner value information set corresponding to the time information set; Determine the value outflow object corresponding to each dinner value information in the dinner value information set, wherein the value outflow object is one of the following: employee object, department object, company object, and the value outflow object corresponding to the dinner value information is confirmed by the object confirmation information received through the value outflow object confirmation page after the dinner is over; taking at least one dinner value information in the dinner value information set whose corresponding value outflow object is an employee object as at least one first dinner value information; taking at least one dinner value information in the dinner value information set whose corresponding value outflow object is a department object as at least one second dinner value information; taking at least one dinner value information in the dinner value information set whose corresponding value outflow object is a company object as at least one third meal value information; Adding the at least one first dinner value information to obtain a first added value; Adding the at least one second dinner value information to obtain a second added value; Adding the at least one third dinner value information to obtain a third added value; The association information between the first added value and the employee object, the association information between the second added value and the department object, and the association information between the third added value and the company object are determined as the first meal value outflow information corresponding to the target employee.
4. The method according to claim 1, wherein: The generating of a visual dining report for the at least one department, the at least one dining analysis data and the dining value outflow information comprises: For each of the at least one department, the following first generation step is performed: Determine the dining analysis data corresponding to the department as target dining analysis data; Generate per capita dining data and department dining value information corresponding to the department according to the target dining analysis data; Determine a sequence of historical department meal value information for said department over a historical time period; Adding the department meal value information to the historical department meal value information sequence to obtain a department meal value information sequence; According to the department meal value information sequence, using a meal value information prediction model, determining a future meal value information sequence within a target future time period; generating first meal value elaboration information for the department meal value information sequence and second meal value elaboration information for the future meal value information sequence; Generate a department dining report for the department according to the per capita dining data, the department dining value information, the first dining value description information, and the second dining value description information: Determining dining location distribution information and dining value distribution information according to the at least one dining analysis data; A visual dining report is generated using the obtained at least one department dining report, the dining location distribution information, and the dining value distribution information.
5. The method according to claim 1, wherein: The method of automatically importing the pre-processed dining data set and the pre-processed attendance data into an associated file corresponding to a target dining analysis script and stored in a distributed file system to generate at least one dining analysis data corresponding to at least one department includes: In response to determining that the number of employees corresponding to the at least one employee is lower than a first value, directly and automatically importing the pre-processed meal data set and the pre-processed attendance data into associated files in the file metadata management node corresponding to the target meal analysis script, and generating at least one meal analysis data corresponding to at least one department; In response to determining that the number of employees corresponding to the at least one employee is higher than the first value, for each of the at least one department, using the file metadata management node, performing the following second generating step: In response to determining that the number of employees corresponding to the department is higher than a second value, grouping the employee information set corresponding to the department to obtain an employee information group set, wherein the number of employees corresponding to each employee information group is less than the second value, wherein the second value is less than a divisor value, and the divisor value is the first value divided by the number of departments; In response to determining that the number of employees corresponding to the department is less than or equal to the second value, determining the employee information set corresponding to the department as an employee information group set; determining the number of groups corresponding to the employee information groups in the obtained at least one employee information group set; Determining a group identifier corresponding to each employee information group in the at least one employee information group set; Setting a predetermined number of associated files, wherein the predetermined number is the same as the number of groups; Using the file metadata management node, setting the file names corresponding to the predetermined number of associated files, wherein the text name is a group identifier; Using the file metadata management node, allocating a predetermined number of copies corresponding to the target meal analysis script to the at least one data processing node, each data processing node having a corresponding copy; Using the file metadata management node, correspondingly binding the predetermined number of copies with the predetermined number of associated files; Utilizing the file metadata management node, the preprocessed meal data set and the preprocessed attendance data are divided according to the grouping method corresponding to the at least one employee information set to generate at least one meal data set and at least one attendance data set; and utilizing the file metadata management node, at least one meal analysis data corresponding to at least one department is generated according to the at least one meal data set, the at least one attendance data set, the predetermined number of copies, and the predetermined number of associated files.
6. The method according to claim 5, wherein: The step of generating at least one dining analysis data corresponding to at least one department by using the file metadata management node according to the at least one dining data set, the at least one attendance data set, the predetermined number of copies, and the predetermined number of associated files comprises: For each employee information group in the at least one employee information group set, using the file metadata management node, automatically importing the meal data group and the attendance data group corresponding to the employee information group into an associated file named as the group identifier corresponding to the employee information group, so as to generate an employee meal analysis data group using a copy in the corresponding data processing node; According to the obtained at least one employee dining analysis data set, at least one dining analysis data corresponding to at least one department is generated using the department dining analysis script included in the target dining analysis script.
7. The method according to claim 1, wherein: The target dining analysis script supports the use of a recommendation model to make intelligent recommendations on dining locations and dining times.
8. A dining report display device, comprising: A first acquisition unit is configured to, in response to determining that a meal processing time has been reached, acquire a meal data set from a meal data terminal, and acquire employee attendance data for at least one employee from a user attendance terminal, wherein each meal data has a corresponding dining restaurant, and the meal data is the meal data of the at least one employee within a target time period; A processing unit configured to perform data preprocessing on the dining data set and the employee attendance data to generate a preprocessed dining data set and preprocessed attendance data; An import unit is configured to automatically import the pre-processed meal data set and the pre-processed attendance data into an associated file corresponding to a target meal analysis script and stored in a distributed file system, and generate at least one meal analysis data corresponding to at least one department, wherein the at least one department is each department corresponding to the at least one employee, and the meal analysis data includes: an employee information set, a dinner usage record corresponding to each employee, an overtime number corresponding to each employee, meal value outflow information corresponding to a department, and comparison information between dinner usage records and overtime numbers, the comparison information includes: the number of meals handled by the employee and the first meal value outflow information, and the distributed file system has at least one physical node for storing associated files, and the at least one physical node includes: a file metadata management node and at least one data processing node; a sending unit configured to send each meal analysis data of the at least one meal analysis data to a terminal used by a corresponding department, so that the department can review the meal data and flow out the meal value; The second acquisition unit is configured to acquire at least one meal data return information sent by the at least one department corresponding terminal, wherein the meal data return information includes: meal data confirmation information; A generating unit is configured to generate a visual dining report for the at least one department, the at least one dining analysis data and the dining value outflow information in response to determining that the at least one dining data return information indicates that the dining analysis data is correct and that the dining value outflow is completed; The display unit is configured to send the visualized dining report to a target terminal for visual display.
9. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Intelligent data analysis method and device
CN113934769A
Ordering method and dining system data processing method and device
CN114757652A
Health analysis method and device based on smart restaurant, equipment and medium
CN117831764A
Genetic based health management apparatus and methods
US20130138447A1
Computer-implemented system and methods for integrated context-based personal diet management
US20230368891A1