Recommended method and device for server assembly, storage medium and electronic device

By using the running history parameters of the target database in the server assembly recommendation system to generate health status parameters and filter out high-quality components, the problem of low server performance stability in the existing technology is solved and higher server performance stability is achieved.

CN118822692BActive Publication Date: 2024-11-19INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411298711.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-11-19
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

The existing server assembly methods rely on manual selection, resulting in low stability of the server performance obtained by assembly and lack of effective evaluation of the health status of server components.

Method used

By using the target database to store the running history parameters of the server component in the assembly recommendation system, generate health status parameters, filter out components that meet the target parameter conditions, and build a target recommendation solution to improve the health status of the server component.

Benefits of technology

Improves the performance stability of the server obtained by assembly, and avoids the problems of unstable performance or short service life caused by insufficient health status assessment during manual selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118822692B_ABST
    Figure CN118822692B_ABST
Patent Text Reader

Abstract

The present application discloses a server assembly recommendation method and device, a storage medium and an electronic device. The server assembly recommendation method comprises: receiving an assembly recommendation request initiated by a target account; responding to the assembly recommendation request, screening out candidate server components that meet the component information indicated by the target configuration from a component warehouse; generating health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server components stored in a target database; screening out target server components whose health status parameters meet the target parameter conditions from the candidate server components; constructing the target server components into a target recommendation scheme and sending it to the target account. The above technical scheme is adopted to solve the problem of low stability of the performance of the assembled server in the related technology, thereby achieving the technical effect of improving the stability of the performance of the assembled server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the computer field, and in particular, to a recommended method and device for server assembly, a storage medium, and an electronic device. Background Art

[0002] With the continuous expansion of data center scale and the development of server technology, servers have become the core component of modern data centers and enterprise information technology infrastructure. The need to process a large number of tasks and data has also put forward higher requirements for the stability and reliability of server operation. In this context, server assembly has become an important link to ensure the normal operation of the system and the accuracy of fault analysis.

[0003] In the prior art, the server assembly method mainly relies on manual selection. The technician first determines the model, configuration and quantity of the server components based on the server configuration list, then goes to the component warehouse to get these server components, and finally assembles them to obtain a server that meets the target configuration. For example, a target configuration list contains a memory bar configured as 128GB. The technician needs to select a memory bar that meets the configuration from the component warehouse to assemble the server. However, the health status of server components of the same model and configuration stored in the component warehouse may be inconsistent, so the service life and performance of the assembled server may be different, reducing the reliability of the assembled server.

[0004] In view of the problem that the performance stability of the assembled server is low in the related art, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method and device for recommending server assembly, a storage medium, and an electronic device, so as to at least solve the problem of low stability of the performance of the assembled server in the related art.

[0006] According to an embodiment of the present application, a server assembly recommendation method is provided, which is applied to an assembly recommendation system, wherein the assembly recommendation system is configured to allow access to a target database, wherein the target database stores component operation parameters of each server component in a component warehouse, wherein the component warehouse is used to store a plurality of server components to be used with operation history, wherein the component operation parameters are used to indicate the operation stability of the corresponding server component during the historical operation process, wherein the method comprises:

[0007] Receiving an assembly recommendation request initiated by a target account, wherein the assembly recommendation request is used to request a server of a target configuration to be assembled, and the target configuration is used to indicate component information of a server component used by the assembled server;

[0008] In response to the assembly recommendation request, screening out candidate server components from the component warehouse that meet the component information indicated by the target configuration;

[0009] Generating health status parameters of each of the candidate server components according to the candidate component operation parameters of the candidate server components stored in the target database, wherein the health status parameters are used to indicate the current health status of the corresponding candidate server components;

[0010] Filter out a target server component whose health status parameter satisfies a target parameter condition from the candidate server components, wherein the health status of the server component whose health status parameter satisfies the target parameter condition is greater than the target health status;

[0011] The target server component is constructed into a target recommendation solution and sent to the target account.

[0012] Optionally, generating the health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database includes:

[0013] Obtaining the trouble-free operation time, the number of operation alarms and the number of operation failures in the operation parameters of the candidate component, wherein the trouble-free operation time is used to indicate the trouble-free operation time of the corresponding candidate server component in the historical operation process, the number of operation alarms is used to indicate the number of alarm events of the corresponding candidate server component in the historical operation process, and the number of operation failures is used to indicate the number of failure events of the corresponding candidate server component in the historical operation process;

[0014] The health status parameter of the corresponding candidate server component is generated according to the trouble-free operation time, the number of operation alarms and the number of operation failures.

[0015] Optionally, generating the health status parameter of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures includes:

[0016] Generate a running time parameter according to the trouble-free running time, wherein the running time parameter is used to indicate the running stability of the corresponding candidate server component in the historical running process from the dimension of the trouble-free running time;

[0017] Generate an alarm information parameter according to the number of operation alarms, wherein the operation time parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of occurrences of the alarm event;

[0018] Generate a fault information parameter according to the number of operation faults, wherein the fault information parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of failure events;

[0019] The health status parameter of the corresponding candidate server component is generated according to the running time parameter, the alarm information parameter and the fault information parameter.

[0020] Optionally, generating a running time parameter according to the trouble-free running time includes:

[0021] Acquire a historical total operating time and a benchmark operating time, wherein the historical total operating time is used to indicate the total operating time of the corresponding candidate server component during the historical operation process, and the benchmark operating time is used to indicate the expected operating life of the corresponding candidate server component;

[0022] Determine the ratio of the trouble-free operation time to the historical total operation time as a first ratio, wherein a larger first ratio indicates a better operation stability of the corresponding candidate server component during the historical operation process;

[0023] Determine the ratio of the benchmark running time to the historical total running time as a second ratio, wherein the smaller the second ratio is, the better the running stability of the corresponding candidate server component is during the historical running process;

[0024] The first ratio and the second ratio are multiplied to obtain the runtime parameter.

[0025] Optionally, the generating of alarm information parameters according to the number of operation alarms includes:

[0026] Acquire an alarm coefficient of the candidate server component, wherein the alarm coefficient is preset, and the alarm coefficient of the candidate server component that occurs the alarm event more frequently is set to be larger;

[0027] Determine the product of the number of operation alarms and the alarm coefficient as a first product;

[0028] performing an addition operation on a first constant and the first product to obtain a first sum value;

[0029] The reciprocal of the first sum value is determined as the warning information parameter.

[0030] Optionally, generating a fault information parameter according to the number of operating faults includes:

[0031] Acquire a failure coefficient of the candidate server component, wherein the failure coefficient is preset, and the failure coefficient of the candidate server component that has the more frequent failure events is set to be larger;

[0032] Determine the product of the number of operating failures and the failure coefficient as a second product;

[0033] performing an addition operation on a second constant and the second product to obtain a second sum value;

[0034] The reciprocal of the second sum value is determined as the fault information parameter.

[0035] Optionally, generating the health status parameter of the corresponding candidate server component according to the running time parameter, the alarm information parameter and the fault information parameter includes:

