Cost data accounting method for food and beverage based on identity resolution

By using a method based on identification analysis in the food and beverage industry and combining a variety of information to calculate product costs, the problem of insufficient cost accounting in the existing technology is solved, and the accuracy of cost accounting and the efficiency of information acquisition are improved.

CN118195669BActive Publication Date: 2024-10-08AEROSPACE CLOUD NETWORK DATA RES INST (GUANGDONG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410602296.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-10-08
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

The existing technology lacks comprehensiveness in cost accounting in the food and beverage industry, resulting in low cost accounting accuracy.

Method used

The method based on identification analysis is used to obtain the identification information of the product, and combined with raw material information, labor information, production information, transportation information and market information, the unit cost data and target cost data of the product are calculated.

Benefits of technology

It improves the accuracy of cost accounting, achieves a comprehensive understanding of product costs and rapid and accurate information acquisition, and enhances the accounting accuracy and information acquisition rate of unit cost data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118195669B_ABST
    Figure CN118195669B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of data processing technology, and provides a cost data accounting method for food and beverage based on identification resolution, the method comprising: obtaining identification information of each product; based on the identification information of each product, obtaining raw material information, labor information, production information, transportation information and market information associated with each product; for any product, based on the raw material information, labor information, production information, transportation information and market information of any product, calculating the unit cost data of any product; based on the unit cost data of each product and the production quantity of each product, calculating the target cost data. Compared with the prior art, the present method combines the raw material information, labor information, production information, transportation information and market information of the product, can accurately calculate the unit cost of the product, and then can obtain the accurate total cost, thereby improving the accuracy of cost accounting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular relates to a cost data accounting method for food and beverages based on identity resolution. Background Art

[0002] Cost control in the food and beverage industry is a very important part of enterprise management, among which cost accounting is an important part of cost control. Cost accounting refers to the allocation and collection of various expenses incurred by an enterprise in the production and operation process according to certain objects to calculate the total cost and unit cost. The importance of cost accounting to an enterprise is self-evident, and it can be said to determine the survival and development of an enterprise.

[0003] However, the existing technology usually simply calculates the production cost of the product, which is not comprehensive enough and reduces the accuracy of cost accounting. Summary of the invention

[0004] The embodiment of the present application provides a cost data accounting method for food and beverages based on identity resolution, which improves the accuracy of cost accounting.

[0005] In a first aspect, an embodiment of the present application provides a cost data accounting method for food and beverages based on identity resolution, comprising:

[0006] Get identification information of each product;

[0007] Based on the identification information of each product, obtaining raw material information, labor information, production information, transportation information and market information associated with each product;

[0008] For any product, based on the raw material information, the labor information, the production information, the transportation information and the market information of the any product, the unit cost data of the any product is calculated;

[0009] Based on the unit cost data of each product and the production quantity of each product, the target cost data is calculated.

[0010] Optionally, for any product, calculating the unit cost data of the any product based on the raw material information, the labor information, the production information, the transportation information and the market information of the any product includes:

[0011] Acquire first actual cost data and first cost standard data corresponding to the raw material information, acquire second actual cost data and second cost standard data corresponding to the labor information, acquire third actual cost data and third cost standard data corresponding to the production information, acquire fourth actual cost data and fourth cost standard data corresponding to the transportation information, and acquire fifth actual cost data and fifth cost standard data corresponding to the market information;

[0012] Calculate the direct production cost of any one of the products based on the first actual cost data, the first cost standard data, the second actual cost data, and the second cost standard data;

[0013] calculating the indirect production cost of any one of the products based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data;

[0014] The unit cost data of any one of the products is calculated based on the direct production cost and the indirect production cost.

[0015] Optionally, the calculating the direct production cost of any one product based on the first actual cost data, the first cost standard data, the second actual cost data, and the second cost standard data includes:

[0016] Determining the direct material cost of any one of the products based on the first actual cost data and the first cost standard data;

[0017] Determine the direct labor cost of any one of the products based on the second actual cost data and the second cost standard data;

[0018] The direct production cost is calculated based on the direct material cost and the direct labor cost.

[0019] Optionally, the raw material information includes the quantity of each raw material required for any one of the products and the unit price of each raw material; and determining the direct material cost of any one of the products based on the first actual cost data and the first cost standard data includes:

[0020] Inputting the unit price of each raw material and the quantity of each raw material into the cost calculation model for processing to obtain the total base cost of each raw material;

[0021] If a first difference between the sum of the benchmark costs and the first actual cost data is less than a set threshold, and the first difference is less than a second difference between the sum of the benchmark costs and the first cost standard data, the first actual cost data is determined as the direct material cost;

[0022] If the second difference is less than the set threshold, and the second difference is less than the first difference, the first cost standard data is determined as the direct material cost;

[0023] If the first difference and the second difference are both greater than or equal to the set threshold, the total benchmark cost is determined as the direct material cost.

[0024] Optionally, the calculating the indirect production cost of any one of the products based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data includes:

[0025] determining the indirect labor cost of any one of the products based on the second actual cost data and the second cost standard data;

[0026] Determining the indirect consumption cost of any one of the products based on the third actual cost data and the third cost standard data;

[0027] Determining the transportation cost of any one of the products based on the fourth actual cost data and the fourth cost standard data;

[0028] Determining the promotion cost of any one of the products based on the fifth actual cost data and the fifth cost standard data;

[0029] The indirect production cost is calculated based on the indirect labor cost, the indirect consumption cost, the transportation cost and the promotion cost.

[0030] Optionally, before calculating the target cost data based on the unit cost data of each product and the production quantity of each product, the method further includes:

[0031] Determine the defective products generated during the production stage of each of the products;

[0032] Obtaining processing information corresponding to each of the defective products;

[0033] Determining the sunk cost of each of the defective products based on each of the processing information;

[0034] Accordingly, the target cost data is calculated based on the unit cost data of each product and the production quantity of each product, including:

[0035] Calculate the first cost sum corresponding to each product according to the unit cost data of each product and the production quantity of each product;

[0036] The target cost data is determined according to the sum of the first costs corresponding to the various products and the various sunk costs.

[0037] Optionally, before calculating the target cost data based on the unit cost data of each product and the production quantity of each product, the method further includes:

[0038] Determine the production time of all products;

[0039] Obtaining a first cost in a labor dimension, a second cost in a production dimension, and a third cost in an equipment dimension for all products during the production time;

[0040] Based on the first cost, the second cost and the third cost, a sum of the second costs corresponding to all the products is calculated;

[0041] Accordingly, the target cost data is calculated based on the unit cost data of each product and the production quantity of each product, including:

[0042] Calculate the first cost sum corresponding to each product according to the unit cost data of each product and the production quantity of each product;

[0043] The target cost data is determined based on the sum of the first costs and the sum of the second costs corresponding to the respective products.

[0044] In a second aspect, the embodiment of the present application provides a cost data accounting device for food and beverages based on identity resolution, comprising:

[0045] A first acquisition unit, used to acquire identification information of each product;

[0046] A second acquisition unit, configured to acquire raw material information, labor information, production information, transportation information, and market information associated with each of the products based on the identification information of each of the products;

[0047] A first calculation unit is used to calculate unit cost data of any product based on the raw material information, labor information, production information, transportation information and market information of the any product;

[0048] The first calculation unit is used to calculate the target cost data based on the unit cost data of each product and the production quantity of each product.

[0049] In a third aspect, an embodiment of the present application provides a terminal device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements a cost data accounting method based on identity resolution for food and beverages as described in any one of the first aspects above.

[0050] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the cost data accounting method based on identity resolution applied to food and beverages as described in any one of the first aspects above.

[0051] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the cost data accounting method based on identity resolution applied to food and beverages as described in any one of the first aspects above.

[0052] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0053] The embodiment of the present application provides a cost data accounting method for food and beverage based on identification resolution, by obtaining the identification information of each product; based on the identification information of each product, obtaining the raw material information, labor information, production information, transportation information and market information associated with each product; for any product, based on the raw material information, labor information, production information, transportation information and market information of any product, calculating the unit cost data of any product; based on the unit cost data of each product and the production quantity of each product, calculating the target cost data. Compared with the prior art, this method combines the raw material information, labor information, production information, transportation information and market information corresponding to the product, and can accurately calculate the unit cost of the product, and then combine the production quantity of the product to obtain the accurate total cost, thereby improving the accuracy of cost accounting. At the same time, the raw material information, labor information, production information, transportation information and market information associated with the product can be quickly and accurately obtained through the identification information of the product, which not only realizes a comprehensive understanding of the product, thereby improving the accuracy of the unit cost data of the product, but also improves the information acquisition rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0055] Figure 1 This is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided in one embodiment of the present application;

