Surge arrester assembly method, electronic device, storage medium, and program product

By binding the production information and electrical parameters of the resistor elements with the resistor element identification code and the surge arrester pre-encoding, and using the parameter database to achieve precise grouping, the inefficiency and error caused by manual reliance in the surge arrester assembly process are solved, thereby improving the reliability and efficiency of the assembly.

CN122152823APending Publication Date: 2026-06-05JIANGDONG FITTINGS EQUIP +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JIANGDONG FITTINGS EQUIP
Filing Date
2026-04-30
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

The existing surge arrester assembly process relies on manual experience, which is time-consuming, labor-intensive, and prone to assembly errors, affecting the reliability of the assembly.

Method used

By binding the resistor's production information and electrical parameters with the resistor's identification code and the surge arrester's pre-encoding, an inseparable data chain is formed. The parameter database provides ordered data support, enabling precise matching of resistors and surge arresters.

Benefits of technology

It improves the reliability and efficiency of surge arrester assembly, avoids confusion during transportation or assembly, and ensures traceability throughout the entire life cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122152823A_ABST
    Figure CN122152823A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a lightning arrester assembly method, electronic equipment, storage medium and program product. The method comprises: receiving a lightning arrester assembly request corresponding to a target lightning arrester model; based on the lightning arrester assembly request, obtaining a plurality of sorting corresponding relationships corresponding to a plurality of target resistance sheets in a parameter database; generating a plurality of lightning arrester pre-codes corresponding to the target lightning arrester model according to the number of resistance sheets of the plurality of target resistance sheets; for any one lightning arrester pre-code, at least one selected resistance sheet corresponding to the lightning arrester pre-code is selected from the plurality of target resistance sheets according to the resistance screening rule and the electrical parameters corresponding to each target resistance sheet; based on the resistance assembly rule, the resistance sheet identification code of each selected resistance sheet and the lightning arrester pre-code corresponding thereto are associated, and a resistance sheet assembly table corresponding to each lightning arrester pre-code is obtained. The method is used to improve the reliability of lightning arrester assembly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method for assembling a surge arrester, electronic equipment, storage medium, and program product. Background Technology

[0002] Surge arresters are typically composed of multiple resistor elements connected in parallel or series. The resistance value of each resistor element (e.g., U1mA value) must be rigorously tested and recorded. To ensure that the overall performance of the surge arrester meets the standards, the resistor elements must be combined according to specific rules to balance the overall resistance distribution.

[0003] In existing technologies, resistor element assembly mainly relies on manual experience. Operators need to manually select resistor elements and record their resistance values, and repeatedly test and adjust them to meet the electrical parameter requirements of the surge arrester. This is not only time-consuming and labor-intensive, but also prone to human error leading to incorrect assembly. Problems are only discovered during factory inspection, resulting in rework costs and low reliability of surge arrester assembly. Summary of the Invention

[0004] This application provides a method for assembling surge arresters, electronic equipment, storage media, and program products to improve the reliability of surge arrester assembly.

[0005] In a first aspect, embodiments of this application provide a method for assembling surge arresters, including:

[0006] Receive surge arrester assembly requests corresponding to the target surge arrester model;

[0007] Based on the surge arrester assembly request, multiple sorting correspondences corresponding to multiple target resistors are obtained from the parameter database. The sorting correspondences include resistor identification codes and electrical parameters. The resistor identification code is a unique identification code used to indicate the target resistor.

[0008] Based on the number of resistors in the multiple target resistors, generate multiple surge arrester precodes corresponding to the target surge arrester model;

[0009] For any surge arrester pre-code, based on the resistance screening rules and the electrical parameters corresponding to each target resistor, at least one selected resistor corresponding to the surge arrester pre-code is selected from the plurality of target resistors;

[0010] Based on the resistor grouping rules, the resistor identifier code of each selected resistor is associated with its corresponding surge arrester precode to obtain the resistor grouping table corresponding to each surge arrester precode, and the resistor grouping table is stored in the system database.

[0011] In one possible implementation, the resistor selection rule includes a preset resistance range and a reference voltage range; the electrical parameters include the resistance value and reference voltage value of the corresponding target resistor; based on the resistor selection rule and the electrical parameters corresponding to each target resistor, at least one selected resistor corresponding to the surge arrester pre-encoding is selected from the plurality of target resistors, including:

[0012] Based on the reference voltage value of each target resistor and the reference voltage range, multiple intermediate resistors are determined, wherein the reference voltage value of each intermediate resistor satisfies the reference voltage range.

[0013] Based on the resistance value of each intermediate resistor and the preset resistance value range, at least one selected resistor corresponding to the pre-coded surge arrester is selected from the plurality of intermediate resistors, and the resistance value of the selected resistor satisfies the preset resistance value range.

[0014] In one possible implementation, the preset resistance range includes a total resistance range and a single-piece resistance range; based on the resistance value of each intermediate resistor and the preset resistance range, at least one selected resistor corresponding to the surge arrester pre-encoding is selected from the plurality of intermediate resistors, including:

[0015] Obtain the resistance distribution of the unmatched remaining resistors among the plurality of intermediate resistors, and determine the statistical characteristics of the resistance of the remaining resistors.

[0016] Based on the statistical characteristics of the resistance values ​​of the remaining resistors, the total resistance range and the single-piece resistance range of the preset resistance range are adjusted to obtain the adjusted resistance range.

[0017] Based on the adjusted resistance range and the resistance values ​​of the corresponding target resistors, at least one selected resistor is determined among the multiple target resistors.

[0018] In one possible implementation, based on the number of resistors in the plurality of target resistors, multiple surge arrester precodes corresponding to the target surge arrester model are generated, including:

[0019] Based on the number of resistor elements, determine the number of finished surge arresters corresponding to the plurality of target resistor elements;

[0020] Based on the target surge arrester model and the quantity of finished surge arresters, generate the multiple surge arrester precodes.

[0021] In one possible implementation, before obtaining the resistor identification code and electrical parameters corresponding to each of the multiple target resistors in the parameter database, the method further includes:

[0022] Obtain the resistor identification code and electrical parameters corresponding to each target resistor among multiple target resistors;

[0023] The correspondence between the resistor identification codes and electrical parameters of each target resistor is stored in the parameter database.

[0024] In one possible implementation, obtaining the resistor identification code and electrical parameters corresponding to the target resistor includes:

[0025] The target resistor is tested using testing equipment to obtain its electrical parameters.