[0036] Obtaining a time weight coefficient of the running time parameter, an alarm weight coefficient of the alarm information parameter, and a fault weight coefficient of the fault information parameter, wherein the sum of the time weight coefficient, the alarm weight coefficient and the fault weight coefficient is 1;

[0037] An addition operation is performed on the third product of the time weight coefficient and the operating time parameter, the fourth product of the alarm weight coefficient and the alarm information parameter, and the fifth product of the fault weight coefficient and the fault information parameter to obtain the health status parameter.

[0038] Optionally, the step of selecting a target server component whose health status parameter satisfies a target parameter condition from the candidate server components includes:

[0039] Detecting whether the health status parameter of the candidate server component is greater than a target parameter threshold;

[0040] In a case where the health status parameter is greater than the target parameter threshold, it is determined that the health status parameter of the candidate server component meets the target parameter condition.

[0041] Optionally, constructing the target server component into a target recommendation solution and sending it to the target account includes:

[0042] In the case where the target configuration is used to indicate that the server to be assembled includes N server components, a reference recommendation scheme is constructed using the N target server components according to the target configuration, wherein the N target server components included in the reference recommendation scheme are allowed to be assembled into a server that meets the target configuration, and N is an integer greater than 1;

[0043] Calculating a server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme, wherein the server health parameter is used to indicate the health status of a server constructed using the N target server components in the reference recommendation scheme;

[0044] When the server health parameter is greater than the health parameter threshold, the reference recommendation plan is determined as the target recommendation plan, and the server health parameter greater than the health parameter threshold is used to indicate that the health status of the server built using N target server components in the reference recommendation plan is higher than the target health status.

[0045] Optionally, the calculating the server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme includes:

[0046] Obtaining a component weight parameter of each of the N target server components, wherein the component weight parameter is used to indicate the degree of influence of the corresponding target server component abnormality on the operation of the assembled server, and the greater the influence of the target server component abnormality on the operation of the assembled server, the greater the corresponding component weight parameter;

[0047] The server health parameter of the reference recommended solution is calculated by the following formula:

[0048] ;

[0049] in, is the server health parameter of the reference recommended solution, is the health status parameter of the i-th target server component among the N target server components of the reference recommendation solution, is the component weight parameter of the i-th target server component among the N target server components of the reference recommendation solution, where i is an integer greater than or equal to 1 and less than or equal to N.

[0050] Optionally, constructing the target server component into a target recommendation solution and sending it to the target account includes:

[0051] In the case where the assembly recommendation request is used to request the assembly of M servers of the target configuration, and the target configuration is used to indicate that the server to be assembled includes K server components, M target recommendation schemes are constructed using M×K target server components according to the target configuration, wherein each of the M target recommendation schemes is used to indicate the K target server components required to assemble one server of the target configuration, and the server health parameter of each target recommendation scheme is greater than a health parameter threshold, and the server health parameter is calculated based on the health status parameter of each of the K target server components in the corresponding target recommendation scheme, and the server health parameter is used to indicate the health status of the server constructed using the K target server components in the target recommendation scheme, and the server health parameter being greater than the health parameter threshold is used to indicate that the health status of the server constructed using the K target server components in the target recommendation scheme is higher than the target health status, and M and K are both integers greater than 1.

[0052] According to another embodiment of the present application, there is also provided a server assembly recommendation device, which is applied to an assembly recommendation system. The assembly recommendation system is configured to allow access to a target database, wherein the target database stores component operation parameters of each server component in a component warehouse, wherein the component warehouse is used to store a plurality of server components to be used with operation history, wherein the component operation parameters are used to indicate the operation stability of the corresponding server component during the historical operation process, and the device comprises:

[0053] A receiving module, configured to receive an assembly recommendation request initiated by a target account, wherein the assembly recommendation request is used to request a server to be assembled with a target configuration, and the target configuration is used to indicate component information of a server component used by the assembled server;

[0054] A response module, configured to respond to the assembly recommendation request and select candidate server components from the component warehouse that meet the component information indicated by the target configuration;

[0055] A generating module, configured to generate health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database, wherein the health status parameters are used to indicate the current health status of the corresponding candidate server component;

[0056] A screening module, used for screening out target server components whose health status parameters satisfy target parameter conditions from the candidate server components, wherein the health status of the server components whose health status parameters satisfy the target parameter conditions is greater than the target health status;

[0057] A construction module is used to construct the target server component into a target recommendation solution and send it to the target account.

[0058] According to another embodiment of the present application, a computer program product is provided, including a computer program, wherein the computer program is executed by a processor to perform the steps in any of the above method embodiments.

[0059] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0060] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0061] In an embodiment of the present application, a server assembly recommendation method is proposed, which is applied to an assembly recommendation system. The assembly recommendation system is configured to allow access to a target database. The target database stores component operation parameters of each server component in a component warehouse. The component warehouse is used to store multiple server components to be used with operation history. The component operation parameters are used to indicate the operation stability of the corresponding server components during the historical operation process. The assembly recommendation system first receives an assembly recommendation request initiated by a target account. The assembly recommendation request can request the assembly of a server with a target configuration. The target configuration can indicate component information of the server components used to assemble the server. Then, in response to the assembly recommendation request, candidate server components that meet the component information indicated by the target configuration are screened out from the component warehouse. Then, candidate server components are generated according to the candidate component operation parameters of the candidate server components stored in the target database. The health status parameters of the server components can indicate the current health status of the corresponding candidate server components; then, the target server components whose health status parameters meet the target parameter conditions are screened out from the candidate server components, and the health status of the server components whose health status parameters meet the target parameter conditions is greater than the target health status; finally, the target server components are constructed into a target recommendation scheme and sent to the target account. Each target server component in the target recommendation scheme obtained in the above manner meets the target configuration, and the health status of the target server components is greater than the target health status. Compared with the prior art, this scheme takes the health status of the server components into consideration during the server assembly process, thereby avoiding the prior art that relies on manual experience to select server components, lacks the health status evaluation of all candidate server components, resulting in unstable performance or short service life of the assembled server. The above technical scheme is adopted to solve the problems of low stability of the performance of the assembled server in the related technology, and achieve the technical effect of improving the stability of the performance of the assembled server. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a hardware structure block diagram of a computer device of a recommended method for assembling a server according to an embodiment of the present application;

[0063] Figure 2 is a flow chart of a recommended method for server assembly according to an embodiment of the present application;

[0064] Figure 3 is a schematic diagram of a step of obtaining health status parameters of all candidate server components according to an embodiment of the present application;

[0065] Figure 4 is a schematic diagram of evaluating health status parameters of a single candidate server component according to an embodiment of the present application;

[0066] Figure 5 is a schematic diagram of a process of generating a target recommendation solution according to a target configuration according to an embodiment of the present application;

[0067] Figure 6 is a structural block diagram of a recommended device for server assembly according to an embodiment of the present application;

[0068] Figure 7 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0069] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0070] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0071] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a computer device of a recommended method for assembling a server according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0072] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the recommended method of server assembly in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0073] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0074] The present application proposes a recommended method for assembling a server. Before describing the optional embodiments of the present application, in order to better understand the inventive concept of the present application and the creativity of the solution, the related technologies are first described:

