Product installation location allocation methods, devices, terminal equipment, and media

By using an automated product installation location allocation method to obtain attribute information and match constraints, the problem of parsing errors and inconsistencies in multi-card server configurations was solved, improving efficiency and consistency while reducing costs.

CN116796454BActive Publication Date: 2026-11-10INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310416060.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2026-11-10
Estimated Expiration
2043-04-18

AI Technical Summary

Technical Problem

In multi-GPU server setups, existing technologies suffer from parsing errors or inconsistent parsing by process engineers, leading to low parsing and installation efficiency and increased production costs.

Method used

By obtaining the attribute information of the product to be installed, matching its corresponding constraints, determining the installation rules, and automatically completing the product installation location allocation, the inconsistencies between manual analysis and analysis are avoided.

Benefits of technology

It improved the efficiency of analysis and installation, ensured the rationality and consistency of installation locations, avoided rework, and reduced operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116796454B_ABST
    Figure CN116796454B_ABST
Patent Text Reader

Abstract

This invention relates to the field of computer technology and discloses a method, apparatus, terminal device, and medium for allocating product installation locations. The method includes: acquiring attribute information of a product to be installed; matching constraints corresponding to the product to be installed based on the attribute information; determining installation rules for the product to be installed based on the attribute information and the constraints; and completing the allocation of the installation location of the product to be installed according to the installation rules. Throughout the entire process of the above method, no manual parsing is required, thus eliminating parsing errors or inconsistencies in parsing by different process engineers. Furthermore, this method can automatically complete the allocation of the installation location of the product to be installed, greatly improving parsing and installation efficiency. Because there is no rework, there is no increase in operating costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more specifically to a method, apparatus, terminal equipment, and medium for allocating product installation locations. Background Technology

[0002] With the explosive growth in demand for cloud computing, big data, and other services, the requirements for server specifications and configuration diversity are increasing. The use of multiple graphics cards (such as GPUs, network cards, RAID cards, and HCA cards) in servers is becoming a trend.

[0003] As server configurations with multiple GPUs become increasingly common, production parsing becomes more challenging. Errors in parsing by process engineers or inconsistencies in parsing among different process engineers frequently occur. For example, a parsing error necessitates rework of the parsing process; or, if multiple identical products from the same order are parsed by different process engineers, inconsistencies in parsing can lead to inconsistent customer experiences.

[0004] Regardless of which of the above situations occurs, it will result in reduced parsing and installation efficiency of multi-GPU server setups, as well as increased production costs. Summary of the Invention

[0005] In view of this, the present invention provides a method, apparatus, terminal equipment and medium for allocating product installation locations, in order to solve the problems of low resolution and installation efficiency and high operating costs of multi-card server configuration solutions caused by errors in determining where to place multiple server cards or inconsistencies in the solutions provided by process engineers.

[0006] In a first aspect, the present invention provides a method for allocating product installation locations, the method comprising:

[0007] Obtain the attribute information of the product to be installed;

[0008] Based on the attribute information, match the constraints corresponding to the product to be installed;

[0009] Based on the attribute information and constraints, determine the installation rules for the product to be installed;

[0010] Follow the installation rules to complete the allocation of installation locations for the products to be installed.

[0011] The product installation location allocation method provided by this invention has the following advantages:

[0012] The process involves acquiring the attribute information of the product to be installed, then matching this information with corresponding constraints to define the installation rules. In other words, the installation rules are determined based on the constraints, and then the installation location of the product is assigned according to these rules. Throughout this process, no process engineer is required to perform analysis, thus eliminating analysis errors and inconsistencies between different process engineers. This avoids rework and potential inconsistencies in customer experience. Furthermore, the method automates the allocation of installation locations, significantly improving analysis and installation efficiency. Because there is no rework, there is no additional operational cost.

[0013] In one optional implementation, the attribute information includes product type and product quantity. Based on the attribute information, constraints corresponding to the products to be installed are matched, specifically including:

[0014] Select constraints from a pre-built constraint library that correspond to the product type and / or product quantity.

[0015] Specifically, a constraint library is pre-built, containing multiple constraints. Each constraint can be mapped to product type and / or product quantity. Therefore, constraints can be selected directly based on the product type and / or quantity in the product attribute information. The entire process of matching constraints with the products to be installed is quick, convenient, and more accurate.