[0056] Figure 2 is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided by another embodiment of the present application;

[0057] Figure 3 It is a schematic diagram of the composition of unit cost data of any product provided in an embodiment of the present application;

[0058] Figure 4 is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided by another embodiment of the present application;

[0059] Figure 5 This is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided by another embodiment of the present application;

[0060] Figure 6 It is a schematic diagram of the composition of target cost data provided by an embodiment of the present application;

[0061] Figure 7 is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided by another embodiment of the present application;

[0062] Figure 8 is a schematic diagram of the composition of target cost data provided by another embodiment of the present application;

[0063] Fig. 9 It is a structural schematic diagram of a cost data accounting device for food and beverages based on identity resolution provided by an embodiment of the present application;

[0064] Fig.10 It is a structural diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0065] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0066] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0067] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0068] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0069] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0070] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0071] See also Figure 1 , Figure 1This is a flowchart of an implementation of a cost data accounting method for food and beverages based on identity resolution provided in an embodiment of the present application. In the embodiment of the present application, the execution subject of the cost data accounting method for food and beverages based on identity resolution is a terminal device. Among them, the terminal device includes but is not limited to devices such as notebooks, desktop computers, and computers.

[0072] In some possible embodiments, a cost accounting system applied to the food and beverage industry is provided in the terminal device.

[0073] like Figure 1 As shown, the cost data calculation method for food and beverage based on identity resolution provided in one embodiment of the present application may include S101 to S104, which are described in detail as follows:

[0074] In S101, identification information of each product is obtained.

[0075] In actual applications, when relevant personnel in the food and beverage industry need to calculate the cost of producing products in a certain period, the relevant personnel can trigger a cost accounting request for the terminal device.

[0076] In an embodiment of the present application, the terminal device detects that the cost accounting request sent by the relevant personnel may be: the relevant personnel are detected to perform a preset operation. The preset operation can be determined according to actual needs and is not limited here. Exemplarily, the preset operation may include: a preset control in the terminal device is triggered. Based on this, when the terminal device detects that its own preset control is triggered, it indicates that the preset operation is detected, that is, the cost accounting request is detected.

[0077] After detecting the cost accounting request, the terminal device can obtain the identification information of each product within a set time period, wherein the identification information of each product includes but is not limited to a QR code, a radio frequency identification (RFID) tag or a serial number.

[0078] The time period can be set according to actual needs and is not limited here.

[0079] In one implementation of the embodiment of the present application, the terminal device can obtain the identification information of each product in real time through a server connected to it by wireless communication. The server can be a desktop computer, a computer or other device, or a cloud server.

[0080] In another implementation of the embodiment of the present application, relevant personnel can input the identification information of each product on the interface of the terminal device, based on which the terminal device can obtain the identification information of each product in real time.

[0081] Exemplarily, when the identification information of each product is a serial number, relevant personnel can directly input the above serial numbers on the display interface of the terminal device, based on which the terminal device can obtain the identification information of each product.

[0082] In another implementation of the embodiment of the present application, the terminal device can obtain the identification information of each product in real time through a scanner wirelessly connected to it.

[0083] Exemplarily, when the identification information of each product is a QR code or an RFID tag, relevant personnel can place the above-mentioned QR codes or RFID tags in the scanning range of the above-mentioned scanner, and the scanner scans each QR code or RFID tag so that the terminal device can obtain the identification information of each product.

[0084] In S102, based on the identification information of each product, raw material information, labor information, production information, transportation information and market information associated with each product are obtained.

[0085] In an embodiment of the present application, the terminal device pre-stores the correspondence between identification information of different products and different raw material information, labor information, production information, transportation information and market information. Therefore, for any product, the terminal device can quickly obtain the raw material information, labor information, production information, transportation information and market information of any product based on the identification information of any product and the above-mentioned correspondence.

[0086] It should be noted that the raw material information of any product includes, but is not limited to: the quantity of each raw material required for the any product and the unit price of each raw material.

[0087] The labor information of any product includes but is not limited to: the number of workers directly involved in production, and the number of personnel who are not directly engaged in product manufacturing but are related to the production process. Among them, workers directly related to production include but are not limited to: workers located at assembly lines, workshops, and factories. Personnel who are not directly engaged in product manufacturing but are related to the production process include but are not limited to: managers and supervisors at assembly lines, workshops, and factories.