[0075] In the related technology, the common way of server assembly is: first, all server components in the component warehouse are managed through the inventory management system, and barcodes and RFID (Radio Frequency Identification) technology are usually used to automatically identify and track server components in the component warehouse, making their entry and exit operations faster and more accurate. At the same time, with the help of wireless networks and handheld devices, inventory data can be transmitted and updated in real time. The integrated database system is responsible for storing and managing the inventory information of all server components to ensure the integrity and security of the data. Through these technologies, the inventory management system can timely update the inventory information of server components, automate entry and exit operations, and accurately locate the location of server components, thereby helping enterprises reduce the risk of inventory backlog and out-of-stock, and improve inventory turnover. When there is a server assembly request, the system will select appropriate equipment and components from the inventory for assembly and complete the shipment according to the assembly requirements. Among them, the process of selecting server components that meet the assembly requirements is completed manually. The technician first queries the corresponding inventory list through the inventory management system, then manually selects the required equipment and components, and finally assembles the selected equipment and components to obtain a server that meets the target configuration. In the above process, the technician only determines the model, configuration and quantity of the server components based on the server configuration sheet, then goes to the component warehouse to take these server components, and finally assembles them to obtain a server that meets the target configuration. However, the health status of server components of the same model and configuration stored in the component warehouse may be inconsistent, so the service life and performance of the assembled server may be different, reducing the reliability of the assembled server.

[0076] In this embodiment, a server assembly recommendation method is provided, which is applied to an assembly recommendation system. The assembly recommendation system is configured to allow access to a target database. The target database stores component operation parameters of each server component in a component warehouse. The component warehouse is used to store a plurality of server components to be used with operation history. The component operation parameters are used to indicate the operation stability of the corresponding server component during the historical operation process. Figure 2 is a flowchart of a recommended method for server assembly according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:

[0077] Step S12, receiving an assembly recommendation request initiated by a target account, wherein the assembly recommendation request is used to request to assemble a server of a target configuration, and the target configuration is used to indicate component information of server components used to assemble the server;

[0078] Step S14, in response to the assembly recommendation request, screening out candidate server components that meet the component information indicated by the target configuration from the component warehouse;

[0079] Step S16, generating health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database, wherein the health status parameter is used to indicate the current health status of the corresponding candidate server component;

[0080] Step S18, selecting a target server component whose health status parameter meets a target parameter condition from the candidate server components, wherein the health status of the server component whose health status parameter meets the target parameter condition is greater than the target health status;

[0081] Step S110: construct the target server component into a target recommendation plan and send it to the target account.

[0082] Optionally, in this embodiment, the assembly recommendation request may include but is not limited to the following information: the number of servers to be assembled, for example, M servers need to be assembled, where M is an integer greater than or equal to 1; target configuration information, including but not limited to the specific models and parameters of key components such as the central processing unit, memory, disk, network interface, etc. required by the server. These configuration information are usually set according to the usage scenario and workload of the server. For example, each server to be assembled may require a high-performance CPU (Central Processing Unit), 128GB of DDR4 ECC (Double Data Rate 4 Error-Correcting Code, fourth-generation double data rate synchronous dynamic random access memory) memory, a 1TB NVMe SSD (Non-Volatile Memory Express Solid State Drive, non-volatile memory expression solid state drive) and a 4TB SATA (Serial ATA) SSD. ATA, Serial Advanced Technology Attached Drive), multiple 80mm high-efficiency fans for heat dissipation, and a 1000W high-efficiency power supply to ensure a stable power supply; server usage information, clarifying the specific application scenarios in which the server will be used, such as virtualization environment, database server, file storage, cloud computing, etc.; budget constraints, providing a procurement budget range so that the output target recommendation plan is cost-effective.

[0083] Optionally, in this embodiment, the types of multiple server components with operation history stored in the component warehouse include but are not limited to: central processing unit, memory, disk, motherboard, power supply, fan, radiator, chassis, network interface card, etc. The assembly recommendation system selects server components that meet the target configuration from the component warehouse according to the allocation recommendation request and determines them as candidate server components. In this embodiment, all server components that meet the target configuration, such as central processing unit, memory, disk, fan and power supply, are selected as candidate server components, and the number of each type of candidate server components meets the basic requirements of the component information indicated by the target configuration.

[0084] Optionally, in this embodiment, the candidate component operation parameters of the candidate server components stored in the target database may be, but are not limited to, the performance and status indicators monitored by all components during the historical operation process, including cumulative operation time, operation temperature, historical usage rate, error and fault records, usage time, and benchmark operation life, etc. Based on these candidate component operation parameters, the health status of the corresponding candidate server components can be comprehensively evaluated. For example, there are two candidate server components that have been used, namely CPU A and CPU B. The corresponding operation parameter situation is that the cumulative operation time of CPU A is longer than that of CPU B, and the error and fault records of CPU A are also higher than those of CPU B. The other parameter situations are the same. Generally, for a CPU, the longer the cumulative operation time, the higher the aging degree may be, and the higher the error and fault records, the more hardware problems there may be or it is close to the end of its life. Obviously, based on these historical operation parameters, it can be evaluated that the health status of CPU A is lower than that of CPUB.

[0085] Optionally, in this embodiment, the health status parameters may be expressed in any form that can reflect the current status or historical performance of the candidate server component, including but not limited to a numerical value, a status flag, a percentage, etc. Through the health status parameters of each candidate server component, the health status of the corresponding candidate server component can be fully understood, and the candidate server components that meet the target parameter conditions can be screened out as target server components.

[0086] Optionally, in this embodiment, the target server component needs to satisfy that its health status is greater than the target health status. The target health status can be but is not limited to the system requirements or set minimum standards. If the target health status is "usage time not exceeding 5000 hours", and the usage time of the current candidate server component is 6000 hours, that is, the health status of the current candidate server component is lower than the target health status, it cannot be selected as the target server component. On the contrary, if the usage time of the current candidate server component is 4000 hours, that is, the health status of the current server component is higher than the target health status, it can be selected as the target server component.

[0087] As an optional solution, generating the health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database includes:

[0088] S21, obtaining the trouble-free operation time, the number of operation alarms and the number of operation failures in the operation parameters of the candidate component, wherein the trouble-free operation time is used to indicate the trouble-free operation time of the corresponding candidate server component in the historical operation process, the number of operation alarms is used to indicate the number of alarm events of the corresponding candidate server component in the historical operation process, and the number of operation failures is used to indicate the number of failure events of the corresponding candidate server component in the historical operation process;

[0089] S22: Generate the health status parameter of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures.

[0090] Optionally, in this embodiment, Figure 3 is a schematic diagram of a step of obtaining health status parameters of all candidate server components according to an embodiment of the present application, such as Figure 3 As shown, by obtaining the barrier-free operation time, the number of operation failures and the number of operation alarms of the central processing unit, the health status parameters of the central processing unit are obtained, and then the health of each candidate server component is evaluated in turn, the barrier-free operation time, the number of operation failures and the number of operation alarms of each candidate server component are obtained, the health status parameters of all candidate server components are obtained, and the results are stored in the database.