[0016] In one optional implementation, the constraints include identification information corresponding to different installation locations, as well as triggering conditions and / or prohibition conditions corresponding to different installation locations.

[0017] In one alternative implementation, the triggering condition includes one or more of the following: supported product types;

[0018] The prohibited conditions include: conditions that pre-set installation locations prohibit the installation of the product to be installed.

[0019] In one optional implementation, the installation rules for the product to be installed are determined based on attribute information and constraints, including:

[0020] When the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, it is determined that the first installation location allows the installation of the first product to be installed. Here, the first product to be installed is any one of the products to be installed, and the first installation location is any one of the different installation locations.

[0021] Alternatively, if the product type and / or quantity of the first product to be installed meet the prohibition conditions of the first installation location, then the first installation location is determined to prohibit the installation of the first product to be installed.

[0022] Specifically, if the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, then the first installation location is determined to be suitable for installing the first product to be installed. That is, the installation rule is determined to allow the first product to be installed at the first installation location; or, if the product type or quantity of the first product to be installed meets the prohibition conditions of the first installation location, then the installation rule is determined to prohibit the installation of the first product to be installed at the first installation location. In this way, suitable installation locations can be determined for all products to be installed, ensuring the rationality of the installation locations and the optimization of the performance of all products to be installed.

[0023] In one alternative implementation, the method further includes:

[0024] Determine the priority of products to be installed based on product type;

[0025] The installation rules for the products to be installed are determined based on their priority and constraints.

[0026] Specifically, considering that multiple products can be installed at the same location, only one product can be selected for that location. To ensure optimal system performance, this method can also include prioritizing products based on their type. Then, installation locations are assigned to products with higher priority.

[0027] In one optional implementation, the allocation of installation locations for the products to be installed is completed according to installation rules, including:

[0028] Standard operating procedures are generated based on installation rules to complete the allocation of installation locations for the products to be installed.

[0029] Secondly, the present invention provides a product installation position allocation device, the device comprising:

[0030] The attribute information acquisition module is used to acquire the attribute information of the product to be installed;

[0031] The condition matching module is used to match the constraint conditions corresponding to the product to be installed based on the attribute information.

[0032] The processing module is used to determine the installation rules of the product to be installed based on the attribute information and constraints; and to complete the allocation of the installation location of the product to be installed according to the installation rules.

[0033] The product installation position allocation device provided by the present invention has the following advantages:

[0034] The process involves acquiring the attribute information of the product to be installed, then matching this information with corresponding constraints to define the installation rules. In other words, the installation rules are determined based on the constraints, and then the installation location of the product is assigned according to these rules. This entire process requires no manual analysis, eliminating the possibility of analysis errors or inconsistencies between different process engineers. Furthermore, this method automates the allocation of installation locations, significantly improving both analysis and installation efficiency. Because there is no rework, there is no additional operational cost.

[0035] In one optional implementation, the attribute information includes product type and product quantity, and the condition matching module is specifically used for:

[0036] Select constraints from a pre-built constraint library that correspond to the product type and / or product quantity.

[0037] Specifically, a constraint library is pre-built, containing multiple constraints. Each constraint can be mapped to product type and / or product quantity. Therefore, constraints can be selected directly based on the product type and / or quantity in the product attribute information. The entire process of matching constraints with the products to be installed is quick, convenient, and more accurate.

[0038] In one optional implementation, the constraints include identification information corresponding to different installation locations, as well as triggering conditions and / or prohibition conditions corresponding to different installation locations.

[0039] In one alternative implementation, the triggering condition includes one or more of the following: supported product types;

[0040] The prohibited conditions include: conditions that prohibit the installation of the product to be installed at the preset installation location.

[0041] In one alternative implementation, the processing module is specifically used for:

[0042] When the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, it is determined that the first installation location allows the installation of the first product to be installed, wherein the first product to be installed is any one of the products to be installed, and the first installation location is any one of the different installation locations.

[0043] Alternatively, if the product type and / or quantity corresponding to the first product to be installed meet the prohibition conditions of the first installation location, then it is determined that the first installation location prohibits the installation of the first product to be installed.

[0044] Specifically, if the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, then the first installation location is determined to be suitable for installing the first product to be installed. That is, the installation rule is determined to allow the first product to be installed at the first installation location; or, if the product type or quantity of the first product to be installed meets the prohibition conditions of the first installation location, then the installation rule is determined to prohibit the installation of the first product to be installed at the first installation location. In this way, suitable installation locations can be determined for all products to be installed, ensuring the rationality of the installation locations and the optimization of the performance of all products to be installed.