[0026] Based on the electrical parameters of the target resistor and the production information, a resistor identification code corresponding to the target resistor is generated.

[0027] In one possible implementation, the electrical parameters include the electrical resistance value of the corresponding target resistor; storing the correspondence between the resistor identifier code of each target resistor and the electrical parameters in the parameter database includes:

[0028] For any target resistor, establish a correspondence between the resistor identification code and its electrical parameters;

[0029] Based on the electrical resistance values ​​of each target resistor, the correspondence of each target resistor is sorted in descending order to obtain multiple sorted correspondences corresponding to the multiple target resistors;

[0030] The multiple sorting correspondences are stored in the parameter database.

[0031] Secondly, embodiments of this application provide a surge arrester assembly device, including a receiving module, an acquisition module, a generation module, a filtering module, an association processing module, and a first storage module:

[0032] The receiving module is used to receive surge arrester assembly requests corresponding to the target surge arrester model.

[0033] The acquisition module is used to acquire, based on the surge arrester assembly request, multiple sorting correspondences corresponding to multiple target resistors in the parameter database. The sorting correspondences include resistor identification codes and electrical parameters. The resistor identification code is a unique identification code used to indicate the target resistor.

[0034] The generation module is used to generate multiple surge arrester precodes corresponding to the target surge arrester model based on the number of resistors in the multiple target resistors.

[0035] The filtering module is used to, for any surge arrester pre-encoding, filter at least one selected resistor from the plurality of target resistors according to the resistance filtering rules and the electrical parameters corresponding to each target resistor;

[0036] The association processing module is used to associate the resistor identification code of each selected resistor with its corresponding surge arrester precode based on the resistor grouping rules, so as to obtain the resistor grouping table corresponding to each surge arrester precode.

[0037] The first storage module is used to store the resistor assembly table into the system database.

[0038] In one possible implementation, the resistor selection rules include a preset resistance range and a reference voltage range; the electrical parameters include the resistance value and reference voltage value of the corresponding target resistor; the selection module is specifically used for:

[0039] Based on the reference voltage value of each target resistor and the reference voltage range, multiple intermediate resistors are determined, wherein the reference voltage value of each intermediate resistor satisfies the reference voltage range.

[0040] Based on the resistance value of each intermediate resistor and the preset resistance value range, at least one selected resistor corresponding to the pre-coded surge arrester is selected from the plurality of intermediate resistors, and the resistance value of the selected resistor satisfies the preset resistance value range.

[0041] In one possible implementation, the preset resistance range includes a total resistance range and a single-chip resistance range; the screening module is specifically used for:

[0042] Obtain the resistance distribution of the unmatched remaining resistors among the plurality of intermediate resistors, and determine the statistical characteristics of the resistance of the remaining resistors.

[0043] Based on the statistical characteristics of the resistance values ​​of the remaining resistors, the total resistance range and the single-piece resistance range of the preset resistance range are adjusted to obtain the adjusted resistance range.

[0044] Based on the adjusted resistance range and the resistance values ​​of the corresponding target resistors, at least one selected resistor is determined among the multiple target resistors.

[0045] In one possible implementation, the generation module is specifically used for:

[0046] Based on the number of resistor elements, determine the number of finished surge arresters corresponding to the plurality of target resistor elements;

[0047] Based on the target surge arrester model and the quantity of finished surge arresters, generate the multiple surge arrester precodes.

[0048] In one possible implementation, the device further includes a second storage module, the second storage module being used for:

[0049] Obtain the resistor identification code and electrical parameters corresponding to each target resistor among multiple target resistors;

[0050] The correspondence between the resistor identification codes and electrical parameters of each target resistor is stored in the parameter database.

[0051] In one possible implementation, the second storage module is specifically used for:

[0052] The target resistor is tested using testing equipment to obtain its electrical parameters.

[0053] Based on the electrical parameters of the target resistor and the production information, a resistor identification code corresponding to the target resistor is generated.

[0054] In one possible implementation, the electrical parameters include the electrical resistance value of the corresponding target resistor; the second storage module is specifically used for:

[0055] For any target resistor, establish a correspondence between the resistor identification code and its electrical parameters;

[0056] Based on the electrical resistance values ​​of each target resistor, the correspondence of each target resistor is sorted in descending order to obtain multiple sorted correspondences corresponding to the multiple target resistors;

[0057] The multiple sorting correspondences are stored in the parameter database.

[0058] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0059] The memory stores computer-executable instructions;

[0060] The processor executes computer-executable instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0061] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0062] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0063] The surge arrester assembly method, electronic equipment, storage medium, and program products provided in this application can bind the production information and electrical parameters of the resistor elements through resistor element identification codes and surge arrester pre-coding, forming an inseparable data chain. This ensures that the production batch, electrical parameters, and finished surge arrester of each resistor element are uniquely associated, achieving full lifecycle traceability. Secondly, the parameter database provides ordered data support for screening, significantly improving assembly efficiency. Simultaneously, it ensures that the assembled resistor elements are bound to the surge arrester pre-coding, avoiding confusion during transportation or assembly and improving the reliability of surge arrester assembly. Attached Figure Description

[0064] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0065] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application;

[0066] Figure 2 A schematic flowchart illustrating a method for assembling a surge arrester according to an embodiment of this application;

[0067] Figure 3 A flowchart illustrating another method for assembling surge arresters provided in this application embodiment;

[0068] Figure 4 A schematic diagram of the architecture of a surge arrester assembly method provided in an embodiment of this application;

[0069] Figure 5 This is a schematic diagram of the assembly device for a surge arrester provided in an embodiment of this application;

[0070] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0071] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0072] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0073] Figure 1 This diagram illustrates an application scenario provided by an embodiment of this application. Please refer to [link / reference]. Figure 1 As shown, this application applies to the scenario of resistor element assembly in a surge arrester manufacturing workshop. The resistor elements need to be combined according to the surge arrester model and electrical parameter requirements to ensure the stability of the surge arrester performance. This scenario may include user equipment 101, server 102, parameter database 103, and system database 104. User equipment 101 can be a workshop operation terminal, production management system client, etc.

[0074] The user inputs the target surge arrester model through user equipment 101. User equipment 101 sends a surge arrester assembly request corresponding to the target surge arrester model to server 102. Based on the surge arrester assembly request, server 102 obtains multiple sorted correspondences corresponding to multiple target resistors in parameter database 103. The sorted correspondences may include resistor identification codes and electrical parameters.