[0091] As an optional solution, generating the health status parameter of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures includes:

[0092] S31, generating a running time parameter according to the trouble-free running time, wherein the running time parameter is used to indicate the running stability of the corresponding candidate server component in the historical running process from the dimension of the trouble-free running time;

[0093] S32, generating an alarm information parameter according to the number of operation alarms, wherein the operation time parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of occurrences of the alarm event;

[0094] S33, generating a fault information parameter according to the number of operation faults, wherein the fault information parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of failure events;

[0095] S34: Generate the health status parameter of the corresponding candidate server component according to the running time parameter, the alarm information parameter and the fault information parameter.

[0096] Optionally, in this embodiment, the health status parameter may not be limited to being obtained based on a comprehensive evaluation of the following parameters: an operating time parameter, a fault information parameter, and an alarm information parameter. Figure 4 is a schematic diagram of evaluating health status parameters of a single candidate server component according to an embodiment of the present application, such as Figure 4 As shown, the health status parameter is obtained based on a comprehensive evaluation of the running time parameter, the fault information parameter and the alarm information parameter, while the running time parameter is obtained from the obstacle-free running time, the fault information parameter is obtained from the number of running faults, and the alarm information parameter is obtained from the number of running alarms.

[0097] Optionally, in this embodiment, it is assumed that the runtime parameter is Indicates that the candidate server components run smoothly for a long time Indicates that, accordingly, the longer the barrier-free running time of the candidate server component is, the larger the running time parameter obtained by evaluation is, that is, The larger the value, the The larger the value, the more alarm information parameters are used. Indicates the number of alarms generated by the candidate server component during operation. Indicates that, accordingly, the fewer the alarm times of the candidate server components, the larger the alarm information parameter obtained by evaluation, that is, The smaller the The larger the value, the greater the fault information parameter. The number of failures that the candidate server component has generated during operation is represented by In other words, the fewer the number of failures of the candidate server components, the larger the failure information parameter obtained by evaluation, that is, The smaller the value, the The larger the value.

[0098] As an optional solution, generating the running time parameter according to the trouble-free running time includes:

[0099] S41, obtaining a historical total operating time and a benchmark operating time, wherein the historical total operating time is used to indicate the total operating time of the corresponding candidate server component during the historical operation process, and the benchmark operating time is used to indicate the expected operating life of the corresponding candidate server component;

[0100] S42, determining the ratio of the trouble-free operation time to the historical total operation time as a first ratio, wherein a larger first ratio indicates a better operation stability of the corresponding candidate server component in the historical operation process;

[0101] S43, determining the ratio of the benchmark running time to the historical total running time as a second ratio, wherein the smaller the second ratio is, the better the running stability of the corresponding candidate server component is in the historical running process;

[0102] S44: Perform a multiplication operation on the first ratio and the second ratio to obtain the running time parameter.

[0103] Optionally, in this embodiment, for a server component, it is assumed that Indicates the total historical running time of the server component, using Indicates the benchmark running time of the server component. The calculation method of the running time parameter of the server component may include but is not limited to the following methods:

[0104] ;

[0105] in, Indicates the ratio of the trouble-free operation time to the total historical operation time, corresponding to the first ratio. The higher the ratio, the better the reliability of the server component; It represents the ratio of the current running time to the benchmark running life, corresponding to the second ratio. The lower the ratio is, the longer the service life of the server component is and the better the health status is.

[0106] Optionally, in this embodiment, when evaluating the health status parameters of the server components, in order to comprehensively consider the runtime parameters and other parameters and avoid the situation where the ranges and scales of different parameters are greatly different, the runtime parameters may also be a standardized value, such as being standardized to a range of 0 to 1. The standardization method may include but is not limited to the following methods:

[0107] ;

[0108] in, is the minimum value of the runtime parameter, is the maximum value of the runtime parameter, Represents the normalized runtime parameters.

[0109] Optionally, in this embodiment, the minimum value of the running time parameter may be when the corresponding server component has a fault-free running time of 0, that is, , corresponding to the worst reliability of the server component; the maximum value of the running time parameter can be when the corresponding server component has the same fault-free running time as the total historical running time, that is, , corresponding to the best reliability of the server component. Assume that among the candidate server components, the historical total operating time of a CPU is 10,000 hours, benchmark operating time 100,000 hours of trouble-free operation If the operating time is 9500 hours, the unstandardized operating time parameter can be calculated. 9.5, the minimum value of the runtime parameter 0, the maximum value of the runtime parameter is the ratio of the benchmark running time to the total historical running time, that is, 10. Using the standardization formula, the standardized running time parameter can be obtained as 0.95.

[0110] As an optional solution, the generating of the alarm information parameter according to the number of operation alarms includes:

[0111] S51, obtaining an alarm coefficient of the candidate server component, wherein the alarm coefficient is preset, and the alarm coefficient of the candidate server component that occurs the alarm event more frequently is set to be larger;

[0112] S52, determining the product of the number of operation alarms and the alarm coefficient as a first product;

[0113] S53, performing an addition operation on the first constant and the first product to obtain a first sum value;

[0114] S54: Determine the reciprocal of the first sum as the alarm information parameter.

[0115] Optionally, in this embodiment, the alarm coefficient of the candidate server component is used to adjust the degree of influence of the number of alarms on the alarm information parameters. When calculating the alarm information parameters, different server components have different degrees of influence on the overall server performance and reliability. Therefore, assigning different alarm coefficients to each server component can more accurately reflect their importance in the operation of the server. For example, some components (such as CPU, memory, power supply) play a very critical role in the server, and any problems will greatly affect the normal operation of the entire system. For example, an error in the CPU may directly cause the system to crash, so the alarm coefficient of this component should be given a higher weight; while some components (such as fans) may have a smaller impact on the server, and the alarm information of these components can be given a lower weight.

[0116] Optionally, in this embodiment, for a server component, it is assumed that Indicates the number of alarms generated by the server component during operation. The calculation method of the alarm information parameter of this server component may include but is not limited to the following methods:

[0117] ;

[0118] in, represents the alarm coefficient of the server component, and the size of the alarm coefficient can be appropriately adjusted according to the actual importance of the server component. In this embodiment, the first constant can be but not limited to 1; the first product can be but not limited to ; The first sum value can be but is not limited to According to the calculation method of the alarm information parameter, it can be seen that for two server components that generate the same number of alarms during operation, the server component with a larger alarm coefficient has a smaller alarm information parameter.

[0119] As an optional solution, the generating of the fault information parameter according to the number of operation faults includes:

[0120] S61, obtaining a failure coefficient of the candidate server component, wherein the failure coefficient is preset, and the failure coefficient of the candidate server component that has the more frequent failure events is set to be larger;

[0121] S62, determining the product of the number of operating failures and the failure coefficient as a second product;

[0122] S63, performing an addition operation on a second constant and the second product to obtain a second sum value;