[0088] The production information of any product includes, but is not limited to: factory information, energy information and equipment information involved in the production process, material information (such as office supplies) and factory operation information that are not directly involved in product production but are used in the production process, R&D information related to new product development, and testing information used to ensure that products meet quality standards.

[0089] The transportation information of any product includes, but is not limited to, the number of transportation personnel, the type of transportation vehicle, and the duration of use of the transportation vehicle.

[0090] The market information of any product includes, but is not limited to, information related to product sales and marketing.

[0091] In S103, for any product, based on the raw material information, the labor information, the production information, the transportation information and the market information of the any product, the unit cost data of the any product is calculated.

[0092] In an embodiment of the present application, the terminal device can obtain the first actual cost data corresponding to the raw material information of all products within a set time period, the second actual cost data corresponding to the labor information of all products, the third actual cost data corresponding to the production information of all products, the fourth actual cost data corresponding to the transportation information of all products, and the fifth actual cost data corresponding to the market information of all products. After that, the terminal device can allocate the first actual cost data corresponding to the raw material information of all products based on the allocation strategy corresponding to the raw material information, and obtain the first sub-cost corresponding to the raw material information of each product; the terminal device can allocate the second actual cost data corresponding to the labor information of all products based on the allocation strategy corresponding to the labor information, and obtain the second sub-cost corresponding to the labor information of each product; the terminal device can allocate the third actual cost data corresponding to the production information of all products based on the allocation strategy corresponding to the production information, and obtain the third sub-cost corresponding to the production information of each product; the terminal device can allocate the fourth actual cost data corresponding to the transportation information of all products based on the allocation strategy corresponding to the transportation information, and obtain the fourth sub-cost corresponding to the transportation information of each product; the terminal device can allocate the fifth actual cost data corresponding to the market information of all products based on the allocation strategy corresponding to the market information, and obtain the fifth sub-cost corresponding to the market information of each product.

[0093] It should be noted that the second actual cost data includes but is not limited to: the wages and benefits of workers directly related to production, as well as the wages and benefits of personnel who are not directly engaged in product manufacturing but are related to the production process.

[0094] Among them, the allocation strategy based on raw material information, the allocation strategy based on labor information, the allocation strategy based on production information, the allocation strategy based on transportation information, and the allocation strategy based on market information can all be set according to actual needs and are not restricted here.

[0095] In an embodiment of the present application, for any product, the terminal device can sum up the first sub-cost, second sub-cost, third sub-cost, fourth sub-cost and fifth sub-cost corresponding to the any product, so as to obtain the unit cost data of the any product.

[0096] In one embodiment of the present application, in order to improve the accuracy of calculating the unit cost data of any product, the terminal device can specifically calculate the unit cost data of any product according to the following method: Figure 2 Steps S201 to S204 shown in the figure obtain the unit cost data of any product, as detailed below:

[0097] In S201, the first actual cost data and the first cost standard data corresponding to the raw material information are obtained, the second actual cost data and the second cost standard data corresponding to the labor information are obtained, the third actual cost data and the third cost standard data corresponding to the production information are obtained, the fourth actual cost data and the fourth cost standard data corresponding to the transportation information are obtained, and the fifth actual cost data and the fifth cost standard data corresponding to the market information are obtained.

[0098] In this embodiment, the terminal device can obtain the first actual cost data corresponding to the raw material information of all products within a set time period, the second actual cost data corresponding to the labor information of all products, the third actual cost data corresponding to the production information of all products, the fourth actual cost data corresponding to the transportation information of all products, and the fifth actual cost data corresponding to the market information of all products.

[0099] Afterwards, the terminal device can allocate the first actual cost data corresponding to the raw material information of all products based on the allocation strategy corresponding to the raw material information, and obtain the second actual cost data corresponding to the raw material information of each product; the terminal device can allocate the second actual cost data corresponding to the labor information of all products based on the allocation strategy corresponding to the labor information, and obtain the second actual cost data corresponding to the labor information of each product; the terminal device can allocate the third actual cost data corresponding to the production information of all products based on the allocation strategy corresponding to the production information, and obtain the third actual cost data corresponding to the production information of each product; the terminal device can allocate the fourth actual cost data corresponding to the transportation information of all products based on the allocation strategy corresponding to the transportation information, and obtain the fourth actual cost data corresponding to the transportation information of each product; the terminal device can allocate the fifth actual cost data corresponding to the market information of all products based on the allocation strategy corresponding to the market information, and obtain the fifth actual cost data corresponding to the market information of each product.

[0100] Among them, the allocation strategy based on raw material information, the allocation strategy based on labor information, the allocation strategy based on production information, the allocation strategy based on transportation information, and the allocation strategy based on market information can all be set according to actual needs and are not restricted here.

[0101] In one implementation of this embodiment, the terminal device can obtain in real time through a server to which it is wirelessly connected the first cost standard data corresponding to the raw material information of any product, the second cost standard data corresponding to the labor information, the third cost standard data corresponding to the production information, the fourth cost standard data corresponding to the transportation information, and the fifth cost standard data corresponding to the market information.

[0102] It should be noted that the above-mentioned first cost standard data, second cost standard data, third cost standard data, fourth cost standard data and fifth cost standard data can be set according to actual needs and are not limited here.

[0103] In S202, the direct production cost of any one of the products is calculated based on the first actual cost data, the first cost standard data, the second actual cost data, and the second cost standard data.

[0104] See also Figure 3 , Figure 3 Schematic diagram of the composition of unit cost data of any product provided in an embodiment of the present application. Figure 3 As shown, the unit cost data of any product usually consists of direct production costs and indirect production costs.

[0105] Among them, direct production costs specifically refer to the costs incurred by direct production.

[0106] Indirect production costs specifically refer to costs that are not directly involved in product manufacturing but are related to the production process, as well as costs that are not involved in product manufacturing but are related to the product.

[0107] The raw material information of any product includes, but is not limited to: the quantity of each raw material required for the product and the unit price of each raw material.

[0108] The labor information of any product includes, but is not limited to: the number of workers directly involved in production, and the number of personnel who are not directly engaged in product manufacturing but are related to the production process.

[0109] Therefore, in this embodiment, the terminal device can calculate the direct production cost of any product based on the first actual cost data, the first cost standard data, the first data corresponding to the number of workers directly related to the production in the second actual cost data, and the first standard data corresponding to the number of workers directly related to the production in the second cost standard data.