[0075] Server 102 can, based on preset grouping rules and the electrical parameters corresponding to each target resistor, select at least one resistor that matches the pre-coded surge arrester from among multiple target resistors. Based on the resistor grouping rules, it associates the resistor identifier code of each selected resistor with its corresponding surge arrester pre-coded code to obtain a resistor grouping table for each surge arrester pre-coded code, and stores the resistor grouping table in system database 104. The resistor grouping table stored in system database 104 can be used as a verification basis for subsequent resistor requisition, assembly, and quality traceability processes.

[0076] In existing technologies, the matching of resistor elements mainly relies on manual experience. Operators need to manually select resistor elements and record their resistance values, and repeatedly test and adjust them to meet the electrical parameter requirements of the surge arrester. This is not only time-consuming and labor-intensive, but also prone to human error leading to incorrect matching. Problems are only discovered during factory inspection, resulting in rework costs and low reliability of surge arrester assembly.

[0077] The surge arrester assembly method provided in this application binds the production information and electrical parameters of the resistor elements through resistor element identification codes and surge arrester pre-coding, forming an inseparable data chain. This ensures that the production batch, electrical parameters, and finished surge arrester of each resistor element are uniquely associated, enabling full lifecycle traceability. Secondly, the parameter database provides ordered data support for screening, significantly improving assembly efficiency. Simultaneously, it ensures that the assembled resistor elements are bound to the surge arrester pre-coding, avoiding confusion during transportation or assembly and improving the reliability of surge arrester assembly.

[0078] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0079] Figure 2 This is a flowchart illustrating a method for assembling a surge arrester according to an embodiment of this application. Please refer to... Figure 2 The method may include:

[0080] S201. Receive the surge arrester assembly request corresponding to the target surge arrester model.

[0081] The execution subject of this application embodiment can be a server or a surge arrester assembly device installed in the server. The surge arrester assembly device can be implemented by software or by a combination of software and hardware.

[0082] The target surge arrester model can be a specific surge arrester specification identifier specified by the user according to the production plan or order requirements (such as "YH-110kV-002" or "HY5WS-17 / 50"). The target surge arrester model can contain key information such as the voltage level and rated parameters of the surge arrester, which is used to limit the electrical performance compatibility range of the resistors required for the matching group.

[0083] The surge arrester assembly request is used to instruct the server to select resistors that meet the electrical parameter requirements of the target surge arrester model and complete the association assembly of the resistors with the pre-coded surge arresters.

[0084] Surge arrester assembly requests are initiated by users through user equipment. In addition to the target surge arrester model, additional instructions may be included, such as the assembly quantity and production batch priority. For example, assembly quantity: 10 sets, with priority given to using resistors from batch 20231001.

[0085] S202. Based on the surge arrester assembly request, obtain multiple sorting correspondences for multiple target resistor elements from the parameter database.

[0086] The parameter database is used to store information about resistors after standardized U1mA testing.

[0087] For example, the parameter database can be a relational database (such as MySQL or Oracle), storing data in a structured format of "resistor identification code - electrical parameters", and supporting fast retrieval and sorting by fields such as resistance value and production batch.

[0088] The sorting correspondence can include resistor identification codes and electrical parameters.

[0089] The resistor identification code is a unique identifier for the resistor (e.g., "R-20231001-0001" or "R-20231001-0002"). It consists of the production batch number and serial number, and corresponds one-to-one with the QR code information printed on the surface of the resistor. It is used to uniquely associate the resistor with its entire life cycle data.

[0090] Electrical parameters may include resistance value and reference voltage value (i.e., the voltage value corresponding to the resistor at 1mA DC, U1mA value), etc. Among them, the resistance value and U1mA value are the core matching basis to meet the performance requirements corresponding to the surge arrester model.

[0091] Multiple sorting correspondences are used to indicate the sorting correspondences after sorting by resistance value, where the sorting can be descending or ascending.

[0092] For example, assume there are 5 target resistors: resistor 1, resistor 2, resistor 3, resistor 4, and resistor 5. Information for each target resistor can be found in Table 1. After sorting by resistance value in descending order, the corresponding order is: resistor 1 (5.2kΩ), resistor 5 (5.1kΩ), resistor 2 (5.0kΩ), resistor 4 (4.9kΩ), and resistor 3 (4.8kΩ).

[0093] Table 1

[0094]

[0095] S203. Based on the number of resistors in the target resistors, generate multiple surge arrester precodes corresponding to the target surge arrester model.

[0096] In some embodiments, the number of finished surge arresters corresponding to multiple target resistor elements can be determined based on the number of resistor elements; and multiple surge arrester precodes can be generated based on the target surge arrester model and the number of finished surge arresters.

[0097] The number of standard resistor elements corresponding to a single target surge arrester model can be obtained; the maximum number of finished surge arresters that can be produced can be determined by the ratio of the total number of resistor elements to the number of resistor elements configured in a single surge arrester.

[0098] The standard number of resistor elements is a preset parameter that can be stored in the system database. For example, a surge arrester of model "YH-110kV-002" requires 8 resistor elements; a surge arrester of model "HY5WS-17 / 50" requires 4 resistor elements.

[0099] If there is a remainder in the ratio of the total number of resistor elements to the number of single surge arresters, and the resistor elements corresponding to the remainder cannot meet the configuration requirements of a single surge arrester, they can be temporarily stored in the parameter database for later grouping.

[0100] For example, if the total number of resistors is 46, and each unit is equipped with 8 resistors, then the number of finished surge arresters is 5, and the remaining 6 resistors are temporarily stored.

[0101] A unique surge arrester precode can be generated based on the target surge arrester model, production batch identifier, and serial number. The surge arrester precode can adopt a structured design of "model-production batch-serial number" to ensure the uniqueness and readability of the code.

[0102] In this application, the number of resistor elements can be used to generate the pre-code for the surge arrester, avoiding redundancy or shortage of pre-codes. At the same time, a structured coding format is adopted to integrate key information such as the surge arrester model and production batch into the pre-code. This not only makes it easier for operators to quickly identify relevant information about the surge arrester, but also provides clear data support for subsequent grouping record traceability and production batch management, thereby improving the standardization and data traceability of the surge arrester production process.

[0103] S204. For any surge arrester pre-code, based on the resistance screening rules and the electrical parameters corresponding to each target resistor, select at least one selected resistor corresponding to the surge arrester pre-code from among multiple target resistors.

[0104] Resistor selection rules can include preset resistance ranges and reference voltage ranges.

[0105] The preset resistance range is used to indicate the range of total resistance values ​​required for the normal operation of the target surge arrester model.