[0123] S64: Determine the reciprocal of the second sum as the fault information parameter.

[0124] Optionally, in this embodiment, the failure coefficient of the candidate server component is used to adjust the influence of the number of failures on the failure information parameters. When calculating the failure information parameters, different server components have different influences on the overall server performance and reliability. Therefore, assigning different failure coefficients to each server component can more accurately reflect their importance in the server operation.

[0125] Optionally, in this embodiment, for a server component, it is assumed that Indicates the number of failures that occurred during the operation of the server component. The calculation method of the failure information parameter of this server component may include but is not limited to the following methods:

[0126] ;

[0127] in, represents the failure coefficient of the server component, and the size of the failure coefficient can be appropriately adjusted according to the actual importance of the server component. In this embodiment, the second constant can be, but is not limited to, 1; the second product can be, but is not limited to, ; The second sum can be, but is not limited to, According to the calculation method of the fault information parameter, it can be seen that for two server components that have the same number of faults during operation, the server component with a larger fault coefficient has a smaller fault information parameter.

[0128] As an optional solution, generating the health status parameter of the corresponding candidate server component according to the running time parameter, the alarm information parameter and the fault information parameter includes:

[0129] S71, obtaining a time weight coefficient of the running time parameter, an alarm weight coefficient of the alarm information parameter, and a fault weight coefficient of the fault information parameter, wherein the sum of the time weight coefficient, the alarm weight coefficient and the fault weight coefficient is 1;

[0130] S72, perform an addition operation on the third product of the time weight coefficient and the operating time parameter, the fourth product of the alarm weight coefficient and the alarm information parameter, and the fifth product of the fault weight coefficient and the fault information parameter to obtain the health status parameter.

[0131] Optionally, in this embodiment, for a server component, the running time parameters are obtained by using the barrier-free running time, the number of running alarms and the number of running failures in the running parameters of the server component. , Alarm information parameters and fault information parameters After that, a comprehensive health status parameter can be obtained. , the calculation methods of health status parameters may include but are not limited to the following methods:

[0132] ;

[0133] in, , , Indicates the time weight coefficient, alarm weight coefficient and fault weight coefficient, which correspond to the weight coefficients of the running time parameter, alarm information parameter and fault information parameter respectively, and satisfy , , The sum of the three equals 1. The weight coefficient of the scoring index can be adjusted according to the actual situation. , , , and choose whether to standardize runtime parameters , to meet the needs of different scenarios.

[0134] As an optional solution, the step of selecting a target server component whose health status parameter satisfies a target parameter condition from the candidate server components includes:

[0135] S81, detecting whether the health status parameter of the candidate server component is greater than a target parameter threshold;

[0136] S82: When the health status parameter is greater than the target parameter threshold, determine that the health status parameter of the candidate server component meets the target parameter condition.

[0137] Optionally, in this embodiment, it is assumed that there are five candidate server components, namely component A (health status parameter is 0.25), component B (health status parameter is 0.35), component C (health status parameter is 0.55), component D (health status parameter is 0.75) and component E (health status parameter is 0.85), the target parameter threshold is 0.50, by comparing the health status parameters of the candidate server components with the target parameter threshold, the candidate server components whose health status parameters are greater than the target parameter threshold are selected as the target server components, that is, components C, D and E are determined as the target server components.

[0138] As an optional solution, constructing the target server component into a target recommendation solution and sending it to the target account includes:

[0139] S91, in a case where the target configuration is used to indicate that the server to be assembled includes N server components, constructing a reference recommendation scheme using the N target server components according to the target configuration, wherein the N target server components included in the reference recommendation scheme are allowed to be assembled into a server that meets the target configuration, and N is an integer greater than 1;

[0140] S92, calculating a server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme, wherein the server health parameter is used to indicate the health status of a server constructed using the N target server components in the reference recommendation scheme;

[0141] S93, when the server health parameter is greater than the health parameter threshold, the reference recommendation plan is determined as the target recommendation plan, and the server health parameter greater than the health parameter threshold is used to indicate that the health status of the server built using N target server components in the reference recommendation plan is higher than the target health status.

[0142] Optionally, in this embodiment, target server components whose health status parameters meet the target parameter conditions are screened out from the candidate server components. This group of target server components may include but is not limited to multiple key components such as central processing units, memories, disks, fans and power supplies. For example, the number of central processing units is 1 to n (such as central processing unit 1, central processing unit 2, ..., central processing unit n), the number of memories is 1 to m (such as memory 1, ..., memory m), the number of disks is 1 to k (such as disk 1, ..., disk k), the number of fans is 1 to p (such as fan 1, ..., fan p), and the number of power supplies is 1 to q (such as fan 1, ..., fan q), where n, m, k, p, q respectively represent the specific quantities of these components, but are not necessarily the same, only indicating that the number of these components is at least 1.

[0143] Optionally, in this embodiment, Figure 5 is a schematic diagram of a process of generating a target recommendation solution according to a target configuration according to an embodiment of the present application, such as Figure 5 As shown, according to the component information indicated by the assembly recommendation request, a group of target server components that can be assembled into a server that meets the target configuration is determined as a server component part of a set of reference recommendation solutions. The target recommendation solution may include but is not limited to at least one set of reference recommendation solutions that can assemble a server of the target configuration, each set of reference recommendation solutions can be assembled into a server that meets the target configuration, and the reference recommendation solution may include but is not limited to the following contents: types and quantities of server components, assembly steps, predicted health status and performance data of the assembled server, etc.

[0144] Optionally, in this embodiment, the method of determining the target recommendation scheme includes but is not limited to the following method: for all reference recommendation schemes in the target recommendation scheme, the server health parameters of the reference recommendation scheme are calculated according to the health status parameters of the server components included in each set of reference recommendation schemes, and then the calculated server health parameters are compared with the health parameter threshold value, and the reference recommendation scheme whose server health parameters are greater than the health parameter threshold value is determined as the target recommendation scheme.

[0145] As an optional solution, the calculating the server health parameter of the reference recommendation solution according to the health status parameter of each of the N target server components in the reference recommendation solution includes:

[0146] S101, obtaining a component weight parameter of each of the N target server components, wherein the component weight parameter is used to indicate the degree of influence of the corresponding target server component abnormality on the operation of the assembled server, and the greater the influence of the target server component abnormality on the operation of the assembled server, the greater the corresponding component weight parameter;

[0147] S102, calculating the server health parameter of the reference recommendation solution by the following formula:

[0148] ;

[0149] in, is the server health parameter of the reference recommended solution, is the health status parameter of the i-th target server component among the N target server components of the reference recommendation solution, is the component weight parameter of the i-th target server component among the N target server components of the reference recommendation solution, where i is an integer greater than or equal to 1 and less than or equal to N.

[0150] Optionally, in the present embodiment, the method for calculating the server health parameters of the reference recommendation scheme may include but is not limited to the following method: for all reference recommendation schemes in the target recommendation scheme, first obtain the health status parameters of each server component in the reference recommendation scheme, set corresponding weight factors according to the different importance of each server component to the overall operation of the server, and then perform weighted averaging of the health status parameters of all server components to obtain the server health parameters.