[0045] In one optional implementation, the device further includes: a priority determination module;

[0046] The priority determination module is used to determine the priority of the product to be installed based on the product type.

[0047] The processing module is also configured to determine the installation rules for the product to be installed based on the priority of the product to be installed and the constraints.

[0048] Specifically, considering that multiple products can be installed at the same location, only one product can be selected for that location. To ensure optimal system performance, this method can also include prioritizing products based on their type. Then, installation locations are assigned to products with higher priority.

[0049] In some alternative implementations, the processing module is specifically used to generate standard operating procedures based on installation rules to complete the allocation of installation locations for the products to be installed.

[0050] Thirdly, the present invention provides a terminal device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the product installation location allocation method described in the first aspect or any corresponding embodiment.

[0051] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the product installation location allocation method described in the first aspect or any corresponding embodiment thereof. Attached Figure Description

[0052] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0053] Figure 1 This is a schematic diagram of the multi-card external slot structure of the server provided by the present invention;

[0054] Figure 2 This is a flowchart illustrating a method for allocating product installation locations according to an embodiment of the present invention;

[0055] Figure 3 This is a flowchart illustrating another method for allocating product installation locations according to an embodiment of the present invention;

[0056] Figure 4 This is a flowchart illustrating another method for allocating product installation locations according to an embodiment of the present invention;

[0057] Figure 5 This is a partial schematic diagram of a dual-socket server chassis according to an embodiment of the present invention;

[0058] Figure 6 This is a schematic diagram of the installation position of a card to be inserted according to an embodiment of the present invention;

[0059] Figure 7 This is a structural block diagram of a product installation position allocation device according to an embodiment of the present invention;

[0060] Figure 8 This is a schematic diagram of the hardware structure of the terminal device according to an embodiment of the present invention. Detailed Implementation

[0061] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0062] Servers can be equipped with multiple cards. Specific application scenarios include configuring cards in the external card slots of the chassis. The cards that can be inserted include graphics processing unit (GPU) cards, network cards, redundant arrays of independent disks (RAID) cards, host channel adapter (HCA) cards, etc. Figure 1 The diagram below illustrates the structure of a server with multiple external GPUs. Figure 1 The system includes multiple slots for configuring multiple external cards. However, different process engineers may provide different configuration schemes for different slots, leading to inconsistent assembly results for the same order. Alternatively, some slot locations may have limitations that the process engineers may not have considered when providing configuration schemes, resulting in incorrect configurations. Either way, this creates a poor customer experience, requires rework, significantly reduces parsing and installation efficiency, and increases production costs.

[0063] To address the aforementioned problems, this invention provides an embodiment for allocating product installation locations. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system (terminal device) including a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0064] This embodiment provides a method for allocating product installation locations, which can be used for the aforementioned terminal devices, such as mobile phones and tablet computers. Figure 2 This is a flowchart of a product installation location allocation method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:

[0065] Step S201: Obtain the attribute information of the product to be installed.

[0066] Step S202: Match the constraints corresponding to the product to be installed based on the attribute information.

[0067] Specifically, the attribute information of the product to be installed may include, for example, the product type and quantity. Matching the constraints corresponding to the product based on this attribute information can include selecting constraints from a pre-built constraint library that correspond to the product type and / or quantity.

[0068] In an alternative implementation, the method may further include building a constraint library before performing step S202.

[0069] The constraints in the constraint library are all corresponding to the product's attribute information.

[0070] In one optional implementation, the constraints may include identification information corresponding to different installation locations, as well as triggering conditions and / or prohibiting conditions corresponding to different installation locations.

[0071] The triggering conditions include one or more of the following: supported product types;

[0072] The prohibited conditions include: conditions that pre-set installation locations prohibit the installation of the product to be installed.

[0073] For example, constraints could be set based on the quantity of a certain type of product to be installed, establishing prohibitions for a specific installation location. For instance, this might prohibit the installation of that type of product at that location, or prohibit the installation of any type of product at that location. Alternatively, constraints could specify that only a certain type of product is allowed to be installed at a particular location.