[0106] The reference voltage range is the allowable range of DC 1mA reference voltage (U1mA) corresponding to the target surge arrester model. It is a key electrical parameter range that reflects the volt-ampere characteristics, operational stability and long-term reliability of the zinc oxide resistor.

[0107] The reference voltage range is used for the initial screening of resistors that meet the electrical performance requirements. Only resistors whose reference voltage meets the requirements of this range can proceed to the subsequent resistance value matching process to ensure the overall electrical performance consistency and operational safety of the surge arrester.

[0108] In some embodiments, multiple intermediate resistors can be determined based on the reference voltage value and reference voltage range of each target resistor; and at least one selected resistor corresponding to the surge arrester pre-encoding can be selected from the multiple intermediate resistors according to the resistance value and preset resistance range of each intermediate resistor.

[0109] The reference voltage value is the voltage value of the resistor based on 1mA DC.

[0110] The reference voltage value of the intermediate resistor meets the reference voltage range; the resistance value of the selected resistor meets the preset resistance range.

[0111] For example, the DC 1mA reference voltage range for a certain 110kV surge arrester is set to 230kV~240kV. During the screening process, the resistors whose U1mA values ​​fall within this range are selected as intermediate resistors. Then, the resistance values ​​of these intermediate resistors are matched and calculated to ensure that the final total resistance value meets the design requirements.

[0112] The design parameters corresponding to the target surge arrester model can be retrieved from the system database to determine the preset resistance range and reference voltage range of the target surge arrester model.

[0113] For example, if the target surge arrester model is "YH-110kV-002", its total resistance range is 40kΩ-42kΩ (a single unit is equipped with 8 resistors). When screening, it is necessary to ensure that the total resistance of the 8 resistors falls within the range of 40kΩ-42kΩ.

[0114] The preset resistance range can include the total resistance range and the single-piece resistance range. The selected resistor pieces must simultaneously meet the preset resistance range of the target surge arrester model and the standard configuration quantity requirements of a single surge arrester.

[0115] In this application, a screening mechanism that combines the resistance screening rules of the target surge arrester model with the electrical parameters corresponding to each target resistor element can achieve precise matching of resistor elements, ensuring the performance requirements of the surge arrester and adapting to the matching needs under different production scenarios. At the same time, relying on the orderly data support of the parameter database, the subjectivity and randomness of manual screening are avoided, significantly reducing matching errors caused by mismatched resistor values, and improving the accuracy, stability and production efficiency of surge arrester matching.

[0116] S205. Based on the resistor grouping rules, associate the resistor identification code of each selected resistor with its corresponding surge arrester precode to obtain the resistor grouping table corresponding to each surge arrester precode, and store the resistor grouping table in the system database.

[0117] The rule for matching resistors can be to alternate between high and low resistance values.

[0118] For example, for a surge arrester with 8 resistors per unit, the resistors are arranged alternately in the order of high resistance and low resistance. The appropriate resistors are selected sequentially from the parameter database that are sorted in descending order of resistance value. Finally, the total resistance of the 8 resistors is ensured to be within the preset range. For example, if 8 resistors with resistance values ​​of 5.3kΩ, 4.8kΩ, 5.2kΩ, 4.9kΩ, 5.1kΩ, 4.9kΩ, 5.0kΩ, and 4.8kΩ are selected, the total resistance will be 40.9kΩ.

[0119] For any surge arrester pre-code, the resistor assembly table can include the surge arrester pre-code, the resistor identification code of each target resistor corresponding to the surge arrester pre-code, electrical parameters (such as resistance value, DC 1mA reference voltage value), and production batch information.

[0120] The system database can also be a relational database (such as MySQL or Oracle), supporting structured data storage, fast retrieval and related queries, and adapting to the linkage requirements of resistor assembly tables and surge arrester and resistor basic information.

[0121] After storing the resistor assembly table in the system database, the batch of resistors can be screened based on the resistor identification code of each target resistor corresponding to the pre-coded surge arrester in the system database. The resistors are then packaged according to the same surge arrester and affixed with the pre-printed barcode corresponding to the surge arrester's pre-coded barcode.

[0122] After the resistor sheets are packaged, they are transported to the production workshop for production. If the packaging of the resistor sheets is found to be damaged or disordered during transportation, the packaging process of the resistor sheets can be traced by scanning the barcode corresponding to the pre-encoded surge arrester, and the production process and status of the set of resistor sheets can be confirmed.

[0123] Before core assembly and surge arrester production, operators need to perform a second scan on the barcode corresponding to the surge arrester's pre-encoded code to confirm that the number and information of the surge arrester's resistor elements are correct, and at the same time upload the corresponding production time and date.

[0124] After the product is manufactured, it must undergo factory inspection. If the product fails the inspection, it can be traced back to the corresponding resistor assembly table and the original test data of the resistor based on the product barcode information. If some resistors are unqualified, they can be returned to the resistor assembly process for reassembly, and the assembly record corresponding to the pre-coded surge arrester in the system database will be updated to prevent unqualified resistors from flowing back into the production process.

[0125] After the products pass inspection, they are packaged and shipped. At the same time, the product information and shipping date of each package are entered into the system, which enables later traceability.

[0126] The surge arrester assembly method provided in this application embodiment can receive surge arrester assembly requests corresponding to target surge arrester models; based on the surge arrester assembly requests, obtain multiple sorting correspondences corresponding to multiple target resistor elements from a parameter database; generate multiple surge arrester precodes corresponding to the target surge arrester models based on the number of resistor elements in the multiple target resistor elements; for any surge arrester precode, select at least one selected resistor element corresponding to the surge arrester precode from the multiple target resistor elements according to resistor selection rules and the electrical parameters corresponding to each target resistor element; based on resistor grouping rules, associate the resistor element identification code of each selected resistor element with its corresponding surge arrester precode to obtain a resistor element assembly table corresponding to each surge arrester precode, and store the resistor element assembly table in the system database. By binding the resistor element identification code with electrical parameters through the resistor element identification code and the surge arrester precode, an inseparable data chain can be formed, ensuring that the production batch, electrical parameters, and finished surge arrester of each resistor element are uniquely associated, achieving full lifecycle traceability. Secondly, the parameter database provides ordered data support for screening, significantly improving the grouping efficiency. At the same time, it ensures that the pre-coded binding of the grouped resistors and surge arresters avoids confusion during transportation or assembly, thereby improving the reliability of surge arrester assembly.

