Cost analysis method and related device

By obtaining the set of pig breeding costs, calculating the sampling cost index and drawing a cost index curve, the problem of low cost analysis accuracy in the pig production process is solved, and an accurate analysis of changes in pig breeding costs is achieved, and a strategic adjustment and profit and loss assessment of breeding entities are supported.

CN120106918APending Publication Date: 2025-06-06AISINO CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311665994.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-06
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The cost analysis rate in the pig production process is low, which affects the market forecast and pricing decisions of breeding entities.

Method used

By obtaining the cost set of target breeding objects, calculating the sampling cost index, and obtaining the breeding cost index based on the weight, drawing a cost index curve, and analyzing the changing trend of pig breeding costs.

Benefits of technology

It improves the accuracy of analysis of fluctuations in pig breeding costs, helps breeding entities to adjust their production strategies in a timely manner, evaluate profit and loss, and avoid sales difficulties or profit losses caused by excessive or low prices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120106918A_ABST
    Figure CN120106918A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a cost analysis method and a related device, and relates to the technical field of data analysis. In the application, a server obtains a cost set of a target breeding object in a current period, calculates a corresponding sampling cost index for each sampling cost included in each cost subset, and obtains a breeding cost index in the current period based on the sampling cost index corresponding to each sampling cost and a weight corresponding to each sampling cost. And obtaining a cost index curve based on the breeding cost indexes of the plurality of periods. Through a cost index analysis algorithm, various cost data in the live pig breeding process are analyzed, so that agricultural producers can adjust production strategies in time, determine reasonable live pig prices and evaluate profit and loss conditions, and the problem of sales difficulty or profit loss caused by too high or too low prices is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data analysis, and in particular to a cost analysis method and related devices. Background Art

[0002] In recent years, pork prices have fluctuated frequently, and the fluctuation of pig prices is directly related to the interests of pig farmers. As the main output of pig farming, the price of fattening pigs is directly related to the input costs of pig farmers. Reasonable analysis of various cost data in the pig farming process will help farmers adjust production strategies in a timely manner, and at the same time better conduct market forecasting and pricing, which will effectively reduce the operating risks faced by pig farmers.

[0003] However, with the improvement of people's living standards and changes in consumption concepts, changes in the production environment, and the involvement of multiple parties in the production, processing, circulation and other links of the pig supply chain, the phenomenon has become increasingly prominent. Due to the changes in pig market demand, changes in the pig production environment, the complexity of the pig supply chain and the need for pig quality and safety supervision, the accuracy of cost analysis in the pig production process is generally low under relevant technologies. Summary of the invention

[0004] The present application provides a cost analysis method and related devices to improve the accuracy of pig farming cost fluctuation analysis.

[0005] In a first aspect, an embodiment of the present application provides a cost analysis method, the method comprising:

[0006] Obtain the cost set of the target breeding object in the current period, and the cost set contains multiple cost subsets;

[0007] For each sampling cost included in each cost subset, the corresponding sampling cost index is calculated. The sampling cost index represents: the change of sampling cost in the current period relative to the historical sampling cost in the base period;

[0008] Based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, the breeding cost index of the current period is obtained, and based on the breeding cost indexes of multiple periods, a cost index curve is obtained. The cost index curve is used to measure the changes in breeding costs of target breeding objects within the target time period.

[0009] In a second aspect, an embodiment of the present application further provides a cost analysis device, the device comprising:

[0010] An acquisition module is used to acquire a cost set of a target breeding object in the current period, where the cost set includes multiple cost subsets;

[0011] The first calculation module is used to calculate the corresponding sampling cost index for each sampling cost included in each cost subset, and the sampling cost index represents: the change of the sampling cost in the current period relative to the historical sampling cost in the base period;

[0012] The second calculation module is used to obtain the breeding cost index of the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, and to obtain the cost index curve based on the breeding cost index of multiple periods. The cost index curve is used to measure the changes in breeding costs of target breeding objects within the target time period.

[0013] Optionally, when calculating the corresponding sampling cost index for each sampling cost included in each cost subset, the first calculation module is used to:

[0014] For each sampled cost included in each cost subset, perform the following operations:

