Cable connection scheme determination method and device
By building a customized rule system and flexible solution logic, the problem of insufficient accuracy of cable connection solutions in the digital process system is solved, and efficient and accurate cable connection solutions are achieved for different server types and configurations, improving production efficiency and product quality.
Patent Information
- Application Number
- CN202510577760.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-08-15
AI Technical Summary
The existing digital process systems are difficult to accurately solve the cable connection scheme for different types or configurations, resulting in poor accuracy of the connection scheme.
Build a customized rule system, and determine the corresponding solution rules for the target product through a pre-configured rule base, including multiple rules with different priorities and combination relationships, flexibly customize and automatically apply, and obtain targeted and personalized cable connection solutions.
It realizes accurate control and efficient solution under different products or configurations, improves the accuracy and efficiency of cable connection solutions, and improves product production efficiency and quality.
Smart Images

Figure CN120493452A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for determining a cable connection solution. Background Art
[0002] In the current digital process system, the connection rules and selection of cables inside the server are managed through the cable module. The above-mentioned cable module usually pre-stores several basic cable selection tables. The cable selection table can be used to record the basic parameters of various cables, such as cable type, applicable product model, cable material number, connected board material number and position number, etc. After the pre-edited cable selection table is imported into the digital process system, the digital process system can match the data stored in the cable selection table and the data information in the order to calculate the cable connection plan for each server in the order. However, for different types of servers or servers of the same type but different configurations, it is difficult for the current digital process system to solve the cable connection plan in a targeted manner according to different types or configurations, and the accuracy of the cable connection plan is poor. Summary of the Invention
[0003] The present application provides a method and apparatus for determining a cable connection solution, so as to at least solve the problem of poor accuracy in calculating the cable connection solution in the related art.
[0004] This application provides a method for determining a cable connection solution, including:
[0005] Determine, based on a pre-configured rule base, a corresponding solution rule for each target product in the target order; the corresponding solution rule for each target product includes multiple rules with different priorities; at least two of the multiple rules have a combination relationship;
[0006] For each of the target products, a cable connection solution for the target product is obtained based on a solution rule corresponding to the target product.
[0007] The present application also provides a device for determining a cable connection solution, comprising:
[0008] a determination module, configured to determine, based on a pre-configured rule base, a corresponding calculation rule for each target product in the target order; the corresponding calculation rule for each target product includes a plurality of rules having different priorities; at least two of the plurality of rules have a combination relationship;
[0009] The solution module is used to obtain a cable connection solution for each target product based on a solution rule corresponding to the target product.
[0010] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned cable connection scheme determination methods when executing the computer program.
[0011] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned cable connection solution determination methods are implemented.
[0012] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned cable connection solution determination methods when executed by a processor.
[0013] Through this application, due to the construction of a customized rule system and the optimization of the solution logic based on it, on the basis of flexible customization and automatic application of cable solution rules, targeted and personalized cable connection solutions can be automatically solved for different product configurations, and precise control and efficient solution of cable connections under different products or configurations can be achieved. The solved cable connection solution has higher accuracy and higher efficiency. Therefore, the technical problem of poor accuracy of the cable connection solution can be solved, and the technical effect of improving the accuracy of the solved cable connection solution can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0015] Figure 1 A schematic diagram of a flow chart of a method for determining a cable connection solution provided in an embodiment of the present application;
[0016] Figure 2 A flowchart of the order checking and solving steps in a cable connection solution determination method provided in an embodiment of the present application;
[0017] Figure 3 A schematic flow chart of a rule customization step in a cable connection solution determination method provided in an embodiment of the present application;
[0018] Figure 4 A flowchart of the rule configuration condition organization step in a cable connection solution determination method provided in an embodiment of the present application;
[0019] Figure 5 This is one of the structural diagrams of a device for determining a cable connection solution provided in an embodiment of the present application;
[0020] Figure 6 This is a second structural diagram of a device for determining a cable connection solution provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0022] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0023] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0024] In related technologies, with the rapid development of information technology, the manufacturing process of servers, which serve as the core equipment of data centers, has become increasingly complex and sophisticated. To address these trends in server manufacturing, digital process system design has emerged.
[0025] By integrating digital technology with process design, digital process systems can achieve automation, intelligence, and informationization of product production process design. Early digital process systems primarily focused on solving basic process flow design and document management issues, with relatively limited functionality. For example, early digital process systems could digitally record simple server assembly steps, but struggled to handle complex process rules.
[0026] Digital process systems are evolving as they integrate cutting-edge technologies such as artificial intelligence and big data. Current digital process systems can collect real-time data from production sites and automatically adjust process parameters based on this data, thereby optimizing production. In server manufacturing, the application of digital process systems can significantly improve production efficiency and product quality. However, digital process systems still have some limitations when handling complex processes such as cable connections.
[0027] First, the functionality of the cable modules in the digital process systems of related technologies is limited, making it difficult to meet the differentiated cable connection requirements between different products or configurations. The cable modules of related technologies lack flexible rule functions and are unable to dynamically adjust cable connection rules based on different product or configuration requirements. When complex rule settings such as prioritizing Non-Volatile Memory Host Controller Interface Specification (NVMe, NVM Express) cards over Riser cards (i.e., adapter cards or expansion cards), or prioritizing rear or front cards, need to be implemented, the cable modules of related technologies are often unable to effectively cope with them.
[0028] Second, the cable modules in related technologies lack systematic solution logic when solving cable connection records. The cable modules in related technologies can usually only be matched simply according to the cable selection table, and it is difficult or even impossible to consider the priority and combination application between rules. When faced with complex cable connection scenarios, the above simple matching method is likely to lead to the solution results (i.e. the cable connection solution obtained by solution) not meeting the actual production needs. The determination of the cable connection solution is inefficient and prone to errors, which seriously affects the quality, accuracy and efficiency of product production.
[0029] The specific application environment architecture or specific hardware architecture on which the execution of the cable connection solution determination method depends is described below.
[0030] It should be noted that the execution of the cable connection scheme determination method can rely on the aforementioned digital process system, that is, the cable connection scheme determination method provided by the embodiments of this application can be applied in the aforementioned digital process system. The functions of the digital process system have been described above and will not be repeated here.
[0031] The digital process system can interact with the order system to obtain the bill of materials (BOM) for each order. The BOM can store information about the product and its components. For example, if the product is a server, the BOM may store information about each server to be produced and its components. For example, the components of a server may include various boards and cables.
[0032] An embodiment of the present application provides a cable connection solution determination method, and the method is described in detail in conjunction with the execution flow of the cable connection solution determination method.
[0033] Specifically, Figure 1This is a flow chart of a method for determining a cable connection solution provided in an embodiment of the present application. Figure 1 As shown, the cable connection solution determination method includes the following steps: step 110 and step 120.
[0034] Step 110: Based on a pre-configured rule base, determine the solution rules corresponding to each target product in the target order; the solution rules corresponding to each target product include multiple rules with different priorities; at least two rules among the multiple rules have a combination relationship.
[0035] In actual implementation, steps 110 and 120 may be part of an order checking and solving step. The order checking and solving step may be used to check and solve regular orders based on customized rules, and automatically check and solve cable connections in such orders.
[0036] The order checking and solving step can be used to check and solve regular orders, and to explain and supplement the operation logic of each rule table under the re-order point (ROP) method. In some embodiments, the above operation logic may include the combination operation logic of the business data object type, the rule operation result table, the solution logic of the cable selection table, the logic for filtering available cable connection records, and the processing logic for recording cable connection records.
[0037] It's important to note that ROP is a key metric in supply chain management, used to determine when to reorder inventory to avoid stockouts. Supply chain management based on ROP ensures inventory levels are neither excessively high nor excessively low, maximizing cost-effectiveness. The ROP method is a production order processing rule, a strategy in inventory management that issues an order request to the supplier when inventory levels drop to a predetermined value.
[0038] Through steps 110 and 120, an automated solution process can be implemented, the cable connection status in the target order can be checked and solved according to customized rules, and an accurate cable connection solution can be generated to improve production efficiency and product quality.
[0039] In some embodiments, the target order may be any order obtained from the BOM system. For each target order, the target order may include information about the product to be produced. The product information may include the product model signal and information about the boards and cables included in the product.
[0040] In some embodiments, the target product in the target order may be a relatively complex electronic product such as a server. In one target order, the quantity of the target product may be one or more.
[0041] Prior to step 110, a rule base can be configured in advance. This rule base can contain multiple rules. Each rule can be used to determine a cable connection record. For each cable, the cable connection record can be used to indicate the connection object of each interface of the cable, that is, to which connection object or objects each interface of the cable is connected. Each connection object can be a pin on a board or a board interface, etc.
[0042] In some embodiments, for each target product, multiple rules in a rule library may be obtained based on the model of the target product or the components included in each target product as the solution rules corresponding to the target product.
[0043] It should be noted that for each target product, the various rules in the solution rules corresponding to the target product are not isolated. On the one hand, the priorities of the above rules are different, and the rules with higher priorities must be met first in the solution. On the other hand, there is a combination relationship between the above rules, such as at least one of "logical and" and "logical or".
[0044] It should be noted that the above-mentioned different priorities and combination relationships can be determined based on the configuration information and target orders of each rule in the rule base. For example, for two identical rules, if the target products are different, that is, the boards and cards included in the target products are different, this may result in the priority relationship between the above-mentioned two rules being opposite for the two different target products. For one target product, the priority of rule one is higher than that of rule two, while for another target product, the priority of rule two is higher than that of rule one. For another example, for multiple identical rules, if the target products are different, that is, the boards and cards included in the target products are different, this may result in the combination relationship between the above-mentioned multiple rules being different for the two different target products.
[0045] Step 120: For each target product, based on the solution rules corresponding to the target product, obtain a cable connection solution for the target product.
[0046] In actual execution, for each target product in the target order, after determining the corresponding solution rule for the target product, a solution can be performed based on the solution rule, satisfying the constraints of priority and combination relationship during the solution, thereby obtaining a cable connection solution for the target product. The cable connection solution for the target product includes the connection records of each cable included in the target product.
[0047] According to the cable connection solution determination method provided in the embodiment of the present application, the solution is performed through the solution rules corresponding to each target product to obtain the cable connection solution of the target product. Since the solution rules corresponding to the target product include multiple rules with different priorities, and at least two rules have a combination relationship, compared with the single model matching method in the related art, a customized rule system is constructed and the solution logic is optimized on this basis. On the basis of flexible customization and automatic application of cable solution rules, targeted and personalized cable connection solutions can be automatically solved for different product configurations, and precise control and efficient solution of cable connections under different products or configurations can be achieved. The cable connection solution obtained by solution has higher accuracy and higher efficiency, thereby improving the production efficiency and product quality of the product, and providing more powerful support for product design and manufacturing.
[0048] In some embodiments of the present application, based on a pre-configured rule base, the resolution rules corresponding to each target product in the target order are determined, including: for each target product, based on the information of each board included in the target product, matching is performed in the rule base to obtain the resolution rules corresponding to the target product, and determining the priority and combination relationship of all rules included in the resolution rules corresponding to the target product.
[0049] In actual implementation, for each target product, a match can be performed against the rule base based on the information of each board included in the target product to obtain the rules applicable to that board in the rule base. It is understood that the rules applicable to all boards included in the target product can constitute the solution rules corresponding to the target product.
[0050] In some embodiments, after obtaining the rules applicable to all boards included in the target product, the priority relationship and combination relationship of the above rules can be determined based on the configuration information of the above rules and the target order.
[0051] According to the cable connection solution determination method provided by the embodiment of the present application, by matching in the rule library based on the information of each board included in the target product, obtaining the solution rules corresponding to the target product, and determining the priority and combination relationship of all rules included in the solution rules corresponding to the target product, the solution rules corresponding to the target product for solving the cable connection solution include multiple rules with different priorities, and at least two rules have a combination relationship, thereby enabling flexible customization and automatic application of cable solution rules, and enabling targeted and personalized automatic solution of cable connection solutions for different product configurations, and enabling precise control and efficient solution of cable connections under different products or configurations. The cable connection solution obtained has higher accuracy and higher efficiency, thereby improving product production efficiency and product quality, and providing more powerful support for product design and manufacturing. Moreover, in the case of newly added products, there is no need to reconfigure the rules. If the solution rules corresponding to the boards included in the newly added products exist in the rule library, the solution rules corresponding to the newly added products can be obtained, and the strong binding relationship between the rules and the product configuration can be accessed, making the acquisition of solution rules more flexible.
[0052] In some embodiments of the present application, based on a pre-configured rule base, the resolution rules corresponding to each target product in the target order are determined, including: for each target product, based on the information of each board combination included in the target product, matching is performed in the rule base to obtain the resolution rules corresponding to the target product, and determining the priority and combination relationship of all rules included in the resolution rules corresponding to the target product.
[0053] In actual implementation, boards with relatively fixed connection relationships can be considered as a board-card combination. For example, a mainboard and a backplane, or a mainboard and an adapter card, can each be considered as a combination.
[0054] In some embodiments, the rule library can store the solution rules corresponding to each board combination in units of board combinations. The solution rules corresponding to each board combination can include multiple rules with different priorities; at least two of the multiple rules have a combination relationship.
[0055] In some embodiments, for each target product, a matching operation can be performed in a rule library based on the information of each board combination included in the target product to obtain the corresponding solution rules for each board combination. After obtaining the solution rules corresponding to each board combination included in the target product, the priority of all rules included in the solution rules corresponding to the target product can be determined based on the priority of the rules in the solution rules corresponding to each board combination.
[0056] It should be noted that, since the boards in a board combination have a relatively fixed connection relationship, the rules with a combination relationship are generally rules for boards in the same board combination, and the rules for boards in different board combinations generally do not have a combination relationship. Therefore, the solution rules corresponding to each board combination are obtained. Based on the configuration information and target order of the above rules, the combination relationship between all boards in the solution rules corresponding to the board combination can be determined.
[0057] According to the cable connection solution determination method provided by the embodiment of the present application, by matching the information of each board combination included in the target product in the rule library, obtaining the solution rules corresponding to each board combination, forming the solution rules corresponding to the target product, and determining the priority and combination relationship of all rules included in the solution rules corresponding to the target product, the efficiency of obtaining the solution rules corresponding to the target product is higher and the steps are fewer, thereby further improving the accuracy and efficiency of solving the cable connection solution. Moreover, in the case of a new product, there is no need to reconfigure the rules. If the solution rules corresponding to the board combination included in the new product exist in the rule library, the solution rules corresponding to the new product can be obtained. The strong binding relationship between the rules and the product configuration can be accessed, and the acquisition of the solution rules is more flexible.
[0058] In some embodiments of the present application, determining the solution rule corresponding to each target product in the target order based on a pre-configured rule base may include:
[0059] For each target product, when the ratio of the target product and the target historical product containing the same boards is greater than a first target threshold, a first set of solution rules is obtained; the first set of solution rules is the solution rules corresponding to the target historical product;
[0060] Based on the first set of solution rules and the pre-configured rule base, the solution rules corresponding to the target product are obtained.
[0061] In some embodiments, obtaining the corresponding solution rules for the target product based on the first set of solution rules and the pre-configured rule base may include:
[0062] Based on the same boards included in the target product and the target historical product, obtain the rules corresponding to the same boards in the first set of solution rules;
[0063] Based on the different boards included in the target product and the target historical product, matching is performed in the rule library to obtain the rules corresponding to the different boards;
[0064] Based on the rules corresponding to the same board and the rules corresponding to different boards, the solution rules corresponding to the target product are obtained, and the priorities and combination relationships of all rules included in the solution rules corresponding to the target product are determined.
[0065] In actual implementation, the embodiment of the present application does not limit the specific value of the first target threshold. For example, the first target threshold may be greater than 50% or 60%.
[0066] It should be noted that the rules corresponding to the same boards included in the target historical product can be used directly, and the boards included in the target historical product that are different are then matched in the rule library. The implementation process of matching in the rule library and the implementation process of determining the priority and combination relationship of all rules included in the solution rules corresponding to the target product can be referred to in the previous embodiment and will not be repeated here.
[0067] In some embodiments, the number of target historical products may be multiple, and accordingly, the number of the first set of solution rules is the same as the number of target historical products.
[0068] Based on the pre-configured rule base, determine the corresponding solution rules for each target product in the target order, which may include:
[0069] For each target product, the solution rule corresponding to the first target historical product is obtained, and the solution rule corresponding to the target product is obtained; the first target historical product and the target product include the same board.
[0070] In actual execution, the rules corresponding to the board and card that are the same as the target product in the solution rules corresponding to the first target historical product can be obtained, so that the rules corresponding to each board and card included in the target product can be obtained; based on the rules corresponding to each board and card included in the target product, the solution rules corresponding to the target product can be obtained, and the priority and combination relationship of all rules included in the solution rules corresponding to the target product can be determined.
[0071] In some embodiments, the same board may be a board at the same position, so that logic mapping and rule reuse can be performed based on the board position, thereby realizing the abstract design of rule conditions.
[0072] According to the cable connection solution determination method provided in the embodiment of the present application, by reusing the rules corresponding to the target historical products and utilizing the parts corresponding to the boards and cards that are the same as the target products, when new products are added, there is no need to reconfigure the rules, and rapid reuse of cross-product configurations can be achieved. The rules and product configurations do not have a strong binding relationship, which can provide efficiency in rule customization, thereby improving the efficiency of cable connection solution solution and product production.
[0073] In some embodiments of the present application, determining the solution rule corresponding to each target product in the target order based on a pre-configured rule base may include:
[0074] For each target product, when the ratio of the same board combination included in the target product and the target historical product is greater than the second target threshold, a second set of solution rules is obtained; the second set of solution rules is the solution rules corresponding to the target historical product;
[0075] Based on the second set of solution rules and the pre-configured rule base, the solution rules corresponding to the target product are obtained.
[0076] In some embodiments, obtaining the corresponding solution rules for the target product based on the second set of solution rules and the pre-configured rule base may include:
[0077] Based on the same board combination included in the target product and the target historical product, obtain the rules corresponding to the same board combination in the second set of solution rules;
[0078] Based on the different board combinations included in the target product and the target historical product, matching is performed in the rule library to obtain the rules corresponding to the different board combinations;
[0079] Based on the rules corresponding to the same board combination and the rules corresponding to different board combinations, the solution rules corresponding to the target product are obtained, and the priorities and combination relationships of all rules included in the solution rules corresponding to the target product are determined.
[0080] In actual implementation, the embodiment of the present application does not limit the specific value of the second target threshold. For example, the second target threshold may be greater than 50% or 40%.
[0081] It should be noted that the rules corresponding to the same board and card combinations included in the target historical product can be used directly, while different board and card combinations included in the target historical product are then matched in the rule library. The implementation process of matching in the rule library and the implementation process of determining the priority and combination relationship of all rules included in the solution rules corresponding to the target product can be referred to in the previous embodiment and will not be repeated here.
[0082] In some embodiments, the number of target historical products may be multiple, and accordingly, the number of the second set of solution rules is the same as the number of target historical products.
[0083] Based on the pre-configured rule base, determine the corresponding solution rules for each target product in the target order, which may include:
[0084] For each target product, the solution rule corresponding to the second target historical product is obtained, and the solution rule corresponding to the target product is obtained; the second target historical product and the target product include the same board combination.
[0085] In actual execution, the rules corresponding to the board and card combination that is the same as the target product in the solution rules corresponding to the second target historical product can be obtained, so that the rules corresponding to each board and card combination included in the target product can be obtained; based on the rules corresponding to each board and card combination included in the target product, the solution rules corresponding to the target product can be obtained, and the priority and combination relationship of all rules included in the solution rules corresponding to the target product can be determined.
[0086] In some embodiments, the same board combination may be a board combination consisting of multiple boards in the same position, so that logical mapping and rule reuse can be performed based on the board position, thereby realizing the abstract design of rule conditions.
[0087] According to the cable connection solution determination method provided in the embodiment of the present application, by reusing the rules corresponding to the target historical products and utilizing the parts corresponding to the board card combination that is the same as the target product, when a new product is added, there is no need to reconfigure the rules, and rapid reuse of cross-product configurations can be achieved. The rules and product configurations do not have a strong binding relationship, which can provide efficiency in rule customization, thereby improving the efficiency of cable connection solution solution and product production.
[0088] In some embodiments of the present application, based on the solution rules corresponding to the target product, a cable connection solution for the target product is obtained, including: based on the order determined by priority, the combination relationship and the physical constraints of the cable connection position, solving each rule in the solution rules corresponding to the target product in turn to obtain the cable connection solution for the target product.
[0089] In actual execution, for each target product, based on the solution rules corresponding to the target product, each rule in the solution rules corresponding to the target product can be taken out in turn as an effective rule and the current effective rule can be solved until all the rules in the solution rules corresponding to the target product are solved, so that the cable connection solution for the target product can be obtained.
[0090] It should be noted that after solving each effective rule, at least one cable connection record can be obtained. After all the rules in the solution rules corresponding to the target product are solved, the connection records of all the cables obtained by solving can form the cable connection solution for the target product.
[0091] In some embodiments, the order of extracting rules from the solution rules corresponding to the target product is determined by the priority of each rule in the solution rules corresponding to the target product.
[0092] In some embodiments, for any two rules from the solution rules corresponding to the target product, the rule with a higher priority is taken out first and solved as the effective rule, and the rule with a higher priority is taken out later and solved as the effective rule.
[0093] In some embodiments, for any two rules from the solution rules corresponding to the target product, if their priorities are the same, their order can be determined randomly, or can also be determined based on other factors such as the rule number or the time of joining the rule base.
[0094] In some embodiments, in the process of solving each effective rule, the combination relationship of the effective rule and the physical constraints of the cable connection position can be used as constraints to limit the solution results, so that the solved cable connection records comply with both the rules and the actual physical conditions.
[0095] In some embodiments, in the process of solving each effective rule, if the solved cable connection record does not meet the above constraints, the result of this solution can be excluded from the result list of all results that meet the effective rule, and the cable connection record can be re-determined in the above result list or the settlement can be re-performed to obtain a new result list and the cable connection record can be determined in the above new result list as the new result of solving the effective rule.
[0096] In some embodiments, in the process of solving each effective rule, if the solved cable connection record does not meet the above constraints, all previous effective rules and the effective rule can be re-settled one by one, that is, a circular settlement is performed until the cable connection record that meets the above constraints is obtained.
[0097] In some embodiments, the above physical constraints may include at least one of the constraints on the interface connection position of the cable (which may be expressed in coordinates of the target coordinate system, such as X-axis and Y-axis coordinates, etc.) and the constraints on the length of the cable.
[0098] According to the cable connection solution determination method provided by the embodiment of the present application, in the solution logic dimension, the solution is performed in sequence according to each rule in the solution rules corresponding to the target product in the order determined based on the priority. The solution result is based on the conditions of satisfying the combination relationship between the rules and the physical constraints of the cable connection position to obtain the cable connection solution of the target product, and realize the loop solution based on the priority queue. Combined with the physical constraint verification, it can ensure the optimal solution result and obtain a more accurate cable connection solution through solution. Compared with the simple matching algorithm used in the related art, it cannot handle the rule priority and combination constraints, and the accuracy of the obtained cable connection solution is poor. The cable connection solution determination method provided by the embodiment of the present application can handle the rule priority and combination constraints, and the accuracy of the obtained cable connection solution is higher, thereby improving the efficiency of cable connection solution solution and product production.
[0099] In some embodiments of the present application, solving according to each of the solving rules corresponding to the target product in turn, and obtaining the cable connection solution of the target product includes: solving according to each of the solving rules corresponding to the target product in turn, and obtaining multiple connection records.
[0100] In actual implementation, for each target product, based on the corresponding solution rules, each rule in the solution rules for the target product can be sequentially extracted as an effective rule and the current effective rule can be solved to obtain multiple connection records. Each connection record can be used to describe the connection location information of at least one interface of a cable.
[0101] Acquire location information of a target board in a target product; the number of the target board is at least one.
[0102] In actual implementation, the location information of the target board in the target product can be searched based on the information of the target product. The target board may include one or more specific boards in the target product.
[0103] Based on the location information and priority of the target board, the connection record is retrieved to obtain the cable connection solution of the target product.
[0104] In actual execution, data selection and discarding operations can be performed. Based on the location information and priority of the target board, the multiple connection records obtained through the above steps are taken out in sequence according to the business processing logic and rule priority of the target board and saved in the cable connection plan of the target product, so that the cable connection plan of the target product can be obtained.
[0105] In some embodiments, the connection records may be retrieved in sequence according to the business processing logic and rule priority of the target board until the material number (also known as "part number", Part Number, PN) meets the preset conditions, and the data selection and discarding operation is terminated.
[0106] According to the cable connection solution determination method provided in the embodiment of the present application, by finding the location of the target board in the target product, performing data selection and discarding operations based on the location information and priority of the target board, the cable connection records are retrieved, and the cable connection solution of the target product is obtained. This can ensure that the cable connection records are not missed and are retrieved according to the priority logic, so that the obtained cable connection solution is more accurate.
[0107] In some embodiments of the present application, after obtaining the cable connection solution of the target product based on the solution rules corresponding to the target product for each target product, the method also includes: for each target product, checking whether there are any cables with abnormal connections in the cable connection solution of the target product.
[0108] In actual implementation, for each target product, after obtaining the cable connection solution of the target product, the cable connection solution of the target product may be automatically checked.
[0109] In some embodiments, for each cable included in the target product, it can be automatically checked whether there is a connection record of the cable in the cable connection plan of the target product; if there is a connection record of the cable, it means that the cable connection is normal, and the number of the connection position can be automatically generated and recorded and displayed; if there is no connection record of the cable, it means that the cable connection is abnormal, and the cable can be automatically marked as "abnormal" for subsequent investigation and processing to ensure the integrity and accuracy of the cable connection plan.
[0110] In the case of abnormally connected cables, the cable connection solution for the target product is obtained based on the solution rules corresponding to the target product.
[0111] In actual execution, if there is at least one abnormally connected cable in the cable connection solution of the target product, steps 110 and 120 can be re-executed until no abnormally connected cable exists in the cable connection solution of the target product obtained, or the number of re-executions of steps 110 and 120 reaches a preset number.
[0112] In some embodiments, if there is at least one abnormally connected cable in the cable connection solution of the target product, an abnormality report may be automatically generated. The abnormality report may be used to store information about the abnormally connected cable.
[0113] In some embodiments, when the number of times step 110 and step 120 are re-executed reaches a preset number, the process of determining the cable connection solution can be checked manually to find out the reason why there are abnormally connected cables in the cable connection solution of the target product.
[0114] In some embodiments, the preset number of times can be set according to actual conditions. The specific value of the preset number of times is not limited in the present embodiment. For example, the preset number of times can be 3, 5, 10, etc.
[0115] In some embodiments, when there are no cables with abnormal connections in the cable connection plan of the target product, the cable connection plan of the target product can be directly output for use by the digital process system, and the production process of the target product can be arranged according to the cable connection plan.
[0116] According to the cable connection scheme determination method provided in the embodiment of the present application, in the dimension of exception handling, by checking whether there are cables with abnormal connections in the cable connection scheme of each target product, automatically marking the cables with no connection records, and generating an exception report, the cost of manual intervention can be reduced, and the shortcomings of manual inspection methods such as low efficiency and easy omissions can be avoided, thereby improving inspection efficiency and accuracy.
[0117] In order to facilitate the understanding of the order checking and solving steps in each embodiment of the present application, the following Figure 2 , the process of order checking and solving steps in a cable connection solution determination method provided by an embodiment of the present application is exemplarily described. Figure 2 , the order checking and solving steps may specifically include the following steps.
[0118] Step 201: Get the order.
[0119] Orders can be obtained from the BOM, and each order can be used as the target order in turn to perform order checking and solving steps.
[0120] Step 202: Obtain rules and confirm priorities.
[0121] Obtain and confirm the priority of business rules to be followed. The above business rules may include the solution rules corresponding to each target product.
[0122] Steps 201 and 202 may belong to the order reception and rule priority determination phase. The order review and resolution process may begin with order reception, followed by obtaining and confirming the priority of the business rules to be followed, providing a sequential basis for subsequent resolution. Steps 203 through 208 may belong to the rule resolution and data processing phase, while steps 209 through 211 may belong to the result processing and exception marking phase.
[0123] Step 203: Prioritize and solve according to the "product operation rules".
[0124] Step 204: Calculate an effective rule.
[0125] Step 205: Determine whether all effective rules have been solved. If so, proceed to step 206; if not, return to step 204.
[0126] The calculation can be prioritized and performed step by step based on the effective "product calculation rules." After interpreting and calculating the requirements of one "product calculation rule," the next one can be moved on to. This continues until all effective rules have been interpreted and calculated, and subsequent steps can be executed. After each rule is interpreted and calculated, a determination is made as to whether all effective rules have been calculated. If not, the calculation proceeds to the next rule. If so, the data selection and rejection process can proceed. The data selection and rejection process can include steps 206 through 208.
[0127] It is understood that the solution includes the above interpretation and operation. The "product operation rule" is the effective rule, which can include each rule in the solution rule corresponding to the target product.
[0128] Step 206: Select and discard data in the target table.
[0129] Step 207: Find the location information of the target board.
[0130] Step 208: Retrieve connection records according to priority.
[0131] During the data selection and discarding operation, the location information of a specific board (that is, the above-mentioned specific board is used as the target board) can be found. Based on the logic processing data of the RAID (Redundant Arrays of Independent Disks) card (taking the RAID card as the target board as an example), the connection records obtained through the solution are retrieved according to priority, and the cycle continues until all part numbers (PNs) meet the specific conditions.
[0132] In some embodiments, the remaining data in the target table can be selected and discarded according to a specific order and logic. For example, by searching for "A - Board Position" or "B - Board Position" information that only appears once, the connection records can be removed based on the logically earlier RAID cards or RAID cards using the same configuration full logic, and the priority logic, until all PN material numbers have X less than Y.
[0133] After completing the data processing, replace the board position column value with the actual installation position, and locate the board PN column value to the board PN at the corresponding position.
[0134] For example, the values in the "A-Board Position" and "B-Board Position" columns are replaced with the actual installation positions, and the values in the "A-Board PN" and "B-Board PN" columns are uniquely located to the PN of the boards at the corresponding positions.
[0135] Step 209: Search for the connection record of the cable. If there is a record, proceed to step 210; if not, proceed to step 211.
[0136] Step 210: Generate a number for the connection position and record and display it.
[0137] Step 211: Mark the exception.
[0138] Check the cable material connection records; if there are records, automatically generate the cable connection position number and record it; if there are no records, mark the abnormality for subsequent investigation and processing to ensure the completeness and accuracy of the cable connection plan.
[0139] According to the cable connection solution determination method provided in the embodiment of the present application, the order inspection and solution steps are closely linked from receiving the order to finally generating the cable connection solution. The degree of automation and intelligence is high, which helps to improve production efficiency.
[0140] In some embodiments of the present application, before determining the solution rules corresponding to each target product in the target order based on a pre-configured rule base, the method also includes: generating rules in the rule base in response to a user's drag operation on the first interface; determining the configuration conditions of each rule in the rule base in response to a user's drag operation on the second interface; the configuration conditions are used to indicate the priority relationship and combination relationship between the rules.
[0141] In actual implementation, before step 110, a rule customization step and a rule configuration condition organization step may be performed to obtain a pre-configured rule base. The rule customization step may include generating rules in the rule base in response to a user drag operation on the first interface; and the rule configuration condition organization step may include determining configuration conditions for each rule in the rule base in response to a user drag operation on the second interface.
[0142] In some embodiments, the first interface can be a graphical interface that provides an intuitive interface for users and other operators. The first interface can be used to edit and view cable solution rules, thereby enabling rule customization. The cable solution rules are the rules in the aforementioned rule library.
[0143] In some embodiments, the second interface may be an intuitive graphical interface for users or other operators. The second interface may be used to set complex rule conditions, thereby customizing the configuration conditions of the rules and forming priority relationships, combination relationships, and set relationships between the rules.
[0144] In some embodiments, the rule customization step can be used to implement editing and viewing of customized rules. In some embodiments, the rule customization step can be specifically used to implement functions such as menu inspection, data loading, switching selected data, displaying and operating rule calculation results, sequential display and column hiding of cable tables, dynamic loading of memory installation location tables, customization of cable solution rule tables, save verification, reset operations, interface scroll bar settings, business meaning description field management, and checkout control.
[0145] In actual implementation, users and other operators can perform drag operations on the graphical first interface to intuitively edit, view and manage rules to ensure the accuracy and completeness of the rules.
[0146] In some embodiments, the user can perform a drag operation on the first interface, thereby receiving a first input corresponding to the drag operation on the first interface; after receiving the first input, the first input can be responded to, thereby generating a rule in the rule library.
[0147] It should be noted that by dragging the first interface, the first input can carry the first information for which a rule is to be generated, so that a rule can be generated based on the first information. The first information can include information such as the target attribute of the cable in the rule, the target value corresponding to the target attribute, and the relationship between the target attribute and the target value.
[0148] In some embodiments, the rule configuration condition organization step can be used to implement the organization of customized rule configuration conditions. In some embodiments, the rule configuration condition organization step can be specifically used to implement functions such as data loading logic, interface function settings (for example, it can specifically include button functions such as adding a group, adding a condition, editing, or removing), adding condition interface logic (for example, it can specifically include setting an attribute whitelist, judgment logic, or value column display and verification, etc.), and editing condition interface logic.
[0149] In actual execution, users and other operators can perform drag operations on the graphical second interface to achieve flexible condition organization, allowing users and other operators to set complex configuration conditions for rules according to specific needs, thereby improving the adaptability and accuracy of the rules.
[0150] In some embodiments, a user can perform a drag operation on the second interface, thereby receiving a second input corresponding to the drag operation on the second interface; after receiving the second input, a response can be made to the second input, thereby determining the configuration conditions of a target rule in the rule library. The target rule can include at least one rule in the rule library. It is understood that based on the configuration conditions of each rule in the rule library, the priority relationship and combination relationship between the rules can be determined.
[0151] According to the cable connection scheme determination method provided in the embodiment of the present application, the rules in the rule library are generated by dragging the first interface, and the configuration conditions of each rule in the rule library are determined by dragging the second interface. The operation is more intuitive, simple and convenient, and various customized rules for different products can be generated more conveniently, quickly and accurately. It can also enable non-technical personnel to quickly complete the definition of complex rules, and is not limited to only technical personnel who can quickly complete the definition of complex rules, thereby improving production efficiency.
[0152] In some embodiments of the present application, in response to a user's dragging operation on the first interface, generating a rule in a rule base includes: loading attribute information of a target type of cable in the first interface.
[0153] In actual execution, the attribute information of the target type cable may be loaded in the first interface.
[0154] In some embodiments, the target cable type can be determined by a user operating on the first interface. For example, the user can select at least one cable type through the operation on the first interface, and the at least one cable type is the target type. After the target type is selected, the attribute information of the target cable type can be loaded in the first interface.
[0155] In some embodiments, the attribute information of the cable may include information such as the number of interfaces, the type of interfaces (eg, USB interface, 5V power interface, SPI interface, I2C interface), and the maximum length.
[0156] In response to a user dragging operation on the first interface, a target condition is acquired.
[0157] In actual implementation, the user can perform a drag operation on the first interface, drag the elements included in the target condition to the first target area in the first interface, and then combine the elements included in the target condition in the first target area to obtain the target condition.
[0158] Based on the target condition, a rule for the target type cable is generated in the rule base.
[0159] In actual implementation, for each target condition, after determining that the target condition is correct, a rule for the target type of cable is generated based on the target condition and added to the rule library.
[0160] It is understood that the target condition can be used to describe or define a rule, and thus based on the target condition, a rule corresponding to the target condition can be generated. The embodiments of the present application do not limit the specific form of the target condition and the specific form of the rule corresponding to the target condition.
[0161] According to the cable connection scheme determination method provided in the embodiment of the present application, in the rule definition dimension, the rules in the rule library are generated by dragging the first interface, and the rule conditions can be configured by dragging. The operation is more intuitive, simple and convenient, and various customized rules for different products can be generated more conveniently, quickly and accurately. The rule definition does not rely on code and fixed templates, and can also enable non-technical personnel to quickly complete the definition of complex rules. It is not limited to only technical personnel who can quickly complete the definition of complex rules, thereby improving production efficiency.
[0162] In some embodiments of the present application, generating a rule for a target type of cable in a rule base based on a target condition includes: generating a first target rule for the target type of cable based on the target condition.
[0163] In actual execution, for each target condition, a first target rule for target type cables may be generated based on the target condition.
[0164] If a rule identical to the first target rule does not exist in the rule base, the first target rule is added to the rule base.
[0165] In actual execution, after the first target rule is generated, it may be checked whether the rule base already has a rule identical to the first target rule, so as to avoid duplication (ie, repeated rules).
[0166] In some embodiments, if there is no rule identical to the first target rule in the rule base, it means that the rule base does not have a rule identical to the first target rule, and the first target rule can be added to the rule base.
[0167] In some embodiments, if there is a rule identical to the first target rule in the rule base, it means that the rule base has the same rule as the first target rule, and the first target rule is no longer added to the rule base to avoid duplication.
[0168] According to the cable connection scheme determination method provided in the embodiment of the present application, by automatically checking whether the rules generated based on the target conditions are repeated with the existing rules in the rule base, the generated rules are added to the rule base if there are no duplications, thereby avoiding duplication of rules in the rule base, and further avoiding situations such as errors in the cable connection scheme obtained by solving due to duplication of rules in the rule base.
[0169] In order to facilitate the understanding of the rule customization steps in each embodiment of this application, the following Figure 3 , the process of the rule customization step in the cable connection solution determination method provided in the embodiment of the present application is exemplarily described. Figure 3, the rule customization step may specifically include the following steps.
[0170] Step 301, click the menu.
[0171] The process of the rule customization step may begin with clicking a menu, and the rule customization process may be triggered by clicking the menu.
[0172] Step 302: Load the process rule view.
[0173] The process rule view can be quickly loaded and opened. The process rule view can be used to display the rule customization process to prompt users to customize the rules.
[0174] Step 303: Load data according to the selected data type. If not selected, then step 304 can be executed; if selected, then step 305 can be executed.
[0175] In terms of data loading, different data may be loaded according to the selected data type. The selected data type may include selecting a target type of cable according to the user's operation on the first interface.
[0176] Step 304: Give a prompt.
[0177] If the data is not selected, a prompt may be given to remind the user that the data is not selected and to guide the user to select the data.
[0178] Step 305: Switch the selected data.
[0179] When switching the selected data, you can refresh the loaded data according to the type of the selected data, that is, load the attribute information of the target type cable.
[0180] Step 306: Refresh the loaded data.
[0181] After re-recording data or loading new data, you can refresh it in the first interface to ensure the real-time and accuracy of the data, providing a reliable basis for users to edit and customize rules. The above editing can include at least one of adding, deleting and modifying.
[0182] Step 307: Operation on rule operation result area.
[0183] The first target area may be referred to as a rule operation result area. In the rule operation result area, at least one of steps 308 to 314 may be performed.
[0184] Step 308: Check the checkbox to display the corresponding table.
[0185] The above table can be used to display the elements included in the target condition. Each element can be displayed as a column in the table.
[0186] Step 309: Customize the display order of the table and hide columns.
[0187] The display order of the columns of the table in step 308 can be customized, and it can also be set for each column whether to hide the column.
[0188] Through step 308 and step 309, the readability and usability of the first interface can be improved.
[0189] Step 310: Save the rules.
[0190] The generated rules can be saved to be added to the rule library.
[0191] Subsequent steps of step 310 also include steps 315 to 317 .
[0192] Step 315: Check the conditions. If there are duplicates, proceed to step 316; if there are no duplicates, proceed to step 317.
[0193] Verifying conditions means checking the conditional information contained in the rule before saving it to avoid duplicates. If duplicates exist, a prompt will be displayed and the save will be blocked to ensure the accuracy of the rule.
[0194] Step 316: Prompt and prevent saving.
[0195] If there are duplicates, the verification fails, and the user may be prompted and the save may be prevented (ie, not added to the rule base) to ensure the accuracy of the rules.
[0196] Step 317: Save successfully.
[0197] If there are no duplicates, the verification is successful. The rules that passed the verification can be added to the rule library and saved successfully.
[0198] Step 311: Reset operation.
[0199] The reset operation can return the editing status to the last successful save status.
[0200] The subsequent steps of step 310 also include step 318 .
[0201] Step 318: Return to the last successful save state.
[0202] Step 312: Set the interface scroll bar.
[0203] The interface scroll bar setting ensures the visibility of interface elements during operation, making it easier for users to view the content in the first interface and making it easier to generate rules flexibly and easily through dragging operations.
[0204] Step 313: Click the first button.
[0205] The first button can be used to trigger the display of a business description of a field. The field can be a column name of the table in step 308. Clicking the first button displays the business description of the field, providing the user with operational guidance and making the operation more convenient.
[0206] Step 314: Click the second button.
[0207] The function of the second button can be to trigger the permission management for editing rules. The second button can be used to allow multiple users to have the permission to edit the same rule, enabling multiple people to collaboratively edit the same rule. It should be noted that the second button can include a series of buttons to control the permission for multiple people to collaboratively edit rules, thereby improving team collaboration efficiency and further improving the efficiency of rule customization and cable connection solution settlement.
[0208] According to the cable connection scheme determination method provided in the embodiment of the present application, the rule customization steps, from clicking the menu to loading data, editing and saving the rules, are clear and visual, which can ensure that the operator can complete the rule customization according to the established process.
[0209] In some embodiments of the present application, in response to a user's dragging operation on the second interface, the configuration conditions of each rule in the rule base are determined, including: for a second target rule in the rule base, when the configuration conditions of the second target rule are not determined, in response to a user's dragging operation on the second interface, the configuration conditions of the second target rule are generated.
[0210] In actual execution, the second target rule may be displayed in the second interface. The second target rule may include at least one rule in the rule library.
[0211] In some embodiments, the second target rule may be determined based on the user's operation on the second interface. For example, the user's operation on the second interface may select at least one rule in the rule library as the second target rule.
[0212] In some embodiments, for each second target rule, after the second target rule is determined, it may be determined whether the configuration condition of the second target rule has been determined.
[0213] In some embodiments, for each second target rule, when the configuration conditions of the second target rule have not been determined, the user can perform a drag operation on the second interface, drag the elements included in the configuration conditions of the second target rule to the second target area in the second interface, and then combine the elements included in the configuration conditions of the second target rule in the second target area, so as to obtain the configuration conditions of the second target rule.
[0214] According to the cable connection scheme determination method provided in the embodiment of the present application, the configuration conditions of the second target rule are generated by the user's dragging operation on the second interface. The operation is more intuitive, simple and convenient, and various customized rules for different products can be generated more conveniently, quickly and accurately. It can also enable non-technical personnel to quickly complete the definition of complex rules, and is not limited to only technical personnel who can quickly complete the definition of complex rules, thereby improving production efficiency.
[0215] In some embodiments of the present application, in response to a user's drag operation on the second interface, generating configuration conditions for the second target rule includes: in response to a user's drag operation on the second interface, obtaining an allowed list of attributes included in the configuration conditions of the second target rule.
[0216] In actual execution, for each second target rule, when the configuration conditions of the second target rule are not determined, the user can perform a drag operation on the second interface; accordingly, in response to the above drag operation, the allowed list of attributes included in the configuration conditions of the second target rule can be obtained and displayed.
[0217] The attribute allow list, also known as the attribute whitelist, can be used to store information about cable attributes used to obtain configuration conditions for the second target rule. It will be appreciated that the configuration conditions for the second target rule can be generated based on the attributes in the attribute allow list. Attributes not in the attribute allow list are not included in the generation of the configuration conditions for the second target rule.
[0218] In response to a user drag operation on the second interface, attributes included in the configuration condition of the second target rule and a value corresponding to each attribute are obtained based on the allowed list.
[0219] In actual implementation, a user can perform a drag operation on the second interface to drag the elements included in the configuration conditions of the second target rule to the second target area in the second interface. The elements included in the configuration conditions may include at least one target attribute and a value corresponding to each target attribute. It is understood that the target attribute is an attribute in the allowed list of attributes.
[0220] The configuration condition of the second target rule is generated based on the attributes included in the configuration condition of the second target rule and the value corresponding to each attribute.
[0221] In actual execution, the target attributes and their corresponding values may be combined according to the positions to which they are dragged, thereby generating the configuration conditions of the second target rule.
[0222] According to the cable connection scheme determination method provided in the embodiment of the present application, the configuration conditions of the second target rule are generated by the user's dragging operation on the second interface. The operation is more intuitive, simple and convenient, and various customized rules for different products can be generated more conveniently, quickly and accurately. It can also enable non-technical personnel to quickly complete the definition of complex rules, and is not limited to only technical personnel who can quickly complete the definition of complex rules, thereby improving production efficiency.
[0223] In some embodiments of the present application, in response to the user's drag operation on the second interface, the configuration conditions of each rule in the rule library are determined, including: for the second target rule, when the configuration conditions of the second target rule have been determined, the configuration conditions of the second target rule are loaded in the second interface.
[0224] In actual execution, for each second target rule, after determining the second target rule, it is possible to first determine whether the configuration conditions of the second target rule have been determined; if the configuration conditions of the second target rule have been determined, the configuration conditions of the second target rule can be loaded in the second interface for the user to view.
[0225] In response to the user's drag operation on the second interface, the configuration condition of the second target rule is updated.
[0226] In actual execution, for each second target rule whose configuration conditions have been loaded in the second interface, the user can perform a drag operation on the second interface, drag the part of the elements included in the configuration conditions of the second target rule that needs to be changed to the second target area in the second interface, and then update the part that needs to be changed to the configuration conditions of the second target rule in the second target area to realize the update of the configuration conditions of the second target rule.
[0227] In some embodiments, the “change” in the part that needs to be changed may include at least one of modification, deletion, and addition.
[0228] According to the cable connection scheme determination method provided in the embodiment of the present application, the configuration conditions of the second target rule are generated by the user's dragging operation on the second interface. The operation is more intuitive, simple and convenient, and various customized rules for different products can be generated more conveniently, quickly and accurately. It can also enable non-technical personnel to quickly complete the definition of complex rules, and is not limited to only technical personnel who can quickly complete the definition of complex rules, thereby improving production efficiency.
[0229] In order to facilitate the understanding of the rule configuration condition organization steps in each embodiment of the present application, the following Figure 4, the process of organizing the rule configuration conditions in the cable connection solution determination method provided by the embodiment of the present application is exemplarily described. Figure 4 , the rule configuration condition organization step can specifically include the following steps.
[0230] Step 401: Select data.
[0231] The selected data may be the aforementioned second target rule.
[0232] Step 402: Determine whether the selected data has maintained the corresponding conditions. If yes, proceed to step 403; if not, proceed to step 404.
[0233] Determine whether the configuration conditions of the second target rule already exist, and load and display existing data or a blank interface based on the judgment result.
[0234] Step 403: Load and display existing data.
[0235] Step 404: Load and display a blank interface.
[0236] Through steps 402, 403 and 404, a clear operation interface can be provided to the user, making it easier to display the configuration conditions of the rule.
[0237] Step 405: List and display the rule data.
[0238] The second interface can display rule data in a list format. A variety of button components can be provided to organize rule data, allowing for more flexible rule configuration. Each button has a clear function. For example, buttons for adding a group, adding a condition, editing, and removing can be included, corresponding to operations such as adding a group, adding a condition, editing, and removing.
[0239] Add Group and Add Condition operations expand the configuration conditions of a rule. Edit allows users to modify existing configuration conditions. Remove allows users to delete unnecessary configuration conditions.
[0240] Based on step 405 , subsequent steps 406 to 418 may be executed.
[0241] Step 406: Add group operation.
[0242] Groups can be added so that rules with the same configuration conditions are grouped together.
[0243] Step 407: Add conditional operation.
[0244] New configuration conditions can be added.
[0245] Step 408: Edit operation.
[0246] Existing configuration conditions are edited. In some embodiments, the editing here may include modification.
[0247] Step 409: Remove operation.
[0248] It is possible to remove unnecessary configuration conditions.
[0249] Subsequent steps of step 407 may include steps 410 to 414 .
[0250] Step 410: Define an allow list.
[0251] You can define preferences to hold a "property whitelist," which is an allowed list of properties.
[0252] Step 411: Display attribute values in order.
[0253] The attribute values can be displayed in ascending or descending order by alphabetical order and / or Chinese characters.
[0254] Step 412: Enter attributes and values.
[0255] Allows manual entry of attributes and values, enabling editing of attributes and / or values.
[0256] Step 413: Click the OK button.
[0257] The OK button can be used to trigger the validation of the newly added configuration conditions.
[0258] Step 414: Verify the input.
[0259] Verify the configuration conditions obtained through the previous steps to ensure the accuracy and validity of the input.
[0260] Subsequent steps of step 408 may include steps 415 to 418 .
[0261] Step 415: Determine the list of optional attributes.
[0262] The list of attributes that are allowed to be modified in the rule can be determined. The list of attributes that are allowed to be modified in the rule can be determined based on the corresponding "attribute whitelist". In some embodiments, the list of optional attributes can be determined based on the condition column (which can be the attribute included in the configuration condition) of the group to which the condition row (which can be the rule) belongs.
[0263] Step 416: Select judgment logic.
[0264] You can further configure the judgment logic in the condition, such as whether a certain attribute is greater than a target value or is between two target values.
[0265] Step 417: Select a value.
[0266] You can further select a value in the configuration condition that corresponds to the judgment logic, that is, the aforementioned target value.
[0267] Step 418: perform verification.
[0268] The edited configuration conditions are checked to determine whether they meet the rule requirements. It is understandable that the inspection in step 418 can ensure that the edited configuration conditions meet the rule requirements.
[0269] Through 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 the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0270] Figure 5 This is one of the structural diagrams of a cable connection scheme determination device provided in an embodiment of the present application. Figure 5 As shown, an embodiment of the present application further provides a cable connection solution determination device 500 , including: a determination module 510 and a solution module 520 .
[0271] Determination module 510, configured to determine, based on a pre-configured rule base, a corresponding calculation rule for each target product in the target order; the corresponding calculation rule for each target product includes multiple rules with different priorities; at least two of the multiple rules have a combination relationship;
[0272] The solution module 520 is configured to obtain a cable connection solution for each target product based on a solution rule corresponding to the target product.
[0273] In some embodiments of the present application, the solution module 520 can be specifically used to match each target product in the rule library based on the information of each board included in the target product, obtain the solution rules corresponding to the target product, and determine the priority and combination relationship of all rules included in the solution rules corresponding to the target product.
[0274] In some embodiments of the present application, the solution module 520 can be specifically used to solve each rule in the solution rules corresponding to the target product in turn based on the order determined by priority, the combination relationship and the physical constraints of the cable connection position to obtain the cable connection solution for the target product.
[0275] In some embodiments of the present application, the solution module 520 may include:
[0276] The solver module is used to solve each rule in the solver rules corresponding to the target product in turn to obtain multiple connection records;
[0277] The location acquisition submodule is used to obtain the location information of the target board in the target product; the number of the target board is at least one;
[0278] The record extraction submodule is used to extract the connection record based on the location information and priority of the target board and obtain the cable connection solution of the target product.
[0279] In some embodiments of the present application, the cable connection solution determination device may further include:
[0280] An inspection module is used to inspect, for each target product, whether there are any cables with abnormal connections in the cable connection solution of the target product;
[0281] The solution module 520 may also be used to obtain a cable connection solution for the target product based on a solution rule corresponding to the target product when there are cables with abnormal connections.
[0282] Figure 6 This is a second structural diagram of a device for determining a cable connection solution provided in an embodiment of the present application. Figure 6 The cable connection solution determination device 500 may include a rule customization unit 610 , a rule configuration condition organization unit 620 , and an order checking and calculation unit 630 .
[0283] The order checking and calculating unit 630 can be used to perform the above order checking and calculating steps. The order checking and calculating unit 630 can automatically check and calculate the cable connections in the target order according to customized rules, thereby checking and calculating regular orders.
[0284] In some embodiments, the order checking and calculating unit 630 may include the aforementioned determining module 520 and solving module 520. In some embodiments, the order checking and calculating unit 630 may further include the aforementioned checking module. The order checking and calculating unit 630 may communicate with the BOM to obtain the target order.
[0285] In some embodiments of the present application, the rule customization unit 610 may be configured to generate a rule in the rule library in response to a user drag operation on the first interface;
[0286] The rule configuration condition organizing unit 620 may be used to determine the configuration conditions of each rule in the rule base in response to a user drag operation on the second interface; the configuration conditions are used to indicate the priority relationship and combination relationship between the rules.
[0287] The rule customization unit 610 can be used to perform the aforementioned rule customization steps. The rule customization unit 610 can provide an intuitive graphical interface (such as the aforementioned first interface) for the operator to implement an editing and viewing interface for customized rules, for editing and viewing cable solution rules.
[0288] The rule configuration condition organizing unit 620 can be used to execute the aforementioned rule configuration condition organizing step. The rule configuration condition organizing unit 620 can be used to implement an organization interface for customized rule configuration conditions, and to set complex rule conditions.
[0289] In some embodiments of the present application, the rule customization unit 610 may include:
[0290] A first loading subunit, configured to load attribute information of a target type of cable in the first interface;
[0291] A first acquiring subunit, configured to acquire a target condition in response to a user dragging operation on the first interface;
[0292] The first generating subunit is configured to generate a rule for a target type of cable in a rule base based on a target condition.
[0293] In some embodiments of the present application, the first generating subunit may be specifically configured to:
[0294] Based on the target condition, a first target rule is generated for the target type cable;
[0295] If a rule identical to the first target rule does not exist in the rule base, the first target rule is added to the rule base.
[0296] In some embodiments of the present application, the rule configuration condition organization unit 620 can be specifically used to generate the configuration conditions of the second target rule in the rule base in response to the user's drag operation on the second interface when the configuration conditions of the second target rule are not determined.
[0297] In some embodiments of the present application, the rule configuration condition organization unit 620 may include:
[0298] a second acquiring subunit, configured to acquire, in response to a user dragging operation on the second interface, an allowed list of attributes included in the configuration condition of the second target rule;
[0299] a third acquisition subunit, configured to, in response to a user drag operation on the second interface, acquire, based on the allow list, each attribute included in the configuration condition of the second target rule and a value corresponding to each attribute;
[0300] The second generating subunit is configured to generate the configuration condition of the second target rule based on the attributes included in the configuration condition of the second target rule and the value corresponding to each attribute.
[0301] In some embodiments of the present application, the rule configuration condition organization unit 620 may further include:
[0302] a second loading subunit, configured to load the configuration condition of the second target rule in the second interface for the second target rule when the configuration condition of the second target rule has been determined;
[0303] The second generating subunit may also be configured to update the configuration condition of the second target rule in response to a user dragging operation on the second interface.
[0304] For the description of the features in the embodiment corresponding to the cable connection solution determining device, reference can be made to the relevant description of the embodiment corresponding to the cable connection solution determining method, which will not be repeated here.
[0305] An embodiment of the present application further provides an electronic device, 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 of the above-mentioned cable connection solution determination method embodiments.
[0306] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above-mentioned cable connection solution determination method embodiments when running.
[0307] 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.
[0308] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned cable connection solution determination method embodiments are implemented.
[0309] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned cable connection scheme determination method embodiments are implemented.
[0310] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0311] The above is a detailed introduction to a cable connection scheme determination method and device provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A method for determining a cable connection solution, characterized in that: include: Determine, based on a pre-configured rule base, a corresponding solution rule for each target product in the target order; the corresponding solution rule for each target product includes multiple rules with different priorities; at least two of the multiple rules have a combination relationship; For each of the target products, a cable connection solution for the target product is obtained based on a solution rule corresponding to the target product.
2. The cable connection scheme determination method according to claim 1, characterized in that: The method of determining the corresponding solution rule for each target product in the target order based on the pre-configured rule base includes: For each target product, based on the information of each board included in the target product, matching is performed in the rule library to obtain the solution rules corresponding to the target product, and the priority and combination relationship of all rules included in the solution rules corresponding to the target product are determined.
3. The cable connection scheme determination method according to claim 1, characterized in that: The obtaining of a cable connection solution for the target product based on a solution rule corresponding to the target product includes: Based on the order determined by the priorities, the combination relationship and the physical constraints of the cable connection positions, each rule in the solution rules corresponding to the target product is solved in turn to obtain a cable connection solution for the target product.
4. The cable connection scheme determination method according to claim 3, characterized in that: The step of sequentially solving the target product according to each of the solving rules corresponding to the target product to obtain the cable connection solution of the target product includes: Solve each of the solution rules corresponding to the target product in turn to obtain multiple connection records; Acquire location information of a target board in the target product; the number of the target board is at least one; Based on the location information and the priority of the target board, the connection record is retrieved to obtain a cable connection solution for the target product.
5. The cable connection scheme determination method according to claim 4, characterized in that: After obtaining, for each target product, a cable connection solution for the target product based on a solution rule corresponding to the target product, the method further includes: For each target product, checking whether there are any cables with abnormal connections in the cable connection solution of the target product; In the case where there are cables with abnormal connections, a cable connection solution for the target product is obtained again based on the solution rule corresponding to the target product.
6. The cable connection scheme determination method according to any one of claims 1 to 5, characterized in that: Before determining the solution rule corresponding to each target product in the target order based on the pre-configured rule base, the method further includes: In response to a user dragging operation on the first interface, generating a rule in the rule library; In response to the user's dragging operation on the second interface, configuration conditions of each rule in the rule base are determined; the configuration conditions are used to indicate the priority relationship and combination relationship between the rules.
7. The cable connection scheme determination method according to claim 6, characterized in that: The generating of the rules in the rule base in response to the user's dragging operation on the first interface includes: Loading the attribute information of the target type cable in the first interface; In response to a user dragging operation on the first interface, acquiring a target condition; Based on the target condition, a rule for the target type of cable is generated in the rule base.
8. The cable connection scheme determination method according to claim 7, characterized in that: The generating, based on the target condition, a rule for the target type of cable in the rule base includes: Based on the target condition, generating a first target rule for the target type of cable; If there is no rule identical to the first target rule in the rule base, the first target rule is added to the rule base.
9. The cable connection scheme determination method according to claim 6, characterized in that: The determining, in response to the user's dragging operation on the second interface, a configuration condition of each rule in the rule base includes: For the second target rule in the rule library, when the configuration condition of the second target rule is not determined, the configuration condition of the second target rule is generated in response to the user's drag operation on the second interface.
10. The cable connection scheme determination method according to claim 9, characterized in that: The generating, in response to the user's dragging operation on the second interface, the configuration condition of the second target rule includes: In response to a user drag operation on the second interface, obtaining an allowed list of attributes included in the configuration condition of the second target rule; In response to a user drag operation on the second interface, obtaining, based on the allow list, each attribute included in the configuration condition of the second target rule and a value corresponding to each attribute; The configuration condition of the second target rule is generated based on the attributes included in the configuration condition of the second target rule and the value corresponding to each attribute.
11. The cable connection scheme determination method according to claim 9, characterized in that: The determining, in response to the user's dragging operation on the second interface, a configuration condition of each rule in the rule base includes: For the second target rule, when the configuration condition of the second target rule has been determined, loading the configuration condition of the second target rule in the second interface; In response to a user drag operation on the second interface, the configuration condition of the second target rule is updated.
12. A device for determining a cable connection scheme, characterized in that: include: a determination module, configured to determine, based on a pre-configured rule base, a corresponding calculation rule for each target product in the target order; the corresponding calculation rule for each target product includes a plurality of rules having different priorities; at least two of the plurality of rules have a combination relationship; The solution module is used to obtain a cable connection solution for each target product based on a solution rule corresponding to the target product.
13. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the cable connection solution determination method according to any one of claims 1 to 11 when executing the computer program.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the cable connection solution determination method according to any one of claims 1 to 11 are implemented.
Citation Information
Cited By
Method for determining cable connection relation
CN120893704A
Server cable design method, product, equipment and storage medium
CN121256100A