[0074] Therefore, matching the constraints corresponding to the products to be installed based on the attribute information involves finding the mapping constraints based on the type and / or quantity of the products to be installed in the attribute information. As described above, constraints indicating which locations are allowed to install the products and which are not are determined by the product type and / or quantity.

[0075] Step S203: Determine the installation rules for the product to be installed based on the attribute information and constraints.

[0076] Specifically, as described above, constraints indicate which locations are permitted for installing certain products and which locations are prohibited from installation. Therefore, based on the constraints, a suitable installation location can be matched for each product, thus specifying the installation rules for that product. These installation rules include the installation location for each product.

[0077] Step S204: According to the installation rules, complete the allocation of installation locations for the products to be installed.

[0078] Specifically, generating installation rules essentially involves creating written regulations that specify the installation locations for different products. Assigning installation locations based on these rules involves generating specific operation instructions and sequences. The system then executes these instructions and sequences to complete the allocation of installation locations.

[0079] The product installation location allocation method provided in this embodiment obtains the attribute information of the product to be installed, and then matches the attribute information with the corresponding constraints of the product to be installed. These constraints are used to limit the installation rules of the product to be installed. That is, the installation rules are determined according to the constraints, and then the installation location allocation operation of the product to be installed is completed according to the installation rules. Throughout the entire process, no manual parsing is required, and therefore there are no parsing errors or inconsistencies in parsing by different process engineers. Moreover, the above method can automatically complete the allocation of the installation location of the product to be installed, greatly improving parsing efficiency and installation efficiency. Because there is no rework, there is no increase in operating costs.

[0080] This embodiment provides a method for allocating product installation locations, which can be used in the aforementioned mobile terminals, such as mobile phones and tablets. Figure 3 This is a flowchart of a product installation location allocation method according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps:

[0081] Step S301: Obtain the attribute information of the product to be installed.

[0082] Step S302: Match the constraints corresponding to the product to be installed based on the attribute information.

[0083] For a detailed description of steps S301 and S302, please refer to [link / reference needed]. Figure 1 Steps S101 and S102 of the illustrated embodiment will not be described again here.

[0084] Step S303: Based on the attribute information and constraints, determine the installation rules for the product to be installed, specifically including the following steps:

[0085] Step S3031: When the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, it is determined that the first installation location allows the installation of the first product to be installed. Here, the first product to be installed is any one of the products to be installed, and the first installation location is any one of the different installation locations.

[0086] Alternatively, in step S3032, when the product type and / or quantity of the first product to be installed meet the prohibition conditions of the first installation location, it is determined that the first installation location prohibits the installation of the first product to be installed.

[0087] Specifically, when the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, it means that the first installation location allows the installation of the first product to be installed. Similarly, if the type and / or quantity of the first product to be installed meet the static conditions of the first installation location, it means that the first installation location prohibits the installation of the first product to be installed. In this way, suitable installation locations can be determined for all products to be installed, and corresponding installation rules can be formed.

[0088] Step S304: According to the installation rules, complete the allocation of installation locations for the products to be installed.

[0089] This invention provides a method for allocating product installation locations. After obtaining the attribute information of the product to be installed and matching the corresponding constraints based on the attribute information, the method determines the installation rules for the product based on the constraints and attribute information. This approach finds a suitable location for each product to be installed, thus generating installation rules corresponding to each product. Finally, the installation location allocation operation is completed according to the installation rules.

[0090] This embodiment provides a method for allocating product installation locations, which can be used in the aforementioned mobile terminals, such as mobile phones and tablets. Figure 4 This is a flowchart of a product installation location allocation method according to an embodiment of the present invention, such as... Figure 4 As shown, the process includes the following steps:

[0091] Step S401: Obtain the attribute information of the product to be installed.

[0092] Step S402: Match the constraints corresponding to the product to be installed based on the attribute information.

[0093] Step S403: Determine the installation rules for the product to be installed based on the attribute information and constraints.

[0094] For a detailed description of steps S401 to S403, please refer to [link / reference needed]. Figure 1 or Figure 3 Steps S101 (or S301) to S103 (or S303) of the illustrated embodiment will not be described again here.

[0095] Step S404: Determine the priority of the products to be installed based on the product type.

[0096] Step S405: Determine the installation rules for the products to be installed based on their priority and constraints.

[0097] Specifically, considering that multiple products can be installed at the same location, only one product can be selected for that location. To ensure optimal system performance, this method can also prioritize products based on their type.