[0015] Based on the ratio of a sampling cost to the historical sampling cost corresponding to the base period, a sampling cost index corresponding to the sampling cost is obtained.

[0016] Optionally, when obtaining the breeding cost index of the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, the second calculation module is used to:

[0017] For each sampling cost included in each cost subset, the following operations are performed respectively: based on a sampling cost and the total cost corresponding to the cost subset to which it belongs, a weight corresponding to the sampling cost is obtained;

[0018] For each cost subset, the following operations are performed respectively: based on the sampling cost index corresponding to each sampling cost in a cost subset and the weight corresponding to each sampling cost, a weighted sum is performed to obtain an intermediate cost index corresponding to a cost subset;

[0019] Based on the total cost corresponding to each cost subset and the total cost corresponding to the cost set, the weight corresponding to each cost subset is obtained;

[0020] Based on the intermediate cost index corresponding to each cost subset and its corresponding weight, the breeding cost index of the current period is obtained.

[0021] Optionally, when obtaining a weight corresponding to a sampling cost based on a total cost corresponding to a sampling cost and a cost subset to which it belongs, the second calculation module is used to:

[0022] Based on a sampling cost, a weight corresponding to the sampling cost is obtained relative to the ratio of the total cost corresponding to the cost subset to which the sampling cost belongs.

[0023] Optionally, the base period is the period before the current period or a preset historical period;

[0024] Based on the breeding cost index of multiple periods, when the cost index curve is obtained:

[0025] If the base period is the period before the current period, the cost index curve is used to measure the period-by-period changes in the breeding costs of the target breeding object during the target time period;

[0026] If the base period is a preset historical period, the cost index curve is used to measure the long-term changes in the breeding costs of the target breeding objects during the target time period.

[0027] Optionally, the cost set includes at least the following cost subsets:

[0028] Material and service cost subset;

[0029] Land cost subset;

[0030] Labor cost subset.

[0031] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the first aspects when executing the computer program.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any method described in the first aspect.

[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when called by a computer, enables the computer to execute the method described in the first aspect.

[0034] In an embodiment of the present application, the server obtains the cost set of the target breeding object in the current period, calculates the corresponding sampling cost index for each sampling cost contained in each cost subset, obtains the breeding cost index for the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, and obtains the cost index curve based on the breeding cost indices of multiple periods.

[0035] In this way, through the cost index analysis algorithm, by analyzing the various cost data in the pig breeding process, we can understand the cost change trend of pig production, including the costs of feed, breeding equipment, labor, etc., which will help agricultural producers to adjust production strategies in time, determine reasonable pig prices, evaluate profit and loss situations, and avoid sales difficulties or profit losses caused by excessively high or low prices. In addition, the pig cost index analysis can also provide decision-making basis for relevant decision makers, guide the formulation and adjustment of relevant strategies, such as tax reduction and exemption, provision of subsidies, etc., to support the cost pressure of agricultural producers. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of possible application scenarios in the embodiments of the present application;

[0037] Figure 2 This is a flow chart of a cost analysis method in an embodiment of the present application;

[0038] Figure 3 This is a schematic diagram of a cost set in an embodiment of the present application;

[0039] Figure 4 This is a flow chart of a method for calculating a breeding cost index in an embodiment of the present application;

[0040] Figure 5 This is a schematic diagram of the structure of a cost analysis device in an embodiment of the present application;

[0041] Figure 6 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.

[0043] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.

[0044] Some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0045] (1) Cost index: It refers to the ratio of the actual total cost of the reporting period to the total cost of the reporting period calculated based on the base period cost. It can comprehensively reflect the degree of change in product costs.

[0046] (2) Fixed base index: refers to the index of each period in an index series compiled in chronological order, which is formed by comparing the index with the same fixed period, reflecting the long-term dynamics and development changes of development cost fluctuations over time.

[0047] (3) Month-on-month index: refers to an index compiled by comparing the commodity prices (costs) of each period with the commodity prices (costs) of the previous period, which can reflect the changes in the price level (cost) from period to period.

[0048] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0049] See also Figure 1 As shown, it is a schematic diagram of possible application scenarios in the embodiments of the present application.