[0151] Optionally, in this embodiment, if a reference recommendation includes a CPU, a memory, a disk, a fan, and a power supply, the specific health status parameters are: the CPU health status parameter is 0.8, the weight is 0.4; the memory health status parameter is 0.7, the weight is 0.2; the disk health status parameter is 0.6, the weight is 0.2; the fan health status parameter is 0.9, the weight is 0.1; the power supply health status parameter is 0.9, the weight is 0.1. Then, by using the weighted average formula, the calculation process of the server health parameters can be obtained as follows:

[0152] ;

[0153] That is, the server health parameter can be obtained as 0.152.

[0154] As an optional solution, constructing the target server component into a target recommendation solution and sending it to the target account includes:

[0155] S111, when the assembly recommendation request is used to request the assembly of M servers of the target configuration, and the target configuration is used to indicate that the server to be assembled includes K server components, M target recommendation schemes are constructed using M×K target server components according to the target configuration, wherein each of the M target recommendation schemes is used to indicate the K target server components required to assemble one server of the target configuration, and the server health parameter of each target recommendation scheme is greater than a health parameter threshold, and the server health parameter is calculated based on the health status parameter of each of the K target server components in the corresponding target recommendation scheme, and the server health parameter is used to indicate the health status of the server constructed using the K target server components in the target recommendation scheme, and the server health parameter being greater than the health parameter threshold is used to indicate that the health status of the server constructed using the K target server components in the target recommendation scheme is higher than the target health status, and M and K are both integers greater than 1.

[0156] Optionally, in this embodiment, the method of constructing M target recommendation schemes using M×K target server components according to the target configuration can be but is not limited to the following method: first, all target server components are randomly combined with the goal of building a server that meets the target configuration, such as randomly combining Q assembly schemes; then, the server health parameters of each assembly scheme are calculated, and the assembly schemes are arranged in descending order according to the corresponding server health parameters, and the server health parameters of the first M assembly schemes are compared with the health parameter threshold. If the server health parameters of these M assembly schemes are all greater than the health parameter threshold, then these M assembly schemes are determined as target recommendation schemes; if the server health parameters of D of the assembly schemes are less than the health parameter threshold, then these D assembly schemes are determined as candidate recommendation schemes, and the remaining L assembly schemes are determined as target recommendation schemes, where D and L are both integers, and the sum of the two is M.

[0157] The server assembly recommendation method proposed in the present application is mainly implemented through the following steps: first, the operating parameters of each server component during the server operation process are collected, such as the trouble-free operation time, the number of operation alarms and the number of operation failures, and the collected operating parameters are preprocessed to remove duplicate values, missing values ​​and abnormal values, and then the preprocessed data is stored in the target database; based on the historical operating parameters in the target database, the health status parameters of each server component in the component warehouse are evaluated; when the assembly recommendation system receives the assembly recommendation request initiated by the target account, according to the requirements of the target configuration and the target parameter threshold, the server components with better health are screened out from the component warehouse as the target server components; then, combined with the target configuration, with the goal of building a server that meets the target configuration, the target server components are randomly combined to obtain different assembly schemes; finally, combined with the health parameter threshold, the assembly scheme with the best health status is screened out as the target recommendation scheme, and sent to the target account.

[0158] From the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, or by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0159] In this embodiment, a recommended device for server assembly is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0160] Figure 6 is a structural block diagram of a recommended device for server assembly according to an embodiment of the present application; Figure 6 As shown, a server assembly recommendation device is applied to an assembly recommendation system, the assembly recommendation system is configured to allow access to a target database, the target database stores component operation parameters of each server component in a component warehouse, the component warehouse is used to store a plurality of server components to be used with operation history, the component operation parameters are used to indicate the operation stability of the corresponding server component during the historical operation process, the device includes:

[0161] A receiving module 602 is used to receive an assembly recommendation request initiated by a target account, wherein the assembly recommendation request is used to request a server to be assembled with a target configuration, and the target configuration is used to indicate component information of a server component used by the assembled server;

[0162] A response module 604 is used to respond to the assembly recommendation request and select candidate server components from the component warehouse that meet the component information indicated by the target configuration;

[0163] A generating module 606, configured to generate health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database, wherein the health status parameters are used to indicate the current health status of the corresponding candidate server component;

[0164] A screening module 608 is used to screen out the target server components whose health status parameters meet the target parameter conditions from the candidate server components, wherein the health status of the server components whose health status parameters meet the target parameter conditions is greater than the target health status;

[0165] The construction module 610 is used to construct the target server component into a target recommendation solution and send it to the target account.

[0166] In an exemplary embodiment, the generating module comprises:

[0167] an acquisition unit, configured to acquire the trouble-free operation time, the number of operation alarms, and the number of operation failures in the operation parameters of the candidate component, wherein the trouble-free operation time is used to indicate the trouble-free operation time of the corresponding candidate server component in the historical operation process, the number of operation alarms is used to indicate the number of alarm events of the corresponding candidate server component in the historical operation process, and the number of operation failures is used to indicate the number of failure events of the corresponding candidate server component in the historical operation process;

[0168] A generating unit is used to generate the health status parameter of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures.

[0169] In an exemplary embodiment, the generating unit comprises:

[0170] Generate a running time parameter according to the trouble-free running time, wherein the running time parameter is used to indicate the running stability of the corresponding candidate server component in the historical running process from the dimension of the trouble-free running time;

[0171] Generate an alarm information parameter according to the number of operation alarms, wherein the operation time parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of occurrences of the alarm event;

[0172] Generate a fault information parameter according to the number of operation faults, wherein the fault information parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of failure events;

[0173] The health status parameter of the corresponding candidate server component is generated according to the running time parameter, the alarm information parameter and the fault information parameter.

[0174] In an exemplary embodiment, the generating unit is further configured to:

[0175] Acquire a historical total operating time and a benchmark operating time, wherein the historical total operating time is used to indicate the total operating time of the corresponding candidate server component during the historical operation process, and the benchmark operating time is used to indicate the expected operating life of the corresponding candidate server component;

[0176] Determine the ratio of the trouble-free operation time to the historical total operation time as a first ratio, wherein a larger first ratio indicates a better operation stability of the corresponding candidate server component during the historical operation process;

[0177] Determine the ratio of the benchmark running time to the historical total running time as a second ratio, wherein the smaller the second ratio is, the better the running stability of the corresponding candidate server component is during the historical running process;

[0178] The first ratio and the second ratio are multiplied to obtain the runtime parameter.

[0179] In an exemplary embodiment, the generating unit is further configured to:

[0180] Acquire an alarm coefficient of the candidate server component, wherein the alarm coefficient is preset, and the alarm coefficient of the candidate server component that occurs the alarm event more frequently is set to be larger;

[0181] Determine the product of the number of operation alarms and the alarm coefficient as a first product;

[0182] performing an addition operation on a first constant and the first product to obtain a first sum value;

[0183] The reciprocal of the first sum value is determined as the warning information parameter.