[0127] Figure 3 This is a flowchart illustrating another method for assembling surge arresters according to an embodiment of this application. Please refer to... Figure 3 In this embodiment Figure 2 Based on the embodiments, the method may include:

[0128] S301. Obtain the resistor identification code and electrical parameters corresponding to each target resistor in multiple target resistors.

[0129] Specifically, the target resistor can be tested using testing equipment to obtain its electrical parameters; based on the electrical parameters and production information of the target resistor, a resistor identification code corresponding to the target resistor can be generated.

[0130] The resistor identification code is a unique identifier used to indicate the target resistor, ensuring that each resistor has no duplicate identification with other resistors, and providing a unique basis for subsequent association, grouping and traceability.

[0131] Test equipment is an instrument used to measure the electrical parameters (such as the U1mA value) of a resistor, such as a combination of a DC power supply and a voltmeter. For example, the test equipment measures the U1mA value of the resistor to be 5kV by applying a 1mA current. Based on the conversion relationship between the U1mA value and the resistance value (resistance value = U1mA value / 1mA), the resistance value of the resistor can be calculated to be 5kΩ.

[0132] Production information can include the production date, production batch, and supplier information (if the resistor is purchased externally), which is recorded and uniquely associated with the resistor's identification code and electrical parameters. For example, the production information is "20231001-B-01", where "20231001" is the production date, "B" is the production batch, and "01" is the supplier identifier.

[0133] The testing equipment can perform electrical parameter testing on the resistor and then combine the electrical parameters (such as U1mA value) with production information (such as production date and batch) to generate a resistor identification code according to a preset coding rule (such as "production batch-serial number-supplier identifier").

[0134] Resistor identification codes can be stored in the form of QR codes or barcodes and printed or etched on the surface of the resistor. Users can read the resistor identification codes using scanning devices.

[0135] In this application, the generation process of resistor identification codes can be standardized and tamper-proof by binding testing equipment with production information. The introduction of testing equipment improves the accuracy of electrical parameter testing, while the binding of production information enhances the integrity of resistor data throughout its entire lifecycle. This solves the problems of error-prone and information gaps in traditional manual recording, providing a reliable data foundation for subsequent grouping and traceability.

[0136] S302. Store the correspondence between the resistor identification code of each target resistor and its electrical parameters in the parameter database.

[0137] Specifically, for any target resistor, a correspondence between the resistor identifier code and the electrical parameters is constructed; based on the electrical resistance value of each target resistor, the correspondence of each target resistor is sorted in descending order to obtain multiple sorted correspondences for multiple target resistors; and the multiple sorted correspondences are stored in the parameter database.

[0138] The sorting results of multiple sorting relationships can be updated in real time, and new resistor detection data will be automatically inserted into the corresponding sorting position.

[0139] The data table fields in the parameter database can include "resistor identification code", "U1mA value", "resistance value", "production date", "production batch" and "sort number", ensuring that data can be quickly retrieved by any field.

[0140] In this application, structured storage and descending resistance value sorting can be used to achieve standardized management and efficient retrieval of resistor data. The sorted correspondence provides direct data support for subsequent selection of resistors according to the alternating high and low resistance value grouping rule, avoiding efficiency loss caused by repeated sorting during grouping. At the same time, the structured design of the parameter database ensures the unique binding of electrical parameters and identification codes, preventing data confusion or loss, and greatly improving the efficiency of subsequent surge arrester grouping and the accuracy of data traceability.

[0141] S303: Receive the surge arrester assembly request corresponding to the target surge arrester model.

[0142] S304. Based on the surge arrester assembly request, obtain multiple sorting correspondences for multiple target resistor elements from the parameter database.

[0143] The execution process of S303-S304 can be found in the execution process of S201-S202, and will not be repeated here.

[0144] S305. Determine the number of finished surge arresters corresponding to multiple target resistor elements based on the number of resistor elements.

[0145] Specifically, the system retrieves the single-unit configuration quantity corresponding to the target surge arrester model from the system database; determines the ratio of the total number of resistor elements to the single-unit configuration quantity; if the ratio has a decimal, only the integer part is taken as the initial finished product quantity that can be produced; obtains the order demand quantity of the production order; if the order demand quantity is less than the initial finished product quantity, the order demand quantity is used as the finished product quantity of the surge arrester; if the order demand quantity is greater than the initial finished product quantity, it indicates that the number of resistor elements is insufficient, and additional resistor elements need to be tested, and the missing quantity is displayed.

[0146] The number of units configured per unit is a preset value, determined by the surge arrester design standard, and the number of units configured varies for different models.

[0147] The resistor corresponding to the remainder of the ratio is temporarily stored in the parameter database and marked as pending pairing status, so as to be used for subsequent pairing of surge arresters of the same model, thus avoiding material waste.

[0148] For example, suppose the target surge arrester model is "YH-110kV-002". The system database pre-determines that this model requires 8 resistor elements per unit; the parameter database shows a total of 95 resistor elements, and the current production order requires 11 surge arresters. The system retrieves the configuration of 8 resistor elements per unit; the total number of resistor elements is 95; and the calculation... Taking the integer part, we get 11 units, and the remainder is... The resistor pieces are marked as pending assembly and temporarily stored. The order requirement is verified to be 11 units, which is consistent with the calculation result. The final quantity of finished surge arresters is determined to be 11 units. If the order requirement is 12 units and the calculated quantity of finished products is 11 units, the system will prompt "Insufficient resistor pieces, missing quantity is 1 piece (12×8-95=1), at least 1 resistor piece needs to be added and tested".

[0149] In this application, the quantity of finished surge arresters can be determined through preset configuration parameters, quantitative calculations, and order verification. This not only conforms to surge arrester design standards but also takes into account the actual needs of production orders, avoiding a disconnect between the quantity of finished products and the order due to blind calculations. At the same time, the temporary storage and labeling of surplus resistors maximizes the use of existing materials and reduces resistor waste. By indicating the quantity of missing components, early warnings of material shortages can be issued to avoid production interruptions, significantly improving the rationality and execution efficiency of surge arrester production plans.

[0150] S306. Generate multiple surge arrester precodes based on the target surge arrester model and the quantity of finished surge arresters.

[0151] For any surge arrester precode, the structured composition rules of the surge arrester precode can be determined; based on the structured composition rules, the current production batch can be obtained; a continuous serial number can be generated according to the quantity of finished surge arresters; the target surge arrester model, the current production batch, and the serial number can be combined according to the rules to generate the surge arrester precode.