[0050] The application scenario includes terminal devices 110 (including terminal devices 1101, 1102 ... terminal devices 110n) and a server 120. The terminal devices 110 and the server 120 can communicate with each other through a communication network.

[0051] In an optional implementation, the communication network may be a wired network or a wireless network. Therefore, the terminal device 110 and the server 120 may be directly or indirectly connected via a wired or wireless communication. For example, the terminal device 110 may be indirectly connected to the server 120 via a wireless access point, or the terminal device 110 may be directly connected to the server 120 via the Internet, and this application does not limit this.

[0052] In the embodiment of the present application, the terminal device 110 includes but is not limited to mobile phones, tablet computers, laptop computers, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals and other devices; various clients may be installed on the terminal device, and the client may be an application program (such as a browser, game software, etc.) that supports functions such as video preview and video playback, or a web page, a small program, etc.;

[0053] The server 120 is a background server corresponding to the client installed in the terminal device 110. The server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0054] It should be noted that the xxxxx method in the embodiment of the present application can be executed by an electronic device, which may be a server 120 or a terminal device 110, that is, the method can be executed by the server 120 or the terminal device 110 alone, or can be executed jointly by the server 120 and the terminal device 110.

[0055] It should be noted that, in the following, the example of execution by a server alone is mainly used for illustration, and no specific limitation is made here.

[0056] It should be noted that Figure 1 The figure is only an example. In fact, the number of terminal devices 110 and servers 120 is not limited and is not specifically limited in the embodiments of the present application.

[0057] In the embodiment of the present application, when there are multiple servers 120, the multiple servers 120 can form a blockchain, and the servers 120 are nodes on the blockchain.

[0058] See also Figure 2 As shown, it is a flow chart of a cost analysis method in the embodiment of the present application. Figure 2 , and explain the specific execution steps in detail:

[0059] Step S201: Obtain the cost set of the target breeding object in the current period.

[0060] The cost set includes multiple cost subsets.

[0061] Specifically, this application takes pig farming cost analysis as an example, and the cost set includes at least the following cost subsets:

[0062] (1) Material and service cost subset.

[0063] (2) Land cost subset.

[0064] (3) Labor cost subset.

[0065] For example, see Figure 3As shown, it is a schematic diagram of a cost set in an embodiment of the present application, wherein the cost set directly includes three subsets: material and service costs, land costs, and labor costs. The material and service cost subset further includes two cost sets: direct costs and indirect costs. The land cost subset includes the self-operated business rent and the transfer land rent, the labor cost subset includes the family labor discount and hired labor costs, and the direct cost set includes the livestock costs, concentrated feed costs, electricity costs, death loss costs, medical and epidemic prevention costs and other direct costs, and the indirect cost set includes the fixed asset depreciation, insurance premiums and other indirect costs, all of which are sampling costs in the embodiment of the present application.

[0066] It should be noted that the above sampling costs are only examples, and other costs may be included in the actual analysis, which is not limited in this application.

[0067] Step S202: Calculate the corresponding sampling cost index for each sampling cost included in each cost subset.

[0068] Among them, the sampling cost index represents: the change in the sampling cost of the current period relative to the historical sampling cost of the base period.

[0069] Furthermore, in the embodiment of the present application, the server calculates the corresponding sampling cost index for each sampling cost included in each cost subset in the current period in combination with each historical sampling cost of the base period.

[0070] Specifically, the server obtains a sampling cost index corresponding to a sampling cost based on a ratio of a sampling cost to a historical sampling cost corresponding to a base period.

[0071] For example, taking the livestock cost index as an example:

[0072]

[0073] Similarly, the remaining sampled cost indices are calculated in the same way.

[0074] In the embodiment of the present application, the reference period may be the previous period of the current period, or may be a preset historical period.

[0075] When the previous period of the current period is used as the base period, the calculated sampling cost index is a month-on-month index. The final cost index curve is used to measure the period-by-period changes in the breeding costs of the target breeding objects during the target time period.

[0076] When the preset historical period is used as the base period, the calculated sampling cost index is the fixed base index, and the final cost index curve is used to measure the long-term changes in the breeding costs of the target breeding objects during the target time period over time.