[0184] In an exemplary embodiment, the generating unit is further configured to:

[0185] Acquire a failure coefficient of the candidate server component, wherein the failure coefficient is preset, and the failure coefficient of the candidate server component that has the more frequent failure events is set to be larger;

[0186] Determine the product of the number of operating failures and the failure coefficient as a second product;

[0187] performing an addition operation on a second constant and the second product to obtain a second sum value;

[0188] The reciprocal of the second sum value is determined as the fault information parameter.

[0189] In an exemplary embodiment, the generating unit is further configured to:

[0190] Obtaining a time weight coefficient of the running time parameter, an alarm weight coefficient of the alarm information parameter, and a fault weight coefficient of the fault information parameter, wherein the sum of the time weight coefficient, the alarm weight coefficient and the fault weight coefficient is 1;

[0191] An addition operation is performed on the third product of the time weight coefficient and the operating time parameter, the fourth product of the alarm weight coefficient and the alarm information parameter, and the fifth product of the fault weight coefficient and the fault information parameter to obtain the health status parameter.

[0192] In an exemplary embodiment, the screening module comprises:

[0193] a detection unit, configured to detect whether the health status parameter of the candidate server component is greater than a target parameter threshold;

[0194] The first determining unit is configured to determine, when the health status parameter is greater than the target parameter threshold, that the health status parameter of the candidate server component satisfies the target parameter condition.

[0195] In an exemplary embodiment, the building block comprises:

[0196] a construction unit, configured to construct a reference recommendation scheme using the N target server components according to the target configuration when the target configuration is used to indicate that the server to be assembled includes N server components, wherein the N target server components included in the reference recommendation scheme are allowed to be assembled into a server that meets the target configuration, and N is an integer greater than 1;

[0197] a calculation unit, configured to calculate a server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme, wherein the server health parameter is used to indicate a health status of a server constructed using the N target server components in the reference recommendation scheme;

[0198] The second determination unit is used to determine the reference recommendation plan as the target recommendation plan when the server health parameter is greater than the health parameter threshold, and the server health parameter greater than the health parameter threshold is used to indicate that the health status of the server constructed using N target server components in the reference recommendation plan is higher than the target health status.

[0199] In an exemplary embodiment, the computing unit comprises:

[0200] Obtaining a component weight parameter of each of the N target server components, wherein the component weight parameter is used to indicate the degree of influence of the corresponding target server component abnormality on the operation of the assembled server, and the greater the influence of the target server component abnormality on the operation of the assembled server, the greater the corresponding component weight parameter;

[0201] The server health parameter of the reference recommended solution is calculated by the following formula:

[0202] ;

[0203] in, is the server health parameter of the reference recommended solution, is the health status parameter of the i-th target server component among the N target server components of the reference recommendation solution, is the component weight parameter of the i-th target server component among the N target server components of the reference recommendation solution, where i is an integer greater than or equal to 1 and less than or equal to N.

[0204] In an exemplary embodiment, the building block comprises:

[0205] A request unit is used to construct M target recommendation schemes using M×K target server components according to the target configuration, when the assembly recommendation request is used to request the assembly of M servers of the target configuration, and the target configuration is used to indicate that the server to be assembled includes K server components, wherein each of the M target recommendation schemes is used to indicate the K target server components required to assemble one server of the target configuration, and the server health parameter of each target recommendation scheme is greater than a health parameter threshold, and the server health parameter is calculated based on the health status parameter of each of the K target server components in the corresponding target recommendation scheme, and the server health parameter is used to indicate the health status of the server constructed using the K target server components in the target recommendation scheme, and the server health parameter being greater than the health parameter threshold is used to indicate that the health status of the server constructed using the K target server components in the target recommendation scheme is higher than the target health status, and M and K are both integers greater than 1.

[0206] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0207] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in each embodiment of the present application; the computer program product also includes a non-volatile computer-readable storage medium, which stores the computer program, and when executed by a processor, implements the steps of the method described in each embodiment of the present application.

[0208] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0209] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0210] An embodiment of the present application further provides an electronic device, Figure 7 is a schematic diagram of an electronic device according to an embodiment of the present application, such as Figure 7 As shown, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0211] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0212] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0213] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0214] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A recommended method for server assembly, It is characterized in that Applied to an assembly recommendation system, the assembly recommendation system is configured to allow access to a target database, the target database stores component operation parameters of each server component in a component warehouse, the component warehouse is used to store a plurality of server components to be used with operation history, the component operation parameters are used to indicate the operation stability of the corresponding server component during the historical operation process, the method comprises: Receiving an assembly recommendation request initiated by a target account, wherein the assembly recommendation request is used to request a server of a target configuration to be assembled, and the target configuration is used to indicate component information of a server component used by the assembled server; In response to the assembly recommendation request, screening out candidate server components from the component warehouse that meet the component information indicated by the target configuration; Generating health status parameters of each of the candidate server components according to the candidate component operation parameters of the candidate server components stored in the target database, wherein the health status parameters are used to indicate the current health status of the corresponding candidate server components; Filter out a target server component whose health status parameter satisfies a target parameter condition from the candidate server components, wherein the health status of the server component whose health status parameter satisfies the target parameter condition is greater than the target health status; constructing the target server component into a target recommendation solution and sending it to the target account; Wherein, generating the health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database includes: obtaining the trouble-free operation time, the number of operation alarms and the number of operation failures in the candidate component operation parameters, wherein the trouble-free operation time is used to indicate the trouble-free operation time of the corresponding candidate server component in the historical operation process, the number of operation alarms is used to indicate the number of alarm events of the corresponding candidate server component in the historical operation process, and the number of operation failures is used to indicate the number of failure events of the corresponding candidate server component in the historical operation process; generating the health status parameters of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures; Wherein, the constructing of the target server component into a target recommendation scheme and sending it to the target account includes: when the target configuration is used to indicate that the server to be assembled includes N server components, constructing a reference recommendation scheme using the N target server components according to the target configuration, wherein the N target server components included in the reference recommendation scheme allow assembly into a server that meets the target configuration, and N is an integer greater than 1; calculating the server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme, wherein the server health parameter is used to indicate the health status of the server constructed using the N target server components in the reference recommendation scheme; when the server health parameter is greater than a health parameter threshold, determining the reference recommendation scheme as the target recommendation scheme, wherein the server health parameter greater than the health parameter threshold is used to indicate that the health status of the server constructed using the N target server components in the reference recommendation scheme is higher than the target health status.

2. The method according to claim 1, It is characterized in that Generating the health status parameter of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures includes: Generate a running time parameter according to the trouble-free running time, wherein the running time parameter is used to indicate the running stability of the corresponding candidate server component in the historical running process from the dimension of the trouble-free running time; Generate an alarm information parameter according to the number of operation alarms, wherein the operation time parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of occurrences of the alarm event; Generate a fault information parameter according to the number of operation faults, wherein the fault information parameter is used to indicate the operation stability of the corresponding candidate server component in the historical operation process from the dimension of the number of failure events; The health status parameter of the corresponding candidate server component is generated according to the running time parameter, the alarm information parameter and the fault information parameter.