[0110] Specifically, the terminal device can calculate the third difference between the first actual cost data and the first cost standard data, and calculate the fourth difference between the first data and the first standard data. Afterwards, the terminal device can determine the sum of the first cost standard data and the first standard data as the direct production cost of any product when it is detected that the third difference is greater than the first threshold value and the fourth difference is greater than the second threshold value; the terminal device can determine the sum of the first actual cost data and the first standard data as the direct production cost of any product when it is detected that the third difference is less than or equal to the first threshold value and the fourth difference is greater than the second threshold value; the terminal device can determine the sum of the first cost standard data and the first data as the direct production cost of any product when it is detected that the third difference is greater than the first threshold value and the fourth difference is less than or equal to the second threshold value; the terminal device can determine the sum of the first actual cost data and the first data as the direct production cost of any product when it is detected that the third difference is less than or equal to the first threshold value and the fourth difference is less than or equal to the second threshold value. Wherein, the first threshold value and the second threshold value can be determined according to actual needs, and are not limited here.

[0111] In one embodiment of the present application, in order to improve the calculation accuracy of the direct production cost of any product, the terminal device can specifically perform the following steps: Figure 4 Steps S301 to S303 shown in the figure calculate the direct production cost of any product, as detailed below:

[0112] In S301, the direct material cost of any one product is determined based on the first actual cost data and the first cost standard data.

[0113] Please continue reading Figure 3 ,like Figure 3 As shown, the direct production cost of any product is usually composed of the direct material cost and direct labor cost of any product. Therefore, in this embodiment, the terminal device can determine the direct material cost of any product based on the first actual cost data and the first cost standard data of any product.

[0114] Among them, direct material costs specifically refer to the costs incurred by materials directly related to production, such as the cost of raw materials used to produce products.

[0115] Direct labor costs specifically refer to the costs incurred by workers directly related to production, such as the wages of workers who produce the products.

[0116] Specifically, the terminal device may calculate the third difference between the first actual cost data and the first cost standard data. Afterwards, the terminal device may determine the first cost standard data as the direct material cost of any one product when it is detected that the third difference is greater than the first threshold value; the terminal device may determine the first actual cost data as the direct material cost of any one product when it is detected that the third difference is less than or equal to the first threshold value.

[0117] In one embodiment of the present application, in order to improve the calculation accuracy of the direct material cost of any product, the terminal device can specifically implement step S301 according to the following steps, which are described in detail as follows:

[0118] Inputting the unit price of each raw material and the quantity of each raw material into the cost calculation model for processing to obtain the total base cost of each raw material;

[0119] If a first difference between the sum of the benchmark costs and the first actual cost data is less than a set threshold, and the first difference is less than a second difference between the sum of the benchmark costs and the first cost standard data, the first actual cost data is determined as the direct material cost;

[0120] If the second difference is less than the set threshold, and the second difference is less than the first difference, the first cost standard data is determined as the direct material cost;

[0121] If the first difference and the second difference are both greater than or equal to the set threshold, the total benchmark cost is determined as the direct material cost.

[0122] In actual applications, when there is a high demand for a certain raw material, the supplier will usually adaptively reduce the total cost of the raw material based on the unit price of the raw material. Therefore, in order to improve the accuracy of determining the direct production cost, in this embodiment, the terminal device can input the unit price and quantity of each raw material into the cost calculation model for processing to obtain the sum of the benchmark costs of each raw material.

[0123] The cost calculation model can be obtained by training a pre-built deep learning model based on a preset sample set. Each sample data in the preset sample set includes the quantity of sample raw materials, the unit price of the sample raw materials, and the total sample cost corresponding to the sample raw materials. When training the pre-built deep learning model, the quantity of sample raw materials and the unit price of sample raw materials in each sample are used as the input of the deep learning model, and the total sample cost corresponding to the sample raw materials in each sample is used as the output of the deep learning model. Through training, the deep learning model can learn the corresponding relationship between the quantity of all possible sample raw materials and the unit price of sample raw materials and the total sample cost corresponding to the sample raw materials, and use the trained deep learning model as the cost calculation model.

[0124] In this embodiment, after obtaining the total benchmark cost of any product, the terminal device can calculate the first difference between the total benchmark cost and the first actual cost data, and calculate the second difference between the total benchmark cost and the first cost standard data. Afterwards, the terminal device can compare the first difference with the second difference, and compare the first difference with a set threshold, and compare the second difference with a set threshold. The set threshold can be determined according to actual needs and is not limited here.

[0125] In one embodiment of the present application, when the terminal device detects that the first difference is less than the set threshold, and the first difference is less than the second difference, it indicates that the gap between the first actual cost data and the sum of the benchmark costs is small, and the gap between the first actual cost data and the sum of the benchmark costs is smaller than the gap between the first cost standard data and the sum of the benchmark costs. Therefore, the terminal device can determine the first actual cost data as the direct material cost of any product.

[0126] In another embodiment of the present application, when the terminal device detects that the second difference is less than the set threshold and the second difference is less than the first difference, it indicates that the gap between the first cost standard data and the total benchmark cost is small, and the gap between the first cost standard data and the total benchmark cost is smaller than the gap between the first actual cost data and the total benchmark cost. Therefore, the terminal device can determine the first cost standard data as the direct material cost of any product.

[0127] In another embodiment of the present application, when the terminal device detects that the first difference is greater than or equal to the set threshold, and the second difference is also greater than or equal to the set threshold, it indicates that the gap between the first actual cost data and the benchmark cost sum is large, and the gap between the first cost standard data and the benchmark cost sum is also large. Therefore, the terminal device can determine the above-mentioned benchmark cost sum as the direct material cost of any product.

[0128] In S302, the direct labor cost of any one of the products is determined based on the second actual cost data and the second cost standard data.

[0129] In this embodiment, the terminal device can calculate the direct labor cost of any product based on the first data corresponding to the number of workers directly related to production in the second actual cost data and the first standard data corresponding to the number of workers directly related to production in the second cost standard data.

[0130] Specifically, the terminal device may calculate the fourth difference between the first data and the first standard data. Afterwards, the terminal device may determine the first standard data as the direct labor cost of any one product when detecting that the fourth difference is greater than the second threshold; the terminal device may determine the first data as the direct labor cost of any one product when detecting that the fourth difference is less than or equal to the second threshold.

[0131] In S303, the direct production cost is calculated based on the direct material cost and the direct labor cost.

[0132] In this embodiment, the terminal device can sum the direct material cost and the direct labor cost of any product to obtain the direct production cost of any product.

[0133] In S203, the indirect production cost of any one of the products is calculated based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data.

