Device module configuration method, device, computer device and storage medium
By predicting the failure time and configuration cycle of the equipment module and optimizing the configuration of the backup module, the problem of high maintenance costs of the equipment module is solved, and lower cost maintenance and more convenient maintenance are achieved.
Patent Information
- Application Number
- CN201910979360.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-15
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2039-10-15
AI Technical Summary
The existing technology is difficult to effectively configure and maintain high or difficult-to-maintenance equipment modules, which leads to high maintenance costs and inconvenient transportation, especially how to properly configure backup modules in case of equipment failures becomes a challenge.
By obtaining the usage time of the device module, predicting the failure time point, determining the configuration cycle, and calculating the type and number of backup modules according to the cost calculation, optimizing the configuration time point to reduce idle and deactivation costs.
It realizes reasonable backup configuration of equipment modules, reduces maintenance costs, simplifies engineers' maintenance tasks, and improves equipment maintenance efficiency.
Smart Images

Figure CN112668728B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of equipment maintenance, and in particular to an equipment module configuration method, device, computer equipment and storage medium. Background Art
[0002] It is common for equipment to break down and need repair or even replacement of equipment modules. The replacement of some equipment modules, such as the movement, is quite troublesome and costly, and the replacement modules are also inconvenient to transport.
[0003] So for equipment modules, especially core equipment modules, expensive equipment modules, or equipment modules that are difficult to repair, how and when to configure them so that they can be repaired and maintained at a lower cost. Summary of the invention
[0004] Based on this, it is necessary to provide a device module configuration method, apparatus, computer equipment and storage medium to address the above problems.
[0005] In a first aspect, an embodiment of the present invention provides a device module configuration method, the method comprising the following steps:
[0006] Obtain the usage time of each device module in the self-service equipment in the preset area;
[0007] Determine the time point when each equipment module fails based on the usage time of each equipment module;
[0008] Determine the configuration cycle of the equipment module according to the time point when the equipment module fails;
[0009] Determine the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules;
[0010] The types of spare device modules required to be configured in the same configuration cycle and the corresponding quantity of each type are determined according to the types of device modules in the same configuration cycle and the corresponding quantity of each type.
[0011] In one embodiment, the time point at which each equipment module fails is determined based on the usage time of each equipment module, including: determining a bathtub curve of the failure probability of the equipment module in its life cycle, the bathtub curve refers to a curve showing how the probability of a failure of an equipment module in its life cycle varies with time, and the bathtub curve is derived based on historical data of the equipment module; matching a Poisson distribution model based on the bathtub curve of the equipment module to determine the probability of the equipment module failing at each time point in its life cycle; accumulating and summing the obtained failure rates in chronological order until the sum meets a preset value, and then identifying the time corresponding to the last summed failure rate as the life span of the equipment module; and determining the time point at which the equipment module fails based on the life span of the equipment module and the usage time of the equipment module.
[0012] In one embodiment, the time point when each device module fails is determined based on the usage time of each device module, including: obtaining a preset failure rate threshold corresponding to each device module; obtaining a failure rate function corresponding to each device module; calculating the corresponding life span when the corresponding device module reaches the preset failure rate threshold based on the failure rate function; and determining the time point when the device module fails based on the usage time and life span of the device module.
[0013] In one embodiment, the configuration cycle of the equipment module is determined according to the time point when the equipment module fails, including: obtaining the idle cost of the spare equipment module, the idle cost refers to the relevant cost generated after the spare equipment module is configured in a preset area and has not been used to replace the equipment module; obtaining the outage cost of the equipment module, the outage cost refers to the relevant cost generated when the equipment module is not replaced in time after a failure; obtaining the transportation cost of the spare equipment module; and calculating the configuration cycle corresponding to the equipment module based on the idle cost, the outage cost and the transportation cost.
[0014] In one embodiment, the configuration cycle corresponding to the equipment module is calculated according to the idle cost, the deactivation cost and the transportation cost, including: obtaining a preset first calculation cycle and a preset second calculation cycle, the time length corresponding to the second calculation cycle is equal to the sum of the time lengths corresponding to the two first calculation cycles; obtaining the current time, and determining the first configuration cycle, the second configuration cycle and the third configuration cycle corresponding to the current time according to the current time and the first calculation cycle and the second calculation cycle, the third configuration cycle including: the first configuration cycle and the second configuration cycle, the time lengths of the first configuration cycle and the second configuration cycle are the same; taking the central time point of the time period of the first configuration cycle as the configuration time point of the first configuration cycle, and taking the central time point of the time period of the second configuration cycle as the configuration time point of the second configuration cycle, The central time point of the time period in which the third configuration cycle is located is used as the configuration time point of the third configuration cycle; the one-time transportation cost is obtained; the first cost is calculated according to the configuration time point of the first configuration cycle, the configuration time point of the second configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; the second cost is calculated according to the configuration time point of the third configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; when the first cost is greater than the second cost, the third configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the third configuration cycle; when the first cost is less than the second cost, the first configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the first configuration cycle, and the second configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the second configuration cycle.
[0015] In one embodiment, after the step of determining the types of spare equipment modules that need to be configured in the same configuration cycle and the corresponding quantities of each type according to the types of equipment modules in the same configuration cycle and the corresponding quantities of each type, it also includes: obtaining the idle cost of the spare equipment module, the idle cost refers to the relevant cost incurred after the spare equipment module is configured in the preset area and has not been used to replace the equipment module; obtaining the outage cost of the equipment module, the outage cost refers to the relevant cost incurred when the equipment module is not replaced in time after a failure occurs; and calculating the configuration time point of the spare equipment module in the configuration cycle based on the idle cost and the outage cost.
[0016] In one embodiment, the configuration time point of the spare device module within the configuration cycle is calculated based on the idle cost and the outage cost, including: obtaining multiple candidate configuration time points preset within the same configuration cycle; when the failure time point of the device module is less than the candidate configuration time point, the outage cost of the corresponding spare device module is calculated, and when the failure time point of the device module is greater than the candidate configuration time point, the idle cost of the corresponding spare device module is calculated; the total cost corresponding to each candidate configuration time point is calculated respectively, and the total cost includes: total outage cost and total idle cost; and the candidate configuration time point with the lowest total cost is used as the target configuration time point within the same configuration cycle.
[0017] In a second aspect, an embodiment of the present invention provides a device module configuration apparatus, the device comprising the following modules:
[0018] The first acquisition module is used to acquire the usage time of each device module in the self-service device in the preset area;
[0019] A fault determination module, used to determine the time point when each equipment module fails according to the usage time of each equipment module;
[0020] A cycle determination module, used to determine the configuration cycle of the equipment module according to the time point when the equipment module fails;
[0021] The quantity determination module is used to determine the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules, and to determine the types of spare equipment modules that need to be configured in the same configuration cycle and the corresponding quantity of each type according to the types of equipment modules in the same configuration cycle and the corresponding quantity of each type.
[0022] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is used to call the computer program in the memory to perform the following steps:
[0023] Obtain the usage time of each device module in the self-service equipment in the preset area;
[0024] Determine the time point when each equipment module fails based on the usage time of each equipment module;
[0025] Determine the configuration cycle of the equipment module according to the time point when the equipment module fails;
[0026] Determine the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules;
[0027] The types of spare device modules required to be configured in the same configuration cycle and the corresponding quantity of each type are determined according to the types of device modules in the same configuration cycle and the corresponding quantity of each type.
[0028] In a fourth aspect, an embodiment of the present invention provides a readable storage medium storing a computer program, which can be called to perform the following steps:
[0029] Obtain the usage time of each device module in the self-service equipment in the preset area;
[0030] Determine the time point when each equipment module fails based on the usage time of each equipment module;
[0031] Determine the configuration cycle of the equipment module according to the time point when the equipment module fails;
[0032] Determine the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules;
[0033] The types of spare device modules required to be configured in the same configuration cycle and the corresponding quantity of each type are determined according to the types of device modules in the same configuration cycle and the corresponding quantity of each type.
[0034] Through the above equipment module configuration method, device, equipment and readable medium, reasonable spare equipment module configuration is performed for the equipment modules in the area, so that the configured spare equipment modules can be effectively utilized, thereby effectively solving the allocation problem of existing equipment modules, reducing maintenance costs and facilitating engineers' maintenance tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] in:
[0037] Figure 1 A flowchart of a device module configuration method in one embodiment;
[0038] Figure 2 A flowchart of a device module configuration method in one embodiment;
[0039] Figure 3 A flowchart of a device module configuration method in one embodiment;
[0040] Figure 4A structural block diagram of a device module configuration apparatus in one embodiment;
[0041] Figure 5 A structural block diagram of a device module configuration apparatus in one embodiment;
[0042] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention 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 invention and are not intended to limit the present invention.
[0045] like Figure 1 As shown, a device module configuration method is proposed, and the device module configuration method specifically includes the following steps:
[0046] Step 102: Obtain the usage time of each device module in the self-service device in the preset area.
[0047] Among them, it is divided into multiple areas in advance according to the distribution of equipment, and the preset area refers to any one of the areas. The equipment module refers to a functional component on the self-service equipment that can be directly removed or installed. Generally, a device is installed with multiple equipment modules. In this step, obtaining the usage time of the equipment module refers to obtaining the time from the initial installation of the equipment module on the device to the present. For example, the time point when a certain equipment module was initially installed is T1, and the current time point is T2, then the usage time of the equipment module is (T2-T1). The unit of the time point can be customized as needed, for example, 1 day can be used as a unit, or 1 month can be used as a unit. Take 1 month as an example, for example, the initial installation time is: May 2018, and the current time is September 2019, then the usage time of the equipment module is 14 months.
[0048] It is important to note that the installation time stated here is based on a brand new device module at the time of installation. If the device module has been used before installation, the calculation of the usage time needs to include the previous usage time.
[0049] Step 104 : determining the time point at which each device module fails according to the usage time of each device module.
[0050] The time point of failure refers to the predicted time point of failure. First, determine the life of the equipment module. The life of the equipment module is based on the cycle life characteristics of the equipment module and data statistics. Subtract the time the equipment module has been used from the predicted life of the equipment module, and then add the difference to the current time point on the actual time axis. The resulting time point is the time point when the equipment module fails. For example, the life of the equipment module is t (t is a time period rather than a moment), the usage time is t1, and the current time point is T2, then the time point of failure is determined to be T3 = T2 + (t-t1).
[0051] Step 106: Determine a configuration period of the device module according to the time point when the device module fails.
[0052] The configuration cycle refers to the cycle corresponding to the time point of configuring the device module. The configuration cycle can be divided in advance according to the preset time length, or it can be dynamically adjusted according to the time point of failure of each device module. In one embodiment, the configuration cycle is determined by comprehensively considering the costs of various aspects, and the various costs are counted to determine a configuration cycle corresponding to the lowest cost.
[0053] Step 108 : determining the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules.
[0054] After the configuration cycle corresponding to each device module is determined, the device modules corresponding to the same configuration cycle are counted, so that the type of device modules corresponding to each configuration cycle and the quantity of each type of device modules can be counted.
[0055] Step 110 , determining the types of spare device modules required to be configured in the same configuration cycle and the corresponding number of each type according to the types of device modules in the same configuration cycle and the corresponding number of each type.
[0056] Among them, the spare equipment module refers to the equipment module that needs to be configured. After calculating the types and quantities of equipment modules in each configuration cycle, the types and quantities of spare equipment modules that need to be configured in the configuration cycle can be obtained accordingly. After determining the types of spare equipment modules that need to be configured in the same configuration cycle and the corresponding quantity of each type, the corresponding spare equipment modules are equipped in the spare parts library corresponding to the preset area.
[0057] In a configuration cycle, the failure time point of each device module is different, but the spare device modules in the configuration cycle are configured once. In order to save costs, in one embodiment, it is also necessary to determine a suitable configuration time point in the configuration cycle to configure the spare device modules into the spare parts library.
[0058] In order to make the above process clearer, an example is given to illustrate that the predicted time point of failure is matched with the determined configuration cycle, the number of time points at which failure occurs in the configuration cycle is counted, and the number of spare equipment modules that need to be configured in a certain configuration cycle in a certain preset area is further obtained. For example, the determined configuration cycle is m (m is also a time period), and the configuration cycle m is converted to M1, M2, M3, M4 (M1, M2, M3, M4 are all moments) on the real time axis, and the time intervals between M1, M2, M3, and M4 are all m, then the time period from M1 to M2 is a replacement time period; wherein the predicted failure time points between M1 and M2 are T4, T5, and T6, and the number of equipment modules that fail corresponding to T4, T5, and T6 are S1, S2, and S3, then it can be concluded that the number of spare equipment modules that need to be configured in the configuration cycle from M1 to M2 in the preset area is (S1+S2+S3). The same type of equipment modules are not necessarily installed at the same time in a region, and thus the time at which failures occur may not be the same. Therefore, statistics should be collected for the same equipment modules at the same installation time and then summed.
[0059] Through the above method, reasonable spare equipment modules are configured for the equipment modules in the area, so that the configured spare equipment modules can be effectively utilized, thereby effectively solving the allocation problem of existing equipment modules, reducing maintenance costs and facilitating engineers' maintenance tasks.
[0060] In one embodiment, the step of determining the time point at which each equipment module fails based on the usage time of each equipment module includes: determining a bathtub curve of the failure probability of the equipment module during its life cycle, wherein the bathtub curve refers to a curve showing how the probability of a failure of the equipment module during its life cycle varies with time, and the bathtub curve is derived based on historical data of the equipment module; matching a Poisson distribution model based on the bathtub curve of the equipment module to determine the probability of the equipment module failing at each time point during its life cycle; accumulating and summing the obtained failure rates in chronological order until the sum meets a preset value, and then identifying the time corresponding to the last accumulated failure rate as the life span of the equipment module; and determining the time point at which the equipment module fails based on the life span of the equipment module and the usage time of the equipment module.
[0061] Among them, practice has proved that the failure rate of most equipment is a function of time, and the typical failure curve is called the bathtub curve (Bathtub curve, failure rate curve). The bathtub curve refers to the fact that the reliability of the product changes in a certain pattern during the entire life cycle from the time it is put into use to the time it is scrapped. If the failure rate of the product is taken as the reliability characteristic value of the product, it is a curve with the use time as the horizontal axis and the failure rate as the vertical axis. The shape of the curve is high at both ends and low in the middle, somewhat like a bathtub, so it is called the "bathtub curve". The curve has obvious stages, and the failure rate changes with the use time and is divided into three stages: early failure period, accidental failure period and wear and tear failure period.
[0062] Because the bathtub curve is a function of an independent probability distribution, it can be substituted into the Poisson distribution model, thereby obtaining the failure rate of the equipment module corresponding to each time point. Finally, the failure rate at each time point is accumulated and summed in chronological order. When the summed value meets the preset value (the preset value is set according to the life cycle of the equipment module, for example, the preset value at this time is 95%), it can be determined that the equipment module has reached the end of its life, that is, the time point when the failure occurs, and the time at this time is determined as the life span of the equipment module.
[0063] The method for predicting the occurrence of a failure in a device module is practical and accurate, and the time point of the failure occurrence is predicted in advance so that the spare device module can be configured in a timely and reasonable manner.
[0064] In one embodiment, the step of determining the time point when each device module fails based on the usage time of each device module includes: obtaining a preset failure rate threshold corresponding to each device module; obtaining a failure rate function corresponding to each device module; calculating the corresponding life span when the corresponding device module reaches the preset failure rate threshold based on the failure rate function; and determining the time point when the device module fails based on the usage time and life span of the device module.
[0065] Among them, the failure rate of the equipment module is distributed over time during the life cycle, so that the failure rate function of the equipment module can be obtained. The failure rate functions of most equipment modules usually conform to several function models. Different function models are substituted into the corresponding calculation model. Through the pre-set failure rate threshold, the output value of the calculation model is compared with the preset failure rate threshold. When the output result reaches the preset failure rate threshold, the usage time is determined as the expected life span of the equipment module. Combined with the usage time of the equipment module, the time point when the expected life span is reached can be calculated. This time point is the time point when the equipment module fails.
[0066] For example, by substituting the failure rate function into the calculation model, it is obtained that the life span of the equipment module is t, the use time of the equipment module is t1, and the current time point is T2. Then the time point when the equipment module fails is T3=T2+(t-t1).
[0067] like Figure 2 As shown, in one embodiment, the step of determining the configuration cycle of the device module according to the time point when the device module fails also includes:
[0068] Step 202, obtaining the idle cost of the spare equipment module.
[0069] The idle cost refers to the relevant cost incurred after the spare equipment module is configured in the preset area but has not been used to replace the equipment module. The idle cost is calculated based on the idle unit cost and the length of idle time. For example, if the spare equipment module is used for replacement after d1 time points after being configured in the preset area, and the idle unit cost of this spare equipment module is set to C1 / time point, then the corresponding idle cost at this time is: C1d1.
[0070] Step 204: Obtain the deactivation cost of the equipment module.
[0071] Among them, the outage cost refers to the relevant cost caused by not replacing the equipment module in time after it fails. The calculation method of the above idle cost is the same, and the outage cost is also calculated based on the outage unit cost and the length of the outage time. For example, if the equipment module is replaced after d2 time points after the failure, the outage unit cost of this equipment module is set to C2 / time point, then the corresponding outage cost at this time is: C2d2.
[0072] Among them, because the spare device modules required for the configuration cycle are configured once, and the time points at which the device modules fail during the configuration cycle are not exactly the same, idle costs and deactivation costs will occur.
[0073] Step 206, obtaining the transportation cost of the spare equipment module.
[0074] The transportation cost specifically refers to the cost required to transport a spare module to a preset area.
[0075] Step 208: Calculate the configuration period corresponding to the equipment module according to the idle cost, the deactivation cost and the transportation cost.
[0076] Among them, idle cost, deactivation cost, transportation cost, etc. need to be considered when determining the configuration cycle because configuring a spare equipment module within a configuration cycle requires transportation cost, and the size of the configuration cycle will affect the number of times transportation is required within a period of time. Secondly, the size of the configuration cycle will also affect the deactivation cost of the equipment module within the configuration cycle and the idle cost of the spare equipment module. Therefore, the above costs should be comprehensively considered to determine a more reasonable configuration cycle.
[0077] In one embodiment, the step of calculating the configuration cycle corresponding to the equipment module according to the idle cost, the deactivation cost and the transportation cost also includes: obtaining a preset first calculation cycle and a preset second calculation cycle, the time length corresponding to the second calculation cycle is equal to the sum of the time lengths corresponding to the two first calculation cycles; obtaining the current time, and determining the first configuration cycle, the second configuration cycle and the third configuration cycle corresponding to the current time according to the current time and the first calculation cycle and the second calculation cycle, the third configuration cycle including: the first configuration cycle and the second configuration cycle, the time lengths of the first configuration cycle and the second configuration cycle are the same; taking the central time point of the time period of the first configuration cycle as the configuration time point of the first configuration cycle, and taking the central time point of the time period of the second configuration cycle as the configuration time point of the second configuration cycle. point, and take the central time point of the time period in which the third configuration cycle is located as the configuration time point of the third configuration cycle; obtain the one-time transportation cost; calculate the first cost according to the configuration time point of the first configuration cycle, the configuration time point of the second configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; calculate the second cost according to the configuration time point of the third configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; when the first cost is greater than the second cost, take the third configuration cycle as the configuration cycle of the equipment module in the time period corresponding to the third configuration cycle; when the first cost is less than the second cost, take the first configuration cycle as the configuration cycle of the equipment module in the time period corresponding to the first configuration cycle, and take the second configuration cycle as the configuration cycle of the equipment module in the time period corresponding to the second configuration cycle.
[0078] The first calculation cycle and the second calculation cycle are preset time lengths, and the first calculation cycle and the second calculation cycle are used to determine the range of calculation time of the first configuration cycle, the second configuration cycle, and the third configuration cycle. The first configuration cycle, the second configuration cycle, and the third configuration cycle are candidate configuration cycles preset in advance, and the configuration cycle corresponding to the low cost is selected by calculating the cost of the candidate configuration cycles.
[0079] For example, the first configuration cycle is M1 to M2, the second configuration cycle is M2 to M3, wherein the time lengths from M1 to M2 and from M2 to M3 are the same, and the third configuration cycle is M1 to M3, because the configuration time point is specifically determined according to the configuration cycle, and when determining the configuration cycle, it is necessary to identify the configuration time point as a default time point, and in this embodiment, the configuration time point is set as the central time point of the time period in which the configuration cycle is located as the configuration time point. By setting the first configuration cycle and its corresponding configuration time point, combined with the fault time point in the first configuration cycle, the idle cost and the outage cost of M1 to M2 can be calculated, and the sum of the idle cost and the outage cost is set to C6; combined with the fault time point in the second configuration cycle, the idle cost and the outage cost of M2 to M3 can be calculated, and the sum of the idle cost and the outage cost is set to C7; combined with the fault time point in the third configuration cycle, the idle cost and the outage cost of M1 to M3 can be calculated, and the sum of the idle cost and the outage cost is set to C8. In addition, when considering the transportation cost, it is calculated according to the number of transportations, and the cost of each time is constant, which is set to C5. Then the total cost corresponding to the first configuration cycle is: (C5+C6); then the total cost corresponding to the second configuration cycle is: (C5+C7); then the total cost corresponding to the third configuration cycle is: (C5+C8). To calculate the total cost of the time length from M1 to M3, use the first configuration cycle and the second configuration cycle: (2C5+C6+C7), and use the third configuration cycle: (C5+C8). Since the time length of the first configuration cycle and the second configuration cycle is shorter than that of the third configuration cycle, the idle cost and deactivation cost generated by the first configuration cycle and the second configuration cycle are lower than those of the third configuration cycle, but the transportation cost generated by the first configuration cycle and the second configuration cycle is twice that of the third configuration cycle. Therefore, it is necessary to compare (2C5+C6+C7) with (C5+C8) to determine the configuration cycle with lower cost.
[0080] Similarly, a reasonable configuration cycle is determined through calculation, which reduces replacement costs.
[0081] like Figure 3 As shown, in one embodiment, after the step of determining the types of spare device modules required to be configured in the same configuration cycle and the corresponding number of each type according to the types of device modules in the same configuration cycle and the corresponding number of each type, the method further includes:
[0082] Step 302: Obtain the idle cost of the spare equipment module.
[0083] The idle cost refers to the relevant cost incurred after the spare equipment module is configured in the preset area but has not been used to replace the equipment module. The idle cost is calculated based on the idle unit cost and the length of idle time. For example, if the spare equipment module is used for replacement after d1 time points after being configured in the preset area, and the idle unit cost of this spare equipment module is set to C1 / time point, then the corresponding idle cost at this time is: C1d1.
[0084] Step 304: Obtain the deactivation cost of the equipment module.
[0085] Among them, the outage cost refers to the relevant cost incurred when the equipment module fails to be replaced in time. The above idle cost is calculated in the same way, and the outage cost is also calculated based on the outage unit cost and the outage time length. For example, if the equipment module is replaced after d2 time points after the failure, the outage unit cost of this equipment module is set to C2 / time point, then the corresponding outage cost at this time is: C2d2.
[0086] Step 306: Calculate the configuration time point of the standby device module within the configuration period according to the idle cost and the deactivation cost.
[0087] Among them, in a configuration cycle, there will be multiple failure time points. Since the configuration time point is one of the time points, the corresponding idle cost and outage cost are generated. The total cost of the idle cost and outage cost of the corresponding configuration time points in the cycle is calculated, and the configuration time point corresponding to the lowest total cost is selected as the configuration time point of the backup equipment module.
[0088] In one embodiment, the configuration time point of the spare device module within the configuration cycle is calculated based on the idle cost and the outage cost, including: obtaining multiple candidate configuration time points preset within the same configuration cycle; when the failure time point of the device module is less than the candidate configuration time point, the outage cost of the corresponding spare device module is calculated, and when the failure time point of the device module is greater than the candidate configuration time point, the idle cost of the corresponding spare device module is calculated; the total cost corresponding to each candidate configuration time point is calculated respectively, and the total cost includes: total outage cost and total idle cost; and the candidate configuration time point with the lowest total cost is used as the target configuration time point within the same configuration cycle.
[0089] The above idle cost and outage cost are generated because the spare equipment modules required in the configuration cycle are configured once, and the failure time points of the equipment modules in the configuration cycle are not exactly the same, so the above idle cost and outage cost will occur. For example, in a region, there are three failure time points T4, T5, and T6 in a configuration cycle M1 to M2, and the number of spare equipment modules that need to be configured within the configuration cycle is the sum of the corresponding numbers of T4, T5, and T6. When configuring the spare equipment modules in the region, the spare equipment modules with the above total number are uniformly configured to the region at a certain time point in the configuration cycle. Assuming a certain candidate configuration time point is T, then T and the three failure time points T4, T5, and T6 must have at least two time points that do not overlap with T, and there must be at least two failure time points that will incur idle costs or outage costs. For example, if T=T5, then T4 will incur outage costs due to the inability to be replaced in time when it reaches the failure time point, and T6 will incur idle costs due to the fact that the spare equipment module has not yet reached the failure time point when it is configured in the region at T5.
[0090] For example, in a region, a certain device module has n failure time points in a configuration cycle M1 to M2. Assume that the number of device modules corresponding to each time point is 1. Assume that the time point of a candidate configuration is T, the deactivation cost of a certain device module is C2 / time point, and the idle cost of the corresponding standby device module is C1 / time point. Then the total cost of the configuration at time point T is C:
[0091] C = ∑C2(T-Ti)(Ti is less than T)+∑C1(Ti-T)(Ti is greater than T);
[0092] Among them, T represents a certain configuration time point;
[0093] Ti represents the fault time point within the configuration cycle;
[0094] C2 represents the deactivation cost of a certain equipment module, in yuan / time point;
[0095] C1 represents the idle cost of a certain equipment module, in yuan / time point.
[0096] The calculation method of the total cost corresponding to the configuration time point is obtained, and then the total cost of each configuration time point is compared, and the configuration time point corresponding to the lowest total cost is selected.
[0097] By calculating the idle cost and deactivation cost, the configuration time point with lower cost is selected, thus saving replacement cost.
[0098] like Figure 4 As shown, in one embodiment, a device module configuration apparatus is provided, the apparatus comprising the following modules:
[0099] The first acquisition module 402 is used to acquire the usage time of each device module in the self-service device in a preset area.
[0100] The fault determination module 404 is used to determine the time point when each device module fails according to the usage time of each device module.
[0101] The cycle determination module 406 is used to determine the configuration cycle of the device module according to the time point when the device module fails.
[0102] The quantity determination module 408 is used to determine the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules, and to determine the types of spare equipment modules that need to be configured in the same configuration cycle and the corresponding quantity of each type according to the types of equipment modules in the same configuration cycle and the corresponding quantity of each type.
[0103] like Figure 5 As shown, in one embodiment, the device module configuration apparatus further includes:
[0104] The time determination module 410 is used to determine the configuration time point for the standby device module.
[0105] In one embodiment, the fault determination module is also used to determine the bathtub curve of the failure probability of the equipment module during its life cycle. The bathtub curve refers to a curve showing how the probability of a failure of the equipment module during its life cycle varies with time. The bathtub curve is derived based on the historical data of the equipment module. According to the bathtub curve of the equipment module, a Poisson distribution model is matched to determine the probability of the equipment module failing at each time point during its life cycle. The derived failure rates are added up in chronological order until the sum meets a preset value, and the time corresponding to the last summed failure rate is identified as the life span of the equipment module. The time point when the equipment module fails is determined by the life span of the equipment module and the usage time of the equipment module.
[0106] In one embodiment, the fault determination module is also used to obtain a preset failure rate threshold corresponding to each equipment module; obtain a failure rate function corresponding to each equipment module; calculate the corresponding life span when the corresponding equipment module reaches the preset failure rate threshold according to the failure rate function; and determine the time point when the equipment module fails according to the use time and life span of the equipment module.
[0107] In one embodiment, the cycle determination module is also used to obtain the idle cost of the spare equipment module, which refers to the relevant cost incurred after the spare equipment module is configured in the preset area and has not been used to replace the equipment module; obtain the deactivation cost of the equipment module, which refers to the relevant cost incurred when the equipment module is not replaced in time after a failure; the idle cost and the relevant cost are generated because the spare equipment module required for the configuration cycle is configured once, and the time point when the equipment module fails during the configuration cycle is not exactly the same, so there will be idle cost and deactivation cost. Obtain the transportation cost of the spare equipment module; calculate the configuration cycle corresponding to the equipment module based on the idle cost, deactivation cost and transportation cost.
[0108] In one embodiment, the time determination module is also used to obtain the idle cost of the spare equipment module, which refers to the relevant cost incurred after the spare equipment module is configured in the preset area and has not been used to replace the equipment module; obtain the outage cost of the equipment module, which refers to the relevant cost incurred when the equipment module is not replaced in time after a failure; and calculate the configuration time point of the spare equipment module within the configuration period based on the idle cost and the outage cost.
[0109] In one embodiment, a computer device is provided, the internal structure of which is shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the device module replacement method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the device module configuration method. Those skilled in the art can understand that Figure 6 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.
[0110] In one embodiment, the program development method provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 6 The computer device is run on the computer device shown in FIG. The memory of the computer device can store various program modules constituting the device module configuration device, such as the first acquisition module 402, the fault determination module 404, the cycle determination module 406, the quantity determination module 408, and the time determination module 410.
[0111] A computer device includes a memory and a processor, wherein a computer program is stored in the memory, and the processor is used to call the computer program in the memory to execute the following steps: obtaining the usage time of each device module in a self-service device in a preset area; determining the time point when each device module fails according to the usage time of each device module; determining the configuration cycle of the device module according to the time point when the device module fails; determining the types of device modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the device module; determining the types of spare device modules that need to be configured in the same configuration cycle and the corresponding quantity of each type according to the types of device modules in the same configuration cycle and the corresponding quantity of each type.
[0112] In one embodiment, the time point when a device module fails is determined based on the usage time of the device module, including: determining a bathtub curve of the failure probability of the device module in its life cycle, the bathtub curve refers to a curve showing how the probability of a device module failing in its life cycle changes with time, and the bathtub curve is derived based on historical data of the device module; matching a Poisson distribution model based on the bathtub curve of the device module to determine the probability of the device module failing at each time point in its life cycle; accumulating and summing the obtained failure rates in chronological order until the sum meets a preset value, and then identifying the time corresponding to the last summed failure rate as the life span of the device module; and determining the time point when the device module fails based on the life span of the device module and the usage time of the device module.
[0113] In one embodiment, determining the time point when a device module fails based on the usage time of the device module includes: obtaining a preset failure rate threshold corresponding to each device module; obtaining a failure rate function corresponding to each device module; calculating the corresponding life span when the corresponding device module reaches the preset failure rate threshold based on the failure rate function; and determining the time point when the device module fails based on the usage time and life span of the device module.
[0114] In one embodiment, the configuration cycle of the equipment module is determined according to the time point when the equipment module fails, including: obtaining the idle cost of the spare equipment module, the idle cost refers to the relevant cost generated after the spare equipment module is configured in a preset area and has not been used to replace the equipment module; obtaining the outage cost of the equipment module, the outage cost refers to the relevant cost generated when the equipment module is not replaced in time after a failure; obtaining the transportation cost of the spare equipment module; and calculating the configuration cycle corresponding to the equipment module based on the idle cost, the outage cost and the transportation cost.
[0115] In one embodiment, the configuration cycle corresponding to the equipment module is calculated according to the idle cost, the deactivation cost and the transportation cost, including: obtaining a preset first calculation cycle and a preset second calculation cycle, the time length corresponding to the second calculation cycle is equal to the sum of the time lengths corresponding to the two first calculation cycles; obtaining the current time, and determining the first configuration cycle, the second configuration cycle and the third configuration cycle corresponding to the current time according to the current time and the first calculation cycle and the second calculation cycle, the third configuration cycle including: the first configuration cycle and the second configuration cycle, the time lengths of the first configuration cycle and the second configuration cycle are the same; taking the central time point of the time period of the first configuration cycle as the configuration time point of the first configuration cycle, and taking the central time point of the time period of the second configuration cycle as the configuration time point of the second configuration cycle, The central time point of the time period in which the third configuration cycle is located is used as the configuration time point of the third configuration cycle; the one-time transportation cost is obtained; the first cost is calculated according to the configuration time point of the first configuration cycle, the configuration time point of the second configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; the second cost is calculated according to the configuration time point of the third configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; when the first cost is greater than the second cost, the third configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the third configuration cycle; when the first cost is less than the second cost, the first configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the first configuration cycle, and the second configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the second configuration cycle.
[0116] In one embodiment, after the step of determining the types of spare equipment modules that need to be configured in the same configuration cycle and the corresponding quantities of each type according to the types of equipment modules in the same configuration cycle and the corresponding quantities of each type, the computer program is also used to execute the following steps when it is called: obtaining the idle cost of the spare equipment module, the idle cost refers to the relevant cost incurred after the spare equipment module is configured in a preset area and has not been used to replace the equipment module; obtaining the deactivation cost of the equipment module, the deactivation cost refers to the relevant cost incurred when the equipment module is not replaced in time after a failure occurs; and calculating the configuration time point of the spare equipment module in the configuration cycle based on the idle cost and the deactivation cost.
[0117] In one embodiment, the configuration time point of the spare device module within the configuration cycle is calculated based on the idle cost and the outage cost, including: obtaining multiple candidate configuration time points preset within the same configuration cycle; when the failure time point of the device module is less than the candidate configuration time point, the outage cost of the corresponding spare device module is calculated, and when the failure time point of the device module is greater than the candidate configuration time point, the idle cost of the corresponding spare device module is calculated; the total cost corresponding to each candidate configuration time point is calculated respectively, and the total cost includes: total outage cost and total idle cost; and the candidate configuration time point with the lowest total cost is used as the target configuration time point within the same configuration cycle.
[0118] A readable storage medium stores a computer program, which is called to execute the following steps: obtaining the usage time of each device module in a self-service device in a preset area; determining the time point when each device module fails according to the usage time of each device module; determining the configuration cycle of the device module according to the time point when the device module fails; determining the types of device modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the device module; determining the types of spare device modules that need to be configured in the same configuration cycle and the corresponding quantity of each type according to the types of device modules in the same configuration cycle and the corresponding quantity of each type.
[0119] In one embodiment, the time point at which each equipment module fails is determined based on the usage time of each equipment module, including: determining a bathtub curve of the failure probability of the equipment module in its life cycle, the bathtub curve refers to a curve showing how the probability of a failure of an equipment module in its life cycle varies with time, and the bathtub curve is derived based on historical data of the equipment module; matching a Poisson distribution model based on the bathtub curve of the equipment module to determine the probability of the equipment module failing at each time point in its life cycle; accumulating and summing the obtained failure rates in chronological order until the sum meets a preset value, and then identifying the time corresponding to the last summed failure rate as the life span of the equipment module; and determining the time point at which the equipment module fails based on the life span of the equipment module and the usage time of the equipment module.
[0120] In one embodiment, determining the time point when a device module fails based on the usage time of the device module includes: obtaining a preset failure rate threshold corresponding to each device module; obtaining a failure rate function corresponding to each device module; calculating the corresponding life span when the corresponding device module reaches the preset failure rate threshold based on the failure rate function; and determining the time point when the device module fails based on the usage time and life span of the device module.
[0121] In one embodiment, the configuration cycle of the equipment module is determined according to the time point when the equipment module fails, including: obtaining the idle cost of the spare equipment module, the idle cost refers to the relevant cost generated after the spare equipment module is configured in a preset area and has not been used to replace the equipment module; obtaining the outage cost of the equipment module, the outage cost refers to the relevant cost generated when the equipment module is not replaced in time after a failure; obtaining the transportation cost of the spare equipment module; and calculating the configuration cycle corresponding to the equipment module based on the idle cost, the outage cost and the transportation cost.
[0122] In one embodiment, the configuration cycle corresponding to the equipment module is calculated according to the idle cost, the deactivation cost and the transportation cost, including: obtaining a preset first calculation cycle and a preset second calculation cycle, the time length corresponding to the second calculation cycle is equal to the sum of the time lengths corresponding to the two first calculation cycles; obtaining the current time, and determining the first configuration cycle, the second configuration cycle and the third configuration cycle corresponding to the current time according to the current time and the first calculation cycle and the second calculation cycle, the third configuration cycle including: the first configuration cycle and the second configuration cycle, the time lengths of the first configuration cycle and the second configuration cycle are the same; taking the central time point of the time period of the first configuration cycle as the configuration time point of the first configuration cycle, and taking the central time point of the time period of the second configuration cycle as the configuration time point of the second configuration cycle, The central time point of the time period in which the third configuration cycle is located is used as the configuration time point of the third configuration cycle; the one-time transportation cost is obtained; the first cost is calculated according to the configuration time point of the first configuration cycle, the configuration time point of the second configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; the second cost is calculated according to the configuration time point of the third configuration cycle, the deactivation cost, the idle cost, and the one-time transportation cost of the equipment module; when the first cost is greater than the second cost, the third configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the third configuration cycle; when the first cost is less than the second cost, the first configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the first configuration cycle, and the second configuration cycle is used as the configuration cycle of the equipment module in the time period corresponding to the second configuration cycle.
[0123] In one embodiment, after the step of determining the types of spare equipment modules that need to be configured in the same configuration cycle and the corresponding quantities of each type according to the types of equipment modules in the same configuration cycle and the corresponding quantities of each type, the computer program is also used to execute the following steps when it is called: obtaining the idle cost of the spare equipment module, the idle cost refers to the relevant cost incurred after the spare equipment module is configured in a preset area and has not been used to replace the equipment module; obtaining the deactivation cost of the equipment module, the deactivation cost refers to the relevant cost incurred when the equipment module is not replaced in time after a failure occurs; and calculating the configuration time point of the spare equipment module in the configuration cycle based on the idle cost and the deactivation cost.
[0124] In one embodiment, the configuration time point of the spare device module within the configuration cycle is calculated based on the idle cost and the outage cost, including: obtaining multiple candidate configuration time points preset within the same configuration cycle; when the failure time point of the device module is less than the candidate configuration time point, the outage cost of the corresponding spare device module is calculated, and when the failure time point of the device module is greater than the candidate configuration time point, the idle cost of the corresponding spare device module is calculated; the total cost corresponding to each candidate configuration time point is calculated respectively, and the total cost includes: total outage cost and total idle cost; and the candidate configuration time point with the lowest total cost is used as the target configuration time point within the same configuration cycle.
[0125] The above-mentioned 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.
[0126] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0127] 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 specification.
[0128] The above-mentioned 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. Please enter the specific implementation content part.
Claims
1. A device module configuration method, characterized in that: The method comprises: Obtain the usage time of each device module in the self-service equipment in the preset area; Determine the time point when each of the equipment modules fails according to the usage time of each of the equipment modules; Determining a configuration period of the device module according to a time point when the device module fails; Determine the types of equipment modules in the same configuration cycle and the quantity corresponding to each type according to the configuration cycle of the equipment modules; Determining the types of spare device modules required to be configured in the same configuration cycle and the corresponding number of each type according to the types of device modules in the same configuration cycle and the corresponding number of each type; Determining the configuration period of the device module according to the time point when the device module fails includes: Obtaining the idle cost of the standby device module, where the idle cost refers to the relevant cost incurred after the standby device module is configured in the preset area and has not been used to replace the device module; Obtaining the outage cost of the equipment module, where the outage cost refers to the relevant cost incurred when the equipment module fails to be replaced in time; Obtaining the transportation cost of the spare equipment module; Calculate the configuration period corresponding to the equipment module according to the idle cost, the deactivation cost and the transportation cost; Among them, in a configuration cycle, there are multiple failure time points, the total cost of idle cost and deactivation cost of each configuration time point in the configuration cycle is calculated, and the configuration time point corresponding to the lowest total cost is selected as the configuration time point of the standby device module; The step of calculating the configuration period corresponding to the equipment module according to the idle cost, the deactivation cost and the transportation cost includes: Obtaining a preset first calculation cycle and a preset second calculation cycle, wherein the time length corresponding to the second calculation cycle is equal to the sum of the time lengths corresponding to the two first calculation cycles; Acquire a current time, and determine a first configuration period, a second configuration period, and a third configuration period corresponding to the current time according to the current time and the first calculation period and the second calculation period, wherein the third configuration period includes: a first configuration period and a second configuration period, and the first configuration period and the second configuration period have the same time length; The central time point of the time period in which the first configuration cycle is located is used as the configuration time point of the first configuration cycle, the central time point of the time period in which the second configuration cycle is located is used as the configuration time point of the second configuration cycle, and the central time point of the time period in which the third configuration cycle is located is used as the configuration time point of the third configuration cycle; Get one-time shipping costs; A first cost is calculated according to a configuration time point of the first configuration cycle, a configuration time point of the second configuration cycle, a deactivation cost and an idle cost of the equipment module, and the one-time transportation cost; The second cost is calculated according to the configuration time point of the third configuration cycle, the deactivation cost and the idle cost of the equipment module, and the one-time transportation cost; When the first cost is greater than the second cost, using the third configuration period as the configuration period of the device module in the time period corresponding to the third configuration period; When the first cost is less than the second cost, the first configuration cycle is used as the configuration cycle of the device module in the time period corresponding to the first configuration cycle, and the second configuration cycle is used as the configuration cycle of the device module in the time period corresponding to the second configuration cycle.
2. The method according to claim 1, characterized in that Determining the time point when each of the equipment modules fails according to the usage time of each of the equipment modules includes: Determine a bathtub curve of the failure probability of the equipment module during its life cycle, wherein the bathtub curve is a curve showing the probability of failure of the equipment module during its life cycle over time, and the bathtub curve is derived based on historical data of the equipment module; According to the bathtub curve of the equipment module, a Poisson distribution model is matched to calculate the probability of failure of the equipment module at each time point in the life cycle; The obtained failure rates are accumulated and summed up in chronological order until the sum value meets a preset value, and the time corresponding to the last summed failure rate is recognized as the life span of the device module; The time point when the equipment module fails is determined according to the life span of the equipment module and the usage time of the equipment module.
3. The method according to claim 1, characterized in that Determining the time point when each of the equipment modules fails according to the usage time of each of the equipment modules includes: Obtaining a preset failure rate threshold corresponding to each of the device modules; Obtaining a failure rate function corresponding to each of the device modules; Calculate the corresponding life span of the corresponding device module when it reaches the preset failure rate threshold according to the failure rate function; The time point when the equipment module fails is determined according to the usage time and the life span of the equipment module.
4. The method according to claim 1, characterized in that: After the step of determining the types of spare device modules required to be configured in the same configuration cycle and the number of each type according to the types of device modules in the same configuration cycle and the number of each type, the method further includes: Obtaining the idle cost of the standby device module, where the idle cost refers to the relevant cost incurred after the standby device module is configured in the preset area and has not been used to replace the device module; Obtaining the outage cost of the equipment module, where the outage cost refers to the relevant cost incurred when the equipment module fails to be replaced in time; The configuration time point of the standby device module within the configuration cycle is calculated according to the idle cost and the deactivation cost.
5. The method according to claim 4, characterized in that The step of calculating the configuration time point of the standby device module within the configuration period according to the idle cost and the deactivation cost includes: Acquire multiple candidate configuration time points preset within the same configuration period; When the failure time point of the equipment module is less than the candidate configuration time point, the deactivation cost of the corresponding standby equipment module is calculated; when the failure time point of the equipment module is greater than the candidate configuration time point, the idle cost of the corresponding standby equipment module is calculated; The total cost corresponding to each candidate configuration time point is calculated respectively, and the total cost includes: a total deactivation cost and a total idle cost; The candidate configuration time point with the lowest total cost is used as the target configuration time point in the same configuration cycle.
6. A device module configuration device, characterized in that: The device comprises: The first acquisition module is used to acquire the usage time of each device module in the self-service device in the preset area; A fault determination module, used to determine a time point when each of the equipment modules fails according to the usage time of each of the equipment modules; A cycle determination module, used to determine the configuration cycle of the device module according to the time point when the device module fails; A quantity determination module, used to determine the types of equipment modules in the same configuration cycle and the corresponding quantity of each type according to the configuration cycle of the equipment modules, and determine the types of spare equipment modules required to be configured in the same configuration cycle and the corresponding quantity of each type according to the types of equipment modules in the same configuration cycle and the corresponding quantity of each type; Determining the configuration period of the device module according to the time point when the device module fails includes: Obtaining the idle cost of the standby device module, where the idle cost refers to the relevant cost incurred after the standby device module is configured in the preset area and has not been used to replace the device module; Obtaining the outage cost of the equipment module, where the outage cost refers to the relevant cost incurred when the equipment module fails to be replaced in time; Obtaining the transportation cost of the spare equipment module; Calculate the configuration period corresponding to the equipment module according to the idle cost, the deactivation cost and the transportation cost; Among them, in a configuration cycle, there are multiple failure time points, the total cost of idle cost and deactivation cost of each configuration time point in the configuration cycle is calculated, and the configuration time point corresponding to the lowest total cost is selected as the configuration time point of the standby device module; The step of calculating the configuration period corresponding to the equipment module according to the idle cost, the deactivation cost and the transportation cost includes: Obtaining a preset first calculation cycle and a preset second calculation cycle, wherein the time length corresponding to the second calculation cycle is equal to the sum of the time lengths corresponding to the two first calculation cycles; Acquire a current time, and determine a first configuration period, a second configuration period, and a third configuration period corresponding to the current time according to the current time and the first calculation period and the second calculation period, wherein the third configuration period includes: a first configuration period and a second configuration period, and the first configuration period and the second configuration period have the same time length; The central time point of the time period in which the first configuration cycle is located is used as the configuration time point of the first configuration cycle, the central time point of the time period in which the second configuration cycle is located is used as the configuration time point of the second configuration cycle, and the central time point of the time period in which the third configuration cycle is located is used as the configuration time point of the third configuration cycle; Get one-time shipping costs; A first cost is calculated according to a configuration time point of the first configuration cycle, a configuration time point of the second configuration cycle, a deactivation cost and an idle cost of the equipment module, and the one-time transportation cost; The second cost is calculated according to the configuration time point of the third configuration cycle, the deactivation cost and the idle cost of the equipment module, and the one-time transportation cost; When the first cost is greater than the second cost, using the third configuration period as the configuration period of the device module in the time period corresponding to the third configuration period; When the first cost is less than the second cost, the first configuration cycle is used as the configuration cycle of the device module in the time period corresponding to the first configuration cycle, and the second configuration cycle is used as the configuration cycle of the device module in the time period corresponding to the second configuration cycle.
7. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to call the computer program in the memory to execute the steps of the method according to any one of claims 1 to 5.
8. A readable storage medium, characterized in that: A computer program is stored, and the computer program can be called to execute the steps of the method according to any one of claims 1 to 5.