[0152] Afterwards, the system can automatically verify whether the newly generated surge arrester precode is a duplicate of the historical precode in the system database. If a duplicate is found, a new serial number is generated (e.g., skipping duplicate numbers and directly incrementing) to ensure the exclusivity of each precode.

[0153] The structured composition rules adopt a three-segment coding structure of "model identifier-production batch-serial number" (each segment is connected by a separator "-") to ensure that the code has uniqueness, readability and traceability.

[0154] The production batch can be automatically generated by the system according to "year, month, day - batch number", such as "20231005-A", where "A" represents the first batch on that day.

[0155] For example, consecutive serial numbers can start from "001" and increment, padding with zeros if less than three digits to ensure consistent code length.

[0156] For example, assuming the target surge arrester model is "HY5WS-17 / 50", the finished quantity of surge arresters is 8 units, and the current production batch is "20231006-B" (second batch on October 6th), the 8 surge arrester pre-codes generated according to the above rules are as follows: "HY5WS-17 / 50-20231006-B-001", "HY5WS-17 / 50-20231006-B-002", "HY5WS-17 / 50- ... The precodes are: “20231006-B-003”, “HY5WS-17 / 50-20231006-B-004”, “HY5WS-17 / 50-20231006-B-005”, “HY5WS-17 / 50-20231006-B-006”, “HY5WS-17 / 50-20231006-B-007”, and “HY5WS-17 / 50-20231006-B-008”. Within each precode, “HY5WS-17 / 50” clearly indicates the target model, “20231006-B” associates with the production batch, and “001-008” distinguishes individual surge arresters, facilitating rapid identification and traceability.

[0157] In this application, the standardized and unique generation of surge arrester pre-codes can be achieved through structured coding rules and automatic verification mechanisms. The code incorporates key information such as model and production batch, which not only allows operators to intuitively obtain the surge arrester attributes, but also provides a clear data association basis for subsequent grouping records, production traceability, and quality control. Automatic duplicate verification avoids grouping chaos caused by coding conflicts, and the continuous serial number design simplifies production planning management, greatly improves the standardization and data traceability of the surge arrester production process, and reduces the error rate of manual coding.

[0158] S307. Based on the reference voltage value and reference voltage range of each target resistor, multiple intermediate resistors are determined.

[0159] The execution process of S307 can be found in the execution process of S204, and will not be repeated here.

[0160] S308. Based on the resistance value of each intermediate resistor and the preset resistance value range, select at least one selected resistor corresponding to the pre-coded surge arrester from among multiple intermediate resistors.

[0161] The preset resistance range includes not only the total resistance range corresponding to the target surge arrester model, but also the single-piece resistance range corresponding to the resistor element that is compatible with that model. It is pre-stored in the system database and can be directly retrieved according to the surge arrester model.

[0162] By limiting the resistance value range of individual resistor elements, performance problems such as uneven voltage distribution and localized overheating in the surge arrester caused by excessive resistance deviation can be avoided. At the same time, limiting the total resistance value range of the target surge arrester ensures that the overall electrical performance requirements of the surge arrester are met after multiple resistor elements are combined. The dual range constraint ensures the effectiveness of the grouping.

[0163] For example, the target surge arrester model is "YH-110kV-002", and its total resistance range is 40kΩ-42kΩ (a single unit is equipped with 8 resistors). The corresponding resistance range of a single resistor is 4.8kΩ-5.3kΩ. When screening, it is necessary to ensure that the total resistance of the 8 resistors falls between 40kΩ and 42kΩ, and the resistance of each resistor is within 4.8kΩ-5.3kΩ.

[0164] During the resistor grouping process, the grouping range can be dynamically adjusted according to the resistance value distribution of the remaining resistors (such as the allowable range for alternating high and low resistance values) to avoid grouping failure or resource waste caused by a fixed range.

[0165] Specifically, the resistance distribution of the unmatched remaining resistors among multiple intermediate resistors is obtained, and the statistical characteristics of the resistance values ​​of the remaining resistors are determined. Based on the statistical characteristics of the resistance values ​​of the remaining resistors, the total resistance range and the single-piece resistance range of the preset resistance range are adjusted to obtain the adjusted resistance range. Based on the adjusted resistance range, the preset matching rules, and the electrical parameters corresponding to each target resistor, at least one selected resistor is determined among the multiple target resistors.

[0166] The statistical characteristics of the remaining resistor values ​​can include the average value, standard deviation, extreme values, and percentage of resistance ranges. For example, the average resistance of the remaining resistors is 5kΩ, the standard deviation is 0.2kΩ, and the percentage of resistors with resistance values ​​above 5.0kΩ is only 10%.

[0167] It is worth noting that the adjusted total resistance range and individual resistor value range must not exceed the limit performance range allowed by the surge arrester design, so as to avoid affecting the core performance of the surge arrester.

[0168] The adjustment can allow for fluctuations in the upper limit of high-resistance resistors or the lower limit of low-resistance resistors. For example, the upper limit of high-resistance resistors can be adjusted from 5.5kΩ to 5.7kΩ (adjustment range ≤ preset safety threshold 0.3kΩ); or the lower limit of low-resistance resistors can be adjusted from 4.5kΩ to 4.3kΩ. After the adjustment, the total resistance of a single unit must still fall within the design limits of the surge arrester.

[0169] The system can continuously monitor the resistance distribution of the remaining resistors and dynamically adjust the allowable range of the matching rules based on statistical characteristics (such as average value and standard deviation). For example, when the proportion of high-resistance resistors in the remaining resistors is low, the allowable upper limit of high-resistance resistors is expanded to avoid matching failures; if the standard deviation of the resistance of the remaining resistors is too large (e.g., >0.3kΩ), the adjustment range is reduced to prioritize the stability of the surge arrester performance.

[0170] In this application, by dynamically adjusting the matching interval, the parameter distribution characteristics of different batches of resistors can be adapted more flexibly, reducing matching failures caused by fixed intervals (such as when remaining resistors cannot meet the requirements of a fixed interval), while also reducing the number of trial matchings required by operators, significantly improving matching efficiency. Furthermore, the dynamic interval strategy can effectively reduce the situation where resistors from the same batch are discarded due to redundant resistance values, further optimizing resource utilization; and the interval adjustment is strictly limited within a preset safety threshold, balancing matching flexibility with surge arrester performance safety, avoiding product quality risks caused by excessive adjustments.