[0077] The preset historical period may be the earliest initial period or a historical reporting period in which the sampling cost is representative, and this application does not impose any restrictions on this.

[0078] Step S203: obtaining the breeding cost index of the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, and obtaining the cost index curve based on the breeding cost indexes of multiple periods.

[0079] Among them, the cost index curve is used to measure the changes in breeding costs of target breeding objects within the target time period.

[0080] For further information, see Figure 4 As shown, it is a flow chart of a method for calculating aquaculture cost index in an embodiment of the present application. Figure 4 , and explain the specific execution steps in detail:

[0081] Step S401: for each sampling cost included in each cost subset, the following operations are performed respectively: based on a sampling cost and the total cost corresponding to the cost subset to which it belongs, a weight corresponding to the sampling cost is obtained.

[0082] Specifically, the server obtains the weight corresponding to a sampling cost based on the ratio of a sampling cost to the total cost corresponding to the cost subset to which it belongs.

[0083] For example, the calculation formula for the discount weight of family employment is:

[0084]

[0085] In particular, since the material and service fee subset also includes a direct cost set and an indirect cost set, the sampling cost included in the direct cost and the sampling cost included in the indirect cost are the ratios of the corresponding weighted sampling costs to the total cost of direct costs or indirect costs.

[0086] Take the weight of young livestock expenses as an example:

[0087]

[0088] Step S402: for each cost subset, the following operations are performed respectively: based on the sampling cost index corresponding to each sampled cost in a cost subset and the weight corresponding to each sampled cost, weighted summation is performed to obtain an intermediate cost index corresponding to a cost subset.

[0089] Furthermore, after the server calculates the sampling cost index and the weight corresponding to each sampling cost, for each cost subset, the server performs weighted summation on each sampling cost index to obtain the intermediate cost index corresponding to the cost subset.

[0090] Take the intermediate cost index corresponding to the land cost subset as an example:

[0091]

[0092] Among them, 1-i are the numbers corresponding to each sampled cost contained in the land cost subset. Specifically, the land cost index in the embodiment of the present application is: land cost index = self-operated land discount rent index * self-operated land discount rent weight + transfer land rent index * transfer land rent weight.

[0093] Specifically, when calculating the material and service cost index, first perform a weighted summation on the sampled cost indices in the direct cost set to obtain the direct cost index, then perform a weighted summation on the sampled cost indices in the indirect cost set to obtain the indirect cost index, and finally perform a weighted summation on the direct cost index and the indirect cost index to obtain the material and service cost index.

[0094] It can be understood that the weight corresponding to the direct cost index is the ratio of the total direct cost to the material and service cost, and the weight corresponding to the indirect cost index is the ratio of the total indirect cost to the material and service cost.

[0095] Step S403: based on the total cost corresponding to each cost subset and the total cost corresponding to the cost set, obtain the weight corresponding to each cost subset.

[0096] Furthermore, the server calculates the weight corresponding to each cost subset in the same manner.

[0097] For example, the weight corresponding to the material and service cost subset is: the ratio of the total cost corresponding to the material and service cost subset to the total cost corresponding to the cost set. The weight calculation method for the remaining cost subsets is similar.

[0098] Step S404: Based on the intermediate cost index corresponding to each cost subset and its corresponding weight, the breeding cost index of the current period is obtained.

[0099] Finally, the server performs weighted summation of the intermediate cost index corresponding to each cost subset and its corresponding weight to obtain the breeding cost index for the current period.

[0100] Furthermore, the server draws a cost index curve by combining the breeding cost index of the current period with the breeding cost index of multiple historical periods.

[0101] Specifically, due to the different base periods selected for calculating the sampling cost index, the corresponding cost index curves are also different, including the month-on-month cost index curve and the fixed-base cost index curve. Among them, the month-on-month cost index curve can reflect the changes in costs in the current period relative to the previous period, as well as the cost fluctuations over a period of time. The fixed-base cost index curve mainly reflects the long-term changes in costs over a period of time. Based on the two cost index curves, production strategies can be adjusted in a timely manner during the pig farming process to cope with rising or falling costs.