[0098] In a specific example, the GPU has a higher priority than the network card, and the network card has a higher priority than the RAID card.

[0099] Therefore, when configuring the installation rules for the products to be installed, it is also possible to determine the final installation rules for the products to be installed based on their priority and constraints.

[0100] In other words, when determining the installation rules for the products to be installed based on constraints, it's not enough to simply consider which locations can accommodate which products. Furthermore, if multiple products can be installed at the same location, the product with the highest priority should be placed there. Of course, in an alternative example with n locations, where two locations can accommodate multiple products, the higher-priority product would be installed at the first location, and the lower-priority product would be installed at the subsequent locations.

[0101] That is, if there are multiple installation locations, the installation locations can be sorted by priority, and the location with higher priority will be configured to install the product with higher priority.

[0102] This method not only ensures that the product to be installed has a suitable installation location, but also ensures that the server has optimal performance after installation.

[0103] In some optional implementations, step S405 above includes:

[0104] Standard operating procedures are generated based on installation rules to complete the allocation of installation locations for the products to be installed.

[0105] Specifically, after generating a Standard Operating Procedure (SOP) based on the installation rules, the SOP can be pushed to the production line, enabling the automated installation of products to be installed in sequence.

[0106] In a specific embodiment of the present invention, the specific implementation of the present invention will be described more vividly and concretely by way of the following examples. See details... Figure 5 As shown. Figure 5 The image shows a partial schematic of a dual-socket server chassis. Figure 5As can be seen, a dual-socket server chassis can support up to six external expansion cards. Therefore, the six slots for these expansion cards can be coded from 1 to 5. This means assigning a unique identifier to each installation location. For example... Figure 5 As shown, the left side includes 0 to 2, and the right side includes 3 to 5, for a total of 6 installation positions.

[0107] Then, based on the product design, the different coding positions are defined with set attributes, and a coding rule library, which is also a constraint library, is generated.

[0108] In an optional implementation, for example, all encoding positions can support x8, and all encoding positions can support dual Central Processing Units (CPUs). Encoding positions 0, 4, and 5 can support x16. PCI Express (PCIe) is the standard interface for connecting devices within a computer, where "x16" and "x8" represent the number of data lanes in a PCIe slot, respectively. Encoding positions 0, 1, and 2 can support a single CPU. When the server includes hard drives, and the number of hard drives is less than or equal to 4, encoding position 2 is disabled; when the server includes hard drives, and the number of hard drives is in the range of 5-8, encoding positions 2 and 5 are disabled, and encoding position 4 can support NCSI networks.

[0109] Specifically, NCSI (Network Controller Sideband Interface) is an industry standard defined by the international standards organization DMTF (Distributed Management Task Force) for supporting out-of-band management of server-sideband network controllers. Simply put, NCSI is the protocol defined for communication between the main controller's management controller (BMC) and the network interface card (NIC).

[0110] In one optional implementation, each constraint in the constraint library can consist of three fields. The first field contains the encoding information corresponding to the installation location, i.e., the identification information corresponding to the installation location. The second and third fields can be configured as trigger or disable conditions corresponding to the encoding location. For example, the second field can be configured with a trigger condition corresponding to the encoding location, and the third field can also be configured with a trigger condition corresponding to the encoding location. This is only effective if the trigger condition and / or disable condition exist; otherwise, it can be configured to 0, or other values ​​to indicate that the field is invalid.

[0111] Specifically, constraints can be represented in the following coding manner:

[0112] {0}

[0113] {1NOX16}

[0114] {2NOHDD NOX16}

[0115] {3NO1CPU NOX16}

[0116] {4NO1CPU NCSI}

[0117] {5NO1CPUNO5HDD}

[0118] In this diagram, {0} represents the installation location with code 0, which by default supports any card type and has no restrictions. {1NOX16} represents the installation location with code 1, where X16 cards are disabled, but other cards can be inserted. {2NOHDD NOX16} represents the installation location with code 2, where X16 cards are disabled, but other cards can be inserted, provided there is no hard drive. In other words, this location is disabled when at least one hard drive is present. {3NO1CPU NOX16} means that when a single CPU is present, location 3 is disabled, and X16 cards are also prohibited. {4NO1CPU NCSI} means that when a single CPU is present, location 4 is disabled, and NCSI cards are allowed. {5NO1CPU NO5HDD} means that when a single CPU is present, location 5 is disabled, and this location is also disabled when there are 5 hard drives. Essentially, this location is disabled when the number of hard drives is 5 or more.