3. The method according to claim 2, It is characterized in that The generating the running time parameter according to the trouble-free running time comprises: Acquire a historical total operating time and a benchmark operating time, wherein the historical total operating time is used to indicate the total operating time of the corresponding candidate server component during the historical operation process, and the benchmark operating time is used to indicate the expected operating life of the corresponding candidate server component; Determine the ratio of the trouble-free operation time to the historical total operation time as a first ratio, wherein a larger first ratio indicates a better operation stability of the corresponding candidate server component during the historical operation process; Determine the ratio of the benchmark running time to the historical total running time as a second ratio, wherein the smaller the second ratio is, the better the running stability of the corresponding candidate server component is during the historical running process; The first ratio and the second ratio are multiplied to obtain the runtime parameter.

4. The method according to claim 2, It is characterized in that The generating of alarm information parameters according to the number of operation alarms includes: Acquire an alarm coefficient of the candidate server component, wherein the alarm coefficient is preset, and the alarm coefficient of the candidate server component that occurs the alarm event more frequently is set to be larger; Determine the product of the number of operation alarms and the alarm coefficient as a first product; performing an addition operation on a first constant and the first product to obtain a first sum value; The reciprocal of the first sum value is determined as the warning information parameter.

5. The method according to claim 2, It is characterized in that The generating of the fault information parameter according to the number of operation faults includes: Acquire a failure coefficient of the candidate server component, wherein the failure coefficient is preset, and the failure coefficient of the candidate server component that has the more frequent failure events is set to be larger; Determine the product of the number of operating failures and the failure coefficient as a second product; performing an addition operation on a second constant and the second product to obtain a second sum value; The reciprocal of the second sum value is determined as the fault information parameter.

6. The method according to claim 2, It is characterized in that The generating the health status parameter of the corresponding candidate server component according to the running time parameter, the alarm information parameter and the fault information parameter comprises: Obtaining a time weight coefficient of the running time parameter, an alarm weight coefficient of the alarm information parameter, and a fault weight coefficient of the fault information parameter, wherein the sum of the time weight coefficient, the alarm weight coefficient and the fault weight coefficient is 1; An addition operation is performed on the third product of the time weight coefficient and the operating time parameter, the fourth product of the alarm weight coefficient and the alarm information parameter, and the fifth product of the fault weight coefficient and the fault information parameter to obtain the health status parameter.

7. The method according to claim 1, It is characterized in that The step of selecting a target server component whose health status parameter satisfies a target parameter condition from the candidate server components includes: Detecting whether the health status parameter of the candidate server component is greater than a target parameter threshold; In a case where the health status parameter is greater than the target parameter threshold, it is determined that the health status parameter of the candidate server component meets the target parameter condition.

8. The method according to claim 1, It is characterized in that The calculating the server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme comprises: Obtaining a component weight parameter of each of the N target server components, wherein the component weight parameter is used to indicate the degree of influence of the corresponding target server component abnormality on the operation of the assembled server, and the greater the influence of the target server component abnormality on the operation of the assembled server, the greater the corresponding component weight parameter; The server health parameter of the reference recommended solution is calculated by the following formula: ; in, is the server health parameter of the reference recommended solution, is the health status parameter of the i-th target server component among the N target server components of the reference recommendation solution, is the component weight parameter of the i-th target server component among the N target server components of the reference recommendation solution, where i is an integer greater than or equal to 1 and less than or equal to N.

9. The method according to claim 1, It is characterized in that The step of constructing the target server component into a target recommendation solution and sending it to the target account includes: In the case where the assembly recommendation request is used to request the assembly of M servers of the target configuration, and the target configuration is used to indicate that the server to be assembled includes K server components, M target recommendation schemes are constructed using M×K target server components according to the target configuration, wherein each of the M target recommendation schemes is used to indicate the K target server components required to assemble one server of the target configuration, and the server health parameter of each target recommendation scheme is greater than a health parameter threshold, and the server health parameter is calculated based on the health status parameter of each of the K target server components in the corresponding target recommendation scheme, and the server health parameter is used to indicate the health status of the server constructed using the K target server components in the target recommendation scheme, and the server health parameter being greater than the health parameter threshold is used to indicate that the health status of the server constructed using the K target server components in the target recommendation scheme is higher than the target health status, and M and K are both integers greater than 1.

10. A recommended device for server assembly , It is characterized in that include: Applied to an assembly recommendation system, the assembly recommendation system is configured to allow access to a target database, the target database stores component operation parameters of each server component in a component warehouse, the component warehouse is used to store a plurality of server components to be used with operation history, the component operation parameters are used to indicate the operation stability of the corresponding server component during the historical operation process, the device comprises: A receiving module, configured to receive an assembly recommendation request initiated by a target account, wherein the assembly recommendation request is used to request a server to be assembled with a target configuration, and the target configuration is used to indicate component information of a server component used by the assembled server; A response module, configured to respond to the assembly recommendation request and select candidate server components from the component warehouse that meet the component information indicated by the target configuration; A generating module, configured to generate health status parameters of each candidate server component according to the candidate component operation parameters of the candidate server component stored in the target database, wherein the health status parameters are used to indicate the current health status of the corresponding candidate server component; A screening module, used for screening out target server components whose health status parameters satisfy target parameter conditions from the candidate server components, wherein the health status of the server components whose health status parameters satisfy the target parameter conditions is greater than the target health status; A construction module, used to construct the target server component into a target recommendation solution and send it to the target account; Wherein, the generating module comprises: an acquiring unit, used for acquiring the trouble-free operation time, the number of operation alarms and the number of operation failures in the operation parameters of the candidate components, wherein the trouble-free operation time is used for indicating the trouble-free operation time of the corresponding candidate server component in the historical operation process, the number of operation alarms is used for indicating the number of alarm events of the corresponding candidate server component in the historical operation process, and the number of operation failures is used for indicating the number of failure events of the corresponding candidate server component in the historical operation process; a generating unit, used for generating the health status parameter of the corresponding candidate server component according to the trouble-free operation time, the number of operation alarms and the number of operation failures; Wherein, the construction module includes: a construction unit, which is used to construct a reference recommendation scheme using N target server components according to the target configuration when the target configuration is used to indicate that the server to be assembled includes N server components, wherein the N target server components included in the reference recommendation scheme allow assembly into a server that meets the target configuration, and N is an integer greater than 1; a calculation unit, which is used to calculate the server health parameter of the reference recommendation scheme according to the health status parameter of each of the N target server components in the reference recommendation scheme, wherein the server health parameter is used to indicate the health status of the server constructed using the N target server components in the reference recommendation scheme; a second determination unit, which is used to determine the reference recommendation scheme as the target recommendation scheme when the server health parameter is greater than a health parameter threshold, wherein the server health parameter greater than the health parameter threshold is used to indicate that the health status of the server constructed using the N target server components in the reference recommendation scheme is higher than the target health status.

11. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 9 when executed by a processor.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method described in any one of claims 1 to 9 are implemented.