[0102] To sum up, in the embodiments of the present application, various cost data in the pig breeding process are analyzed through the cost index analysis algorithm, so as to understand the cost change trend of pig production, including the costs of feed, breeding equipment, labor, etc., which is helpful for agricultural producers to adjust production strategies in time, determine reasonable pig prices, evaluate profit and loss situations, and avoid sales difficulties or profit losses caused by excessively high or low prices.

[0103] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0104] Based on the same technical concept, see Figure 5 As shown, the embodiment of the present application also provides a cost analysis device, which includes:

[0105] An acquisition module 501 is used to acquire a cost set of a target breeding object in the current period, where the cost set includes multiple cost subsets;

[0106] The first calculation module 502 is used to calculate the corresponding sampling cost index for each sampling cost included in each cost subset, and the sampling cost index represents: the change of the sampling cost in the current period relative to the historical sampling cost in the base period;

[0107] The second calculation module 503 is used to obtain the breeding cost index of the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, and to obtain the cost index curve based on the breeding cost index of multiple periods. The cost index curve is used to measure the changes in the breeding cost of the target breeding object within the target time period.

[0108] Optionally, when calculating the corresponding sampling cost index for each sampling cost included in each cost subset, the first calculation module 502 is used to:

[0109] For each sampled cost included in each cost subset, perform the following operations:

[0110] Based on the ratio of a sampling cost to the historical sampling cost corresponding to the base period, a sampling cost index corresponding to the sampling cost is obtained.

[0111] Optionally, when obtaining the breeding cost index of the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, the second calculation module 503 is used to:

[0112] For each sampling cost included in each cost subset, the following operations are performed respectively: based on a sampling cost and the total cost corresponding to the cost subset to which it belongs, a weight corresponding to the sampling cost is obtained;

[0113] For each cost subset, the following operations are performed respectively: based on the sampling cost index corresponding to each sampling cost in a cost subset and the weight corresponding to each sampling cost, a weighted sum is performed to obtain an intermediate cost index corresponding to a cost subset;

[0114] Based on the total cost corresponding to each cost subset and the total cost corresponding to the cost set, the weight corresponding to each cost subset is obtained;

[0115] Based on the intermediate cost index corresponding to each cost subset and its corresponding weight, the breeding cost index of the current period is obtained.

[0116] Optionally, when obtaining a weight corresponding to a sampling cost based on a sampling cost and a total cost corresponding to a cost subset to which it belongs, the second calculation module 503 is used to:

[0117] Based on a sampling cost, a weight corresponding to the sampling cost is obtained relative to the ratio of the total cost corresponding to the cost subset to which the sampling cost belongs.

[0118] Optionally, the base period is the period before the current period or a preset historical period;

[0119] Based on the breeding cost index of multiple periods, when the cost index curve is obtained:

[0120] If the base period is the period before the current period, the cost index curve is used to measure the period-by-period changes in the breeding costs of the target breeding object during the target time period;

[0121] If the base period is a preset historical period, the cost index curve is used to measure the long-term changes in the breeding costs of the target breeding objects during the target time period.

[0122] Optionally, the cost set includes at least the following cost subsets:

[0123] Material and service cost subset;

[0124] Land cost subset;

[0125] Labor cost subset.

[0126] Based on the same technical concept, an embodiment of the present application also provides an electronic device, which can implement the method flow of cost analysis provided in the above embodiment of the present application.

[0127] In one embodiment, the electronic device may be a server, or a terminal device or other electronic device.

[0128] See also Figure 6 As shown, the electronic device may include:

[0129] At least one processor 601, and a memory 602 connected to the at least one processor 601. The specific connection medium between the processor 601 and the memory 602 is not limited in the embodiment of the present application. Figure 6 In the example, the processor 601 and the memory 602 are connected via a bus 600. Figure 6 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 600 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 601 can also be called a controller, and there is no limitation on the name.

[0130] In the embodiment of the present application, the memory 602 stores instructions that can be executed by at least one processor 601. The at least one processor 601 can execute a cost analysis method discussed above by executing the instructions stored in the memory 602. The processor 601 can implement Figure 5 The functions of each module in the device shown.