[0134] In this embodiment, since the labor information of any product includes but is not limited to the number of personnel who are not directly engaged in product manufacturing but are related to the production process; the production information of any product includes but is not limited to factory information, energy information and equipment information related to the production process, material information (such as office supplies) and factory operation information that are not directly involved in product production but used in the production process, research and development information related to new product research and development, and testing information used to ensure that products meet quality standards; the transportation information of any product includes but is not limited to the number of transportation personnel, the type of transportation tools, and the length of time the transportation tools are used, etc.; the market information of any product includes but is not limited to information related to product sales and marketing, and the above information is not related to direct production, the terminal device can calculate the indirect production cost of any product based on the second data corresponding to the personnel who are not directly engaged in product manufacturing but are related to the production process in the second actual cost data, the second standard data corresponding to the personnel who are not directly engaged in product manufacturing but are related to the production process in the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data, and the fifth cost standard data.

[0135] Please continue reading Figure 3 ,like Figure 3 As shown, the indirect production cost of any product is usually composed of the indirect labor cost, indirect consumption cost, transportation cost and promotion cost of any product.

[0136] Among them, indirect labor costs specifically refer to the costs incurred by employees who are not directly involved in production, such as the wages of workshop managers.

[0137] Based on this, in one embodiment of the present application, in order to improve the calculation accuracy of the indirect production cost of any product, the terminal device can specifically obtain the indirect production cost of any product through the following calculation, as detailed below:

[0138] determining the indirect labor cost of any one of the products based on the second actual cost data and the second cost standard data;

[0139] Determining the indirect consumption cost of any one of the products based on the third actual cost data and the third cost standard data;

[0140] Determining the transportation cost of any one of the products based on the fourth actual cost data and the fourth cost standard data;

[0141] Determining the promotion cost of any one of the products based on the fifth actual cost data and the fifth cost standard data;

[0142] The indirect production cost is calculated based on the indirect labor cost, the indirect consumption cost, the transportation cost and the promotion cost.

[0143] In this embodiment, the terminal device can calculate the indirect labor cost of any product based on the second data corresponding to the personnel who are not directly engaged in product manufacturing but are related to the production process in the second actual cost data, and the second standard data corresponding to the personnel who are not directly engaged in product manufacturing but are related to the production process in the second cost standard data.

[0144] Specifically, the terminal device may calculate the fifth difference between the second data and the second standard data. Afterwards, the terminal device may determine the second standard data as the indirect labor cost of any product when detecting that the fifth difference is greater than the third threshold; the terminal device may determine the second data as the indirect labor cost of any product when detecting that the fifth difference is less than or equal to the third threshold. The third threshold may be determined according to actual needs and is not limited here.

[0145] In this embodiment, the terminal device can determine the indirect consumption cost of any product based on the third actual cost data and the third cost standard data of any product. The indirect consumption cost includes but is not limited to: factory rental and insurance costs, equipment depreciation costs, energy consumption costs, indirect material costs, research and development costs, and quality inspection costs.

[0146] Specifically, the terminal device may calculate the sixth difference between the third actual cost data and the third cost standard data. Afterwards, the terminal device may determine the third cost standard data as the indirect consumption cost of any product when it detects that the sixth difference is greater than the fourth threshold; the terminal device may determine the third actual cost data as the indirect consumption cost of any product when it detects that the sixth difference is less than or equal to the fourth threshold. The fourth threshold may be determined according to actual needs and is not limited here.

[0147] In this embodiment, the terminal device can determine the transportation cost of any product based on the fourth actual cost data and the fourth cost standard data of any product.

[0148] Specifically, the terminal device may calculate the seventh difference between the fourth actual cost data and the fourth cost standard data. Afterwards, the terminal device may determine the fourth cost standard data as the transportation cost of any product when it detects that the seventh difference is greater than the fifth threshold value; the terminal device may determine the fourth actual cost data as the transportation cost of any product when it detects that the seventh difference is less than or equal to the fifth threshold value. The fifth threshold value may be determined according to actual needs and is not limited here.

[0149] In this embodiment, the terminal device can determine the promotion cost of any product based on the fifth actual cost data and the fifth cost standard data of any product.

[0150] Specifically, the terminal device may calculate the eighth difference between the fifth actual cost data and the fifth cost standard data. Afterwards, the terminal device may determine the fifth cost standard data as the promotion cost of any product when detecting that the eighth difference is greater than the sixth threshold; the terminal device may determine the fifth actual cost data as the promotion cost of any product when detecting that the eighth difference is less than or equal to the sixth threshold. The sixth threshold may be determined according to actual needs and is not limited here.

[0151] In S204, the unit cost data of any one of the products is calculated based on the direct production cost and the indirect production cost.

[0152] In this embodiment, the terminal device can sum the direct production cost and the indirect production cost of any product to obtain the unit cost data of any product.

[0153] In S104, target cost data is calculated based on the unit cost data of each product and the production quantity of each product.

[0154] In an embodiment of the present application, the terminal device can calculate the total first cost corresponding to each product based on the unit cost data of each product and the production quantity of each product, and sum the total first cost corresponding to each product to obtain the target cost data within a set time period.

[0155] It can be seen from the above that the cost data accounting method for food and beverage based on identification resolution provided by the embodiment of the present application obtains the identification information of each product; based on the identification information of each product, obtains the raw material information, labor information, production information, transportation information and market information associated with each product; for any product, based on the raw material information, labor information, production information, transportation information and market information of any product, calculates the unit cost data of any product; based on the unit cost data of each product and the production quantity of each product, calculates the target cost data. Compared with the prior art, this method combines the raw material information, labor information, production information, transportation information and market information corresponding to the product, and can accurately calculate the unit cost of the product, and then combines the production quantity of the product to obtain the accurate total cost, thereby improving the accuracy of cost accounting. At the same time, the raw material information, labor information, production information, transportation information and market information associated with the product can be quickly and accurately obtained through the identification information of the product, which not only realizes a comprehensive understanding of the product, thereby improving the accuracy of the unit cost data of the product, but also improves the information acquisition rate.

[0156] In one embodiment of the present application, since the quality of the products produced is usually poor when each product is produced within a set time period, that is, defective products are obtained, that is, when calculating the target cost data, the impact of the output of defective products on the target cost data needs to be considered. Therefore, in order to further improve the calculation accuracy of the target cost data, please refer to Figure 5 , Figure 5 This is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided by another embodiment of the present application. Figure 1 Correspondingly, before step S104, this embodiment may further include steps S401 to S403. Accordingly, step S104 may specifically include steps S404 to S405, which are described in detail as follows:

[0157] In S401, defective products generated during the production stage of each product are determined.

[0158] In practical applications, defective products refer to raw materials, semi-finished products, and finished products that do not meet relevant quality requirements during production and manufacturing. Quality requirements can include inspection quality requirements, manufacturing process quality requirements, and customer quality requirements.

