Tool management method and system based on hydropower station
By generating unique equipment attribute codes for hydropower station members and configuring tool management files, the problem of low efficiency and lack of transparency in traditional hydropower station tool management is solved, efficient and accurate tool management is achieved, and operational risks are reduced.
Patent Information
- Application Number
- CN202410856849.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Traditional hydropower station tool management methods are inefficient, and tool usage is opaque and difficult to trace, resulting in management difficulties and potential safety risks. It is also difficult to control tool usage efficiency and costs.
By generating unique equipment attribute codes for hydropower station members and configuring tool management files, the corresponding relationship between equipment attribute codes and files is established to achieve systematic management and ensure the transparency and traceability of tool information.
It improves the efficiency and accuracy of tool management, ensures the transparency and traceability of tool usage, helps managers make timely decisions, and reduces operational risks.
Smart Images

Figure CN118708592A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computer file management, and in particular to a tool management method and system based on a hydropower station. Background Art
[0002] During the operation of a hydropower station, the management of tools is a crucial link. Effective management of tools is not only related to the safe operation of the hydropower station, but also directly affects work efficiency and cost control. However, traditional tools management methods for hydropower stations often have many shortcomings, such as low management efficiency, opaque tool usage, and difficulty in traceability.
[0003] In traditional hydropower plant tool management, paper records or simple spreadsheets are usually used to track the use and return of tools. Although this method is simple and easy to implement, as the scale of hydropower plants expands and the types of tools increase, its management difficulty and error rate will also increase significantly. For example, when it is necessary to query the use record of a specific tool or conduct an inventory, it often takes a lot of time and energy to read and check the information.
[0004] In addition, traditional management methods make it difficult to achieve real-time monitoring and early warning of tool usage. Once a tool is lost or damaged, it is often difficult to find and deal with it in time, which brings potential risks to the normal operation of the hydropower station. At the same time, due to the lack of effective data analysis methods, managers find it difficult to effectively control the efficiency and cost of tool use. Summary of the invention
[0005] In view of the above-mentioned problems, in combination with the first aspect of the present application, an embodiment of the present application provides a tool management method based on a hydropower station, the method comprising: Obtain multiple pieces of knowledge attribute information corresponding to X hydropower station members; Generate X uninterrupted equipment attribute codes for the X hydropower station members, generate equipment attribute codes corresponding to the X hydropower station members respectively, and different hydropower station members are associated with different equipment attribute codes; Configure Y tool management files, each tool management file contains multiple record tables, and each record table is associated with a piece of knowledge attribute information; Determine the tool management files respectively associated with the X hydropower station members based on the equipment attribute codes respectively corresponding to the X hydropower station members; For the first hydropower station member among the X hydropower station members, if the first hydropower station member has first knowledge attribute information, the equipment attribute code of the first hydropower station member is recorded in a first record table covered by a tool management file associated with the first hydropower station member, and the first record table is a record table corresponding to the first knowledge attribute information.
[0006] In a possible implementation manner of the first aspect, recording the equipment attribute code of the first hydropower station member in the first record table covered by the tool management file associated with the first hydropower station member includes: Determine, from a first record table covered by the tool management file associated with the first hydropower station member, a record node corresponding to the equipment attribute code of the first hydropower station member as the first record node, and set the data value of the first record node as the first identifier; Alternatively, the calculation result generated by dividing the equipment attribute code of the first hydropower station member by Y is rounded down to generate an updated equipment attribute code for the first hydropower station member, and the record node corresponding to the updated equipment attribute code of the first hydropower station member is determined from the first record table covered by the tool management file associated with the first hydropower station member as the second record node, and the data value of the second record node is set as the first identifier.
[0007] In a possible implementation of the first aspect, the method further includes: Obtaining the updated equipment attribute code of the second hydropower station member and the index value i of the tool management file associated with the second hydropower station member, where i is an integer not less than 0 and not greater than Y-1; Determine the product of the updated equipment attribute code of the second hydropower station member and Y, and determine the equipment attribute code of the second hydropower station member based on the sum of the product and the index value i of the tool management file associated with the second hydropower station member; Based on the device attribute code of the second hydropower station member, the index fingerprint information of the second hydropower station member is determined, and the index fingerprint information of the second hydropower station member is used to determine the second hydropower station member from the X hydropower station members.
[0008] In a possible implementation of the first aspect, the step of determining the tool management files respectively associated with the X hydropower station members based on the equipment attribute codes respectively corresponding to the X hydropower station members includes: A mapping rule is pre-set, wherein the mapping rule defines the corresponding relationship between the equipment attribute code and the tool management file; According to the number of tool management files, the entire equipment attribute coding space is divided into Y continuous or non-continuous unit intervals, each of which corresponds to a tool management file; For each equipment attribute code of a hydropower station member, determine the code interval to which it belongs according to the value of the equipment attribute code, and determine the tool management file corresponding to the equipment attribute code by comparing the equipment attribute code with the range of each code interval; Based on the coding interval to which the equipment attribute code belongs, an association relationship between the hydropower station member and its corresponding tool management file is established, and the association relationship is achieved by adding a pointer or index pointing to the corresponding tool management file in the information of the hydropower station member.
[0009] In a possible implementation manner of the first aspect, generating X uninterrupted device attribute codes for the X hydropower station members, generating device attribute codes respectively corresponding to the X hydropower station members, includes: Obtaining index fingerprint information corresponding to each of the X hydropower station members; The index fingerprint information corresponding to the X hydropower station members is translated into X uninterrupted device attribute codes to generate device attribute codes corresponding to the X hydropower station members.
[0010] In a possible implementation manner of the first aspect, translating the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes to generate the device attribute codes corresponding to the X hydropower station members respectively includes: When Z is 1, obtain the hydropower station member index sequence obtained in the Zth statistical period, the hydropower station member index sequence includes the index fingerprint information of the hydropower station members; output the hydropower station members covered in the hydropower station member index sequence obtained in the Zth statistical period as the X hydropower station members; start from the initial code, translate the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes, and generate the hydropower station member code sequence of the Zth statistical period, the hydropower station member code sequence includes the index fingerprint information of the hydropower station members and the device attribute codes corresponding to the index fingerprint information of the hydropower station members; use the hydropower station member code sequence of the Zth statistical period as the hydropower station member code sequence of the Zth statistical period; use the maximum value device attribute code in the hydropower station member code sequence of the Zth statistical period as the target device attribute code, and the target device attribute code is the sum of the initial code minus 1 and X; Alternatively, when Z is not less than 2, the hydropower station member index sequence obtained in the Zth statistical period, the hydropower station member code sequence of the Z-1 statistical period, and the target device attribute code are obtained; based on the hydropower station member index sequence obtained in the Zth statistical period and the hydropower station member code sequence of the Z-1 statistical period, the first scale of extended hydropower station members generated in the Zth statistical period are determined, and the extended hydropower station members are output as the X hydropower station members; based on the target device attribute code, the index fingerprint information corresponding to the X hydropower station members are translated into X uninterrupted device attribute codes to generate the hydropower station member code sequence of the Zth statistical period; the hydropower station member code sequence of the Z-1 statistical period is aggregated with the hydropower station member code sequence of the Zth statistical period as the hydropower station member code sequence of the Zth statistical period; the target device attribute code is adjusted to the device attribute code with the maximum value in the hydropower station member code sequence of the Zth statistical period, and the target device attribute code is the sum of the target device attribute code of the Z-1 statistical period and X.
[0011] In a possible implementation of the first aspect, the method further includes: The Y tool management files are generated and configured in Q management warehouses, each management warehouse is used to manage multiple tool management files, and Q is an integer greater than 1 and not greater than Y.
[0012] In a possible implementation of the first aspect, the method further includes: Based on the index fingerprint information of the candidate hydropower station member, obtaining the device attribute code of the candidate hydropower station member, wherein the candidate hydropower station member is one of the X hydropower station members; Determining a first tool management file associated with the candidate hydropower station member based on the equipment attribute code of the candidate hydropower station member; Determining a management warehouse associated with the candidate hydropower station member based on the first tool management file; The first tool management file is searched in the management warehouse associated with the candidate hydropower station member to determine the knowledge attribute information of the candidate hydropower station member. The search for the first tool management file includes searching multiple record tables covered by the first tool management file.
[0013] In a possible implementation of the first aspect, the method further includes: Synchronously searching the Q management warehouses, the search process for each of the Q management warehouses comprising: a step of performing a logical operation on a plurality of tool management files configured in the management warehouse and a second tool management file, wherein the logical operation is used to represent a Boolean operation between the record tables, and the second tool management file is used to manage and configure the knowledge attribute information of the first feature vector of the hydropower station member to be searched; Determine the search output data corresponding to the Q management warehouses respectively, the search output data is used to represent the data output by the logical operation of the plurality of tool management files configured in the management warehouse and the second tool management file; The search output data corresponding to the Q management warehouses are aggregated, and based on the aggregated search output data, a plurality of target hydropower station members are determined, where the target hydropower station member is one of the X hydropower station members.
[0014] On the other hand, an embodiment of the present application also provides a tool management system based on a hydropower station, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium is connected to the processor, the machine-readable storage medium is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the machine-readable storage medium to implement the above method.
[0015] Based on the above aspects, the embodiment of the present application realizes efficient and accurate management of hydropower station tools. By generating X uninterrupted equipment attribute codes for X hydropower station members and ensuring that different hydropower station members are associated with different equipment attribute codes, the method realizes the unique identification of hydropower station members and provides an accurate data basis for subsequent tool management. By configuring Y tool management archives and associating the record tables in each tool management archive with knowledge attribute information, a systematic and structured management tool is constructed, which is not only convenient for classified storage of detailed information on tools, but also conducive to rapid retrieval and query based on specific knowledge attribute information. The tool management archives associated with hydropower station members are determined by equipment attribute codes, which further improves the accuracy and efficiency of management. The correspondence between the equipment attribute codes and archives enables managers to quickly locate the tool information of specific hydropower station members, thereby making timely and accurate decisions. For hydropower station members with specific knowledge attribute information, they can find the corresponding record table in their associated tool management files and record their equipment attribute codes, which not only strengthens the association between tool information and hydropower station members, but also ensures the transparency and traceability of tool usage. Therefore, through the organic combination of equipment attribute coding and tool management files, the efficiency and accuracy of hydropower station tool management have been significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of the execution flow of the tool management method based on the hydropower station provided in the embodiment of the present application.
[0017] Figure 2 It is a schematic diagram of the hardware architecture of a tool management system based on a hydropower station provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The present application will be described in detail below with reference to the accompanying drawings. Figure 1 It is a flow chart of a tool management method based on a hydropower station provided by an embodiment of the present application. The tool management method based on a hydropower station is introduced in detail below.
[0019] Step S110, obtaining a plurality of pieces of knowledge attribute information corresponding to the X hydropower station members respectively.
[0020] In this embodiment, the server first connects to the information management system of the hydropower station members through the network, and the information management system stores the detailed information of all hydropower station members. The server sends a data request to obtain multiple knowledge attribute information of X hydropower station members, which includes but is not limited to the equipment model, production date, manufacturer, rated power, operating status, maintenance record, etc. of the hydropower station members.
[0021] For example, the server obtains the knowledge attribute information of hydropower station member A: equipment model is "HZ-1000", production date is "2020-01-01", manufacturer is "Dongfang Electric", rated power is "1000MW", current operation status is "normal operation", and the last maintenance time is "2023-03-15". Similarly, the server will also obtain similar information of other X-1 hydropower station members.
[0022] Step S120, generating X uninterrupted equipment attribute codes for the X hydropower station members, generating equipment attribute codes corresponding to the X hydropower station members respectively, and different hydropower station members are associated with different equipment attribute codes.
[0023] In this embodiment, the server generates a unique device attribute code for each hydropower station member based on the acquired hydropower station member information. The device attribute code can be a serial number based on certain rules or a hash value generated by a hash function, ensuring that the code of each hydropower station member is unique.
[0024] Taking hydropower station member A as an example, the server may generate a device attribute code "HASH_A" through a hash function based on A's production date, device model and other information. Similarly, for the other X-1 hydropower station members, the server will also generate their own unique device attribute codes.
[0025] Step S130, configuring Y tool management files, each tool management file includes multiple record tables, and each record table is associated with a piece of knowledge attribute information.
[0026] In this embodiment, the server configures Y tool management files according to the types and quantities of knowledge attribute information of members of the hydropower station. Each tool management file includes multiple record tables, and each record table is specifically used to record a type of knowledge attribute information.
[0027] For example, for the knowledge attribute information of "equipment model", the server will configure a record table called "equipment model record table", in which each row represents the equipment model information of a hydropower station member. Similarly, for other knowledge attribute information, such as "production date", "manufacturer", etc., the server will also configure corresponding record tables.
[0028] Step S140: determining tool management files respectively associated with the X hydropower station members based on the equipment attribute codes respectively corresponding to the X hydropower station members.
[0029] In this embodiment, the server determines the tool management profile associated with each hydropower station member based on the equipment attribute code previously generated for the hydropower station member. This step can be achieved through preset mapping rules. For example, a part of the equipment attribute code can indicate which tool management profile the hydropower station member should be associated with.
[0030] Taking hydropower station member A as an example, based on a specific part of its equipment attribute code "HASH_A", the server can determine that A should be associated with the Yth tool management file. Similarly, for the other X-1 hydropower station members, the server will also determine the tool management files associated with each of them based on their equipment attribute codes.
[0031] Step S150, for the first hydropower station member among the X hydropower station members, if the first hydropower station member has first knowledge attribute information, then in a first record table covered by a tool management file associated with the first hydropower station member, the equipment attribute code of the first hydropower station member is recorded, and the first record table is a record table corresponding to the first knowledge attribute information.
[0032] In this embodiment, taking hydropower station member A as the first hydropower station member as an example, it is assumed that A has the first knowledge attribute information of "equipment model", and its value is "HZ-1000". The server first finds the tool management file associated with A (determined according to step S140), and then finds the "equipment model record table" in this file. In this table, the server will add a new row of records, which contains A's equipment attribute code "HASH_A" and the corresponding equipment model "HZ-1000". In this way, by querying this record table, the hydropower station member with a specific equipment model and its equipment attribute code can be quickly found.
[0033] Similarly, for other hydropower station members with "equipment model" or other knowledge attribute information, the server will also record it in the corresponding record table of their respective associated tool management files. This process ensures that the knowledge attribute information of each hydropower station member is accurately recorded and stored in its associated tool management file.
[0034] Based on the above steps, the embodiment of the present application realizes efficient and accurate management of hydropower station tools. By generating X uninterrupted equipment attribute codes for X hydropower station members and ensuring that different hydropower station members are associated with different equipment attribute codes, the method realizes the unique identification of hydropower station members and provides an accurate data basis for subsequent tool management. By configuring Y tool management archives and associating the record tables in each tool management archive with knowledge attribute information, a systematic and structured management tool is constructed, which not only facilitates the classified storage of detailed information on tools, but also facilitates rapid retrieval and query based on specific knowledge attribute information. The tool management archives associated with hydropower station members are determined by equipment attribute codes, which further improves the accuracy and efficiency of management. The correspondence between the equipment attribute codes and archives enables managers to quickly locate the tool information of specific hydropower station members, thereby making timely and accurate decisions. For hydropower station members with specific knowledge attribute information, they can find the corresponding record table in their associated tool management files and record their equipment attribute codes, which not only strengthens the association between tool information and hydropower station members, but also ensures the transparency and traceability of tool usage. Therefore, through the organic combination of equipment attribute coding and tool management files, the efficiency and accuracy of hydropower station tool management have been significantly improved.
[0035] In a possible implementation, step S150 includes: Step S151, from the first record table covered by the tool management file associated with the first hydropower station member, determine the record node corresponding to the equipment attribute code of the first hydropower station member as the first record node, and set the data value of the first record node as the first identifier.
[0036] In this embodiment, in this scenario, the server will directly find the corresponding record node in the record table of the tool management file according to the equipment attribute code of the hydropower station member, and set its data value as a specific identifier.
[0037] For example, assume that the first hydropower station member is "Hydropower Station A", and its equipment attribute code is "HASH_A". According to the mapping rules established previously, the server determines that the tool management file associated with "Hydropower Station A" is "File 1". In "File 1", the server finds the record table corresponding to the "equipment model", namely the "equipment model record table". Then, search for the record node corresponding to "HASH_A" in this table. Once the corresponding record node (the first record node) is found, the server sets the data value of the node to the first identifier, such as "1", indicating that the node has been occupied or marked.
[0038] Alternatively, in step S152, the calculation result generated by dividing the equipment attribute code of the first hydropower station member by Y is rounded down to generate an updated equipment attribute code for the first hydropower station member, and the record node corresponding to the updated equipment attribute code of the first hydropower station member is determined from the first record table covered by the tool management file associated with the first hydropower station member as the second record node, and the data value of the second record node is set as the first identifier.
[0039] In this embodiment, in this scenario, the server will first process the equipment attribute code of the hydropower station member, generate an updated equipment attribute code, and then find the corresponding record node in the record table according to the updated code and set its data value.
[0040] Taking "Hydropower Station A" as an example, its equipment attribute code is "HASH_A".
[0041] Assume that there are Y=10 tool management files. The server divides "HASH_A" by 10 (the value of Y), and then rounds down the result to generate the updated device attribute code. For example, if the value of "HASH_A" is 12345, the updated device attribute code is 1234 (12345 divided by 10 and rounded down).
[0042] Similarly, according to the mapping rule, the tool management file associated with "Hydropower Station A" is determined to be "File 1", and the "Equipment Model Record Table" is found in it. In the "Equipment Model Record Table", the server searches for the record node (second record node) corresponding to the updated equipment attribute code "1234". After finding it, the data value of the node is set to the first identifier, such as "1".
[0043] These two scenarios illustrate how to record the equipment attribute codes of hydropower station members in the record table of the tool management file. The first scenario directly records the original equipment attribute codes, while the second scenario processes the equipment attribute codes before recording them. Both methods can effectively mark and track the information of hydropower station members in the tool management file.
[0044] In a possible implementation, the method further includes: Step A110, obtaining the updated equipment attribute code of the second hydropower station member and the index value i of the tool management file associated with the second hydropower station member, where i is an integer not less than 0 and not greater than Y-1.
[0045] Step A120, determine the product of the updated equipment attribute code of the second hydropower station member and Y, and determine the equipment attribute code of the second hydropower station member based on the sum of the product and the index value i of the tool management file associated with the second hydropower station member.
[0046] Step A130: determining the index fingerprint information of the second hydropower station member based on the device attribute code of the second hydropower station member, wherein the index fingerprint information of the second hydropower station member is used to determine the second hydropower station member from the X hydropower station members.
[0047] In this embodiment, the server receives a request from a second hydropower station member, which includes an updated equipment attribute code of the second hydropower station member, which is a digital representation of the latest status or attribute of the hydropower station member equipment. At the same time, the request also includes an index value i of a tool management file associated with the second hydropower station member. For example, assuming that the updated equipment attribute code of the second hydropower station member is "12345", the index value of the associated tool management file is 3 (i=3). The server receives and stores this information for subsequent use.
[0048] The server performs the next calculation based on the received updated equipment attribute code of the second hydropower station member, the index value i of the associated tool management file, and the known total number of files Y (assuming Y=10). The server first multiplies the updated equipment attribute code by Y, for example, "12345"*10=123450. Then, this product is added to the index value i, that is, 123450+3=123453, and the result is the equipment attribute code of the second hydropower station member.
[0049] After determining the device attribute code of the second hydropower station member, the server will further use this code to generate index fingerprint information. This process may involve a series of hash functions or other encryption algorithms to ensure that the generated index fingerprint information is unique and can accurately identify the second hydropower station member. For example, by hashing the device attribute code "123453", the server generates a unique index fingerprint information "abcdefg", which will be used to quickly and accurately identify the second hydropower station member from the X hydropower station members.
[0050] Throughout the entire process, the server ensures the uniqueness and identifiability of the hydropower station members through efficient data processing and encryption algorithms, which is crucial to the safety and operation management of the hydropower station.
[0051] In a possible implementation, step S140 includes: Step S141, presetting a mapping rule, wherein the mapping rule defines the corresponding relationship between the equipment attribute code and the tool management file.
[0052] Step S142, according to the number of tool management files, the entire equipment attribute coding space is divided into Y continuous or non-continuous unit intervals, each of the unit intervals corresponds to a tool management file.
[0053] Step S143, for each equipment attribute code of a hydropower station member, determine the code interval to which it belongs according to the numerical value of the equipment attribute code, and determine the tool management file corresponding to the equipment attribute code by comparing the equipment attribute code with the range of each code interval.
[0054] Step S144, based on the coding interval to which the equipment attribute code belongs, establish an association relationship between the hydropower station member and its corresponding tool management file, and the association relationship is achieved by adding a pointer or index pointing to the corresponding tool management file in the information of the hydropower station member.
[0055] In this embodiment, the server administrator pre-sets a mapping rule in the system, which clearly indicates the correspondence between the device attribute code and the tool management file. For example, the rule may stipulate that certain specific digits or value ranges of the device attribute code will correspond to specific tool management files.
[0056] In detail, the server learns that the total number of tool management archives is Y. Based on this number, the server divides the entire device attribute coding space into Y unit intervals, which can be continuous or non-continuous, depending on the code allocation strategy and the actual needs of archive management. For example, if there are 10 tool management archives, the server may divide the device attribute coding space into 10 equal intervals, each corresponding to a archive.
[0057] For each hydropower station member's equipment attribute code, the server will determine the code interval it belongs to based on the value of the code. The server will compare the equipment attribute code with the range of each code interval one by one to determine the tool management file corresponding to the code. For example, if the equipment attribute code of a hydropower station member falls within the third interval, then it corresponds to the third tool management file.
[0058] Once the code interval to which the equipment attribute code belongs is determined, the server will establish an association between the hydropower station member and its corresponding tool management file. This association is achieved by adding a pointer or index to the corresponding tool management file in the hydropower station member's information. In this way, whenever the tool management file of a hydropower station member needs to be found, the server can quickly locate the corresponding file through this pointer or index. For example, the server may add a field to the data record of the hydropower station member, which stores the index value pointing to its tool management file.
[0059] In a possible implementation, step S120 includes: Step S121, obtaining index fingerprint information corresponding to each of the X hydropower station members.
[0060] Step S122: translating the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes, and generating device attribute codes corresponding to the X hydropower station members.
[0061] In this embodiment, the server starts to perform operations and first retrieves relevant information of X hydropower station members from the database. For each hydropower station member, the server extracts its unique identifier, i.e., index fingerprint information, which is previously generated for each hydropower station member by a specific algorithm to ensure the uniqueness of each hydropower station member.
[0062] For example, the server may query a database table containing information about members of a hydropower station and extract index fingerprint information of each member. The index fingerprint information may be a string of specific characters or a combination of numbers that can uniquely represent a member of a hydropower station.
[0063] Once the server obtains the index fingerprint information of all hydropower station members, it will then translate this information into device attribute codes. The translation process is completed through a predetermined algorithm or mapping rule, which ensures that the conversion from index fingerprint information to device attribute codes is one-to-one and the generated device attribute codes are uninterrupted.
[0064] Specifically, the server may use a hash function or a specific encoding mechanism to convert the index fingerprint information into a device attribute code, which not only contains the core elements of the original index fingerprint information, but may also add additional information, such as a check digit or version identifier, to ensure the integrity of the code and future scalability.
[0065] For example, the server may convert the index fingerprint information of each hydropower station member into a fixed-length hexadecimal string through a hash function, and this string is the device attribute code of the member. Due to the characteristics of the hash function, different index fingerprint information will generate different device attribute codes, thus ensuring the uniqueness and continuity of the code.
[0066] Finally, the server generates X continuous equipment attribute codes. Each member of the hydropower station corresponds to a unique code. These codes will be used for subsequent equipment management, tool file association and other operations.
[0067] In a possible implementation, step S122 includes: Step S1221, when Z is 1, obtain the hydropower station member index sequence obtained in the Zth statistical period, the hydropower station member index sequence includes the index fingerprint information of the hydropower station members. Output the hydropower station members covered in the hydropower station member index sequence obtained in the Zth statistical period as the X hydropower station members. Translate the index fingerprint information corresponding to the X hydropower station members respectively into X uninterrupted device attribute codes starting from the initial code, and generate the hydropower station member code sequence of the Zth statistical period, the hydropower station member code sequence includes the index fingerprint information of the hydropower station members and the device attribute codes corresponding to the index fingerprint information of the hydropower station members. Use the hydropower station member code sequence of the Zth statistical period as the hydropower station member code sequence of the Zth statistical period. Use the maximum value device attribute code in the hydropower station member code sequence of the Zth statistical period as the target device attribute code, and the target device attribute code is the sum of the initial code minus 1 and X.
[0068] In this embodiment, when Z is 1, at the end of the first statistical cycle (Z=1), the server collects the index fingerprint information of all hydropower station members in the cycle from the hydropower station monitoring system, and this information forms a hydropower station member index sequence. For example, this hydropower station member index sequence may include the index fingerprint information of 10 hydropower station members.
[0069] The server determines the hydropower station members covered in the hydropower station member index sequence obtained in the first statistical period as the objects for which device attribute codes need to be generated, that is, X hydropower station members. In this example, X is equal to 10.
[0070] Next, the server starts to translate the index fingerprint information of the 10 hydropower station members into device attribute codes one by one, starting from the initial code (for example, 0001). The translation process may involve converting the index fingerprint information into a unique device attribute code through an algorithm (such as a hash function), so that each hydropower station member has a corresponding device attribute code.
[0071] After the translation is completed, the server generates a hydropower station member code sequence for the first statistical period, which contains not only the index fingerprint information of the hydropower station members, but also the device attribute codes corresponding to these index fingerprint information. For example, the sequence can be: [(fingerprint 1, code 0001), (fingerprint 2, code 0002), ..., (fingerprint 10, code 0010)].
[0072] The server uses the device attribute code with the largest value in the hydropower station member code sequence in the first statistical period (0010 in this example) as the target device attribute code. At the same time, this target device attribute code is also equal to the sum of the initial code minus 1 (0000) and X (10), that is, 0010.
[0073] Alternatively, step S1222, when Z is not less than 2, obtain the hydropower station member index sequence obtained in the Zth statistical period, the hydropower station member code sequence of the Z-1 statistical period, and the target device attribute code. Based on the hydropower station member index sequence obtained in the Zth statistical period and the hydropower station member code sequence of the Z-1 statistical period, determine the first scale of extended hydropower station members generated in the Zth statistical period, and output the extended hydropower station members as the X hydropower station members. Based on the target device attribute code, translate the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes to generate the hydropower station member code sequence of the Zth statistical period. Aggregate the hydropower station member code sequence of the Z-1 statistical period with the hydropower station member code sequence of the Zth statistical period as the hydropower station member code sequence of the Zth statistical period. Adjust the target device attribute code to the maximum value device attribute code in the hydropower station member code sequence of the Zth statistical period, and the target device attribute code is the sum of the target device attribute code of the Z-1 statistical period and X.
[0074] In this embodiment, when Z is not less than 2, in the second or subsequent statistical period (Z≥2), the server first obtains the hydropower station member index sequence of the current statistical period, the hydropower station member code sequence of the previous statistical period, and the target device attribute code of the previous statistical period.
[0075] The server determines the hydropower station members that are newly added or changed in the current statistical period, i.e., the expanded hydropower station members of the first scale, based on the hydropower station member index sequence of the current statistical period and the hydropower station member code sequence of the previous statistical period. These members will be output as the X hydropower station members that need to generate device attribute codes in the current statistical period.
[0076] The server uses the target device attribute code of the previous statistical period as the starting point and translates the index fingerprint information of the X hydropower station members of the current statistical period into the device attribute code, thus ensuring the continuity of the device attribute code.
[0077] After the translation is completed, the server generates a coding sequence of hydropower station members in the current statistical period, and aggregates it with the coding sequence of hydropower station members in the previous statistical period to form a coding sequence of all hydropower station members up to the current statistical period.
[0078] Finally, the server sets the equipment attribute code with the largest value in the hydropower station member code sequence of the current statistical period as the new target equipment attribute code. The new target equipment attribute code is equal to the sum of the target equipment attribute code of the previous statistical period and X of the current statistical period, preparing for the generation of equipment attribute codes for the next statistical period.
[0079] In a possible implementation, the method further includes: generating the Y tool management files into Q management warehouses for configuration, each management warehouse is used to manage multiple tool management files, and Q is an integer greater than 1 and not greater than Y.
[0080] In a possible implementation, the method further includes: Step B110, based on the index fingerprint information of the candidate hydropower station member, obtaining the device attribute code of the candidate hydropower station member, wherein the candidate hydropower station member is one of the X hydropower station members.
[0081] Step B120: determining the first tool management file associated with the candidate hydropower station member based on the equipment attribute code of the candidate hydropower station member.
[0082] Step B130: Determine the management warehouse associated with the candidate hydropower station member based on the first tool management file.
[0083] Step B140, searching the first tool management file in the management warehouse associated with the candidate hydropower station member to determine the knowledge attribute information of the candidate hydropower station member, searching the first tool management file includes searching multiple record tables covered by the first tool management file.
[0084] In this embodiment, the server starts to distribute Y tool management archives to Q management warehouses, which are virtual or physical spaces dedicated to storing and managing tool management archives. Q is an integer greater than 1 and not greater than Y, which means that the number of warehouses can be flexibly set according to actual conditions to manage archives more effectively.
[0085] For example, if there are 10 tool management files (Y=10), the server can choose to distribute these files to 3 management warehouses (Q=3). The first warehouse may be responsible for managing the first 4 files, the second warehouse manages the next 3 files, and the third warehouse manages the remaining 3 files.
[0086] The server will intelligently allocate files based on preset rules or algorithms, such as the access frequency, size, importance, etc. of the files, to ensure load balancing and efficient management of each warehouse.
[0087] At a certain time point, the server receives a query request to query the tool management file associated with a specific candidate hydropower station member, where the candidate hydropower station member is one of the X hydropower station members for which the equipment attribute code has been generated before.
[0088] The server first retrieves the corresponding equipment attribute code in its stored database according to the provided index fingerprint information of the candidate hydropower station member. This process may involve efficient index query of the database to ensure that the corresponding equipment attribute code is found quickly and accurately.
[0089] For example, if the index fingerprint information of the candidate hydropower station member is "ABC123", the server will search its database for a device attribute code that matches this fingerprint information, such as "0007".
[0090] Once the server obtains the equipment attribute code of the candidate hydropower station member, it will use this code to determine the associated tool management file. This process is based on the previously set mapping rules and the correspondence between the equipment attribute code and the tool management file.
[0091] The server will determine the coding range to which the equipment attribute code belongs based on the numerical value of the equipment attribute code, and find the corresponding tool management file by comparing the code with the range of each coding range.
[0092] For example, if the equipment attribute code is "0007", the server will search for the tool management file corresponding to this code. According to the previous mapping rules, this code may fall within the third code interval, so the server will determine that the first tool management file associated with the candidate hydropower station member is a specific file in the third management warehouse.
[0093] In this way, the server can accurately provide the tool management file information associated with the candidate hydropower station members for the query request.
[0094] In a possible implementation, the method further includes: Step C110, synchronously searching the Q management warehouses, and the search process for each of the Q management warehouses includes: the step of performing logical operations on multiple tool management files configured in the management warehouse and a second tool management file, wherein the logical operation is used to represent Boolean operations between the record tables, and the second tool management file is used to manage and configure the knowledge attribute information of the first feature vector of the hydropower station member to be searched.
[0095] Step C120, determining the search output data corresponding to the Q management warehouses respectively, wherein the search output data is used to represent the data output by a logical operation between a plurality of tool management files configured in the management warehouse and the second tool management file.
[0096] Step C130, aggregating the search output data corresponding to the Q management warehouses respectively, and determining multiple target hydropower station members based on the aggregated search output data, wherein the target hydropower station member is one hydropower station member among the X hydropower station members.
[0097] In this embodiment, the server starts to synchronously search Q management warehouses to find tool management files that match specific conditions. Each management warehouse is configured with multiple tool management files, which record various information and attributes of hydropower station members.
[0098] During the search process, the server performs logical operations on the tool management files in each management warehouse. These logical operations are based on Boolean operations and are used to compare and filter files that meet specific conditions.
[0099] When searching, the server uses a special file called the second tool management file, which is used to manage and configure the knowledge attribute information of the first feature vector of the hydropower station member to be searched. In other words, it defines the specific conditions and requirements of the search.
[0100] The logical operation compares the tool management profile in the management warehouse with the second tool management profile. For example, if the second tool management profile defines a specific attribute range (such as equipment age, usage status, etc.), the logical operation will filter out the profiles that meet this range.
[0101] After completing the search of each management warehouse, the server determines the search output data of each management warehouse, which represents the output result of the logical operation of multiple tool management files configured in the management warehouse and the second tool management file.
[0102] The search output data may include identifiers of eligible tool management profiles, relevant attribute information, and other necessary details that are key to identifying target hydropower station members.
[0103] The server aggregates the search output data corresponding to the Q management warehouses. This process involves integrating the search results from different warehouses to ensure that all eligible tool management files are taken into consideration.
[0104] The aggregated search output data provides a comprehensive view of which tool management profiles meet the conditions defined by the second tool management profile.
[0105] Based on the aggregated search output data, the server determines a plurality of target hydropower station members, where the target hydropower station members are one or more members among the X hydropower station members that meet the search condition.
[0106] For example, if the search criteria is to find hydropower station members whose equipment age is more than 5 years old, then the target hydropower station members are those whose equipment age meets the criteria. The server will return the identifiers and related information of these members as search results for further analysis or operation.
[0107] Figure 2 The hardware structure of the tool management system 100 based on the hydropower station provided in the embodiment of the present application for implementing the tool management method based on the hydropower station is shown. Figure 2 As shown, the hydropower plant-based tool management system 100 may include a processor 110 , a machine-readable storage medium 120 , a bus 130 , and a communication unit 140 .
[0108] In one possible design, the hydropower station-based tool management system 100 can be a single server or a server group. The server group can be centralized or distributed (for example, the hydropower station-based tool management system 100 can be a distributed system). In some embodiments, the hydropower station-based tool management system 100 can be local or remote. For example, the hydropower station-based tool management system 100 can access information and / or data stored in a machine-readable storage medium 120 via a network. For another example, the hydropower station-based tool management system 100 can be directly connected to the machine-readable storage medium 120 to access the stored information and / or data. In some embodiments, the hydropower station-based tool management system 100 can be implemented on a hydropower station-based tool management system. As an example only, the hydropower station-based tool management system can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-layer cloud, etc. or any combination thereof.
[0109] The machine-readable storage medium 120 may store data and / or instructions. In some embodiments, the machine-readable storage medium 120 may store data acquired from an external terminal. In some embodiments, the machine-readable storage medium 120 may store data and / or instructions that the hydropower plant-based tool management system 100 uses to execute or use to complete the exemplary method described in this application.
[0110] During the specific implementation process, one or more processors 110 execute computer executable instructions stored in the machine-readable storage medium 120, so that the processor 110 can execute the tool management method based on the hydropower station in the above method embodiment. The processor 110, the machine-readable storage medium 120 and the communication unit 140 are connected through the bus 130, and the processor 110 can be used to control the sending and receiving actions of the communication unit 140.
[0111] The specific implementation process of the processor 110 can refer to the various method embodiments executed by the above-mentioned tool management system 100 based on the hydropower station. The implementation principles and technical effects are similar, and this embodiment will not be repeated here.
[0112] In addition, an embodiment of the present application further provides a readable storage medium, in which computer executable instructions are stored. When a processor executes the computer executable instructions, the above-mentioned tool management method based on a hydropower station is implemented.
[0113] It should be noted that in order to simplify the description disclosed in the present application and thereby facilitate the understanding of one or more embodiments of the invention, in the foregoing description of the embodiments of the present application, various features are sometimes grouped into one embodiment, drawing or description thereof.
Claims
1. A tool management method based on a hydropower station, characterized in that: The method comprises: Obtain multiple pieces of knowledge attribute information corresponding to X hydropower station members; Generate X uninterrupted equipment attribute codes for the X hydropower station members, generate equipment attribute codes corresponding to the X hydropower station members respectively, and different hydropower station members are associated with different equipment attribute codes; Configure Y tool management files, each tool management file contains multiple record tables, and each record table is associated with a piece of knowledge attribute information; Determine the tool management files respectively associated with the X hydropower station members based on the equipment attribute codes respectively corresponding to the X hydropower station members; For the first hydropower station member among the X hydropower station members, if the first hydropower station member has first knowledge attribute information, the equipment attribute code of the first hydropower station member is recorded in a first record table covered by a tool management file associated with the first hydropower station member, and the first record table is a record table corresponding to the first knowledge attribute information.
2. The tool management method based on a hydropower station according to claim 1 is characterized in that: The first record table covered by the tool management file associated with the first hydropower station member records the equipment attribute code of the first hydropower station member, including: Determine, from a first record table covered by the tool management file associated with the first hydropower station member, a record node corresponding to the equipment attribute code of the first hydropower station member as a first record node, and set the data value of the first record node as a first identifier; Alternatively, the calculation result generated by dividing the equipment attribute code of the first hydropower station member by Y is rounded down to generate an updated equipment attribute code for the first hydropower station member, and the record node corresponding to the updated equipment attribute code of the first hydropower station member is determined from the first record table covered by the tool management file associated with the first hydropower station member as the second record node, and the data value of the second record node is set as the first identifier.
3. The tool management method based on a hydropower station according to claim 2 is characterized in that: The method further comprises: Obtaining the updated equipment attribute code of the second hydropower station member and the index value i of the tool management file associated with the second hydropower station member, where i is an integer not less than 0 and not greater than Y-1; Determine the product of the updated equipment attribute code of the second hydropower station member and Y, and determine the equipment attribute code of the second hydropower station member based on the sum of the product and the index value i of the tool management file associated with the second hydropower station member; Based on the device attribute code of the second hydropower station member, the index fingerprint information of the second hydropower station member is determined, and the index fingerprint information of the second hydropower station member is used to determine the second hydropower station member from the X hydropower station members.
4. The tool management method based on a hydropower station according to claim 1 is characterized in that: The step of determining the tool management files respectively associated with the X hydropower station members based on the equipment attribute codes respectively corresponding to the X hydropower station members comprises: A mapping rule is pre-set, wherein the mapping rule defines the corresponding relationship between the equipment attribute code and the tool management file; According to the number of tool management files, the entire equipment attribute coding space is divided into Y continuous or non-continuous unit intervals, each of which corresponds to a tool management file; For each equipment attribute code of a hydropower station member, determine the code interval to which it belongs according to the value of the equipment attribute code, and determine the tool management file corresponding to the equipment attribute code by comparing the equipment attribute code with the range of each code interval; Based on the coding interval to which the equipment attribute code belongs, an association relationship between the hydropower station member and its corresponding tool management file is established, and the association relationship is achieved by adding a pointer or index pointing to the corresponding tool management file in the information of the hydropower station member.
5. The tool management method based on a hydropower station according to claim 1, characterized in that: The step of generating X uninterrupted equipment attribute codes for the X hydropower station members and generating equipment attribute codes corresponding to the X hydropower station members respectively includes: Obtaining index fingerprint information corresponding to each of the X hydropower station members; The index fingerprint information corresponding to the X hydropower station members is translated into X uninterrupted device attribute codes to generate device attribute codes corresponding to the X hydropower station members.
6. The tool management method based on a hydropower station according to claim 5 is characterized in that: The step of translating the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes to generate the device attribute codes corresponding to the X hydropower station members includes: When Z is 1, obtain the hydropower station member index sequence obtained in the Zth statistical period, the hydropower station member index sequence includes the index fingerprint information of the hydropower station members; output the hydropower station members covered in the hydropower station member index sequence obtained in the Zth statistical period as the X hydropower station members; start from the initial code, translate the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes, and generate the hydropower station member code sequence of the Zth statistical period, the hydropower station member code sequence includes the index fingerprint information of the hydropower station members and the device attribute codes corresponding to the index fingerprint information of the hydropower station members; use the hydropower station member code sequence of the Zth statistical period as the hydropower station member code sequence of the Zth statistical period; use the maximum value device attribute code in the hydropower station member code sequence of the Zth statistical period as the target device attribute code, and the target device attribute code is the sum of the initial code minus 1 and X; Alternatively, when Z is not less than 2, obtain the hydropower station member index sequence obtained in the Zth statistical period, the hydropower station member code sequence of the Z-1 statistical period, and the target device attribute code; based on the hydropower station member index sequence obtained in the Zth statistical period and the hydropower station member code sequence of the Z-1 statistical period, determine the first scale of extended hydropower station members generated in the Zth statistical period, and output the extended hydropower station members as the X hydropower station members; based on the target device attribute code, translate the index fingerprint information corresponding to the X hydropower station members into X uninterrupted device attribute codes to generate the hydropower station member code sequence of the Zth statistical period; aggregate the hydropower station member code sequence of the Z-1 statistical period with the hydropower station member code sequence of the Zth statistical period as the hydropower station member code sequence of the Zth statistical period; adjust the target device attribute code to the device attribute code with the maximum value in the hydropower station member code sequence of the Zth statistical period, and the target device attribute code is the sum of the target device attribute code of the Z-1 statistical period and X.
7. The tool management method based on a hydropower station according to claim 1, characterized in that: The method further comprises: The Y tool management files are generated and configured in Q management warehouses, each management warehouse is used to manage multiple tool management files, and Q is an integer greater than 1 and not greater than Y.
8. The tool management method based on a hydropower station according to claim 7, characterized in that: The method further comprises: Based on the index fingerprint information of the candidate hydropower station member, obtaining the device attribute code of the candidate hydropower station member, wherein the candidate hydropower station member is one of the X hydropower station members; Determining a first tool management file associated with the candidate hydropower station member based on the equipment attribute code of the candidate hydropower station member; Determining a management warehouse associated with the candidate hydropower station member based on the first tool management file; The first tool management file is searched in the management warehouse associated with the candidate hydropower station member to determine the knowledge attribute information of the candidate hydropower station member. The search for the first tool management file includes searching multiple record tables covered by the first tool management file.
9. The tool management method based on a hydropower station according to claim 7, characterized in that: The method further comprises: Synchronously searching the Q management warehouses, the search process for each of the Q management warehouses comprising: a step of performing a logical operation on a plurality of tool management files configured in the management warehouse and a second tool management file, wherein the logical operation is used to represent a Boolean operation between the record tables, and the second tool management file is used to manage and configure the knowledge attribute information of the first feature vector of the hydropower station member to be searched; Determine the search output data corresponding to the Q management warehouses respectively, the search output data is used to represent the data output by the logical operation of the plurality of tool management files configured in the management warehouse and the second tool management file; The search output data corresponding to the Q management warehouses are aggregated, and based on the aggregated search output data, a plurality of target hydropower station members are determined, where the target hydropower station member is one of the X hydropower station members.
10. A tool management system based on a hydropower station, characterized in that: The tool management system based on the hydropower station includes a processor and a memory, the memory is connected to the processor, the memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory to implement the tool management method based on the hydropower station as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Data retrieval method and device and electronic equipment
CN108154024A
Power plant document management device
JP1994325148A
Document management apparatus, document management method, program and recording medium
JP2006195704A
