Method and device for determining the quantity of goods purchased
The method and device address the challenge of determining purchase quantities for converted SKUs by calculating revenue and cost, ensuring efficient inventory management and profit maximization using historical sales data and conversion relationships.
Patent Information
- Application Number
- CN201811121939.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-26
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2038-09-26
AI Technical Summary
Existing methods fail to determine the purchase quantity of purchasing SKUs when they need to be converted into selling SKUs, leading to inefficiencies in inventory management, particularly in fresh food stores where one purchasing SKU can be processed into multiple selling SKUs.
A method and device that determine the purchase quantity by calculating revenue and purchase cost from sales items converted from material items, using historical sales data and material conversion relationships to maximize profit.
Enables reasonable determination of purchase quantities while ensuring maximum profit by analyzing historical sales data and material conversion relationships, optimizing inventory management.
Smart Images

Figure CN110956478B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for determining the purchase quantity of items. Background Art
[0002] At present, the purchase quantity of each SKU (Stock keeping unit, which refers to a product in the e-commerce field) of fresh food stores in the retail industry is generally estimated based on the historical sales of the SKU. In general, the selling SKU and the purchasing SKU are the same, so this method can be used. However, in the case where the selling SKU and the purchasing SKU are different, for example: when the purchasing SKU needs to be converted into a BOM (Bill of Material) and processed into a selling SKU through some processing methods, it is possible that one purchasing SKU will be processed into multiple selling SKUs. In this case, there is no way to directly guide the purchase quantity of the purchasing SKU through the sales volume of the selling SKU. Therefore, a method is needed to determine the reasonable purchase quantity when material conversion is required. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method and device for determining the purchase quantity of items, which can reasonably determine the purchase quantity when material conversion is required, and at the same time, maximize profits.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for determining the purchase quantity of items is provided.
[0005] A method for determining the purchase quantity of items, comprising: determining the income of sales items converted from material items; determining the purchase cost of the material items and the sales items; and determining the purchase quantity of the material items and the sales items based on the income and the purchase cost.
[0006] Optionally, determining the revenue of the sales items converted from the material items includes: calculating the revenue according to the sales volume of the sales items and the unit price of the sales items in a unit time.
[0007] Optionally, the sales volume of the item for sale is obtained by the following steps: determining the mean and variance of the sales volume of the item for sale per unit time based on the sales data within a historical time period of a preset length to obtain the sales distribution of the item for sale; determining an expected value of the sales distribution of the item for sale based on the sales distribution of the item for sale and the pre-acquired salable quantity of the item for sale, and using the expected value of the sales distribution as the sales volume of the item for sale.
[0008] Optionally, the salable quantity of the sale item includes: the salable quantity of the sale item converted from the material item, and the separate purchase quantity of the sale item.
[0009] Optionally, the salable quantity of the selling item obtained by converting the material item is obtained according to a pre-stated material conversion relationship and a purchase quantity of the material item, wherein the material conversion relationship represents a conversion relationship between the material item and the selling item.
[0010] Optionally, determining the purchase quantity of the material items and the sales items according to the revenue and the purchase cost includes: obtaining a profit according to the revenue and the purchase cost; and determining the purchase quantity of the material items and the sales items according to a profit maximization rule.
[0011] According to another aspect of an embodiment of the present invention, a device for determining an incoming quantity of items is provided.
[0012] A device for determining the purchase quantity of items, comprising: an income determination module, used to determine the income of sales items converted from material items; a cost determination module, used to determine the purchase cost of the material items and the sales items; and a purchase quantity determination module, used to determine the purchase quantity of the material items and the sales items based on the income and the purchase cost.
[0013] Optionally, the income determination module is further used to calculate the income based on the sales volume of the sold items and the unit price of the sold items in a unit time.
[0014] Optionally, the sales volume of the item for sale is obtained by the following steps: determining the mean and variance of the sales volume of the item for sale per unit time based on the sales data within a historical time period of a preset length to obtain the sales distribution of the item for sale; determining an expected value of the sales distribution of the item for sale based on the sales distribution of the item for sale and the pre-acquired salable quantity of the item for sale, and using the expected value of the sales distribution as the sales volume of the item for sale.
[0015] Optionally, the salable quantity of the sale item includes: the salable quantity of the sale item converted from the material item, and the separate purchase quantity of the sale item.
[0016] Optionally, the salable quantity of the selling item obtained by converting the material item is obtained according to a pre-stated material conversion relationship and a purchase quantity of the material item, wherein the material conversion relationship represents a conversion relationship between the material item and the selling item.
[0017] Optionally, the purchase quantity determination module is further used to: obtain profit according to the income and the purchase cost; and determine the purchase quantity of the material items and the sales items according to the profit maximization rule.
[0018] According to yet another aspect of an embodiment of the present invention, an electronic device for determining an incoming quantity of items is provided.
[0019] An electronic device for determining the quantity of goods purchased, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the quantity of goods purchased provided by an embodiment of the present invention.
[0020] According to still another aspect of the embodiments of the present invention, a computer readable medium is provided.
[0021] A computer readable medium stores a computer program, which, when executed by a processor, implements a method for determining a purchase quantity of items provided in an embodiment of the present invention.
[0022] An embodiment of the above invention has the following advantages or beneficial effects: by separately determining the revenue of sales items obtained by converting material items, and the purchase cost of material items and sales items, and then determining the purchase quantity of material items and sales items based on the revenue and purchase cost, it is possible to reasonably determine the purchase quantity when material conversion is required; by analyzing and calculating the material conversion relationship, historical sales data and purchase cost, it is possible to reasonably determine the purchase quantity while ensuring maximum profit.
[0023] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0025] Figure 1 is a schematic diagram of main steps of a method for determining the purchase quantity of items according to an embodiment of the present invention;
[0026] Figure 2 is a schematic diagram of main modules of a device for determining the incoming quantity of items according to an embodiment of the present invention;
[0027] Figure 3 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0028] Figure 4 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0030] The present invention solves the purchase volume of material items and sales items under the premise of maximizing profits. Among them, material items refer to items that cannot be sold directly but can be sold after material conversion; sales items refer to items that can be sold directly. For example: For some fresh food stores, 90 kg of half a pig (material item) purchased may be processed (material conversion) into 20 kg of ribs, 30 kg of pig's trotters and 40 kg of pork, etc., which can be sold directly (sales items). Since half a pig cannot be sold directly in general, it is only used as a material item. It should be understood that sales items can be obtained by converting material items or by directly purchasing them.
[0031] According to an embodiment of the present invention, to achieve profit maximization, it is necessary to first calculate the profit, which is determined by revenue and purchase cost. Therefore, the corresponding purchase quantity in a replenishment cycle can be obtained by calculating the revenue, purchase cost and profit in a unit time. The unit time is, for example, one day, one week or one replenishment cycle.
[0032] Figure 1 Schematic diagram of the main steps of the method for determining the quantity of goods purchased according to an embodiment of the present invention. Figure 1 As shown, the method for determining the purchase quantity of items in the embodiment of the present invention mainly includes the following steps S101 to S103.
[0033] Step S101: determining the income from selling items converted from material items;
[0034] Step S102: Determine the purchase cost of material items and sales items;
[0035] Step S103: Determine the purchase quantity of material items and sales items according to the income and purchase cost.
[0036] According to one embodiment of the present invention, step S101 can calculate the income according to the sales volume of the sold items in a unit time and the unit price of the sold items, that is, income = sales volume of the sold items * unit price. Here, the unit price of the sold items can be the average of the unit prices in a unit time (for example, a replenishment cycle). There can be multiple types of sold items obtained after the material items are converted, and each type of sold items can include multiple items. When calculating the income, the income of each type of sold item can be calculated separately, and then summed to obtain the income of all sold items converted from the material items.
[0037] According to an embodiment of the present invention, the sales volume of the sold items may be obtained by the following steps:
[0038] Determine the mean and variance of the sales volume per unit time of the sold item based on the sales volume data within a historical time period of a preset length, so as to obtain the sales volume distribution of the sold item;
[0039] An expected value of the sales distribution of the selling item is determined according to the sales distribution of the selling item and the pre-acquired salable quantity of the selling item, and the expected value of the sales distribution is used as the sales volume of the selling item.
[0040] In specific implementation, the preset length of the historical time period can be flexibly set according to the actual situation. For example, the latest 60 days can be set as the preset historical time period. In the embodiment of the present invention, assuming that the sales volume of the sold items follows a normal distribution, by obtaining the sales volume data in the latest 60 days, the historical sales volume data corresponding to the sold items converted from the material items can be determined. Then, the mean and variance of the sales volume per unit time of the sold items can be calculated based on the historical sales volume data. In the embodiment of the present invention, the unit time is one day. Specifically, the sales volume mean μ k It can be calculated according to the following formula (1): It can be calculated according to the following formula (2):
[0041]
[0042]
[0043] Where x represents the historical sales volume per day, and n=60.
[0044] By calculating the mean and variance of the sales volume per unit time, we can get the sales volume distribution D of the sold items. k , and D k Follows normal distribution N(μ k , ). After that, the expected value of the sales distribution of the sold items will be calculated. Since the expected value can reflect the size of the average value of the random variable, the expected value of the sales distribution can be approximated as the sales volume of the sold items. Sales Distribution D kThe calculation formula (3) of the expected value is as follows:
[0045]
[0046] Among them, the probability density function
[0047] Distribution by sales volume D k From the calculation formula (3) of the expected value of sales distribution, we can see that to calculate the expected value of sales distribution, we also need to obtain the integral upper limit r in formula (3) k In an embodiment of the present invention, r k Refers to the available quantity of the item being sold.
[0048] The salable quantity of the sale items may include two parts: the salable quantity of the sale items obtained by converting the material items, and the separate purchase quantity of the sale items. Among them, the salable quantity of the sale items obtained by converting the material items can be obtained based on the pre-stated material conversion relationship and the purchase quantity of the material items, wherein the material conversion relationship represents the conversion relationship between the material items and the sale items. Therefore, to calculate the salable quantity of the sale items, the material conversion relationship must be obtained first. The material conversion relationship can be obtained by analyzing the material conversion data recorded in the daily business processing process. Assume that the material conversion relationship obtained after analyzing the material conversion data recorded in the daily business processing process is shown in Table 1.
[0049] Table 1
[0050] Material Item SKU SKU of the converted item Conversion ratio SKU1 SKU2 1 SKU1 SKU3 3 SKU1 SKU4 2
[0051] It can be seen from Table 1 that one material item SKU1 can be split into one selling item SKU2, three selling item SKU3s and two selling item SKU4s through material conversion.
[0052] Then, for each selling item obtained after the material item SKU1 is converted, its saleable quantity can be calculated according to the following formula (4):
[0053] r k (B,Q k )=B·q k +Q k ; (4)
[0054] Among them, r k represents the saleable quantity of the item being sold; B represents the purchase quantity of the material item (i.e., one of the purchase quantity values that need to be solved), which is an integer; q k Represents the number of sales items obtained by converting each material item, obtained based on the material conversion relationship; Q kRepresents the single purchase quantity of the item being sold (i.e., one of the purchase quantity values that need to be solved), which is an integer.
[0055] Specifically, taking the material conversion relationship shown in Table 1 as an example, for the selling item SKU2, in formula (4), r k represents the available quantity of SKU2; B represents the purchase quantity of SKU1; q k Indicates the number of SKU2s obtained by splitting each SKU1. Here, q k =1;Q k Indicates the single purchase quantity of SKU2.
[0056] The salable quantity of each item for sale can be calculated by formula (4), and then the expected value of the sales distribution of each item for sale can be calculated according to formula (3), thereby obtaining the sales volume of each item for sale. In the introduction of the embodiments of the present invention, the salable quantity, sales volume, etc. mentioned are all corresponding data within a unit of time.
[0057] After that, the income from selling items converted from material items can be calculated. The income R can be calculated according to the following formula (5):
[0058]
[0059] in, Representative sales distribution D k The expected value of each item sold; r k Represents the saleable quantity of the sales item converted from the material item; p k Represents the unit price of the unit selling items; K represents the number of types of selling items converted from material items.
[0060] When executing step S102 to determine the purchase cost of material items and sales items, it is also necessary to consider the purchase cost of various sales items converted from material items. Specifically, the calculation formula (6) of the purchase cost C is as follows:
[0061]
[0062] Where B represents the purchase quantity of the material item, which is an integer; c B Represents the purchase price of the material item; Q k Represents the individual purchase quantity of each item sold, as an integer; c k represents the unit price of each selling item when it is purchased separately, and K represents the number of types of selling items converted from material items.
[0063] Finally, step S103 can be executed to determine the purchase quantity of material items and sales items based on the income and purchase cost. Specifically, first, the profit is obtained based on the income and purchase cost; then, the purchase quantity of material items and sales items is determined based on the profit maximization rule.
[0064] According to formula (5) and formula (6), the calculation formula (7) of profit can be obtained as follows:
[0065]
[0066] Among them, R represents revenue and C represents purchase cost.
[0067] In order to achieve the goal of maximizing profits, we can use formula (7) to calculate the purchase quantity B of the material items and the individual purchase quantity Q of each item sold. k Derivative and then extreme value method is used to determine the purchase quantity B of material items and the individual purchase quantity Q of each item sold. k .
[0068] Figure 2 Schematic diagram of the main modules of the device for determining the quantity of goods purchased according to an embodiment of the present invention. Figure 2 As shown, the device 200 for determining the purchase quantity of goods in the embodiment of the present invention mainly includes an income determination module 201, a cost determination module 202 and a purchase quantity determination module 203.
[0069] The revenue determination module 201 is used to determine the revenue of the sold items converted from the material items;
[0070] The cost determination module 202 is used to determine the purchase cost of material items and sales items;
[0071] The purchase quantity determination module 203 is used to determine the purchase quantity of material items and sales items according to the income and purchase cost.
[0072] According to one embodiment of the present invention, the income determination module 201 may also be used to:
[0073] Income is calculated based on the sales volume and unit price of items sold per unit time.
[0074] According to an embodiment of the present invention, the sales volume of the sold items may be obtained by the following steps:
[0075] Determine the mean and variance of the sales volume per unit time of the sold item based on the sales volume data within a historical time period of a preset length, so as to obtain the sales volume distribution of the sold item;
[0076] An expected value of the sales distribution of the selling item is determined according to the sales distribution of the selling item and the pre-acquired salable quantity of the selling item, and the expected value of the sales distribution is used as the sales volume of the selling item.
[0077] In an embodiment of the present invention, the salable quantity of the selling item includes: the salable quantity of the selling item converted from the material item, and the separate purchase quantity of the selling item.
[0078] Specifically, the saleable quantity of the sales items converted from the material items is obtained according to the pre-stated material conversion relationship and the purchase quantity of the material items, wherein the material conversion relationship represents the conversion relationship between the material items and the sales items.
[0079] According to another embodiment of the present invention, the purchase quantity determination module 203 may also be used to:
[0080] Get profit based on revenue and purchase cost;
[0081] Determine the purchase quantity of material items and sales items based on the rule of profit maximization.
[0082] According to the technical solution of the embodiment of the present invention, by separately determining the income from the sales items converted from material items and the purchase costs of the material items and the sales items, and then determining the purchase quantities of the material items and the sales items based on the income and the purchase costs, it is possible to reasonably determine the purchase quantity when material conversion is required; by analyzing and calculating the material conversion relationship, historical sales data and purchase costs, it is possible to reasonably determine the purchase quantity while ensuring maximum profit.
[0083] Figure 3 An exemplary system architecture 300 is shown in which the method for determining the incoming stock quantity of items or the apparatus for determining the incoming stock quantity of items according to the embodiments of the present invention can be applied.
[0084] like Figure 3 As shown, the system architecture 300 may include terminal devices 301, 302, 303, a network 304 and a server 305. The network 304 is used to provide a medium for communication links between the terminal devices 301, 302, 303 and the server 305. The network 304 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0085] Users can use terminal devices 301, 302, 303 to interact with server 305 through network 304 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 301, 302, 303, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0086] The terminal devices 301 , 302 , and 303 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0087] The server 305 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 301, 302, and 303. The backend management server may analyze and process the received product information query request and other data, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0088] It should be noted that the method for determining the item purchase quantity provided in the embodiment of the present invention is generally executed by the server 305 , and accordingly, the device for determining the item purchase quantity is generally disposed in the server 305 .
[0089] It should be understood that Figure 3 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0090] Reference below Figure 4 , which shows a schematic diagram of the structure of a computer system 400 of a terminal device or a server suitable for implementing an embodiment of the present invention. Figure 4 The terminal device or server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0091] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the system 400 are also stored. The CPU 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0092] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
[0093] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit (CPU) 401, the above-mentioned functions defined in the system of the present invention are executed.
[0094] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0095] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0096] The units or modules involved in the embodiments of the present invention may be implemented in software or hardware. The units or modules described may also be set in a processor, for example, it may be described as: a processor includes a revenue determination module, a cost determination module, and a purchase quantity determination module. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves, for example, the revenue determination module may also be described as "a module for determining the revenue of the sales items converted from the material items".
[0097] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: determining the income of the sales item converted from the material item; determining the purchase cost of the material item and the sales item; and determining the purchase quantity of the material item and the sales item based on the income and the purchase cost.
[0098] According to the technical solution of the embodiment of the present invention, by separately determining the income from the sales items converted from material items and the purchase costs of the material items and the sales items, and then determining the purchase quantities of the material items and the sales items based on the income and the purchase costs, it is possible to reasonably determine the purchase quantity when material conversion is required; by analyzing and calculating the material conversion relationship, historical sales data and purchase costs, it is possible to reasonably determine the purchase quantity while ensuring maximum profit.
[0099] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for determining the quantity of goods to be purchased. It is characterized in that include: Determine the revenue from the sale of items converted from material items; Determine the purchase cost of the material items and the sales items; Determine the purchase quantity of the material items and the sales items according to the income and the purchase cost; Determining the income of the sales items converted from the material items includes: calculating the income according to the sales volume of the sales items and the unit price of the sales items in a unit time; The sales volume of the sold item is obtained by the following steps: determining the sales volume mean and variance of the sold item per unit time according to the sales volume data in a historical time period of a preset length, so as to obtain the sales volume distribution of the sold item; determining the expected value of the sales volume distribution of the sold item according to the sales volume distribution of the sold item and the pre-acquired salable quantity of the sold item, and using the expected value of the sales volume distribution as the sales volume of the sold item; The salable quantity of the sale items includes: the salable quantity of the sale items obtained by converting the material items, and the separate purchase quantity of the sale items; the salable quantity of the sale items obtained by converting the material items is obtained based on the pre-stated material conversion relationship and the purchase quantity of the material items, wherein the material conversion relationship represents the conversion relationship between the material items and the sale items, and the conversion relationship is a conversion ratio; the material conversion relationship is obtained by analyzing the material conversion data recorded in the daily business processing process.
2. The method according to claim 1, It is characterized in that Determining the purchase quantity of the material items and the sales items according to the income and the purchase cost includes: Obtaining profit based on the revenue and the purchase cost; The purchase quantity of the material items and the sales items is determined according to the profit maximization rule.
3. A device for determining the quantity of goods received, It is characterized in that include: Revenue determination module, used to determine the revenue of sold items converted from material items; A cost determination module, used to determine the purchase cost of the material items and the sold items; A purchase quantity determination module, used to determine the purchase quantity of the material items and the sales items according to the income and the purchase cost; The income determination module is further used to: calculate the income according to the sales volume of the sold items and the unit price of the sold items in a unit time; The sales volume of the sold item is obtained by the following steps: determining the sales volume mean and variance of the sold item per unit time according to the sales volume data in a historical time period of a preset length, so as to obtain the sales volume distribution of the sold item; determining the expected value of the sales volume distribution of the sold item according to the sales volume distribution of the sold item and the pre-acquired salable quantity of the sold item, and using the expected value of the sales volume distribution as the sales volume of the sold item; The salable quantity of the sale items includes: the salable quantity of the sale items obtained by converting the material items, and the separate purchase quantity of the sale items; the salable quantity of the sale items obtained by converting the material items is obtained based on the pre-stated material conversion relationship and the purchase quantity of the material items, wherein the material conversion relationship represents the conversion relationship between the material items and the sale items, and the conversion relationship is a conversion ratio; the material conversion relationship is obtained by analyzing the material conversion data recorded in the daily business processing process.
4. The device according to claim 3, It is characterized in that The purchase quantity determination module is also used for: Obtaining profit based on the revenue and the purchase cost; The purchase quantity of the material items and the sales items is determined according to the profit maximization rule.
5. An electronic device for determining the quantity of goods received, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-2.
6. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.