[0159] It should be noted that the inspection quality requirements, the manufacturing process quality requirements and the customer's quality requirements can all be determined based on actual needs and are not restricted here.

[0160] In one implementation of this embodiment, the terminal device can obtain defective products generated during the production stage of each product in real time through a server to which it is wirelessly connected.

[0161] In S402, processing information corresponding to each of the defective products is obtained.

[0162] In this embodiment, since the processing methods of each defective product include but are not limited to defective product sales, defective product rework and defective product scrapping, the processing information corresponding to the defective product is used to represent the processing method of the defective product.

[0163] In an implementation of this embodiment, the terminal device can obtain processing information corresponding to each defective product in real time through a server to which it is wirelessly connected.

[0164] In S403, based on each of the processing information, the sunk cost of each of the defective products is determined.

[0165] In this embodiment, combined with S402, since different processing methods have corresponding processing costs, that is, sunk costs, different, the terminal device can determine the sunk cost of each defective product based on the processing information of each defective product and the correspondence between different processing information and different sunk costs stored in advance.

[0166] In S404, the first cost sum corresponding to each product is calculated based on the unit cost data of each product and the production quantity of each product.

[0167] In S405, the target cost data is determined according to the sum of the first costs corresponding to the various products and the various sunk costs.

[0168] See also Figure 6 , Figure 6 Schematic diagram of the composition of target cost data provided by an embodiment of the present application. Figure 6 As shown, the target cost data is composed of the sum of the first costs consisting of the direct production cost and indirect production cost corresponding to each product, and the sunk cost corresponding to each defective product.

[0169] Based on this, in this embodiment, the terminal device can calculate the total first cost corresponding to each product according to the unit cost data of each product and the production quantity of each product, and sum the total first cost corresponding to each product and the sunk cost corresponding to each defective product to obtain the target cost data within the set time period.

[0170] It can be seen from the above that the cost data accounting method for food and beverages based on identity resolution provided in this embodiment takes into account the impact of the output of defective products on the overall cost, and further improves the calculation accuracy of the target cost data.

[0171] See also Figure 7 , Figure 7 This is a flowchart of a method for calculating cost data for food and beverages based on identity resolution provided by another embodiment of the present application. Figure 1 Corresponding embodiment, this embodiment, before step S104, may further include S501 to S503, and accordingly, step S104 may specifically include steps S504 to S505, which are described in detail as follows:

[0172] In S501, the production time of all products is determined.

[0173] In this embodiment, the terminal device can determine the production time of all products according to the earliest date and the latest date in the minimum production cycle of each product.

[0174] It should be noted that the minimum production cycle of each product specifically refers to the shortest time from the input of raw materials to the output of finished products.

[0175] In S502, a first cost in a labor dimension, a second cost in a production dimension, and a third cost in an equipment dimension of all the products within the production time are obtained.

[0176] In S503, based on the first cost, the second cost and the third cost, the sum of the second costs corresponding to all the products is calculated.

[0177] In actual applications, in order to improve the processing efficiency of costs in different dimensions, the costs of all products in different dimensions within a set time period are usually recorded, rather than specifically recording the costs of each product in different dimensions. The different dimensions include but are not limited to: labor dimension, production dimension, and equipment dimension.

[0178] See also Figure 8 , Figure 8 FIG. 1 is a schematic diagram of the composition of target cost data provided by another embodiment of the present application. Figure 8As shown, the target cost data consists of the first cost of the labor dimension, the second cost of the production dimension, and the third cost of the equipment dimension. At the same time, the first cost of the labor dimension includes but is not limited to: worker cost, management cost, office consumption cost, and living cost. The second cost of the production dimension includes but is not limited to: energy consumption cost, equipment use cost, factory cost, raw material cost, transportation cost, R&D cost, and promotion cost. The third cost of the equipment dimension includes but is not limited to: equipment maintenance cost, equipment depreciation cost, and the raw material consumption cost corresponding to the equipment.

[0179] In one implementation of this embodiment, the terminal device can obtain in real time through a server to which it is wirelessly connected the first cost of all products in the labor dimension, the second cost in the production dimension, and the third cost in the equipment dimension during the production time.

[0180] Afterwards, the terminal device may sum the first cost, the second cost, and the third cost to obtain the sum of the second costs of all product pairs.

[0181] In S504, the first cost sum corresponding to each product is calculated based on the unit cost data of each product and the production quantity of each product.

[0182] In S505, the target cost data is determined based on the sum of the first costs and the sum of the second costs corresponding to the respective products.

[0183] In this embodiment, the terminal device can calculate the first cost sum corresponding to each product based on the unit cost data of each product and the production quantity of each product, and sum the first cost sums corresponding to each product to obtain the first data sum.

[0184] Afterwards, the terminal device may calculate a ninth difference between the first data sum and the second cost sum, and compare the ninth difference with a seventh threshold value. The seventh threshold value may be determined according to actual needs and is not limited here.

[0185] In this embodiment, when the terminal device detects that the ninth difference is greater than the seventh threshold, the second cost sum can be determined as the target cost data; when the terminal device detects that the ninth difference is less than or equal to the seventh threshold, the first data sum can be determined as the target cost data.

[0186] In one embodiment of the present application, after the terminal device sums the first cost sums corresponding to each product to obtain the first data sum, it can also perform weighted summation on the first data sum and the second cost sum to obtain the target cost data.

[0187] From the above, it can be seen that the cost data accounting method based on identity resolution applied to food and beverages provided in this embodiment can determine the target cost data based on the sum of the first cost and the sum of the second cost calculated in different ways, thereby further improving the calculation accuracy of the target cost data.

[0188] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0189] Corresponding to the cost data calculation method for food and beverage based on identity resolution described in the above embodiment, Fig. 9 The schematic diagram of the structure of a cost data accounting device for food and beverage based on identity resolution provided by an embodiment of the present application is shown. For the sake of convenience, only the part related to the embodiment of the present application is shown. Fig. 9 The cost data accounting device 600 for food and beverage based on identification resolution includes: a first acquisition unit 61, a second acquisition unit 62, a first accounting unit 63 and a first calculation unit 64. Among them:

[0190] The first acquiring unit 61 is used to acquire identification information of each product.

[0191] The second acquisition unit 62 is used to acquire raw material information, labor information, production information, transportation information and market information associated with each of the products based on the identification information of each of the products.

[0192] The first accounting unit 63 is used to calculate the unit cost data of any product based on the raw material information, the labor information, the production information, the transportation information and the market information of the any product.