[0131] Among them, the processor 601 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 602 and calling the data stored in the memory 602, the various functions of the device and processing data, the device can be monitored as a whole.

[0132] In one possible design, the processor 601 may include one or more processing units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 601. In some embodiments, the processor 601 and the memory 602 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.

[0133] Processor 601 can be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of a cost analysis method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0134] The memory 602 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 602 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 602 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 602 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0135] By programming the processor 601, the code corresponding to the cost analysis method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2The steps of a cost analysis method of the embodiment shown are as follows: How to design and program the processor 601 is a technique known to those skilled in the art and will not be described in detail here.

[0136] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a cost analysis method discussed above.

[0137] In some possible implementations, various aspects of a cost analysis method provided by the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of a cost analysis method according to various exemplary implementations of the present application described above in this specification.

[0138] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0139] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0144] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A cost analysis method, It is characterized in that include: Obtaining a cost set of a target breeding object in a current period, wherein the cost set includes multiple cost subsets; For each sampling cost included in each cost subset, a corresponding sampling cost index is calculated, wherein the sampling cost index represents: the change of the sampling cost in the current period relative to the historical sampling cost in the base period; Based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, the breeding cost index of the current period is obtained, and based on the breeding cost indexes of multiple periods, a cost index curve is obtained. The cost index curve is used to measure the changes in the breeding costs of the target breeding objects within the target time period.

2. The method according to claim 1, It is characterized in that The step of calculating the corresponding sampling cost index for each sampling cost contained in each cost subset includes: For each sampled cost included in each cost subset, perform the following operations: Based on the ratio of a sampling cost to the historical sampling cost corresponding to the base period, a sampling cost index corresponding to the sampling cost is obtained.

3. The method according to claim 2, It is characterized in that The aquaculture cost index of the current period is obtained based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, including: For each sampling cost included in each cost subset, the following operations are respectively performed: based on a sampling cost and the total cost corresponding to the cost subset to which it belongs, a weight corresponding to the sampling cost is obtained; For each cost subset, the following operations are performed respectively: based on the sampling cost index corresponding to each sampling cost in a cost subset and the weight corresponding to each sampling cost, a weighted sum is performed to obtain an intermediate cost index corresponding to a cost subset; Based on the total cost corresponding to each cost subset and the total cost corresponding to the cost set, obtaining the weight corresponding to each cost subset; Based on the intermediate cost index corresponding to each cost subset and its corresponding weight, the breeding cost index of the current period is obtained.

4. The method according to claim 3, It is characterized in that The obtaining, based on a sampling cost and a total cost corresponding to a cost subset to which the sampling cost belongs, a weight corresponding to the sampling cost includes: Based on the ratio of the sampling cost to the total cost corresponding to the cost subset to which the sampling cost belongs, a weight corresponding to the sampling cost is obtained.

5. The method according to any one of claims 1 to 4, It is characterized in that The base period is the period before the current period or a preset historical period; Then, when the cost index curve is obtained based on the breeding cost index of multiple periods: If the base period is the period before the current period, the cost index curve is used to measure the period-by-period changes in the breeding costs of the target breeding object within the target time period; If the base period is a preset historical period, the cost index curve is used to measure the long-term changes in the breeding costs of the target breeding objects during the target time period.

6. The method according to any one of claims 1 to 4, It is characterized in that The cost set includes at least the following cost subsets: Material and service cost subset; Land cost subset; Labor cost subset.

7. A cost analysis device, It is characterized in that include: An acquisition module, used to acquire a cost set of a target breeding object in a current period, wherein the cost set includes multiple cost subsets; A first calculation module is used to calculate a corresponding sampling cost index for each sampling cost included in each cost subset, wherein the sampling cost index represents: a change in the sampling cost of the current period relative to the historical sampling cost of the base period; The second calculation module is used to obtain the breeding cost index of the current period based on the sampling cost index corresponding to each sampling cost and the weight corresponding to each sampling cost, and to obtain a cost index curve based on the breeding cost indexes of multiple periods. The cost index curve is used to measure the changes in the breeding cost of the target breeding object within the target time period.

8. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is 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, It is characterized in that When the computer program product is called by a computer, the computer executes the method according to any one of claims 1 to 6.