Method and device for determining the number of equipment to be allocated, and electronic device
By calculating the deviation between the equipment usage frequency and the overall frequency, the number of equipment allocated is dynamically adjusted, which solves the problem of resource imbalance in the configuration of traditional production equipment and improves the utilization efficiency of enterprise production equipment and the optimization of resource allocation.
Patent Information
- Application Number
- CN202411770836.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2044-12-03
AI Technical Summary
Traditional enterprise resource management neglects geographical location and external factors in the configuration of production equipment, resulting in uneven distribution of resources and low utilization efficiency.
By obtaining the number of times the equipment is used and the number of configurations within the target period, the deviation between the usage frequency and the overall frequency is calculated, and the number of equipment allocated is dynamically adjusted to optimize resource allocation.
This has enabled the optimization of internal resources in production equipment, improved utilization efficiency, avoided resource waste and redundant procurement, and reduced operating costs.
Smart Images

Figure CN119692695B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of enterprise resource management, and more specifically, to a method, apparatus, and electronic device for determining the quantity of equipment to be allocated. Background Technology
[0002] In today's business environment, production equipment, as a crucial component of enterprise production activities, directly impacts the rational utilization of resources and the improvement of production efficiency through its configuration and management. However, traditional enterprise resource management methods, especially when it comes to production equipment configuration, generally employ a standardized configuration strategy. This strategy ignores the diversity of geographical locations of subordinate organizations and the differences in actual production needs caused by external factors such as geographical environment, climate conditions, and market demand. For example, regarding irrigation equipment, the actual demand in arid regions is far higher than in rainy regions. However, by using a standardized configuration, arid regions may face equipment shortages, while equipment in rainy regions may remain idle for extended periods. This configuration method clearly leads to an uneven distribution of resources and low utilization efficiency.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a method, apparatus, and electronic device for determining the number of equipment to be allocated, in order to at least solve the technical problem of low utilization efficiency of production equipment caused by enterprises allocating production equipment based on fixed configurations in the prior art.
[0005] According to one aspect of this application, a method for determining the quantity of equipment to be allocated is provided, comprising: obtaining the number of times a target device is used in N departments within a target period to obtain N first values, wherein N is an integer greater than or equal to 1; obtaining the actual configuration quantity of the target device in the N departments within the target period to obtain N second values; determining the usage frequency of the target device in each department and the overall usage frequency of the target device in all departments based on the N first values and the N second values; determining the deviation value of each department based on the usage frequency of each department and the overall usage frequency to obtain N deviation values, wherein the deviation values are used to quantify the difference between the frequency of use of the target device in each department and the overall usage frequency; and determining the target allocation quantity of the target device in each department based on the N deviation values, a preset deviation range, and a target configuration quantity, wherein the target configuration quantity is a quantity less than a preset threshold, and the target allocation quantity is a target transfer-out quantity or a target transfer-in quantity.
[0006] Optionally, the target allocation quantity of the target equipment in each department is determined based on N deviation values, a preset deviation range, and the target configuration quantity. This includes: determining whether the i-th first value among the N first values is 0; if the i-th first value among the N first values is 0, determining the target allocation quantity of the target equipment in the i-th department based on the i-th second value and the target configuration quantity, where i is a positive integer less than or equal to N; if the i-th first value among the N first values is not 0, determining the target allocation quantity of the target equipment in the i-th department based on the i-th deviation value and the preset deviation range.
[0007] Optionally, when the i-th first value among the N first values is 0, the target allocation quantity of the target equipment in the i-th department is determined based on the i-th second value and the target configuration quantity, including: when the second value in the i-th department is greater than the target configuration quantity, the absolute difference between the second value in the i-th department and the target configuration quantity is taken as the target transfer quantity in the i-th department; when the second value in the i-th department is less than or equal to the target configuration quantity, the target allocation quantity in the i-th department is determined to be 0.
[0008] Optionally, if the i-th first value among the N first values is not 0, the target allocation quantity of the target equipment in the i-th department is determined according to the i-th deviation value and the preset deviation range, including: if the i-th deviation value is within the preset deviation range, the target allocation quantity of the i-th department is determined to be 0; if the i-th deviation value is not within the preset deviation range, the target allocation quantity of the target equipment in the i-th department is determined according to the i-th deviation value.
[0009] Optionally, if the i-th deviation value is not within the preset deviation range, the target transfer quantity of the target equipment in the i-th department is determined based on the i-th deviation value, including: if the i-th deviation value is greater than 0, determining the target transfer quantity of the target equipment in the i-th department based on the i-th second value and N first values; if the i-th deviation value is less than 0, determining whether the second value of the i-th department is greater than the target configuration quantity; if the second value of the i-th department is less than the target configuration quantity, determining the target transfer quantity of the i-th department to be 0; if the second value of the i-th department is greater than the target configuration quantity, determining the target transfer quantity of the target equipment in the i-th department based on the i-th second value and N first values.
[0010] Optionally, if the i-th deviation value is greater than 0, the target transfer quantity of the target equipment in the i-th department is determined based on the i-th second value and N first values, including: determining the first transfer quantity of the i-th department based on the i-th second value and N first values; determining the deviation value of the i-th department after adding the target equipment based on the first transfer quantity, thus obtaining the first deviation value; and determining the target transfer quantity of the target equipment in the i-th department based on the first deviation value and a preset deviation range.
[0011] Optionally, if the second value of the i-th department is greater than the target configuration quantity, the target transfer quantity of the target device in the i-th department is determined based on the i-th second value and N first values, including: determining the first transfer quantity of the i-th department based on the i-th second value and N first values; determining the deviation value of the i-th department after reducing the target device based on the first transfer quantity, and obtaining the second deviation value; determining the second transfer quantity based on the second deviation value and a preset deviation range; determining the third configuration quantity of the i-th department based on the absolute difference between the second value of the i-th department and the target configuration quantity; and determining the target transfer quantity of the target device in the i-th department based on the third configuration quantity and the second transfer quantity.
[0012] Optionally, after determining the target transfer quantity of the target equipment in N departments based on N deviation values, a preset deviation range, and the target configuration quantity, the method for determining the equipment transfer quantity further includes: if the target transfer quantity in the j-th department is the target transfer-in quantity, transferring the target equipment to the j-th department from all transferable transfer-out departments in the N departments in a preset order, until the target transfer-in quantity of the j-th department is met or the transferable transfer-out department has no transfer-out quantity, wherein the preset order is based on the size of the target transfer-out quantity of each transferable transfer-out department.
[0013] According to another aspect of this application, an apparatus for determining the quantity of equipment to be allocated is also provided, comprising: a first acquisition unit for acquiring the number of times a target device is used in N departments within a target period, obtaining N first values, wherein N is an integer greater than or equal to 1; a second acquisition unit for acquiring the actual configuration quantity of the target device in the N departments within the target period, obtaining N second values; a first determination unit for determining the usage frequency of the target device in each department and the overall usage frequency of the target device in all departments based on the N first values and the N second values; a second determination unit for determining the deviation value of each department based on the usage frequency of each department and the overall usage frequency, obtaining N deviation values, wherein the deviation values are used to quantify the difference between the frequency of use of the target device in each department and the overall usage frequency; and a third determination unit for determining the target allocation quantity of the target device in each department based on the N deviation values, a preset deviation range, and a target configuration quantity, wherein the target configuration quantity is a quantity less than a preset threshold, and the target allocation quantity is a target transfer-out quantity or a target transfer-in quantity.
[0014] According to another aspect of this application, an electronic device is also provided, wherein the electronic device includes one or more processors and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the above-described method for determining the number of device allocations.
[0015] In this application, the first step is to obtain the number of times the target device is used in N departments within the target period, resulting in N first values. Then, the actual number of devices configured in the N departments within the target period is obtained, resulting in N second values. This ensures the accuracy and relevance of subsequent analyses. Next, based on the N first and N second values, the usage frequency of the target device in each department and the overall usage frequency across all departments are determined. Then, based on the usage frequency in each department and the overall usage frequency, the deviation value for each department is determined, resulting in N deviation values. Finally, based on the N deviation values, a preset deviation range, and the target configuration quantity, the target conversion rate of the target device in each department is determined. The quantity of output or the target quantity of transfer in is calculated by taking into account the number of times each department uses the equipment and the actual number of equipment configured. The deviation between the usage frequency of each department and the overall usage frequency is obtained. Based on the deviation value of each department, the preset deviation range, and the target configuration quantity, the target quantity of output or transfer in each department is determined. Finally, dynamic allocation between departments can be realized according to the determined target quantity of output or transfer in, so as to achieve the purpose of internal resource optimization and efficiency improvement. This achieves the technical effect of improving the utilization efficiency of production equipment, and solves the technical problem of low utilization efficiency of production equipment caused by enterprises allocating production equipment based on fixed configuration in the existing technology. Attached Figure Description
[0016] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0017] Figure 1 This is a flowchart of an optional method for determining the quantity of equipment to be allocated according to an embodiment of this application. Figure 1 ;
[0018] Figure 2 This is a flowchart illustrating an optional deviation value determination according to an embodiment of this application;
[0019] Figure 3 This is a flowchart of an optional method for determining the number of devices to be allocated, according to an embodiment of this application;
[0020] Figure 4 This is a schematic diagram of an optional equipment allocation according to an embodiment of this application;
[0021] Figure 5 This is a flowchart of an optional method for determining the quantity of equipment to be allocated according to an embodiment of this application. Figure 2 ;
[0022] Figure 6 This is a schematic diagram of an optional device for determining the number of equipment to be allocated according to an embodiment of this application. Detailed Implementation
[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] It should also be noted that the information and data collected in this application are authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of this data all comply with the relevant laws, regulations, and standards of the relevant regions, and necessary confidentiality measures have been taken. This does not violate public order and good morals, and corresponding access points are provided for users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.
[0026] According to an embodiment of this application, an embodiment of a method for determining the number of equipment to be allocated is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0027] It should be noted that an equipment allocation system is used as the execution subject of the method for determining the equipment allocation quantity in this application embodiment. It is understood that the method for determining the equipment allocation quantity provided in this application embodiment can also be executed by other systems or devices, and this application embodiment does not specifically limit this.
[0028] Figure 1 This is a flowchart of an optional method for determining the quantity of equipment to be allocated according to an embodiment of this application. Figure 1 ,like Figure 1 As shown, the method includes the following steps:
[0029] Step S101: Obtain the number of times the target device is used in N departments within the target period, and obtain N first values.
[0030] In step S101, N is an integer greater than or equal to 1.
[0031] Optionally, the target period refers to the time frame during which the company collects data on equipment usage frequency and configuration quantity, such as one month, one quarter, or one year. The choice of target period depends on the frequency of the company's data collection and analysis, as well as the granularity of its monitoring of equipment usage.
[0032] Optionally, the equipment allocation system obtains the number of times the target equipment is used in each department within the target period.
[0033] Step S102: Obtain the actual number of target devices configured in N departments within the target period, and obtain N second values.
[0034] Optionally, the equipment allocation system obtains the actual number of target equipment configured in each department within the target period.
[0035] Step S103: Determine the usage frequency of the target device in each department and the overall usage frequency of the target device in all departments based on N first values and N second values.
[0036] Optionally, the equipment allocation system calculates the usage frequency (usage frequency) of each organization (department) and the overall usage frequency (overall usage frequency) based on the acquired data. The calculation method for the usage frequency of each organization is shown in formula (1), and the calculation method for the overall usage frequency is shown in formula (2).
[0037]
[0038]
[0039] Wherein, ∑ usage times of each organization represents the sum of usage times of each organization, and ∑ actual allocation quantity of each organization represents the sum of actual allocation quantity of each organization.
[0040] Step S104: Determine the deviation value for each department based on the usage frequency of each department and the overall usage frequency, resulting in N deviation values.
[0041] In step S104, the deviation value is used to quantify the difference between the frequency of each department's use of the target equipment and the overall usage frequency.
[0042] Optionally, the equipment allocation system determines the deviation between the usage frequency of each organization and the overall usage frequency based on the usage frequency of each organization and the overall usage frequency. The deviation value of each organization is calculated as shown in formula (3):
[0043]
[0044] Optionally, Table 1 is an example of optional deviation information according to an embodiment of this application. As shown in Table 1, there are n organizations in the enterprise that use the target equipment. The equipment allocation system obtains data such as the actual configuration quantity and usage frequency of the target equipment in each organization through the data middle platform or front-end business system. Then, it calculates the usage frequency of each organization according to formula (1), calculates the overall usage frequency according to formula (2), and finally determines the deviation value between the usage frequency of each organization and the overall usage frequency according to formula (3).
[0045] Table 1
[0046]
[0047] Optionally, Figure 2 This is a flowchart illustrating an optional deviation value determination according to an embodiment of this application, such as... Figure 2 As shown, firstly, the actual configuration quantity and usage record information (including the number of times of use) of each organization are obtained. Then, the total usage frequency and the usage frequency of each organization are calculated based on the actual configuration quantity and the number of times of use of each organization. Next, the deviation value between the usage frequency of each organization and the total usage frequency is calculated. Finally, the calculated total usage frequency, the usage frequency of each organization, and the deviation value of each organization are output.
[0048] Step S105: Determine the target allocation quantity of the target equipment in each department based on N deviation values, preset deviation range, and target configuration quantity.
[0049] In step S105, the target configuration quantity is the quantity that is less than a preset threshold, and the target transfer quantity is the target transfer-out quantity or the target transfer-in quantity.
[0050] Optionally, the preset deviation range is an interval, such as a preset deviation range of 10% to -10%.
[0051] Optionally, the equipment allocation system determines the number of target devices that need to be transferred out of each organization (target transfer-out quantity) or transferred in (target transfer-in quantity) based on the deviation value of each organization, the preset deviation range (allowable deviation range), and the minimum configuration quantity (target configuration quantity).
[0052] As can be seen from steps S101 to S105, in this application, the number of times the target device is used in N departments within the target period is first obtained, resulting in N first values. Then, the actual number of target devices configured in the N departments within the target period is obtained, resulting in N second values, ensuring the accuracy and relevance of subsequent analysis. Next, based on the N first values and N second values, the usage frequency of the target device in each department and the overall usage frequency of the target device in all departments are determined. Then, based on the usage frequency in each department and the overall usage frequency, the deviation value for each department is determined, resulting in N deviation values. Finally, based on the N deviation values, the preset deviation range, and the target configuration quantity, the target... The target number of equipment transferred out or transferred in each department is calculated by taking into account the number of times each department uses the equipment and the actual number of equipment configured. The deviation between the usage frequency of each department and the overall usage frequency is calculated. Based on the deviation value of each department, the preset deviation range, and the target configuration quantity, the target number of equipment transferred out or transferred in each department is determined. Finally, dynamic allocation between departments can be realized according to the determined target number of equipment transferred out or transferred in, thereby achieving the goal of internal resource optimization and efficiency improvement. This achieves the technical effect of improving the utilization efficiency of production equipment and solves the technical problem of low utilization efficiency of production equipment caused by enterprises allocating production equipment based on fixed configuration in the existing technology.
[0053] In one optional embodiment, the equipment allocation system determines whether the i-th first value among N first values is 0. If the i-th first value among N first values is 0, the system determines the target allocation quantity of the target equipment in the i-th department based on the i-th second value and the target configuration quantity, where i is a positive integer less than or equal to N. If the i-th first value among N first values is not 0, the system determines the target allocation quantity of the target equipment in the i-th department based on the i-th deviation value and a preset deviation range.
[0054] Optionally, the equipment allocation system first determines whether any organization has a usage count of 0. If an organization has a usage count of 0, it means that the organization has no usage record for the target equipment, possibly because the equipment is idle or has not yet been put into use. If the usage count of the i-th organization is 0, the system will determine the target allocation quantity of the target equipment in that organization based on the configuration quantity of the i-th organization (the i-th second value) and the set minimum configuration quantity. If the usage count of the i-th organization is not 0, the system will determine the target allocation quantity of the target equipment in that organization based on the i-th deviation value and the preset allowable deviation range. The allowable deviation range defines the acceptable fluctuation range of usage frequency. If the i-th deviation value exceeds the allowable range, the equipment allocation system will calculate the number of equipment that needs to be added or removed to make the usage frequency of that organization close to the overall average usage frequency.
[0055] As can be seen from the above, the equipment allocation system can dynamically adjust the allocation of equipment based on real-time usage records and configuration quantities, adapt to changes in production needs, ensure that resource allocation is always in the optimal state, and by accurately calculating the deviation between the usage frequency of each department and the overall average usage frequency, the system can intelligently identify departments with surplus or shortage of resources, and make precise allocations, avoiding resource waste and duplicate purchases.
[0056] In one optional embodiment, if the second value of the i-th department is greater than the target configuration quantity, the absolute difference between the second value of the i-th department and the target configuration quantity is taken as the target transfer quantity of the i-th department; if the second value of the i-th department is less than or equal to the target configuration quantity, the target transfer quantity of the i-th department is determined to be 0.
[0057] Optionally, for organizations with zero usage counts, the equipment allocation system calculates the target allocation quantity based on whether the actual configuration quantity is greater than the minimum configuration quantity. If the actual configuration quantity of an organization with zero usage counts is greater than the minimum configuration quantity, the transferable quantity for that organization is the difference between the actual configuration quantity and the minimum configuration quantity; if the actual configuration quantity of an organization with zero usage counts is less than or equal to the minimum configuration quantity, then it is determined that there is no transferable quantity for that organization.
[0058] For example, a company has three departments (A, B, and C), with a target configuration quantity of 5 units of equipment and a target period of one year. Department A has a configuration quantity of 10 units, with 400 uses; Department B has a configuration quantity of 4 units, with 200 uses; and Department C has a configuration quantity of 6 units, with 300 uses. Based on this, the equipment allocation system calculates the target allocation quantity for each department. Department A's configuration quantity of 10 units is greater than the target configuration quantity of 5 units, with a difference of 5 units. Therefore, Department A's target allocation quantity is 5 units. Department B's configuration quantity of 4 units is less than the target configuration quantity of 5 units. Therefore, Department B's target allocation quantity is 0 units, and no equipment allocation is required. Department C's configuration quantity of 6 units is greater than the target configuration quantity of 5 units, with a difference of 1 unit. Therefore, Department C's target allocation quantity is 1 unit.
[0059] As can be seen from the above, the equipment allocation system can identify departments with surplus resources through intelligent analysis and automatically calculate the amount of equipment that needs to be allocated, ensuring that equipment is allocated and utilized more rationally within the enterprise, effectively avoiding over-configuration of equipment, reducing unnecessary equipment purchase and maintenance costs, and reducing hidden costs caused by resource waste, thus saving the enterprise a lot of resources.
[0060] In one optional embodiment, if the i-th deviation value is within a preset deviation range, the target allocation quantity of the i-th department is determined to be 0; if the i-th deviation value is not within the preset deviation range, the target allocation quantity of the target equipment in the i-th department is determined based on the i-th deviation value.
[0061] Optionally, if the number of times an organization is used is not zero, the equipment allocation system identifies organizations that need to be added or transferred out based on the already generated deviations in the usage frequency of each organization.
[0062] Optionally, if the deviation value of the i-th organization is within the preset deviation range, it means that the organization is within the allowable deviation range and no additional equipment or equipment needs to be transferred out; if the deviation value of the i-th organization is not within the preset deviation range, it means that the organization is outside the allowable deviation range and equipment needs to be added or reduced. The equipment transfer system determines the target transfer quantity of the target equipment in the i-th organization based on the deviation value of the i-th organization.
[0063] As can be seen from the above, the equipment allocation system avoids excessive concentration or dispersion of resources by dynamically adjusting equipment configuration, enabling equipment to be allocated more rationally among departments, improving the overall utilization rate of equipment, reducing equipment idleness and duplicate purchases, and lowering the company's operating costs.
[0064] In one optional embodiment, if the i-th deviation value is greater than 0, the equipment allocation system determines the target transfer quantity of the target equipment in the i-th department based on the i-th second value and N first values; if the i-th deviation value is less than 0, it determines whether the second value of the i-th department is greater than the target configuration quantity; if the second value of the i-th department is less than the target configuration quantity, it determines that the target transfer quantity of the i-th department is 0; if the second value of the i-th department is greater than the target configuration quantity, it determines the target transfer quantity of the target equipment in the i-th department based on the i-th second value and N first values.
[0065] Optionally, if the deviation value of the i-th organization is greater than 0, it indicates that the usage frequency of the i-th organization is higher than the overall usage frequency. In this case, the system will calculate the number of equipment that the i-th organization needs to add, i.e., the target transfer quantity, based on the actual configuration quantity of the i-th organization and the usage frequency of all organizations, to meet its higher usage needs. If the deviation value of the i-th organization is less than 0, it indicates that the usage frequency of the i-th organization is lower than the overall average. In this case, the system will further determine whether the actual configuration quantity of the organization is greater than the target configuration quantity. If the actual configuration quantity is less than the target configuration quantity, it means that the organization's equipment configuration is already below the basic level required by the enterprise, so its target transfer quantity is 0, and the system will not transfer equipment from the organization. If the actual configuration quantity is greater than the target configuration quantity, it indicates that the organization has a surplus of equipment, and the system will calculate the number of equipment that can be transferred out, i.e., the target transfer quantity, based on the organization's actual configuration quantity and the usage frequency of all organizations.
[0066] As can be seen from the above, the equipment allocation system can automatically identify departments with wasted or insufficient resources by intelligently analyzing the deviation between the usage frequency and the overall average, dynamically adjust equipment configuration, avoid resource idleness and over-purchasing, and improve the overall resource utilization rate.
[0067] In one optional embodiment, the equipment allocation system first determines the first transfer quantity of the i-th department based on the i-th second value and N first values, then determines the deviation value of the i-th department after adding the target equipment based on the first transfer quantity, and obtains the first deviation value. Finally, the system determines the target transfer quantity of the target equipment in the i-th department based on the first deviation value and a preset deviation range.
[0068] Optionally, if the deviation value of the i-th organization is greater than 0, the number of devices that the i-th organization can add, x, is calculated as follows: x = (number of uses / (actual configuration quantity + x) - total number of uses) / total number of uses, where the number of uses is the number of times the i-th organization uses the target device within the target period, the actual configuration quantity is the actual configuration quantity of the target device in the i-th organization within the target period, and the total number of uses is the sum of the number of times all organizations use the target device within the target period.
[0069] Optionally, after the equipment allocation system determines the increase quantity for the i-th organization according to the above calculation method, if there are decimal places, it rounds up (for example, if x is 1.1, then x is 2). Then, it calculates the deviation value P1 of the i-th organization after the increase in the number of equipment. The calculation method is: P1 = (number of uses / (actual configuration quantity + x) - total number of uses) / total number of uses. Then, it determines whether the deviation value of the i-th organization after the increase in equipment is within the allowable deviation range. If the deviation value is within the allowable deviation range, the number of equipment that can be added x is taken as the target transfer quantity. If the deviation value is not within the allowable deviation range, the number of equipment that can be added x is reduced by 1 and taken as the target transfer quantity.
[0070] As can be seen from the above, when the departmental deviation value is greater than 0, the equipment allocation system can determine the final transfer quantity for that department based on the number of times it is used, the total number of times all departments are used, and the preset deviation range. This ensures that high-demand departments receive timely equipment support, reduces production waiting time and other unnecessary delays, and directly improves production efficiency and responsiveness.
[0071] In one optional embodiment, the equipment allocation system first determines the first transfer quantity of the i-th department based on the i-th second value and N first values. Then, it determines the deviation value of the i-th department after reducing the target equipment based on the first transfer quantity, and obtains the second deviation value. Then, it determines the second transfer quantity based on the second deviation value and a preset deviation range. After that, it determines the third configuration quantity of the i-th department based on the absolute difference between the second value of the i-th department and the target configuration quantity. Finally, it determines the target transfer quantity of the target equipment in the i-th department based on the third configuration quantity and the second transfer quantity.
[0072] Optionally, if the deviation value of the i-th organization is less than 0, the equipment allocation system calculates the number of equipment y that can be transferred out of the i-th organization. The calculation method is as follows: y = -(number of uses / (actual configuration quantity - y) - total number of uses) / total number of uses. After determining the number of equipment that can be transferred out of the i-th organization according to the above calculation method, if there are decimal places, round up. Then, determine the deviation value P2 of the i-th organization after reducing the equipment. The calculation method is: P2 = (number of uses / (actual configuration quantity - a) - total number of uses) / total number of uses. Then, determine whether the deviation value of the i-th organization after reducing the equipment is within the deviation allowable range. If the deviation value is within the deviation allowable range, the number of equipment that can be transferred out, y, is taken as the second transfer out quantity. If the deviation value is not within the deviation allowable range, the number of equipment that can be transferred out, y, is reduced by 1 and taken as the second transfer out quantity. Then, based on the actual configuration quantity and the minimum configuration quantity of the i-th organization, calculate the maximum transferable transfer out quantity c of the i-th organization (actual configuration quantity - minimum configuration quantity). Finally, take the minimum value between the maximum transferable transfer out quantity c and the second transfer out quantity as the target transfer out quantity of the i-th organization.
[0073] Optionally, the equipment allocation system can generate the quantity or allocation required for each organization based on the above calculation results. Table 2 is an example of an optional quantity or allocation required for each organization according to an embodiment of this application. As shown in Table 2, organization A can add 2 pieces of equipment, organization B can add 1 piece of equipment, and organization D can transfer out 1 piece of equipment.
[0074] Table 2
[0075] Serial Number organize Increase quantity Transferred quantity 1 Organization A 2 2 Organization B 1 3 Organization C 1 4 Organization D 1 5 Organization E 1 6 Organization F 1
[0076] Optionally, Figure 3 This is a flowchart illustrating an optional method for determining the quantity of equipment to be allocated, according to an embodiment of this application. Figure 3As shown, the equipment allocation system first obtains the preset deviation range and minimum configuration quantity standard. Then, based on the calculated deviation information between the usage frequency of each organization and the overall usage frequency, it determines whether any organization has a usage count of 0. If such a case exists, it checks whether the actual allocation quantity of that organization is greater than the minimum standard quantity. If the actual allocation quantity is greater than the minimum standard quantity, the difference between the actual allocation quantity and the minimum configuration standard quantity determines the quantity that can be allocated from that organization. If the actual allocation quantity is less than or equal to the minimum standard quantity, it determines that no quantity can be allocated from that organization. If the usage count of an organization is not 0, it further checks whether the organization's usage frequency deviation is within the allowable deviation range. If it is within the range, it determines that the organization does not need to add or allocate equipment. If it is not within the range, it further checks whether the organization's deviation value is greater than 0. If the deviation value is greater than 0, it calculates the quantity x that can be added to each organization with a deviation greater than 0. After calculating x, it verifies the organization's ability to add equipment after increasing the number of units. If the deviation value is within the allowable range, x is taken as the final increase quantity y of the organization; otherwise, the quantity after x minus 1 is taken as the final increase quantity y of the organization. If the deviation value is less than 0, it is determined whether the actual allocation quantity of the organization with a deviation value less than 0 is greater than the minimum configuration quantity standard. If the actual allocation quantity of the organization is less than the minimum configuration quantity standard, it is determined that the organization cannot be transferred out. If the actual allocation quantity of the organization is greater than the minimum configuration quantity standard, the transferable quantity a of each organization with an actual allocation quantity greater than the minimum configuration quantity is calculated based on the usage frequency. Then, it is verified whether the deviation after the transfer of each organization is within the allowable range. If it is within the range, a is taken as the pending transfer quantity b; otherwise, the value of a minus 1 is taken as the pending transfer quantity b. Then, the maximum transferable quantity c of each organization is calculated. The minimum value between the maximum transferable quantity c and the pending transfer quantity b is taken as the final transferable quantity n (n = min(b, c)). Finally, the equipment transfer system will generate a statistical table of the quantity that each organization needs to increase or the quantity that can be transferred out.
[0077] As can be seen from the above, the equipment allocation system can intelligently identify departments with surplus equipment resources and dynamically adjust equipment configuration to avoid resource waste, improve the overall utilization rate of equipment, reduce unnecessary equipment purchase and maintenance costs by obtaining the number of equipment that can be transferred out of departments, and at the same time reduce the hidden costs caused by resource waste.
[0078] In one optional embodiment, when the target transfer quantity for the j-th department is the same as the target transfer-in quantity, the equipment allocation system transfers the target equipment from all available transfer-out departments in N departments to the j-th department in a preset order until the target transfer-in quantity for the j-th department is met or the available transfer-out departments have no available transfer-out quantity. The preset order is based on the size of the target transfer-out quantity for each available transfer-out department.
[0079] Optionally, when the target transfer quantity for the j-th organization is the same as the target transfer-in quantity, the equipment allocation system sorts the organizations based on their target transfer-out quantities. That is, organizations with excess configurations and below-average usage frequencies are sorted by their target transfer-out quantities, prioritizing the organization with the largest target transfer-out quantity as the transferor. Starting with the organization with the largest target transfer-out quantity, the system gradually allocates target equipment to the j-th organization until the j-th organization's target transfer-in quantity is met or all available transfer-out organizations have no more equipment to transfer. During the allocation process, the system updates the actual configuration quantity and usage frequency of each organization in real time to ensure the accuracy of the allocation.
[0080] Optionally, the equipment allocation system, based on the analyzed increase and available allocation quantities for each organization, prioritizes allocation from the organization with the largest available allocation quantity to the organization with the largest increase requirement, until the increase demand of all organizations is met or the available allocation transfer organization has no more available allocation quantity. If the increase demand of each organization is still not met after allocation, the difference will generate a purchase demand.
[0081] Optionally, Figure 4 This is a schematic diagram of an optional equipment allocation according to an embodiment of this application, such as... Figure 4 As shown, the equipment allocation system, based on the analysis results, determines that organization A needs to add 2 pieces of equipment, organization B needs to add 1 piece of equipment, organization C needs to add 1 piece of equipment, organization D has 1 piece of equipment available for allocation, organization E has 1 piece of equipment available for allocation, and organization F has 1 piece of equipment available for allocation. Since organization A has the greatest demand, allocation is prioritized to organization A. First, 1 piece of equipment is allocated from organization D, then 1 piece of equipment is allocated from organization E. After satisfying organization A's demand, allocation is made to organization B. Since the number of available transferable equipment for organizations D and E is 0 at this point, 1 piece of equipment is allocated from organization F to organization B. At this point, the number of available transferable equipment for organizations D, E, and F is all 0. Therefore, the equipment allocation system generates a zero-purchase demand for organization C, which means that 1 piece of equipment needs to be purchased.
[0082] Optionally, the equipment allocation system performs equipment allocation between organizations in the following manner: First, each available organization is sorted from largest to smallest available allocation quantity; then, each organization requiring additional equipment is sorted from largest to smallest required additional quantity. Next, the internal allocation between organizations is calculated iteratively: For each organization i (representing an available organization) and organization j (representing an organization requiring additional equipment), the allocation quantity T is calculated. ij (Represents the quantity transferred from organization i to organization j), i.e., T ij =min(A i N j ), where A i N represents the number of units available for allocation to the i-th organization. jThis indicates the required increase quantity for the j-th organization, and then updates the available and increase quantities, i.e., A. i =A i -T ij N j =N j -T ij , when A i When = 0, for each unit j, calculate the difference, i.e., Dj = max(0, N). j Finally, the demand for individual purchases is generated for the difference.
[0083] Optionally, based on the above internal balancing allocation results, the equipment allocation system generates and outputs an internal allocation suggestion list and a retail purchase suggestion list for each organization. Table 3 is an example of an optional allocation suggestion list according to an embodiment of this application. As shown in Table 3, it indicates that organization A needs to add 2 pieces of equipment, and can transfer equipment from organization D and organization E to organization A respectively. Similarly, organization B needs to add 1 piece of equipment, and can transfer equipment from organization F to organization B.
[0084] Table 3
[0085]
[0086] Optionally, Table 4 is an example of an optional repurchase suggestion list according to an embodiment of this application. As shown in Table 4, it indicates that each organization has no quantity to transfer out, and organization C needs to purchase an additional 1 unit of equipment.
[0087] Table 4
[0088]
[0089] Optionally, Figure 5 This is a flowchart of an optional method for determining the quantity of equipment to be allocated according to an embodiment of this application. Figure 2 ,like Figure 5 As shown, the system first inputs the type of equipment. Then, it retrieves relevant information such as the quota standards, actual configuration quantity, and usage records of this type of equipment in each organization from the data platform or related front-end business systems. Next, it calculates the overall usage frequency, the usage frequency of each organization, and the deviation of each organization. Then, based on the preset deviation range and the minimum configuration quantity, combined with the obtained equipment information, it calculates the gap quantity of organizations with high utilization rates, i.e. the transfer quantity of organizations with low utilization rates. Finally, based on the calculation results, it outputs a transfer suggestion list, a suggested supplement list, and differentiated configuration schemes.
[0090] As can be seen from the above, the equipment allocation system can identify departments with surplus or shortage of resources and allocate them in a preset order to achieve efficient circulation and configuration of production equipment, improve the overall utilization rate of resources, and automatically generate detailed allocation suggestion lists and retail purchase suggestion lists to provide management with real-time and accurate data support for scientific decision-making.
[0091] According to another aspect of the embodiments of this application, a device for determining the number of equipment to be allocated is also provided. Figure 6 This is a schematic diagram of an optional device for determining the number of equipment to be allocated according to an embodiment of this application, such as... Figure 6 As shown, the device for determining the number of equipment to be allocated includes: a first acquisition unit 601, a second acquisition unit 602, a first determination unit 603, a second determination unit 604, and a third determination unit 605.
[0092] Optionally, the first acquisition unit 601 is used to acquire the number of times the target device is used in N departments within the target period, obtaining N first values, where N is an integer greater than or equal to 1; the second acquisition unit 602 is used to acquire the actual configuration quantity of the target device in N departments within the target period, obtaining N second values; the first determination unit 603 is used to determine the usage frequency of the target device in each department and the overall usage frequency of the target device in all departments based on the N first values and the N second values; the second determination unit 604 is used to determine the deviation value of each department based on the usage frequency of each department and the overall usage frequency, obtaining N deviation values, where the deviation values are used to quantify the difference between the frequency of use of the target device in each department and the overall usage frequency; the third determination unit 605 is used to determine the target allocation quantity of the target device in each department based on the N deviation values, the preset deviation range, and the target configuration quantity, where the target configuration quantity is the quantity less than a preset threshold, and the target allocation quantity is the target transfer-out quantity or the target transfer-in quantity.
[0093] Optionally, the third determining unit 605 includes: a first judging subunit, a first determining subunit, and a second determining subunit. The first judging subunit is used to determine whether the i-th first value among N first values is 0; the first determining subunit is used to determine the target allocation quantity of the target equipment in the i-th department based on the i-th second value and the target configuration quantity when the i-th first value among N first values is 0, where i is a positive integer less than or equal to N; the second determining subunit is used to determine the target allocation quantity of the target equipment in the i-th department based on the i-th deviation value and a preset deviation range when the i-th first value among N first values is not 0.
[0094] Optionally, the first determining subunit includes: a first determining module and a second determining module. The first determining module is configured to, when the second value of the i-th department is greater than the target configuration quantity, take the absolute difference between the second value of the i-th department and the target configuration quantity as the target transfer quantity of the i-th department; the second determining module is configured to, when the second value of the i-th department is less than or equal to the target configuration quantity, determine the target allocation quantity of the i-th department as 0.
[0095] Optionally, the second determining subunit includes: a third determining module and a fourth determining module. The third determining module is used to determine the target allocation quantity for the i-th department as 0 if the i-th deviation value is within a preset deviation range; the fourth determining module is used to determine the target allocation quantity of the target equipment in the i-th department based on the i-th deviation value if the i-th deviation value is not within the preset deviation range.
[0096] Optionally, the fourth determining module includes: a first determining submodule, a first judging submodule, a second determining submodule, and a third determining submodule. The first determining submodule is used to determine the target transfer quantity of the target equipment in the i-th department based on the i-th second value and N first values when the i-th deviation value is greater than 0; the first judging submodule is used to determine whether the second value of the i-th department is greater than the target configuration quantity when the i-th deviation value is less than 0; the second determining submodule is used to determine that the target transfer quantity of the i-th department is 0 when the second value of the i-th department is less than the target configuration quantity; and the third determining submodule is used to determine the target transfer quantity of the target equipment in the i-th department based on the i-th second value and N first values when the second value of the i-th department is greater than the target configuration quantity.
[0097] Optionally, the first determining submodule includes: a first determining component, a second determining component, and a third determining component. The first determining component is used to determine the first transfer-in quantity of the i-th department based on the i-th second value and N first values; the second determining component is used to determine the deviation value of the i-th department after adding the target equipment based on the first transfer-in quantity, thus obtaining a first deviation value; the third determining component is used to determine the target transfer-in quantity of the target equipment in the i-th department based on the first deviation value and a preset deviation range.
[0098] Optionally, the third determining submodule includes: a fourth determining component, a fifth determining component, a sixth determining component, a seventh determining component, and an eighth determining component. The fourth determining component is used to determine the first transfer quantity of the i-th department based on the i-th second value and N first values; the fifth determining component is used to determine the deviation value of the i-th department after reducing the target equipment based on the first transfer quantity, thus obtaining a second deviation value; the sixth determining component is used to determine the second transfer quantity based on the second deviation value and a preset deviation range; the seventh determining component is used to determine the third configuration quantity of the i-th department based on the absolute difference between the second value of the i-th department and the target configuration quantity; and the eighth determining component is used to determine the target transfer quantity of the target equipment in the i-th department based on the third configuration quantity and the second transfer quantity.
[0099] Optionally, the device for determining the number of equipment to be transferred further includes: a transfer unit, used to transfer the target equipment from all transferable departments in N departments to the j-th department in a preset order when the target transfer quantity in the j-th department is the target transfer-in quantity, until the target transfer-in quantity in the j-th department is met or the transferable transfer-out department has no transfer-out quantity, wherein the preset order is based on the size of the target transfer-out quantity of each transferable transfer-out department.
[0100] According to another aspect of this application, an electronic device is also provided, wherein the electronic device includes one or more processors and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the above-described method for determining the number of device allocations.
[0101] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0102] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0104] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0105] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0106] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0107] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method of determining a device allocation quantity, characterized by, The method comprises: obtaining the number of times of use of a target device in N departments in a target period, to obtain N first values, wherein N is an integer greater than or equal to 1; obtaining the actual configuration quantity of the target device in the N departments in the target period, to obtain N second values; determining the use frequency of the target device in each department and the overall use frequency of the target device in all departments according to the N first values and the N second values; determining the deviation value of each department according to the use frequency of each department and the overall use frequency, to obtain N deviation values, wherein the deviation value is used to quantify the difference between the frequency of use of the target device in each department and the overall use frequency; determining the target allocation quantity of the target device in each department according to the N deviation values, a preset deviation range, and a target configuration quantity, wherein the target configuration quantity is a quantity less than a preset threshold, and the target allocation quantity is a target transfer-out quantity or a target transfer-in quantity; wherein determining the target allocation quantity of the target device in each department according to the N deviation values, the preset deviation range, and the target configuration quantity comprises: determining whether an i th first value in the N first values is 0; in a case where the i th first value in the N first values is 0, determining the target allocation quantity of the target device in an i th department according to an i th second value and the target configuration quantity, wherein i is a positive integer less than or equal to N; in a case where the i th first value in the N first values is not 0, determining the target allocation quantity of the target device in the i th department according to an i th deviation value and the preset deviation range.
2. The method of claim 1, wherein, In a case where the i th first value in the N first values is 0, determining the target allocation quantity of the target device in the i th department according to the i th second value and the target configuration quantity comprises: in a case where the second value of the i th department is greater than the target configuration quantity, taking the absolute difference between the second value of the i th department and the target configuration quantity as the target transfer-out quantity of the i th department; in a case where the second value of the i th department is less than or equal to the target configuration quantity, determining the target allocation quantity of the i th department to be 0.
3. The method of claim 1, wherein, In a case where the i th first value in the N first values is not 0, determining the target allocation quantity of the target device in the i th department according to the i th deviation value and the preset deviation range comprises: if the i th deviation value is within the preset deviation range, determining the target allocation quantity of the i th department to be 0; if the i th deviation value is not within the preset deviation range, determining the target allocation quantity of the target device in the i th department according to the i th deviation value.
4. The method of claim 3, wherein, If the i th deviation value is not within the preset deviation range, determining the target allocation quantity of the target device in the i th department according to the i th deviation value comprises: In a case where the i-th bias value is greater than 0, determining a target incoming quantity of the target device in the i-th department according to the i-th second value and the N first values; In a case where the i-th bias value is less than 0, determining whether the second value of the i-th department is greater than the target configuration quantity; In a case where the second value of the i-th department is less than the target configuration quantity, determining that a target outgoing quantity of the i-th department is 0; In a case where the second value of the i-th department is greater than the target configuration quantity, determining a target outgoing quantity of the target device in the i-th department according to the i-th second value and the N first values.
5. The method of claim 4, wherein, In a case where the i-th bias value is greater than 0, determining a target incoming quantity of the target device in the i-th department according to the i-th second value and the N first values, comprising: Determining a first incoming quantity of the i-th department according to the i-th second value and the N first values; Determining a bias value of the i-th department after increasing the target device according to the first incoming quantity, to obtain a first bias value; Determining a target incoming quantity of the target device in the i-th department according to the first bias value and the preset bias range.
6. The method of claim 4, wherein, In a case where the second value of the i-th department is greater than the target configuration quantity, determining a target outgoing quantity of the target device in the i-th department according to the i-th second value and the N first values, comprising: Determining a first outgoing quantity of the i-th department according to the i-th second value and the N first values; Determining a bias value of the i-th department after decreasing the target device according to the first outgoing quantity, to obtain a second bias value; Determining a second outgoing quantity according to the second bias value and the preset bias range; Determining a third configuration quantity of the i-th department according to an absolute difference between the second value of the i-th department and the target configuration quantity; Determining a target outgoing quantity of the target device in the i-th department according to the third configuration quantity and the second outgoing quantity.
7. The method of claim 1, wherein, After determining the target allocation quantity of the target device in the N departments according to the N bias values, the preset bias range and the target configuration quantity, the device allocation quantity determination method further comprises: In a case where the target allocation quantity of the j-th department is a target incoming quantity, transferring the target device from all allocable outgoing departments in the N departments to the j-th department in a preset order until the target incoming quantity of the j-th department is met or there is no allocable outgoing quantity in the allocable outgoing department, wherein the preset order is an order according to the size of the target outgoing quantity of each allocable outgoing department.
8. A device for determining the quantity of equipment to be allocated, characterized in that, Comprising: A first acquisition unit acquires a usage frequency of a target device in N departments in a target period, to obtain N first values, wherein N is an integer greater than or equal to 1; A second acquisition unit acquires an actual configuration quantity of the target device in the N departments in the target period, to obtain N second values; The first determining unit determines the use frequency of the target device in each department and the overall use frequency of the target device in all departments according to the N first values and the N second values; The second determining unit determines a deviation value of each department according to the use frequency of each department and the overall use frequency, to obtain N deviation values, wherein the deviation value is used to quantify the difference between the frequency of using the target device in each department and the overall use frequency; The third determining unit determines a target allocation quantity of the target device in each department according to the N deviation values, a preset deviation range and a target configuration quantity, wherein the target configuration quantity is a quantity less than a preset threshold, and the target allocation quantity is a target transfer-out quantity or a target transfer-in quantity; The third determining unit comprises a first judgment subunit, configured to judge whether an i-th first value in the N first values is 0; a first determination subunit, configured to, in a case where the i-th first value in the N first values is 0, determine a target allocation quantity of the target device in an i-th department according to an i-th second value and the target configuration quantity, wherein i is a positive integer less than or equal to N; and a second determination subunit, configured to, in a case where the i-th first value in the N first values is not 0, determine the target allocation quantity of the target device in the i-th department according to the i-th deviation value and the preset deviation range.
9. An electronic device, comprising: The device comprises one or more processors and a memory, and the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the method for determining the device allocation quantity according to any one of claims 1 to 7.
Citation Information
Patent Citations
Cage resource allocation method and device and storage medium
CN114612032A
Commodity configuration method and device
CN118551984A