[0119] Different products to be installed, i.e., the cards to be inserted in this embodiment, can be configured with priorities. For example, as mentioned earlier, the GPU has a higher priority than the network card, and the network card has a higher priority than the RAID card.

[0120] In a specific example, if a customer's order configuration is: dual CPUs, 1 x8 GPU, 1 x16 GPU, 1 x8 NCSI network card, 1 x16 network card, 1 x8 RAID array, and 4 hard disks (HDDs), the automatic interpretation process of the external card resources in the order according to the above steps is as follows:

[0121] Four HDDs triggered the NOHDD condition (coded 2), so position coded 2 is disabled. NCSI matches coded 4, so one x8 NCSI network card is installed in position coded 4. Based on the priority of the cards to be installed, the GPU has a higher priority than the network card, and the network card has a higher priority than the RAID card. Therefore, one x16 GPU is installed in position coded 0, and one x8 GPU is installed in position coded 1 (because x16 is prohibited in position coded 1, the x16 GPU is installed in position coded 0). Although the network card has a higher priority than the RAID card, considering that x16 is prohibited in position coded 3, one x8 RAID card is also installed in position coded 3. One x16 network card is installed in position coded 5.

[0122] For a detailed diagram showing the installation locations of the cards to be inserted in the specific order, please refer to [link / reference needed]. Figure 6 As shown.

[0123] In another specific example, suppose a customer's order consists of: a single CPU, one x16 GPU, and one x16 network card. The process of automatically interpreting the external card resources in the order according to the above steps is as follows:

[0124] Because of the presence of a single CPU, the NO1CPU prohibition condition at positions 3 / 4 / 5 was triggered. Therefore, positions 3 / 4 / 5 were disabled. Based on resource sorting, one X16 GPU was installed at position 0. One X16 network card did not meet the NOX16 condition and could not be matched for installation (positions 3, 4, and 5 were disabled, and X16 insertion was prohibited at positions 1 and 2, causing the X16 network card to be unable to be matched for installation). The system then reported an error, indicating that the X16 network card could not be found for installation.

[0125] As can be seen from the two specific embodiments above, the method disclosed in this invention can quickly and conveniently locate the installation location for each product to be installed, and the arrangement of installation locations will be more rational, ensuring optimal server performance. This method requires no human intervention, thus avoiding errors caused by human error in parsing. It ensures consistency in the parsing of installation locations for products to be installed, preventing situations where the same order has different installation strategies. This provides users with a consistent experience. Eliminating rework and automating the allocation process also improves parsing and installation efficiency, reducing operating costs.

[0126] This embodiment also provides a product installation location allocation device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0127] This embodiment provides a product installation location allocation device, such as... Figure 7 The system includes: an attribute information acquisition module 701, a condition matching module 702, and a processing module 703.

[0128] The attribute information acquisition module 701 is used to acquire the attribute information of the product to be installed.

[0129] The condition matching module 702 is used to match the constraint conditions corresponding to the product to be installed based on the attribute information.

[0130] The processing module 703 is used to determine the installation rules of the product to be installed based on the attribute information and constraints; and to complete the allocation of the installation location of the product to be installed according to the installation rules.

[0131] In some optional implementations, the attribute information includes product type and product quantity, and the condition matching module 702 is specifically used to select constraints corresponding to the product type and / or product quantity from a pre-built constraint library.

[0132] In some optional implementations, the constraints include identification information corresponding to different installation locations, as well as triggering conditions and / or prohibiting conditions corresponding to different installation locations.

[0133] In some optional implementations, the triggering conditions include one or more of the following: supported product types;

[0134] The prohibited conditions include: conditions that pre-set installation locations prohibit the installation of the product to be installed.

[0135] In some alternative implementations, the processing module 703 is specifically used for:

[0136] When the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, it is determined that the first installation location allows the installation of the first product to be installed. Here, the first product to be installed is any one of the products to be installed, and the first installation location is any one of the different installation locations.

[0137] Alternatively, if the product type and / or quantity of the first product to be installed meet the prohibition conditions of the first installation location, then the first installation location is determined to prohibit the installation of the first product to be installed.

[0138] In some optional embodiments, the device further includes a priority determination module 704;

