Product data processing method and device, computer equipment, readable storage medium and program product
By calculating the actual production capacity and initial product data of each production line type during the target cycle, the problem of relying on manual experience in the judgment of traditional stocking data is solved, improving the accuracy and efficiency of stocking, and reducing resource waste.
Patent Information
- Application Number
- CN202411256288.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-24
AI Technical Summary
Traditional stocking data judgments rely on manual experience, which leads to cumbersome and long-term planning, low accuracy, and waste of resource costs.
By obtaining the production volume of each product to be produced by the target supplier during the target cycle, the production line type capacity and balanced production capacity, determine the actual production capacity according to the priority order of the production line type, calculate the initial product data, and then determine the target product data of the warehouse, and improve the Stocking accuracy and efficiency.
More efficient and accurate inventory calculations are achieved, reducing the waste of supply chain resources.
Smart Images

Figure CN119180589A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to a product data processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] Advance stocking is a common supply chain management strategy, which means preparing goods in advance based on demand forecasts to ensure timely supply of products during peak demand periods or when supply chains are disrupted, thereby avoiding out-of-stock or delayed delivery situations. The more accurate stocking quantity depends on accurate market analysis and demand forecasts. When there is insufficient time for stocking or the market environment changes, this stocking method will be a great test for production planning, material preparation, and overtime work. Not only will there be high costs due to overtime work to rush goods, but there may also be out-of-stock situations.
[0003] In traditional technology, the determination of inventory data mostly relies on manual experience and judgment, which leads to a cumbersome and time-consuming planning process, low accuracy of inventory data, and waste of resource costs. Summary of the invention
[0004] Based on this, it is necessary to provide a product data processing method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve accuracy in response to the above technical problems.
[0005] In a first aspect, the present application provides a product data processing method, the method comprising:
[0006] Obtaining the quantity to be produced of each product of the target supplier within the target period, the capacity of the production line type corresponding to each of the products, and the balanced capacity, wherein the balanced capacity is the bottleneck capacity of the target supplier within the target period; the quantity to be produced of each product is determined based on the quantity of each of the products in each warehouse;
[0007] When the capacity of the production line type corresponding to any of the products is less than the quantity to be produced of the product, the actual capacity of the products of each production line type within the target period is determined according to the priority order of the production line types, based on the capacity of each production line type, the quantity to be produced of each product and the balanced capacity;
[0008] Determine the initial product data of each production line type within the target period according to the actual production capacity of the product and the to-be-produced quantity of each product;
[0009] The target product data of each warehouse is determined according to each of the initial product data.
[0010] In one embodiment, determining the initial product data of each production line type within the target period according to the actual production capacity of the product and the to-be-produced quantity of each product includes:
[0011] Determine differential capacity according to the actual capacity of the products of each production line type and the quantity to be produced of each product;
[0012] Based on the differential capacity, initial product data for each of the production line types within a target period is determined.
[0013] In one embodiment, the production line type includes a first production line type and a second production line type; wherein the first product corresponds to the first production line type, and the second product corresponds to the second production line type; and determining the actual production capacity of the products of each production line type within the target period according to the priority order of the production line types, based on the production capacity of each production line type, the quantity to be produced of each product, and the balanced production capacity, comprises:
[0014] Selecting a minimum amount from the production capacity of the first production line type corresponding to the first product, the to-be-produced amount of the first product, and the balanced production capacity as the actual producible amount of the first production line type corresponding to the first product;
[0015] Determining a new balanced capacity based on the balanced capacity and the actual producible quantity of the first production line type corresponding to the first product;
[0016] The smallest quantity is selected from the production capacity of the second production line type corresponding to the second product, the quantity to be produced of the second product and the new balanced production capacity as the actual producible quantity of the second production line type corresponding to the second product.
[0017] In one embodiment, determining the differential capacity according to the actual capacity of the products of each production line type and the to-be-produced quantity of each product includes:
[0018] Determine the differential capacity of the first production line type according to the actual producible quantity of the first production line type corresponding to the first product and the to-be-produced quantity of the first product;
[0019] Determine the differential capacity of the second production line type according to the actual producible quantity of the second production line type corresponding to the second product and the to-be-produced quantity of the second product;
[0020] The determining, according to the differential capacity, the initial product data of each production line type within the target period includes:
[0021] According to the differential capacity of the first production line type and the differential capacity of the second production line type, initial product data of each of the production line types within a target period is determined.
[0022] In one embodiment, the types of differential capacity include surplus capacity and shortfall capacity; and determining the initial product data of each production line type within the target period according to the differential capacity of the first production line type and the differential capacity of the second production line type includes:
[0023] When the first production line type and the second production line type produce the same type of products, and the differential capacity of the first production line type and the differential capacity of the second production line type are of different types, initial product data of the first production line type and the second production line type within the target cycle are determined based on the differential capacity of the first production line type and the differential capacity of the second production line type.
[0024] In one embodiment, determining the target product data of each warehouse according to each of the initial product data includes:
[0025] Obtaining a set of first reference values; wherein the first reference values indicate a ratio of the initial product data to the inventory of the target supplier;
[0026] Determine each intermediate product data according to the set of first reference values and each initial product data;
[0027] Obtaining a set of second reference values; wherein the second reference values indicate a ratio of the intermediate product data to the inventory of each of the warehouses;
[0028] The target product data of each warehouse is determined according to each of the intermediate product data and the second reference value.
[0029] In a second aspect, the present application further provides a product data processing device, the device comprising:
[0030] An acquisition module is used to acquire the quantity to be produced of each product of the target supplier within the target period, the capacity of the production line type corresponding to each of the products, and the balanced capacity, wherein the balanced capacity is the bottleneck capacity of the target supplier within the target period; the quantity to be produced of each product is determined based on the quantity of each product in each warehouse;
[0031] An actual capacity determination module is used to determine the actual capacity of the products of each production line type within the target period according to the priority order of the production line types, based on the capacity of each production line type, the amount of products to be produced and the balanced capacity, when the capacity of the production line type corresponding to any of the products is less than the amount of products to be produced;
[0032] An initial product data determination module, used to determine the initial product data of each production line type within a target period according to the actual production capacity of the product and the to-be-produced quantity of each product;
[0033] The target product data determination module is used to determine the target product data of each warehouse according to each of the initial product data.
[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0035] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0036] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.
[0037] The above-mentioned product data processing method, device, computer equipment, computer-readable storage medium and computer program product first obtain the to-be-produced quantity of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced capacity. When the production capacity of the production line type corresponding to any product is less than the to-be-produced quantity of the product, the actual production capacity of each production line type within the target period is determined based on the production capacity of each production line type, the to-be-produced quantity of each product and the balanced capacity; secondly, the initial product data of each production line type within the target period is determined based on the actual production capacity of the product and the to-be-produced quantity of each product; the initial product data is the number of products that cannot be produced by each production line type within the target period; the number of products that need to be transferred to each production line type for production in the previous period. Finally, the target product data of each warehouse in the target period is determined based on each initial product data. By determining the initial product data of each production line type within the target cycle based on the actual product production capacity and the amount of products to be produced, accurate initial product data can be obtained; then based on the accurate initial product data, the target product data of each warehouse within the target cycle is determined, and each warehouse prepares stocks in advance according to the target product data. Compared with the previous stocking data determined based on manual experience, the target product data is more efficient and accurate. Pre-stocking according to the target product data can reduce the waste of supply chain resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions 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 related drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 An application environment diagram of a product data processing method in an embodiment;
[0040] Figure 2 is a flowchart of a product data processing method in one embodiment;
[0041] Figure 3 A schematic diagram of a process for determining initial product data in one embodiment;
[0042] Figure 4 A schematic diagram of a process for determining actual available capacity in one embodiment;
[0043] Figure 5 A schematic diagram of a process for determining differential capacity in one embodiment;
[0044] Figure 6 A schematic diagram of the forward displacement in another embodiment;
[0045] Figure 7 A schematic diagram of a process for determining target product data for each warehouse in one embodiment;
[0046] Figure 8 is a structural block diagram of a product data processing device in one embodiment;
[0047] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] The product data processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server obtains the to-be-produced quantity of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced capacity, wherein the balanced capacity is the bottleneck capacity of the target supplier within the target period; the to-be-produced quantity of each product is determined based on the quantity of each product in each warehouse; when the production capacity of the production line type corresponding to any product is less than the to-be-produced quantity of the product, the actual production capacity of each production line type within the target period is determined based on the production capacity of each production line type, the to-be-produced quantity of each product and the balanced capacity according to the priority order of the production line type; according to the actual production capacity of the product and the to-be-produced quantity of each product, the initial product data of each production line type within the target period is determined; according to each initial product data, the target product data of each warehouse is determined. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0050] In an exemplary embodiment, Figure 2 As shown, a product data processing method is provided, which is applied to Figure 1 The server in the example is used to illustrate, including the following steps S202 to S208. Among them:
[0051] Step S202, obtaining the to-be-produced quantity of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced production capacity.
[0052] Among them, the balanced capacity is the bottleneck capacity of the target supplier within the target period; the production volume of each product is determined based on the quantity of each product in each warehouse. The target supplier can include one factory or multiple factories.
[0053] Optionally, before obtaining the quantity to be produced of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced production capacity, the server obtains the first demand of each product of each warehouse within the target period, and determines the quantity to be produced of each product of the target supplier within the target period according to the first demand of each product of each warehouse within the target period and the initial inventory of each product of the target supplier. The first demand is determined based on the second demand within the target period, the safety inventory of each warehouse within the target period, and the initial inventory of each warehouse within the target period, and the second demand is determined based on the planned sales volume.
[0054] In an optional embodiment, the first demand may be the net demand of each product in the warehouse; the planned sales volume of each product is taken as the second demand of each product. For example, the target period may be one month, one quarter, or one year, and the specific period length is not limited. The server obtains the first demand of product A in warehouse A in May, that is, the net demand; wherein, the first demand = max (second demand + safety stock - initial inventory, 0); obtains the first demand of product B in warehouse A in May; obtains the first demand of product A in warehouse B in May, and so on. According to the initial inventory of each product of the target supplier and the first demand of each product in each warehouse in the target period, the production volume of each product of the target supplier in the target period is determined. For example, without considering the supply mode and the net demand of the target product is greater than the initial inventory of the target product, the production volume of the target product = the net demand of the target product - the initial inventory of the target product. As shown in Table 1, the net demand of warehouse B is zero, the initial inventory is 1000KL, and product A does not need to be produced. Therefore, the production volume of product A is 700KL.
[0055] In another optional implementation, the target supplier is obtained based on whether the supplier can self-produce and the dump path. If it can self-produce, the self-producing factory will be used as the target supplier. If not, the factory with the highest dump priority among the factories that can produce will be used as the target supplier. Priority refers to the order obtained by sorting by total cost when a product needs to be dumped, if there are multiple suppliers that can produce. As shown in Table 1, the demand for dumping product B is a net demand of 1600 for warehouse A + warehouse C; the initial inventory of warehouse B is 1000, of which the self-demand is 500, and the safety inventory requires 200, so there are 300 that can be dumped. The specific formula for solving the production volume of product B is as follows: the production volume of product B = the net demand of warehouse A + the net demand of warehouse C - the remaining inventory of warehouse B = 1000 + 600 - (1000-500-200) = 1300KL.
[0056] Table 1 Warehouse-Product Data Sheet
[0057]
[0058] In another optional implementation, the target cycle is calculated on a monthly basis. When calculating the net demand for the next month, the beginning inventory of the next month, i.e., the ending inventory of the current month, is max(second demand + safety inventory + outgoing volume - incoming volume - beginning inventory - production volume, 0). The second demand is determined based on the planned sales volume. Safety inventory refers to the buffer inventory prepared to prevent the order fulfillment rate from being affected by uncertain factors; it is calculated by multiplying the average daily demand of the next month by the number of safety inventory days on the system page, and the average daily demand of the last month is the average daily demand of the current month. Outgoing volume refers to the volume transferred from the own warehouse to other warehouses. Incoming volume refers to the volume transferred from other warehouses to the own warehouse. Beginning inventory refers to the inventory already in the warehouse. Production volume refers to the volume produced by the self-production factory.
[0059] In another optional implementation, the server determines the net demand of the product according to the second demand, safety stock and opening stock of each product. The net demand of the target product = max (the second demand of the target product + the safety stock of the target product - the opening stock of the target product, 0).
[0060] Optionally, before obtaining the production capacity of the production line type corresponding to each product of the target supplier within the target period, the server obtains the number of production hours for each of the production line types corresponding to each product and the weighted production rate corresponding to each of the production line types; wherein the weighted production rate is determined based on the proportion of the output of any product produced by the production line type to the output of all products produced by the production line type; based on the number of production hours for the production line type and the corresponding weighted production rate, the production capacity of the production line type corresponding to each of the products is determined.
[0061] In an optional embodiment, the server is based on the number of production hours available for each of the production line types * the weighted production rate corresponding to each of the production line types = the production capacity of each of the production line types corresponding to each of the products. As shown in Table 2, the production line is Line A, and the production line type is ordinary-bottle. The weighted rate KL / h is 20, and the production line capacity (h) is 400, so the production line type of Line A is 8000KL. Among them, the weighted production rate refers to the weighted average rate obtained after weighted calculation based on the proportion of the production volume of a single variety in the total production volume of the entire production line. Weighted production rate = (Product A production volume * Product A rate + Product B production volume * Product B rate +...) / total production volume. Both the single variety production volume and the total production volume refer to the plan of last month. The maximum production capacity of the ordinary-bottle production line type of Factory A corresponding to the target supplier = 8000 + 6000 = 14000KL. When the product produced is beer, the production line type is differentiated according to the different packaging forms of the products and whether it is a purely draft product. The production line types are divided into five types: ordinary bottle, ordinary can, barrel line, pure draft bottle, and pure draft can.
[0062] Table 2 Capacity of different production line types
[0063]
[0064] Optionally, the server obtains the production volume of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced production capacity. Among them, the balanced production capacity is also called the bottleneck production capacity, which refers to the maximum production capacity of the bottleneck process in the production process, such as the maximum production capacity of the bottleneck in the packaging, brewing, filtering, and saccharification process of a factory. The server obtains the calculated balanced production capacity of the target supplier, the production volume of each product, and the production line type corresponding to each product.
[0065] Step S204: When the production capacity of the production line type corresponding to any product is less than the product's pending production volume, the actual production capacity of each production line type within the target period is determined in accordance with the priority order of the production line types, based on the production capacity of each production line type, the pending production volume of each product and the balanced capacity.
[0066] Optionally, when the capacity of the production line type corresponding to any product is less than the product's to-be-produced quantity, it indicates that a capacity gap has occurred. Assume that within the target period, that is, within May, the balanced capacity of Factory A for the target supplier is 8000KL. As shown in Table 3, the capacity of the barrel line corresponding to the barreled product is 1000KL, and the to-be-produced quantity corresponding to the barreled product is 200KL. The capacity of the ordinary bottle corresponding to the ordinary bottled product is 5000KL, and the to-be-produced quantity corresponding to the ordinary bottled product is 6000KL. The capacity of the ordinary can corresponding to the ordinary canned product is 6000KL, and the to-be-produced quantity corresponding to the ordinary canned product is 5000KL. Among them, the capacity of the ordinary bottle corresponding to the ordinary bottled product is 5000KL, and the to-be-produced quantity corresponding to the ordinary bottled product is 6000KL, indicating that a capacity gap has occurred. The server follows the priority order of the production line type, assuming that the priority order of the production line type is barrel>bottle>can; it can also be can>barrel>bottle; it can also be bottle>can>barrel. The priority order of production line types is not limited here.
[0067] Table 3 Comparison of production line capacity and production volume to be produced
[0068]
[0069] The server determines the actual production capacity of each type of product in the target period based on the production capacity of each type of production line, the production volume to be produced, and the balanced production capacity of each product. For example, based on the barrel production capacity of 1000KL for barreled products, the production volume to be produced for barreled products is 200KL, and the balanced production capacity is 8000KL, the smallest one is selected from (1000KL, 200KL, 8000KL) as the actual production capacity of the barrel line, which is 200KL. The server also calculates the actual production capacity of 5000KL for ordinary bottles and 2800KL for ordinary cans.
[0070] Step S206, determining the initial product data of each production line type within the target period according to the actual production capacity of the product and the quantity to be produced of each product.
[0071] Among them, the initial product data is the number of products that each production line type cannot produce within the target cycle, that is, the capacity gap; the amount of products that need to be transferred to each production line type for production in the previous cycle. The server obtains the initial product data of each production line type based on the target product's pending production volume minus the actual available capacity of the production line type corresponding to the target product, that is, the amount of products that the production line cannot produce within the target cycle. During the target cycle, the differential capacity corresponding to each production line type is 0 for the barrel line, 1000KL for the ordinary bottle, and 2200KL for the ordinary can. The server determines the initial product data of each production line type within the target cycle based on the differential capacity of each production line type.
[0072] It should be noted that, taking the production line types of barrel line, ordinary bottle, and ordinary can as an example, the barrel line can only produce barreled products; ordinary bottle can only produce ordinary bottled products; ordinary can can only produce ordinary can products. That is, the production line type can only produce one product. The embodiment also involves the production line type of producing non-single products; the production line type of producing non-single products is a special production line. When the embodiment involves the production line type of producing non-single products, it is described in detail in the following embodiments.
[0073] Table 4 Production line type corresponding to the production volume - actual available capacity - differential capacity
[0074]
[0075] Step S208, determining the target product data of each warehouse based on each initial product data.
[0076] Optionally, the server assigns a specific sku to each initial product data according to the initial product data corresponding to each production line type, where sku refers to a unique number or code used to distinguish different products in supply chain management. The target product data of each warehouse is determined by the specific sku value, and the target product data is the inventory data. Each warehouse prepares the inventory in advance according to the target product data, which can improve the accuracy of the inventory and reduce resource waste in the supply chain.
[0077] In the above-mentioned product data processing method, by determining the initial product data of each production line type within the target cycle according to the actual production capacity of the products of each production line type and the amount of products to be produced, accurate initial product data can be obtained; then based on the accurate initial product data, the target product data of each warehouse within the target cycle is determined, and each warehouse prepares stocks in advance according to the target product data. Compared with the stocking data determined according to manual experience in the past, the target product data is highly efficient and accurate. Pre-stocking according to the target product data can reduce the waste of supply chain resources.
[0078] In an exemplary embodiment, Figure 3 As shown, according to the actual production capacity of the product and the quantity to be produced of each product, the initial product data of each production line type within the target period is determined, including steps S302 to S304. Among them:
[0079] Step S302, determining differential capacity according to the actual capacity of products of each production line type and the quantity to be produced of each product.
[0080] Optionally, the server determines the differential capacity of each production line type according to the actual capacity of the products of each production line type and the amount of each product to be produced. As shown in Table 4, in May of the target period, the differential capacity of each production line type is 0 for barrel line, 1000KL for ordinary bottle, and 2200KL for ordinary can.
[0081] For example, as shown in Table 5, in May of the target period, the differential capacity corresponding to each production line type is: the differential capacity of the barrel line is 0; the differential capacity corresponding to the ordinary bottle is -7000KL; and the differential capacity corresponding to the pure draft bottle is -3000KL.
[0082] Table 5 Production line type corresponding to the production volume - actual available capacity - differential capacity
[0083]
[0084] Step S304, determining the initial product data of each production line type within the target period according to the differential capacity.
[0085] Optionally, the server determines the initial product data of each production line type in the target cycle according to the different production capacities of each production line type, and the initial product data of this target cycle is the forward shift amount that needs to be shifted to the previous cycle. The forward shift amount can be inferred in turn to obtain the initial product data of each target cycle.
[0086] In this embodiment, the initial product data, that is, the advance amount of the previous target cycle, can be accurately calculated through differential production capacity, and the target product data within the target cycle can be determined based on the initial product data of each target cycle.
[0087] In an exemplary embodiment, Figure 4 As shown, the production line type includes a first production line type and a second production line type; wherein the first product corresponds to the first production line type, and the second product corresponds to the second production line type; according to the priority order of the production line type, based on the production capacity of each production line type, the quantity to be produced of each product, and the balanced production capacity, the actual production capacity of each production line type within the target period is determined, including steps S402 to S406. Among them:
[0088] Step S402, selecting the smallest quantity from the production capacity of the first production line type corresponding to the first product, the to-be-produced quantity of the first product, and the balanced production capacity as the actual producible quantity of the first production line type corresponding to the first product.
[0089] Optionally, assume that the priority order of line types is barrel>ordinary_bottle>ordinary_can; the balanced capacity of factory A of supplier A is 8000KL, the first product is a barreled product, the first production line type corresponding to the barreled product is the barrel line, the capacity of the barrel line is 1000KL, and the amount to be produced is 200KL. The server selects the smallest amount from (the capacity of the barrel line is 1000KL, the amount to be produced is 200KL, and the balanced capacity is 8000KL), and the actual producible amount of the barrel line corresponding to the barreled product is 200KL.
[0090] Table 6 Actual available production capacity of each production line type
[0091]
[0092] Step S404: determining a new balanced capacity based on the balanced capacity and the actual producible quantity of the first production line type corresponding to the first product.
[0093] Optionally, the server uses the difference between the balanced capacity of 8000KL and the actual production capacity of the barrel line of 200KL as the new balanced capacity of 7800KL.
[0094] Step S406, selecting the smallest quantity from the production capacity of the second production line type corresponding to the second product, the quantity to be produced of the second product, and the new balanced production capacity as the actual producible quantity of the second production line type corresponding to the second product.
[0095] Among them, except the first production line type, all other production line types are second production line types. As shown in Table 6, the second production line type includes ordinary bottles and ordinary cans. Then the second products include ordinary bottled products and ordinary canned products.
[0096] Optionally, since the priority of ordinary_bottle is greater than that of ordinary_can, the server will calculate the actual production capacity of the production line type ordinary_bottle. The production capacity of the production line type ordinary_bottle corresponding to the ordinary bottled product is 5000KL, the corresponding production capacity to be produced for the ordinary bottled product is 6000KL, and the new equilibrium capacity is 7800KL. The server selects the minimum amount as the actual available capacity of the production line type ordinary_bottle corresponding to the ordinary bottled product, which is 5000KL.
[0097] The new balanced capacity is 7800KL-5000KL=2800KL. The server continues to obtain the capacity of 6000KL of ordinary cans corresponding to the low-priority ordinary cans, the corresponding waiting production volume of 5000KL, and the new balanced capacity is 2800KL. The server selects the smallest amount from the capacity of 6000KL of ordinary cans corresponding to ordinary cans, the waiting production volume of 5000KL corresponding to ordinary cans, and the new balanced capacity of 2800KL as the actual available capacity of 2800KL of ordinary cans corresponding to ordinary cans.
[0098] It should be noted that the actual available output of different production line types calculated according to different production line priority orders is different.
[0099] In this embodiment, the actual available output of each production line can be obtained according to the priority order of production line types, the production capacity of each production line type, the production volume and balanced capacity of each product, thereby improving the accuracy of the actual available output of each production line type.
[0100] In the previous embodiment, Figure 5 As shown, according to the actual production capacity of products of each production line type and the quantity to be produced of each product, the differential production capacity is determined, including steps S502 to S504. Among them:
[0101] Step S502, determining the differential capacity of the first production line type according to the actual producible quantity of the first production line type corresponding to the first product and the quantity to be produced of the first product.
[0102] Optionally, if the first product is an ordinary bottled product, the corresponding first production line type is ordinary_bottle, the actual production volume corresponding to ordinary_bottle is X, the production volume to be produced of ordinary bottled products is Y, and the differential production capacity of ordinary_bottle is (YX).
[0103] In an optional embodiment, if the first product is a barreled or bottled product, the corresponding first production line type is a barrel line, the actual production volume corresponding to the barrel line is X, the barreled product to be produced is Y, and the differential capacity of the barrel line is (YX).
[0104] It should be noted that the first production line type can be any production line type, and the second production line type can be any production line type except the first production line type. There is only one first production line type, while the second production line type can include multiple types. The differential capacity may be positive or negative.
[0105] Step S504, determining the differential capacity of the second production line type according to the actual producible quantity of the second production line type corresponding to the second product and the quantity to be produced of the second product.
[0106] Optionally, when the first product is a common bottled product and the corresponding first production line type is common_bottle, it is assumed that the second product is a pure draft bottled product and the corresponding second production line type is pure draft_bottle. The server calculates the differential production capacity of pure draft_bottles (YX) based on the actual producible quantity X of pure draft_bottles and the to-be-produced quantity Y corresponding to the pure draft bottled product.
[0107] Determine the initial product data of each production line type within the target period according to the differential capacity, including step S506: determine the initial product data of each production line type within the target period according to the differential capacity of the first production line type and the differential capacity of the second production line type.
[0108] Optionally, the server determines the initial product data of each production line type in the target period according to the differential capacity of the first production line type and the differential capacity of the second production line type. For example, the first production line type is ordinary_bottle and the second production line type is pure_raw_bottle. The server determines the initial product data of ordinary_bottle and pure_raw_bottle in the target period according to the differential capacity of ordinary_bottle and pure_raw_bottle.
[0109] In this embodiment, the initial product data of each production line type within the target period can be accurately obtained through the different production capacities of different production line types.
[0110] In an exemplary embodiment, the types of differential capacity include surplus capacity and gap capacity; based on the differential capacity of the first production line type and the differential capacity of the second production line type, the initial product data of each production line type within the target cycle is determined, including: when the first production line type and the second production line type produce the same type of products, and the types of the differential capacity of the first production line type and the differential capacity of the second production line type are different, based on the differential capacity of the first production line type and the differential capacity of the second production line type, the initial product data of the first production line type and the second production line type within the target cycle are determined.
[0111] Among them, the first product corresponds to the first production line type, and the second product corresponds to the second production line type; the first production line type can produce the first product and the second product; or the second production line type can produce both the first product and the second product.
[0112] The types of differential capacity include surplus capacity and gap capacity. When the differential capacity value is greater than 0, the type of differential capacity is gap capacity; when the differential capacity value is less than 0, the type of differential capacity is surplus capacity; when the differential capacity value is equal to 0, it is not included in the calculation.
[0113] Optionally, when the first production line type produces the first product and the second product and the second production line type produces the second product, or when the first production line type produces the first product and the second production line type produces either the first product or the second product, and the type of the differential capacity of the first production line type is gap capacity and the type of the differential capacity of the second production line type is surplus capacity, or the type of the differential capacity of the first production line type is surplus capacity and the type of the differential capacity of the second production line type is either gap capacity, the server determines the initial product data of the first production line type and the second production line type within the target period based on the differential capacity of the first production line type and the differential capacity of the second production line type.
[0114] For example, the first production line type is ordinary bottle, and the second production line type is pure raw bottle. The ordinary bottle production line type can only produce ordinary bottled products, and the pure raw bottle production line type can produce both ordinary bottled products and pure raw bottled products. The differential capacity of ordinary bottles is the gap capacity, and the differential capacity of pure raw bottles is the surplus capacity. At this time, the pure raw bottle production line can be used to produce ordinary bottled products to a certain extent to make up for the gap of ordinary bottled products produced by the ordinary bottle production line. As shown in Table 7, the differential capacity of ordinary bottles is 4000KL, and the differential capacity of pure raw bottles is (-2000). The server determines that the initial product data of ordinary bottles in the target period in August is 2000KL, and the initial product data of pure raw bottles in the target period in August is 0KL.
[0115] Table 7 Initial product data for each production line type
[0116]
[0117] Optionally, the server may calculate the initial product data for each production line type within each target period. Figure 6 (a) shows the production volume to be produced in each month. Figure 6 As shown in (b), the initial product data (forward amount) of each month is moved to the previous target cycle. The initial product data of August is used as the forward amount and moved to the previous target cycle, so the original production volume in July plus the forward amount is used as the new production volume. The server compares the new production volume in July with the actual production capacity. If the new production volume is less than the actual production capacity, it means that July can complete both the original production volume and the forward amount in August. If the new production volume is greater than the actual production capacity, the server calculates the initial product data of July as the forward amount and moves it to the previous target cycle, that is, June, and so on, until a certain month can complete the production of both the original production volume and the forward amount, as shown in Table 8.
[0118] Table 8 Initial product data of each production line type under different target cycles
[0119]
[0120] In this embodiment, by calculating the initial product data of each production line within the target cycle according to the different production capacities of each production line under preset circumstances, the initial product data of each production line in each target cycle can also be obtained, and the advance amount of each production line in each target cycle can be accurately calculated, thereby improving the accuracy of the advance amount.
[0121] In an exemplary embodiment, Figure 7As shown, according to each initial product data, the target product data of each warehouse is determined, including steps S702 to S706. Among them:
[0122] Step S702: obtaining a set of first reference values and a set of second reference values.
[0123] The first reference value indicates the ratio of the initial product data to the inventory of the target supplier. The second reference value indicates the ratio of the intermediate product data to the inventory of each warehouse. There are at least two first reference values in a group. The number of warehouses corresponds to the number of second reference values in a group.
[0124] Optionally, before obtaining a set of first reference values and a set of second reference values. The server assigns a sku to each initial product data, and calculates the proportion of the assigned sku in the target supplier's inventory. Assume that the server calculates the proportion of skuA in the target supplier's inventory, calculates the proportion of skuB in the target supplier's inventory, and so on. As shown in Table 9, the target supplier is factory A, and the proportion of skuA in factory A's inventory is 50%. The proportion of skuB in factory A's inventory is 20%. The proportion of skuC in factory A's inventory is 17.5%. The proportion of skuD in factory A's inventory is 12.5%. Therefore, a set of first reference values can be (50%, 20%, 17.5%, 12.5%).
[0125] The server also calculates the ratio of the intermediate product data to the inventory of each warehouse. Assume that the server calculates the ratio of the first intermediate product data (sku is 50%) to each warehouse (warehouse A, warehouse B, warehouse C), (50%, 30%, 20%) is used as a set of second reference values; the server calculates the ratio of the second intermediate product data (sku is 20%) to each warehouse (warehouse A, warehouse B), (62.5%, 37.5%) can also be used as a set of second reference values; the server calculates the ratio of the third intermediate product data (sku is 17.5%) to each warehouse (warehouse B, warehouse C), (60%, 40%) can also be used as a set of second reference values; the server calculates the ratio of the third intermediate product data (sku is 12.5%) to each warehouse (warehouse C), (100%) can also be used as a set of second reference values.
[0126] Optionally, the server obtains a group of first reference values and a group of second reference values under each first reference value.
[0127] Step S704: determining each intermediate product data according to a set of first reference values and each initial product data.
[0128] Optionally, the server determines the intermediate product data (2000, 800, 700, 500) based on a set of first reference values such as (50%, 20%, 17.5%, 12.5%) and initial product data of a product in the target period, such as the initial product data of the general bottle line in May is 4000. The server multiplies the initial product data 4000 of the target period by a reference value such as (50%, 20%, 17.5%, 12.5%) respectively.
[0129] Step S706, determining the target product data of each warehouse according to each intermediate product data and the second reference value.
[0130] Optionally, the server determines the target product data of each warehouse based on each intermediate product data and a corresponding set of second reference values. For example, when the intermediate product data is 2000, the second reference value is (50%, 30%, 20%), the target product data corresponding to warehouse A is 1000, the target product data corresponding to warehouse B is 600, and the target product data corresponding to warehouse C is 400. Similarly, the server calculates the target product data of each warehouse when obtaining each intermediate product data.
[0131] Table 9 Target product data of each warehouse
[0132]
[0133] In this embodiment, the target product data of each warehouse within the target period is accurately determined by assigning SKU to the initial product data and presetting the first parameter value and the second parameter value. The target product data is used as a reference for the inventory data of each warehouse, which can improve the precision and accuracy of the inventory data of each warehouse, thereby reducing the waste of other resources in the supply chain.
[0134] In one embodiment, the server obtains the net demand of each product in each warehouse within the target period. The server obtains the first demand of each product in each warehouse within the target period, and determines the quantity to be produced of each product of the target supplier within the target period according to the first demand (net demand) of each product in each warehouse within the target period and the beginning inventory of each product of the target supplier. Among them, the first demand is determined based on the second demand within the target period, the safety stock of each warehouse within the target period, and the beginning inventory of each warehouse within the target period, and the second demand is determined based on the planned sales volume. The server determines the net demand of the product based on the second demand, safety stock, and beginning inventory of each product. Net demand of target product = max(second demand of target product + safety stock of target product - beginning inventory of target product, 0).
[0135] The server calculates the quantity to be produced for each product. For example, if the supply method is not considered and the net demand for the target product is greater than the initial inventory of the target product, the quantity to be produced for the target product = the net demand for the target product - the initial inventory of the target product. The target supplier is determined based on whether the supplier can produce by itself and the dumping path. If it can produce by itself, the self-producing factory will be used as the target supplier. If not, the factory with the highest dumping priority among the factories that can produce will be used as the target supplier. As shown in Table 1, the demand for the dumping of product B is a net demand of 1600 for warehouse A + warehouse C; the initial inventory of warehouse B is 1000, of which the self-demand is 500 and the safety inventory requires 200, so there are still 300 to be dumped. The specific formula for solving the quantity to be produced of product B is as follows: The quantity to be produced of product B = the net demand of warehouse A + the net demand of warehouse C - the remaining inventory of warehouse B = 1000 + 600 - (1000 - 500 - 200) = 1300KL.
[0136] The server obtains the production capacity of the production line type corresponding to each product of the target supplier within the target period. When the product produced is beer, the production line type is differentiated according to the different packaging forms of the produced products and whether it is a pure draft product, and the production line type is divided into five types: ordinary bottle, ordinary can, barrel line, pure draft bottle, and pure draft can. The server obtains the number of production hours corresponding to each of the production line types and the weighted production rate corresponding to each of the production line types; wherein the weighted production rate is determined based on the output of any product produced by the production line type as a proportion of the output of all products produced by the production line type; based on the production hours of the production line type and the corresponding weighted production rate, the production capacity of the production line type corresponding to each of the products is determined. The number of production hours of each of the production line types * the weighted production rate corresponding to each of the production line types = the production capacity of each of the production line types corresponding to the products.
[0137] The server obtains the production volume of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced production capacity. When the production capacity of the production line type corresponding to any product is less than the production volume of the product, it indicates that there is a capacity gap. Assume that within the target period, such as in May, the balanced production capacity of Factory A for the target supplier is 8000KL. As shown in Table 3, the production capacity of the barrel line corresponding to the barreled product is 1000KL, and the production volume corresponding to the barreled product is 200KL. The production capacity of the ordinary bottle corresponding to the ordinary bottled product is 5000KL, and the production volume corresponding to the ordinary bottled product is 6000KL. The production capacity of the ordinary can corresponding to the ordinary canned product is 6000KL, and the production volume corresponding to the ordinary canned product is 5000KL. Among them, the production capacity of the ordinary bottle corresponding to the ordinary bottled product is 5000KL, and the production volume corresponding to the ordinary bottled product is 6000KL, indicating that there is a capacity gap. The server follows the priority order of the production line types. Assuming that the priority order of the production line types is barrels>bottles>cans, the balanced capacity of factory A of supplier A is 8000KL, as shown in Table 6. The first product is a barreled product. The first production line type corresponding to the barreled product is the barrel line. The capacity of the barrel line is 1000KL, and the amount to be produced is 200KL. The server selects the smallest amount from (the capacity of the barrel line is 1000KL, the amount to be produced is 200KL, and the balanced capacity is 8000KL) as the actual production capacity of the barrel line corresponding to the barreled product, which is 200KL. The server uses the difference between the balanced capacity of 8000KL and the actual production capacity of the barrel line of 200KL as the new balanced capacity of 7800KL. Since the priority of ordinary_bottle is greater than that of ordinary_can, the server will calculate the actual production capacity of the production line type ordinary_bottle. The production capacity of the ordinary bottled product corresponding to the production line type ordinary_bottle is 5000KL, the corresponding production volume to be produced for the ordinary bottled product is 6000KL, and the new balanced capacity is 7800KL. The server selects the minimum amount as the actual available capacity of the ordinary_bottle corresponding to the production line type ordinary_bottle for the ordinary bottled product, which is 5000KL. The new balanced capacity is 7800KL-5000KL=2800KL. The server continues to obtain the ordinary_can capacity of 6000KL corresponding to the ordinary canned product with a low priority, the corresponding production volume to be produced for the ordinary canned product is 5000KL, and the new balanced capacity is 2800KL. The server selects the minimum amount from the ordinary_can capacity of 6000KL corresponding to the ordinary canned product, the corresponding production volume to be produced for the ordinary canned product is 5000KL, and the new balanced capacity is 2800KL as the actual available capacity of 2800KL of the ordinary_can corresponding to the ordinary canned product.
[0138] The server determines the difference between the actual producible quantity of the limited production type corresponding to each product and the quantity to be produced of each product as the differential capacity. When the differential capacity value is greater than 0, the type of differential capacity is the gap capacity; when the differential capacity value is less than 0, the type of differential capacity is the surplus capacity. For example, the first production line type is ordinary bottle, and the second production line type is pure draft bottle. The server determines the differential capacity of ordinary bottle according to the actual producible quantity of ordinary bottle corresponding to ordinary bottled products and the quantity to be produced of ordinary bottled products. The differential capacity of pure draft bottle is determined according to the actual producible quantity of pure draft bottle corresponding to pure draft bottled products and the quantity to be produced of pure draft bottled products. Ordinary bottle can only produce ordinary bottled products, and pure draft bottle can produce both pure draft bottled products and ordinary bottled products. That is, both ordinary bottle and pure draft bottle production line types can produce ordinary bottled products. In the case where the first production line type and the second production line type produce the same type of product, and the differential capacity of the ordinary bottle (4000KL) and the differential capacity of the pure draft bottle (-2000KL) are different, the server determines the initial product data of the ordinary bottle and the pure draft bottle in the target period based on the differential capacity of the ordinary bottle and the differential capacity of the pure draft bottle. The initial product data of the ordinary bottle = the differential capacity of the ordinary bottle 4000KL + the differential capacity of the pure draft bottle (-2000KL); the initial product data of the pure draft bottle = 0. As shown in Table 7.
[0139] The server can calculate the initial product data of each production line type within each target cycle. If the target cycle is August, the server will use the initial product data of August as the advance amount and move it to the previous target cycle, that is, July; then the original production volume in July plus the advance amount will be used as the new production volume. The server compares the new production volume in July with the actual production capacity. If the new production volume is less than the actual production capacity, it means that July can complete both the original production volume and the advance amount in August. If the new production volume is greater than the actual production capacity, the server will calculate the initial product data of July as the advance amount and move it to the previous target cycle, that is, June, and so on, until a certain month can complete the production of both the original production volume and the advance amount, as shown in Table 8.
[0140] Before obtaining a set of first reference values and a set of second reference values. The server assigns a sku to each initial product data, and calculates the proportion of the assigned sku in the target supplier's inventory. Assume that the server calculates the proportion of skuA in the target supplier's inventory, calculates the proportion of skuB in the target supplier's inventory, and so on, as shown in Table 9, the target supplier is factory A, and the proportion of skuA in factory A's inventory is 50%. The proportion of skuB in factory A's inventory is 20%. The proportion of skuC in factory A's inventory is 17.5%. The proportion of skuD in factory A's inventory is 12.5%. Therefore, a set of first reference values can be (50%, 20%, 17.5%, 12.5%).
[0141] The server also calculates the ratio of the intermediate product data to the inventory of each warehouse. Assume that the server calculates the ratio of the first intermediate product data (sku is 50%) to each warehouse (warehouse A, warehouse B, warehouse C), (50%, 30%, 20%) is used as a set of second reference values; the server calculates the ratio of the second intermediate product data (sku is 20%) to each warehouse (warehouse A, warehouse B), (62.5%, 37.5%) can also be used as a set of second reference values; the server calculates the ratio of the third intermediate product data (sku is 17.5%) to each warehouse (warehouse B, warehouse C), (60%, 40%) can also be used as a set of second reference values; the server calculates the ratio of the third intermediate product data (sku is 12.5%) to each warehouse (warehouse C), (100%) can also be used as a set of second reference values.
[0142] The server obtains a set of first reference values and a set of second reference values under each first reference value. The server obtains the initial product data of a product in the target period based on a set of first reference values such as (50%, 20%, 17.5%, 12.5%), such as the initial product data of the ordinary bottle line in May is 4000. The server determines the intermediate product data (2000, 800, 700, 500) by multiplying the initial product data 4000 of the target period by a reference value such as (50%, 20%, 17.5%, 12.5%). When the intermediate product data is 2000, the second reference value is (50%, 30%, 20%), the target product data corresponding to warehouse A is 1000, the target product data corresponding to warehouse B is 600, and the target product data corresponding to warehouse C is 400. Similarly, the server calculates the target product data of each warehouse when obtaining each intermediate product data, as shown in Table 8. Each warehouse can achieve precise stocking according to the target product data as the advance stocking quantity, thereby minimizing the waste of resources in the supply chain.
[0143] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0144] Based on the same inventive concept, the embodiment of the present application also provides a product data processing device for implementing the product data processing method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more product data processing device embodiments provided below can refer to the limitations of the product data processing method above, and will not be repeated here.
[0145] In an exemplary embodiment, Figure 8 As shown, a product data processing device is provided, including: an acquisition module 801, an actual production capacity determination module 802, an initial product data determination module 803 and a target product data determination module 804, wherein:
[0146] The acquisition module 801 is used to acquire the production quantity of each product of the target supplier within the target period, the production capacity of the production line type corresponding to each product, and the balanced capacity, wherein the balanced capacity is the bottleneck capacity of the target supplier within the target period; the production quantity of each product is determined based on the quantity of each product in each warehouse;
[0147] The actual capacity determination module 802 is used to determine the actual capacity of each production line type within the target period according to the priority order of the production line types, based on the capacity of each production line type, the quantity to be produced of each product, and the balanced capacity, when the capacity of the production line type corresponding to any product is less than the quantity to be produced of the product;
[0148] The initial product data determination module 803 is used to determine the initial product data of each production line type within the target period according to the actual production capacity of the product and the amount of each product to be produced;
[0149] The target product data determination module 804 is used to determine the target product data of each warehouse based on each initial product data.
[0150] In an exemplary embodiment, the initial product data determination module 803 includes:
[0151] The differential capacity unit is used to determine the differential capacity based on the actual capacity of products of each production line type and the amount of each product to be produced.
[0152] The initial product data determination unit is used to determine the initial product data of each production line type within the target cycle according to the differential capacity.
[0153] In an exemplary embodiment, the production line type includes a first production line type and a second production line type; wherein the first product corresponds to the first production line type, and the second product corresponds to the second production line type; the actual capacity determination module 802 includes:
[0154] The first actual production volume determination unit is used to select the smallest volume from the production capacity of the first production line type corresponding to the first product, the to-be-produced volume of the first product and the balanced production capacity as the actual producible volume of the first production line type corresponding to the first product.
[0155] The balanced capacity determination unit is used to determine a new balanced capacity based on the balanced capacity and the actual producible quantity of the first production line type corresponding to the first product.
[0156] The second actual production volume determination unit is used to select the smallest quantity from the production capacity of the second production line type corresponding to the second product, the quantity to be produced of the second product and the new balanced production capacity as the actual producible quantity of the second production line type corresponding to the second product.
[0157] In an exemplary embodiment, the differential capacity unit is further used to: determine the differential capacity of the first production line type according to the actual producible quantity of the first production line type corresponding to the first product and the quantity to be produced of the first product. Determine the differential capacity of the second production line type according to the actual producible quantity of the second production line type corresponding to the second product and the quantity to be produced of the second product.
[0158] The initial product data determination unit is further used to determine the initial product data of each production line type within the target cycle according to the differential capacity of the first production line type and the differential capacity of the second production line type.
[0159] In an exemplary embodiment, the types of differential capacity include surplus capacity and gap capacity; the initial product data determination unit is also used to: when the first production line type and the second production line type produce the same type of products, and the types of differential capacity of the first production line type and the differential capacity of the second production line type are different, determine the initial product data of the first production line type and the second production line type within the target period based on the differential capacity of the first production line type and the differential capacity of the second production line type.
[0160] In an exemplary embodiment, the target product data determination module 804 includes:
[0161] A reference value acquisition unit is used to acquire a set of first reference values, wherein the first reference value indicates the ratio of the initial product data to the inventory of the target supplier; and to acquire a set of second reference values, wherein the second reference value indicates the ratio of the intermediate product data to the inventory of each warehouse.
[0162] The intermediate product data determining unit is used to determine each intermediate product data according to a set of first reference values and each initial product data.
[0163] The target product data determination unit is used to determine the target product data of each warehouse according to each intermediate product data and the second reference value.
[0164] Each module in the above-mentioned product data processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0165] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store product data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a product data processing method is implemented.
[0166] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0167] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0168] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0169] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0170] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0171] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0172] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A product data processing method, characterized in that: The method comprises: Obtaining the quantity to be produced of each product of the target supplier within the target period, the capacity of the production line type corresponding to each of the products, and the balanced capacity, wherein the balanced capacity is the bottleneck capacity of the target supplier within the target period; the quantity to be produced of each product is determined based on the quantity of each of the products in each warehouse; When the capacity of the production line type corresponding to any of the products is less than the quantity to be produced of the product, the actual capacity of the products of each production line type within the target period is determined according to the priority order of the production line types, based on the capacity of each production line type, the quantity to be produced of each product and the balanced capacity; Determine the initial product data of each production line type within the target period according to the actual production capacity of the product and the to-be-produced quantity of each product; The target product data of each warehouse is determined according to each of the initial product data.
2. The method according to claim 1, characterized in that The determining of the initial product data of each production line type within the target period according to the actual production capacity of the product and the to-be-produced quantity of each product includes: Determine differential capacity according to the actual capacity of the products of each production line type and the quantity to be produced of each product; Based on the differential capacity, initial product data for each of the production line types within a target period is determined.
3. The method according to claim 2, characterized in that The production line types include a first production line type and a second production line type; wherein the first product corresponds to the first production line type, and the second product corresponds to the second production line type; and determining the actual production capacity of the products of each production line type within the target period according to the priority order of the production line types, based on the production capacity of each production line type, the quantity to be produced of each product, and the balanced production capacity, includes: Selecting a minimum amount from the production capacity of the first production line type corresponding to the first product, the to-be-produced amount of the first product, and the balanced production capacity as the actual producible amount of the first production line type corresponding to the first product; Determining a new balanced capacity based on the balanced capacity and the actual producible quantity of the first production line type corresponding to the first product; The smallest quantity is selected from the production capacity of the second production line type corresponding to the second product, the quantity to be produced of the second product and the new balanced production capacity as the actual producible quantity of the second production line type corresponding to the second product.
4. The method according to claim 3, characterized in that The determining of the differential capacity according to the actual capacity of the products of each production line type and the to-be-produced quantity of each product includes: Determine the differential capacity of the first production line type according to the actual producible quantity of the first production line type corresponding to the first product and the to-be-produced quantity of the first product; Determine the differential capacity of the second production line type according to the actual producible quantity of the second production line type corresponding to the second product and the to-be-produced quantity of the second product; The determining, according to the differential capacity, the initial product data of each production line type within the target period includes: According to the differential capacity of the first production line type and the differential capacity of the second production line type, initial product data of each of the production line types within a target period is determined.
5. The method according to claim 4, characterized in that The types of differential capacity include surplus capacity and gap capacity; and determining the initial product data of each production line type within the target period according to the differential capacity of the first production line type and the differential capacity of the second production line type includes: When the first production line type and the second production line type produce the same type of products, and the differential capacity of the first production line type and the differential capacity of the second production line type are of different types, initial product data of the first production line type and the second production line type within the target cycle are determined based on the differential capacity of the first production line type and the differential capacity of the second production line type.
6. The method according to claim 1, characterized in that Determining target product data of each warehouse according to each of the initial product data includes: Obtaining a set of first reference values; wherein the first reference values indicate a ratio of the initial product data to the inventory of the target supplier; Determine each intermediate product data according to the set of first reference values and each initial product data; Obtaining a set of second reference values; wherein the second reference values indicate a ratio of the intermediate product data to the inventory of each of the warehouses; The target product data of each warehouse is determined according to each of the intermediate product data and the second reference value.
7. A product data processing device, characterized in that: The device comprises: An acquisition module is used to acquire the quantity to be produced of each product of the target supplier within the target period, the capacity of the production line type corresponding to each of the products, and the balanced capacity, wherein the balanced capacity is the bottleneck capacity of the target supplier within the target period; the quantity to be produced of each product is determined based on the quantity of each product in each warehouse; An actual capacity determination module is used to determine the actual capacity of the products of each production line type within the target period according to the priority order of the production line types, based on the capacity of each production line type, the amount of products to be produced and the balanced capacity, when the capacity of the production line type corresponding to any of the products is less than the amount of products to be produced; An initial product data determination module, used to determine the initial product data of each production line type within a target period according to the actual production capacity of the product and the to-be-produced quantity of each product; The target product data determination module is used to determine the target product data of each warehouse according to each of the initial product data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