[0171] S309. Based on the resistor grouping rules, associate the resistor identification code of each selected resistor with its corresponding surge arrester precode to obtain the resistor grouping table corresponding to each surge arrester precode, and store the resistor grouping table in the system database.

[0172] It is worth noting that after associating the resistor identification code of each selected resistor with its corresponding surge arrester precode, an initial assembly table corresponding to each surge arrester precode is obtained, and the initial assembly table corresponding to each surge arrester precode is sent to the user equipment; then, the resistor assembly table corresponding to each surge arrester precode is received.

[0173] During this period, the initial assembly table corresponding to the pre-coded surge arresters can be manually verified. Using a combination of algorithm screening and manual intervention, the algorithm first selects the resistors that meet the requirements and generates an initial assembly table based on the preset assembly rules and the adjusted resistance range. The operator then manually adjusts the initial assembly table based on the actual production scenario (such as the inventory status of the resistors, physical size compatibility, and transportation convenience). The adjustment must ensure that the total resistance value and the resistance value of each resistor still meet the adjusted resistance range and do not exceed the preset safety threshold.

[0174] Operators intervene manually based on algorithm recommendations, retaining the flexibility of manual operation while avoiding resource waste caused by purely algorithmic grouping that ignores actual production conditions (such as allowing flexible combinations of high / low resistance resistors and discarding resistors with appearance defects). Finally, this human-machine collaborative strategy combines the efficiency of algorithmic screening with the practicality of manual adjustment, balancing grouping efficiency and production rationality.

[0175] The surge arrester assembly method provided in this application embodiment can uniquely bind the production information, test data, and electrical parameters of the resistor elements through resistor element identification codes and surge arrester pre-coding, forming an inseparable data chain. This ensures that the production batch, electrical parameters, and finished surge arrester of each resistor element are uniquely associated, achieving full lifecycle traceability from resistor element testing and assembly to surge arrester production, delivery, and after-sales service. Secondly, the structured storage and pre-sorting design of the parameter database provides ordered data support for screening. The dynamic assembly interval strategy adapts to the parameter distribution characteristics of different batches of resistor elements, and with human-machine collaborative optimization, significantly improves assembly efficiency and reduces the number of trial assembly attempts. Simultaneously, the unique binding of resistor elements and surge arrester pre-coding and the barcode traceability mechanism avoid confusion during transportation or assembly. Dual resistance value interval constraints and adjustment safety threshold limits ensure assembly quality, greatly improving the reliability and accuracy of surge arrester assembly, reducing resistor element redundancy and waste, and optimizing resource utilization.

[0176] Figure 4 This is a schematic diagram illustrating the architecture of a surge arrester assembly method provided in an embodiment of this application. Please refer to... Figure 4 Starting with the performance testing of resistor elements, a closed-loop surge arrester assembly and production chain is formed through information management, grouping execution, and production verification.

[0177] Standardized DC 1mA tests are performed on resistors produced in-house or supplied by vendors to obtain core electrical parameters such as U1mA value and resistance value, providing a performance basis for subsequent assembly. The electrical parameters, production date, and production batch of the resistors are bound to a uniquely generated resistor identification code. This code is entered into the parameter database by scanning a QR code and sorted in descending order of resistance value.

[0178] Based on the total number of resistor elements and the single-unit configuration quantity of the target surge arrester model, the number of finished surge arresters that can be produced is calculated, and a unique surge arrester pre-code is generated. The code includes information such as the target surge arrester model, production batch, and serial number. The surge arrester pre-code and the preset resistance value range corresponding to the model are entered into the system database to establish a correlation between the pre-code and the resistor element matching requirements.

[0179] Based on preset grouping rules and dynamically adjusted grouping intervals, resistor elements that meet the requirements are selected from the parameter database to generate an initial grouping table. After manual verification and adjustment, a final resistor element grouping table is formed, realizing the unique binding between the resistor element and the surge arrester pre-coded.

[0180] The resistor elements are grouped and packaged according to the matching results of each surge arrester, and a pre-coded barcode corresponding to the surge arrester is affixed for subsequent traceability and verification. The barcode on the packaging is scanned to verify that the quantity and identification code of the resistor elements match the matching table. If incomplete, the process is returned to the resistor element matching stage for readjustment. The verified resistor element groups are used for surge arrester core assembly and final product assembly. During production, the barcode is scanned again to confirm the resistor element information, and the production time is entered simultaneously.

[0181] The finished surge arresters undergo comprehensive testing, including electrical performance and appearance checks, to verify compliance with design requirements. If the inspection fails, the arresters are returned to the resistor assembly stage for reassembly and system records are updated. If they pass, they proceed to the final packaging stage, where qualified products are packaged, and product information and shipping dates are entered into the packaging boxes, forming a complete production and shipping traceability data chain.

[0182] Figure 5 This is a schematic diagram of the assembly device for a surge arrester provided in an embodiment of this application. Please refer to... Figure 5 The surge arrester assembly device 500 includes a receiving module 501, an acquisition module 502, a generation module 503, a filtering module 504, an association processing module 505, and a first storage module 506.

[0183] The receiving module 501 is used to receive surge arrester assembly requests corresponding to the target surge arrester model;

[0184] The acquisition module 502 is used to acquire multiple sorting correspondences corresponding to multiple target resistors in the parameter database based on the surge arrester assembly request. The sorting correspondences include resistor identification codes and electrical parameters. The resistor identification code is a unique identification code used to indicate the target resistor.

[0185] The generation module 503 is used to generate multiple surge arrester precodes corresponding to the target surge arrester model based on the number of resistors in the multiple target resistors.

[0186] The filtering module 504 is used to, for any surge arrester pre-encoding, filter at least one selected resistor from multiple target resistors based on the resistance filtering rules and the electrical parameters corresponding to each target resistor;

[0187] The association processing module 505 is used to associate the resistor identification code of each selected resistor with its corresponding surge arrester precode based on the resistor grouping rules, so as to obtain the resistor grouping table corresponding to each surge arrester precode.

[0188] The first storage module 506 is used to store the resistor assembly table into the system database.

[0189] In one possible implementation, the resistor selection rules include a preset resistance range and a reference voltage range; the electrical parameters include the resistance value and reference voltage value of the corresponding target resistor; the selection module 504 is specifically used for:

[0190] Based on the reference voltage value and reference voltage range of each target resistor, multiple intermediate resistors are determined, and the reference voltage value of the intermediate resistors meets the reference voltage range.