[0193] The first calculation unit 64 is used to calculate the target cost data based on the unit cost data of each product and the production quantity of each product.

[0194] In one embodiment of the present application, the first calculation unit 63 specifically includes: a third acquisition unit, a second calculation unit, a third calculation unit and a second calculation unit. Among them:

[0195] The third acquisition unit is used to acquire the first actual cost data and the first cost standard data corresponding to the raw material information, acquire the second actual cost data and the second cost standard data corresponding to the labor information, acquire the third actual cost data and the third cost standard data corresponding to the production information, acquire the fourth actual cost data and the fourth cost standard data corresponding to the transportation information, and acquire the fifth actual cost data and the fifth cost standard data corresponding to the market information.

[0196] The second calculation unit is used to calculate the direct production cost of any one of the products based on the first actual cost data, the first cost standard data, the second actual cost data and the second cost standard data.

[0197] The third calculation unit is used to calculate the indirect production cost of any one of the products based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data.

[0198] The second accounting unit is used to calculate the unit cost data of any one of the products according to the direct production cost and the indirect production cost.

[0199] In one embodiment of the present application, the second calculation unit 62 specifically includes: a first cost determination unit, a second cost determination unit and a fourth calculation unit.

[0200] The first cost determination unit is used to determine the direct material cost of the any one product based on the first actual cost data and the first cost standard data.

[0201] The second cost determination unit is used to determine the direct labor cost of any one of the products based on the second actual cost data and the second cost standard data.

[0202] The fourth calculation unit is used to calculate the direct production cost based on the direct material cost and the direct labor cost.

[0203] In one embodiment of the present application, the raw material information includes the quantity of each raw material required for any one of the products and the unit price of each raw material; the first cost determination unit specifically includes: a processing unit, a third cost determination unit, a fourth cost determination unit and a fifth cost determination unit. Among them:

[0204] The processing unit is used to input the unit price of each raw material and the quantity of each raw material into the cost calculation model for processing, so as to obtain the total benchmark cost of each raw material.

[0205] The third cost determination unit is used to determine the first actual cost data as the direct material cost if a first difference between the benchmark cost sum and the first actual cost data is less than a set threshold, and the first difference is less than a second difference between the benchmark cost sum and the first cost standard data.

[0206] The fourth cost determination unit is configured to determine the first cost standard data as the direct material cost if the second difference is smaller than the set threshold and the second difference is smaller than the first difference.

[0207] The fifth cost determination unit is configured to determine the total of the benchmark costs as the direct material cost if both the first difference and the second difference are greater than or equal to the set threshold.

[0208] In one embodiment of the present application, the third calculation unit specifically includes: a labor cost determination unit, a consumption cost determination unit, a transportation cost determination unit, a promotion cost determination unit and a fifth calculation unit. Among them:

[0209] The labor cost determination unit is used to determine the indirect labor cost of the any one product based on the second actual cost data and the second cost standard data.

[0210] The consumption cost determination unit is used to determine the indirect consumption cost of the any one product based on the third actual cost data and the third cost standard data.

[0211] The transportation cost determination unit is used to determine the transportation cost of the any one product based on the fourth actual cost data and the fourth cost standard data.

[0212] The promotion cost determination unit is used to determine the promotion cost of the any one product based on the fifth actual cost data and the fifth cost standard data.

[0213] The fifth calculation unit is used to calculate the indirect production cost based on the indirect labor cost, the indirect consumption cost, the transportation cost and the promotion cost.

[0214] In one embodiment of the present application, the cost data accounting device 600 for food and beverage based on identification resolution further includes: a defective product determination unit, a fourth acquisition unit and a sunk cost determination unit; correspondingly, the first calculation unit 64 specifically includes: a sixth calculation unit and a first data determination unit. Among them:

[0215] The defective product determination unit is used to determine defective products generated during the production stage of each product.

[0216] The fourth acquisition unit is used to acquire processing information corresponding to each of the defective products.

[0217] The sunk cost determination unit is used to determine the sunk cost of each defective product based on each of the processing information.

[0218] The sixth calculation unit is used to calculate the sum of the first costs corresponding to each of the products according to the unit cost data of each of the products and the production quantity of each of the products.

[0219] The first data determination unit is used to determine the target cost data according to the sum of the first costs corresponding to the various products and the various sunk costs.

[0220] In one embodiment of the present application, the cost data accounting device 600 for food and beverage based on identity resolution further includes: a time determination unit, a fifth acquisition unit and a seventh calculation unit; correspondingly, the first calculation unit 64 specifically includes: an eighth calculation unit and a second data determination unit. Among them:

[0221] The time determination unit is used to determine the production time of all products.

[0222] The fifth acquisition unit is used to acquire, within the production time, the first cost in the labor dimension, the second cost in the production dimension, and the third cost in the equipment dimension of all the products.

[0223] The seventh calculation unit is used to calculate the sum of the second costs corresponding to all the products based on the first cost, the second cost and the third cost.

[0224] The eighth calculation unit is used to calculate the sum of the first costs corresponding to each of the products according to the unit cost data of each of the products and the production quantity of each of the products.

[0225] The second data determination unit is used to determine the target cost data based on the sum of the first costs and the second costs corresponding to the respective products.

[0226] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0227] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0228] Fig.10 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Fig.10 As shown, the terminal device 7 of this embodiment includes: at least one processor 70 ( Fig.10 Only one is shown in the figure) a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, and when the processor 70 executes the computer program 72, the steps in any of the above-mentioned embodiments of the cost data accounting method for food and beverages based on identity resolution are implemented.

[0229] The terminal device may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Fig.10 It is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0230] The processor 70 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0231] In some embodiments, the memory 71 may be an internal storage unit of the terminal device 7, such as the memory of the terminal device 7. In other embodiments, the memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 7. Further, the memory 71 may include both an internal storage unit and an external storage device of the terminal device 7. The memory 71 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 71 may also be used to temporarily store data that has been output or is to be output.