[0139] Priority determination module 704 is used to determine the priority of the product to be installed based on the product type;

[0140] The processing module 703 is also used to determine the installation rules of the product to be installed based on the priority and constraints of the product to be installed.

[0141] In some optional implementations, the processing module 703 is specifically used to generate a standard operating procedure based on installation rules to complete the allocation of installation locations for the products to be installed.

[0142] In this embodiment, the product installation location allocation device is presented in the form of a functional module. Here, a module refers to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0143] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0144] This invention provides a product installation location allocation device that acquires attribute information of the product to be installed, and then matches the attribute information with corresponding constraints to define the installation rules for the product. That is, the installation rules are determined based on the constraints, and then the installation location allocation operation is completed according to the installation rules. Throughout the process, no manual parsing is required, thus eliminating parsing errors or inconsistencies in parsing by different process engineers. Furthermore, this method automatically completes the allocation of the installation location, significantly improving parsing and installation efficiency. Because there is no rework, no additional operating costs are incurred.

[0145] This invention also provides a terminal device having the above-described features. Figure 8 The distribution device for the product installation location is shown.

[0146] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a terminal device provided in an optional embodiment of the present invention, such as... Figure 8As shown, the terminal device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the terminal device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple terminal devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 8 Take a processor 10 as an example.

[0147] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0148] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.

[0149] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the terminal device based on the display of a mini-program landing page. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transient memory, such as at least one disk storage device, flash memory device, or other non-transient solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories can be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0150] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0151] The terminal device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means. Figure 8 Taking the example of a connection between China and Israel via a bus.

[0152] Input device 30 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the terminal device, such as a touch screen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some optional embodiments, the display device may be a touch screen.

[0153] The terminal device also includes a communication interface 50 for communicating with other devices or communication networks.

[0154] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0155] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for allocating product installation locations, characterized in that, The method includes: Obtain the attribute information of the product to be installed, wherein the attribute information includes the product type; Based on the attribute information, match the constraints corresponding to the product to be installed. The constraints include identification information corresponding to different installation locations, as well as triggering conditions and / or prohibiting conditions corresponding to different installation locations. The priority of the products to be installed is determined based on the product type. Based on the priority of the product to be installed, the priority of the installation location, and the constraints, the installation rules for the product to be installed are determined; and the allocation of the installation location for the product to be installed is completed according to the installation rules.

2. The method according to claim 1, characterized in that, The attribute information also includes the product quantity, and the step of matching the constraints corresponding to the product to be installed based on the attribute information specifically includes: Select constraints from a pre-built constraint library that correspond to the product type and / or the product quantity.

3. The method according to claim 1, characterized in that, The triggering conditions include one or more of the following: supported product types; The prohibited conditions include: conditions that prohibit the installation of the product to be installed at the preset installation location.

4. The method according to claim 1 or 3, characterized in that, The step of determining the installation rules for the product to be installed based on the attribute information and the constraints includes: When the product type and / or quantity of the first product to be installed meet the triggering conditions of the first installation location, it is determined that the first installation location allows the installation of the first product to be installed, wherein the first product to be installed is any one of the products to be installed, and the first installation location is any one of the different installation locations. Alternatively, if the product type and / or quantity corresponding to the first product to be installed meet the prohibition conditions of the first installation location, then it is determined that the first installation location prohibits the installation of the first product to be installed.

5. The method according to any one of claims 1-3, characterized in that, The step of allocating the installation location of the product to be installed according to the installation rules includes: A standard operating procedure is generated based on the installation rules to complete the allocation of installation locations for the products to be installed.

6. A product installation position allocation device, characterized in that, The device includes: The attribute information acquisition module is used to acquire the attribute information of the product to be installed, wherein the attribute information includes the product type; The condition matching module is used to match the constraint conditions corresponding to the product to be installed based on the attribute information. The constraint conditions include identification information corresponding to different installation locations, as well as trigger conditions and / or prohibition conditions corresponding to different installation locations. The priority determination module is used to determine the priority of the products to be installed based on the product type. The processing module is used to determine the installation rules of the product to be installed based on the attribute information, the priority of the installation location, and the constraints; and to complete the allocation operation of the installation location of the product to be installed according to the installation rules.

7. A terminal device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the product installation location allocation method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the product installation location allocation method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • System and method for generating plug-in mounting prompt according to material attribute data and plug-in mounting rule

    CN111400827A