[0191] Based on the resistance value of each intermediate resistor and the preset resistance value range, at least one selected resistor corresponding to the pre-coded surge arrester is selected from multiple intermediate resistors, and the resistance value of the selected resistor meets the preset resistance value range.

[0192] In one possible implementation, the preset resistance range includes the total resistance range and the single-chip resistance range; the screening module 504 is specifically used for:

[0193] Obtain the resistance distribution of the unmatched remaining resistors among multiple intermediate resistors, and determine the statistical characteristics of the resistance of the remaining resistors.

[0194] Based on the statistical characteristics of the remaining resistor values, the total resistance range and the single-piece resistance range of the preset resistance range are adjusted to obtain the adjusted resistance range.

[0195] Based on the adjusted resistance range and the resistance values ​​of each target resistor, at least one selected resistor is determined among multiple target resistors.

[0196] In one possible implementation, the generation module 503 is specifically used for:

[0197] Based on the number of resistor elements, determine the number of finished surge arresters corresponding to multiple target resistor elements;

[0198] Multiple surge arrester precodes are generated based on the target surge arrester model and the quantity of finished surge arresters.

[0199] In one possible implementation, the device further includes a second storage module, the second storage module being used for:

[0200] Obtain the resistor identification code and electrical parameters corresponding to each target resistor among multiple target resistors;

[0201] The correspondence between the resistor identification code and electrical parameters of each target resistor is stored in the parameter database.

[0202] In one possible implementation, the second storage module is specifically used for:

[0203] The target resistor is tested using testing equipment to obtain its electrical parameters.

[0204] Based on the electrical parameters and production information of the target resistor, a resistor identification code corresponding to the target resistor is generated.

[0205] In one possible implementation, the electrical parameters include the electrical resistance value of the corresponding target resistor; the second storage module is specifically used for:

[0206] For any target resistor, establish a correspondence between the resistor identification code and its electrical parameters;

[0207] Based on the electrical resistance value of each target resistor, the correspondence of each target resistor is sorted in descending order to obtain multiple sorted correspondences for multiple target resistors.

[0208] Store multiple sorting correspondences in the parameter database.

[0209] The surge arrester assembly method provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0210] Figure 6 A schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 600 provided in this embodiment includes at least one processor 601 and a memory 602. Optionally, the device 600 further includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.

[0211] In a specific implementation, at least one processor 601 executes computer-executable instructions stored in memory 602, causing at least one processor 601 to perform the above-described method.

[0212] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0213] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0214] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0215] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0216] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0217] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0218] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0219] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0220] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0221] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0222] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0223] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0224] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0225] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for assembling surge arresters, characterized in that, include: Receive surge arrester assembly requests corresponding to the target surge arrester model; Based on the surge arrester assembly request, multiple sorting correspondences corresponding to multiple target resistors are obtained from the parameter database. The sorting correspondences include resistor identification codes and electrical parameters. The resistor identification code is a unique identification code used to indicate the target resistor. Based on the number of resistors in the multiple target resistors, generate multiple surge arrester precodes corresponding to the target surge arrester model; For any surge arrester pre-code, based on the resistance screening rules and the electrical parameters corresponding to each target resistor, at least one selected resistor corresponding to the surge arrester pre-code is selected from the plurality of target resistors; Based on the resistor grouping rules, the resistor identifier code of each selected resistor is associated with its corresponding surge arrester precode to obtain the resistor grouping table corresponding to each surge arrester precode, and the resistor grouping table is stored in the system database.

2. The method according to claim 1, characterized in that, The resistor selection rules include a preset resistance range and a reference voltage range; the electrical parameters include the resistance value and reference voltage value of the corresponding target resistor. Based on the resistance selection rules and the electrical parameters corresponding to each target resistor, at least one selected resistor corresponding to the pre-coded surge arrester is selected from the plurality of target resistors, including: Based on the reference voltage value of each target resistor and the reference voltage range, multiple intermediate resistors are determined, wherein the reference voltage value of each intermediate resistor satisfies the reference voltage range. Based on the resistance value of each intermediate resistor and the preset resistance value range, at least one selected resistor corresponding to the pre-coded surge arrester is selected from the plurality of intermediate resistors, and the resistance value of the selected resistor satisfies the preset resistance value range.

3. The method according to claim 2, characterized in that, The preset resistance range includes the total resistance range and the single-piece resistance range; based on the resistance value of each intermediate resistor and the preset resistance range, at least one selected resistor corresponding to the pre-coded surge arrester is selected from the plurality of intermediate resistors, including: Obtain the resistance distribution of the unmatched remaining resistors among the plurality of intermediate resistors, and determine the statistical characteristics of the resistance of the remaining resistors. Based on the statistical characteristics of the resistance values ​​of the remaining resistors, the total resistance range and the single-piece resistance range of the preset resistance range are adjusted to obtain the adjusted resistance range. Based on the adjusted resistance range and the resistance values ​​of the corresponding target resistors, at least one selected resistor is determined among the multiple target resistors.

4. The method according to claim 1, characterized in that, Based on the number of resistors in the multiple target resistors, generate multiple surge arrester precodes corresponding to the target surge arrester model, including: Based on the number of resistor elements, determine the number of finished surge arresters corresponding to the plurality of target resistor elements; Based on the target surge arrester model and the quantity of finished surge arresters, generate the multiple surge arrester precodes.

5. The method according to claim 1, characterized in that, Before retrieving the resistor identification code and electrical parameters corresponding to each target resistor in the parameter database, the process also includes: Obtain the resistor identification code and electrical parameters corresponding to each target resistor among multiple target resistors; The correspondence between the resistor identification codes and electrical parameters of each target resistor is stored in the parameter database.

6. The method according to claim 5, characterized in that, Obtain the resistor identification code and electrical parameters corresponding to the target resistor, including: The target resistor is tested using testing equipment to obtain its electrical parameters. Based on the electrical parameters and production information of the target resistor, a resistor identification code corresponding to the target resistor is generated.

7. The method according to claim 5, characterized in that, The electrical parameters include the electrical resistance value of the corresponding target resistor; the correspondence between the resistor identifier code of each target resistor and the electrical parameters is stored in the parameter database, including: For any target resistor, establish a correspondence between the resistor identification code and its electrical parameters; Based on the electrical resistance values ​​of each target resistor, the correspondence of each target resistor is sorted in descending order to obtain multiple sorted correspondences corresponding to the multiple target resistors; The multiple sorting correspondences are stored in the parameter database.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes computer-executable instructions stored in the memory to implement the method as claimed in any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-7.