[0232] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0233] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0234] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0235] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0236] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A cost data accounting method for food and beverage based on identity resolution, It is characterized in that include: Get identification information of each product; Based on the identification information of each product, raw material information, labor information, production information, transportation information and market information associated with each product are obtained; wherein the production information of each product includes factory information, energy information and equipment information related to the production process, material information and factory operation information that are not directly involved in the production of each product but are used in the production process, research and development information related to the research and development of new products, and testing information used to ensure that each product meets quality standards; For any product, based on the raw material information, the labor information, the production information, the transportation information and the market information of the any product, the unit cost data of the any product is calculated; Calculate target cost data based on the unit cost data of each product and the production quantity of each product; The calculating, for any one product, unit cost data of the any one product based on the raw material information, the labor information, the production information, the transportation information and the market information of the any one product, includes: Acquire first actual cost data and first cost standard data corresponding to the raw material information, acquire second actual cost data and second cost standard data corresponding to the labor information, acquire third actual cost data and third cost standard data corresponding to the production information, acquire fourth actual cost data and fourth cost standard data corresponding to the transportation information, and acquire fifth actual cost data and fifth cost standard data corresponding to the market information; Calculate the direct production cost of any one of the products based on the first actual cost data, the first cost standard data, the second actual cost data, and the second cost standard data; calculating the indirect production cost of any one of the products based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data; Calculate and obtain unit cost data of any one of the products according to the direct production cost and the indirect production cost; The calculating the direct production cost of any one of the products based on the first actual cost data, the first cost standard data, the second actual cost data and the second cost standard data includes: Determining the direct material cost of any one of the products based on the first actual cost data and the first cost standard data; Determine the direct labor cost of any one of the products based on the second actual cost data and the second cost standard data; Calculate the direct production cost based on the direct material cost and the direct labor cost; The raw material information includes the quantity of each raw material required for any one of the products and the unit price of each raw material; the determining the direct material cost of any one of the products based on the first actual cost data and the first cost standard data includes: Inputting the unit price of each raw material and the quantity of each raw material into the cost calculation model for processing to obtain the total base cost of each raw material; If a first difference between the sum of the benchmark costs and the first actual cost data is less than a set threshold, and the first difference is less than a second difference between the sum of the benchmark costs and the first cost standard data, the first actual cost data is determined as the direct material cost; If the second difference is less than the set threshold, and the second difference is less than the first difference, the first cost standard data is determined as the direct material cost; If the first difference and the second difference are both greater than or equal to the set threshold, the total benchmark cost is determined as the direct material cost.

2. The cost data accounting method for food and beverage based on identity resolution as claimed in claim 1, It is characterized in that The indirect production cost of any one of the products is calculated based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data, including: determining the indirect labor cost of any one of the products based on the second actual cost data and the second cost standard data; Determining the indirect consumption cost of any one of the products based on the third actual cost data and the third cost standard data; Determining the transportation cost of any one of the products based on the fourth actual cost data and the fourth cost standard data; Determining the promotion cost of any one of the products based on the fifth actual cost data and the fifth cost standard data; The indirect production cost is calculated based on the indirect labor cost, the indirect consumption cost, the transportation cost and the promotion cost.

3. The cost data accounting method for food and beverage based on identity resolution as described in any one of claims 1 to 2, It is characterized in that Before calculating the target cost data based on the unit cost data of each product and the production quantity of each product, the method further includes: Determine the defective products generated during the production stage of each of the products; Obtaining processing information corresponding to each of the defective products; Determining the sunk cost of each of the defective products based on each of the processing information; Accordingly, the target cost data is calculated based on the unit cost data of each product and the production quantity of each product, including: Calculate the first cost sum corresponding to each product according to the unit cost data of each product and the production quantity of each product; The target cost data is determined according to the sum of the first costs corresponding to the various products and the various sunk costs.

4. The cost data accounting method for food and beverage based on identity resolution as described in any one of claims 1 to 2, It is characterized in that Before calculating the target cost data based on the unit cost data of each product and the production quantity of each product, the method further includes: Determine the production time of all products; Obtaining a first cost in a labor dimension, a second cost in a production dimension, and a third cost in an equipment dimension for all products during the production time; Based on the first cost, the second cost and the third cost, a sum of the second costs corresponding to all the products is calculated; Accordingly, the target cost data is calculated based on the unit cost data of each product and the production quantity of each product, including: Calculate the first cost sum corresponding to each product according to the unit cost data of each product and the production quantity of each product; The target cost data is determined based on the sum of the first costs and the sum of the second costs corresponding to the respective products.

5. A cost data accounting device for food and beverages based on identity resolution, It is characterized in that include: A first acquisition unit, used to acquire identification information of each product; A second acquisition unit, configured to acquire raw material information, labor information, production information, transportation information, and market information associated with each of the products based on the identification information of each of the products; A first calculation unit is used to calculate unit cost data of any product based on the raw material information, labor information, production information, transportation information and market information of the any product; A first calculation unit, configured to calculate target cost data based on the unit cost data of each product and the production quantity of each product; The first accounting unit specifically includes: a third acquisition unit, configured to acquire first actual cost data and first cost standard data corresponding to the raw material information, acquire second actual cost data and second cost standard data corresponding to the labor information, acquire third actual cost data and third cost standard data corresponding to the production information, acquire fourth actual cost data and fourth cost standard data corresponding to the transportation information, and acquire fifth actual cost data and fifth cost standard data corresponding to the market information; a second calculation unit, configured to calculate the direct production cost of the any one product based on the first actual cost data, the first cost standard data, the second actual cost data, and the second cost standard data; a third calculation unit, configured to calculate the indirect production cost of the any one product based on the second actual cost data, the second cost standard data, the third actual cost data, the third cost standard data, the fourth actual cost data, the fourth cost standard data, the fifth actual cost data and the fifth cost standard data; A second accounting unit, configured to calculate unit cost data of any one of the products according to the direct production cost and the indirect production cost; The second calculation unit specifically includes: a first cost determination unit, configured to determine the direct material cost of the any one product based on the first actual cost data and the first cost standard data; A second cost determination unit, configured to determine the direct labor cost of any one of the products based on the second actual cost data and the second cost standard data; a fourth calculation unit, configured to calculate the direct production cost based on the direct material cost and the direct labor cost; The raw material information includes the quantity of each raw material required for any one of the products and the unit price of each raw material; the first cost determination unit specifically includes: A processing unit, used for inputting the unit price of each raw material and the quantity of each raw material into a cost calculation model for processing, so as to obtain the sum of the benchmark costs of each raw material; a third cost determination unit, configured to determine the first actual cost data as the direct material cost if a first difference between the base cost sum and the first actual cost data is less than a set threshold value, and the first difference is less than a second difference between the base cost sum and the first cost standard data; a fourth cost determination unit, configured to determine the first cost standard data as the direct material cost if the second difference is less than the set threshold and the second difference is less than the first difference; A fifth cost determination unit is configured to determine the total of the benchmark costs as the direct material cost if both the first difference and the second difference are greater than or equal to the set threshold.

6. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the cost data accounting method based on identity resolution applied to food and beverages as described in any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the cost data accounting method based on identity resolution applied to food and beverages as described in any one of claims 1 to 4 is implemented.