Device life prediction model training method, apparatus, device, and program product
By deploying the hippocampus module at the bank end to calculate knowledge offset in real time, the federated incremental training of the equipment life prediction model is automatically triggered. This solves the problem of untimely updates to the equipment life prediction model under manual decision-making, realizes real-time response of equipment operation data and automatic model updates, and reduces the risk of equipment downtime and communication costs.
Patent Information
- Application Number
- CN202611118485.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-27
- Publication Date
- 2026-11-20
AI Technical Summary
The federated incremental training of existing equipment life prediction models relies on human decision-making, which makes it difficult to respond in real time to the distribution drift of equipment operation data. This results in inaccurate model update timing, increases the risk of unplanned equipment downtime, and is costly to communicate across organizations, making it difficult to quantify and replicate.
The hippocampus module is used to calculate the current knowledge offset of the bank in real time, automatically triggering federated incremental training. By integrating the offset of the equipment maintenance server, the automatic incremental training of the equipment life prediction model is realized, reducing the cost of manual intervention and communication.
It enables real-time perception and response of equipment life prediction models, reduces the risk of unplanned equipment downtime, reduces the cost of cross-organizational manual communication, and achieves objectivity and replicability of decision-making standards.
Smart Images

Figure CN123140293A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of artificial intelligence technology, and in particular to a method, apparatus, equipment, and program product for training a device life prediction model. Background Technology
[0002] With the continuous expansion of the scale of information technology equipment in banks, accurately predicting the remaining usable life of equipment based on its operating parameters has become a key technology for ensuring the continuity of financial services. In practice, banks hold real-time operating data of the equipment, while equipment maintenance services hold maintenance records and scrapping time stamps. Both parties need to use vertical federated learning technology to jointly train the equipment life prediction model without sharing the original data. As time goes by and the equipment operating environment changes, the equipment life prediction model needs to be continuously updated through incremental training to adapt to data distribution drift.
[0003] Currently, the incremental training initiation of the vertically federated continuous learning equipment lifespan prediction model relies entirely on manual decision-making. Maintenance experts from both the bank and equipment repair service sides need to continuously monitor changes in their respective data and determine whether a new round of federated incremental training needs to be initiated through regular communication and consultation. Once the initiation timing is determined, experts from all parties coordinate resources and agree on a time window to manually trigger the incremental training process.
[0004] The federated incremental training initiation mechanism for equipment life prediction models that rely on manual decision-making has the following drawbacks: On the one hand, the distribution and drift of equipment operation data are sudden, making it difficult for manual monitoring to respond in real time. The cross-organizational consultation and decision-making process is lengthy, which can easily delay the update of the equipment life prediction model, leading to frequent unplanned equipment downtime during periods of inaccurate prediction. On the other hand, the manual decision-making model consumes a lot of cross-organizational communication costs, and the decision-making criteria are subjective, difficult to quantify and replicate, which seriously restricts the large-scale application of the federated continuous learning mechanism in equipment predictive maintenance scenarios. Summary of the Invention
[0005] This invention provides a training method, apparatus, equipment, and program product for an equipment life prediction model. It enables automatic incremental training of the equipment life prediction model, and can perceive and respond to the distribution drift of equipment operation data in real time. It effectively avoids missing the opportunity to update the model due to human negligence or negotiation delays, thereby significantly reducing the risk of unplanned equipment downtime during model inaccuracy, reducing the cost of cross-organizational manual communication and coordination, and realizing the objectivity and replicability of decision-making standards.
[0006] According to one aspect of the present invention, a method for training a device lifetime prediction model is provided, the method comprising: The hippocampus module deployed at each bank terminal is used to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected at the current time window. When it is detected that the current knowledge offset of any of the banks exceeds the historical maximum knowledge offset of the bank, the bank is identified as the target bank and the abnormal knowledge offset information is broadcast to other banks using the target bank. When the abnormal knowledge offset information is detected by each of the aforementioned bank terminals, the corresponding current knowledge offset is sent to the equipment maintenance service terminal. Using the equipment maintenance server, the current knowledge offset of each bank is integrated to obtain the current integrated offset; Using the aforementioned equipment maintenance server, the equipment life prediction model is subjected to federated incremental training based on the current comprehensive offset.
[0007] According to another aspect of the present invention, a device for training a device lifetime prediction model is provided, the device comprising: The current knowledge offset calculation module is used to calculate the current knowledge offset of each bank in real time based on the current device operation data collected by each bank in the current time window using the hippocampus module deployed at each bank. The abnormal knowledge offset information broadcasting module is used to identify the bank as the target bank when it is detected that the current knowledge offset of any of the banks exceeds the historical maximum knowledge offset of the bank, and to broadcast abnormal knowledge offset information to other banks using the target bank. The current knowledge offset summary module is used by each of the aforementioned banks to send the corresponding current knowledge offset to the equipment maintenance service terminal when the abnormal knowledge offset information is detected. The current comprehensive offset generation module is used to integrate the current knowledge offsets of each of the banks using the equipment maintenance server to obtain the current comprehensive offset. The federated incremental training module is used to perform federated incremental training on the equipment life prediction model based on the current comprehensive offset using the equipment maintenance server.
[0008] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to execute the device lifetime prediction model training method according to any embodiment of the present invention.
[0009] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the device lifetime prediction model training method according to any embodiment of the present invention.
[0010] According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the device lifetime prediction model training method according to any embodiment of the present invention.
[0011] The technical solution of this invention employs a hippocampus module deployed at each bank terminal to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected within the current time window. When the current knowledge offset of any bank terminal exceeds its historical maximum knowledge offset, the bank terminal is identified as the target bank terminal. The target bank terminal then broadcasts abnormal knowledge offset information to other bank terminals. Upon detecting abnormal knowledge offset information, each bank terminal sends its corresponding current knowledge offset to the device maintenance server. The device maintenance server then processes the information for each bank terminal. The current knowledge bias at the bank's end is aggregated to obtain the current comprehensive bias. Based on the current comprehensive bias, the equipment life prediction model is subjected to federated incremental training. Based on the knowledge bias, the federated incremental training of the equipment life prediction model is automatically triggered, realizing automatic incremental training of the equipment life prediction model. It can perceive and respond to the distribution drift of equipment operation data in real time, effectively avoiding the delay in model update due to human negligence or negotiation delays. This significantly reduces the risk of unplanned equipment downtime during periods of model inaccuracy, reduces the cost of cross-institutional manual communication and coordination, and achieves objectivity and replicability of decision-making standards.
[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a flowchart of a training method for a device life prediction model according to Embodiment 1 of the present invention; Figure 2 This is a flowchart of a training method for a device life prediction model according to Embodiment 2 of the present invention; Figure 3 This is a flowchart of a training method for a device life prediction model according to Embodiment 2 of the present invention; Figure 4 This is a schematic diagram of the structure of a training device for a device life prediction model according to Embodiment 3 of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device that implements the device lifetime prediction model training method of the present invention. Detailed Implementation
[0015] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0016] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0017] Example 1 Figure 1This is a flowchart illustrating a method for training a device lifetime prediction model according to Embodiment 1 of the present invention. This embodiment is applicable to situations involving automatic federated incremental training of a device lifetime prediction model. The method can be executed by a device lifetime prediction model training device, which can be implemented in hardware and / or software. This device can be configured in an electronic device that carries the device lifetime prediction model training function, such as a client or server.
[0018] See Figure 1 The equipment life prediction model training method shown includes: S101. Using the Hippocampus module deployed on each bank's end, the current knowledge offset of each bank's end is calculated in real time based on the current device operation data collected by each bank's end in the current time window.
[0019] The bank and the equipment maintenance server act as two or more semi-trusted parties in the federated training and usage of the equipment lifespan prediction model. Neither the bank nor the equipment maintenance server is permitted to directly access the other's data. The bank is a participant in both the federated training and usage of the equipment lifespan prediction model, while the equipment maintenance server acts as the coordinator. The equipment maintenance server possesses the predicted target value (or the true value corresponding to the predicted result) of the equipment lifespan prediction model. The equipment maintenance server is used for model training. Optionally, the equipment maintenance server can also be used to create, distribute, and collect gradient ciphertext.
[0020] The hippocampus module is used to calculate and store the knowledge shift for the corresponding bank. It is deployed within each bank and equipment maintenance service in the vertical federated learning process. The hippocampus module provides knowledge for the automated federated incremental training of the equipment lifespan prediction model.
[0021] The current time window is the time window in which knowledge offset monitoring is being performed. The current device operation data refers to the device operation data collected within the current time window for the bank-end devices. Optionally, a single bank-end device may include at least two bank-end devices. For example, the current device operation data includes CPU usage, memory usage, disk read / write speed, input voltage, output voltage, current, power, power supply temperature, printhead temperature, number of cutter actions, paper out alarm signal, and camera image blurriness, etc. The current device operation data is used to detect the current knowledge offset of the corresponding bank-end device. The current knowledge offset characterizes the degree of change in the device operation status of the bank-end device.
[0022] Specifically, the hippocampus module deployed at each bank's terminal is used to calculate the peak-valley offset of the current device operation data collected within the current time window for each bank, thus obtaining the current knowledge offset for each bank. The peak-valley offset is the absolute value of the difference between the maximum and minimum values of the current device operation data collected within the current time window.
[0023] In an optional embodiment of the present invention, a hippocampal module deployed at each bank terminal is used to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected by each bank terminal in the current time window. This includes: using the hippocampal module deployed at each bank terminal to perform hash calculations on the current device operation data corresponding to the start and end times of the current time window to obtain the start hash digest and the end hash digest corresponding to the end time of each bank terminal; and using the hippocampal module deployed at each bank terminal to calculate the Hamming distance between the start hash digest and the end hash digest corresponding to each bank terminal to obtain the current knowledge offset of each bank terminal.
[0024] The start time is the beginning time of the current time window. The end time is the end time of the current time window.
[0025] The initial hash digest is the hash calculation result of the current device operating data at the initial time. The initial hash digest is also a message digest of the current device operating data at the initial time. Finally, the initial hash digest is a fixed-length hash value corresponding to the current device operating data at the initial time. The initial hash digest is used to uniquely represent the device operating state at the initial time.
[0026] The end hash digest is the hash calculation result of the current device operating data at the end time. The end hash digest is also a message digest of the current device operating data at the end time. Finally, the end hash digest is a fixed-length hash value corresponding to the current device operating data at the end time. The end hash digest is used to uniquely represent the device operating state at the end time.
[0027] The Hamming distance is the difference in the number of bits at the same position between the start and end hash digests. It quantifies the degree of difference between the start and end hash digests at the beginning and end of the current device operation. A larger Hamming distance indicates a more significant change in the characteristic distribution of the current device's operating data between the start and end times, a greater difference between the start and end hash digests, and thus a higher knowledge shift.
[0028] Specifically, using the Hippocampus module deployed at each bank, and based on the same hash algorithm, hash calculations are performed on the current device operation data corresponding to the start and end times of the current time window to obtain the starting hash digest and the ending hash digest for each bank at the start and end times. Then, using the Hippocampus module deployed at each bank, the Hamming distance between the starting and ending hash digests for each bank is calculated to obtain the current knowledge offset for each bank.
[0029] For example, the current knowledge shift of a single bank can be calculated using the following formula: ; In the formula, KSD is the Hamming distance between the starting hash digest and the ending hash digest of a single bank, which is the current knowledge offset of a single bank. Here is the function for calculating Hamming distance; Using a 256-bit hash function, the current device running data at both ends of a time window is encoded by the hash function to generate two corresponding 256-bit digests; This is the end hash digest corresponding to a single bank at the end time. This is the initial hash digest corresponding to a single bank at the start time. This refers to the current device operating data corresponding to the end time of the current time window; This refers to the current device operating data corresponding to the start time of the current time window; This represents the end time of the current time window; This represents the start time of the current time window.
[0030] This solution determines the current knowledge offset based on the Hamming distance between the hash digests of the current device's running data at both ends of the current time window. This significantly compresses the data storage space, reduces the computational and storage overhead of the hippocampus module, achieves objective and accurate quantification of the data offset, supports efficient and uninterrupted real-time monitoring, and provides computational feasibility for the immediate triggering of incremental training.
[0031] S102. When it is detected that the current knowledge offset of any bank exceeds the historical maximum knowledge offset of the bank, the bank is identified as the target bank and the abnormal knowledge offset information is broadcast to other banks using the target bank.
[0032] The historical maximum knowledge offset is the maximum value among all knowledge offsets within all historical time windows prior to the current time window for a single bank. The historical maximum knowledge offset characterizes the upper limit of historical fluctuations in the bank's device operation data. It also measures whether the current device operation data falls within the scope of normal fluctuations. If the current knowledge offset exceeds the bank's historical maximum knowledge offset, it can be interpreted as an unprecedented and significant drift in the distribution of the target bank's current device operation data, requiring the triggering of automatic federated incremental training. This avoids frequently restarting the device lifetime prediction model training due to normal fluctuations in the current device operation data.
[0033] The target bank is the specific bank among the participating banks that detects a current knowledge shift exceeding its own historical maximum knowledge shift. The target bank is used to characterize the source of abnormal data distribution drift among the banks. The target bank is used to generate the trigger signal for the federated incremental training of the equipment lifetime prediction model.
[0034] Other banks refer to the banks participating in federated learning, excluding the target bank. These other banks are the recipients of abnormal knowledge offset information. Their current knowledge offset does not exceed their respective historical maximum knowledge offset, meaning their current device operation data remains within the historical normal fluctuation range. Although these other banks themselves do not detect anomalies, by receiving abnormal knowledge offset information broadcast by the target bank, they can collaboratively participate in subsequent federated incremental training to update the device lifetime prediction model from a global perspective, preventing potential future offsets within themselves.
[0035] Anomaly knowledge offset information is a notification broadcast by the target bank to other banks when it detects that its current knowledge offset exceeds the historical maximum knowledge offset. This information informs other participants that a significant data distribution shift has occurred within the federated learning group, and the current device lifetime prediction model may no longer accurately adapt to the data distribution of all participants. The anomaly knowledge offset information serves as a coordination signal to trigger incremental federated training. For example, the content of the anomaly knowledge offset information may include the target bank's current knowledge offset exceeding the corresponding historical maximum knowledge offset, and the target bank's identifier.
[0036] Specifically, when it is detected that the current knowledge offset of any bank exceeds the bank's historical maximum knowledge offset, that bank is identified as the target bank, and the abnormal knowledge offset information is broadcast to other banks using the target bank.
[0037] S103. When abnormal knowledge offset information is detected by each bank terminal, the corresponding current knowledge offset degree is sent to the equipment maintenance service terminal.
[0038] Specifically, when the target bank sends abnormal knowledge offset information, it sends the corresponding current knowledge offset to the equipment maintenance server. Similarly, when other banks receive abnormal knowledge offset information, they also send the corresponding current knowledge offset to the equipment maintenance server.
[0039] S104. Using the equipment maintenance server, the current knowledge offset of each bank is integrated to obtain the current comprehensive offset.
[0040] The current overall offset is used to comprehensively characterize the degree of drift in the global data distribution of federated learning within the current time window. In comparison, the current knowledge offset only reflects the data offset of a single bank within the current time window. The current overall offset reflects the overall data offset of all participants in the entire federated learning process within the current time window.
[0041] Specifically, the equipment maintenance server is used to sum the current knowledge offset of each bank to obtain the current overall offset.
[0042] S105. Using the equipment maintenance server, the equipment life prediction model is federated incrementally trained based on the current comprehensive offset.
[0043] The equipment lifetime prediction model is a federated learning model used to predict the remaining usable life of a device based on the current operational data of the bank. The input data for the equipment lifetime prediction model is the operational data of the device collected by the bank within a certain time window, and the output of the model is the predicted usable life of the bank's equipment.
[0044] Specifically, the equipment maintenance server compares the current overall offset with the historical overall offset from the last time federated incremental training was initiated. If the current overall offset is less than the historical overall offset, federated incremental training of the equipment life prediction model is temporarily suspended, and execution returns to step S101 to continue detecting the current knowledge offset of each bank. If the current overall offset is greater than or equal to the historical overall offset, federated incremental training of the equipment life prediction model is initiated.
[0045] In an optional embodiment of the present invention, an equipment maintenance server is used to perform federated incremental training on the equipment life prediction model based on the current comprehensive offset. This includes: using the equipment maintenance server to compare the current comprehensive offset with the historical comprehensive offset from the last time the federated incremental training was initiated; if the current comprehensive offset is greater than or equal to the historical comprehensive offset, then using the equipment maintenance server to calculate the root mean square error between the predicted equipment life and the actual equipment life output by the equipment life prediction model for each time window from the last completion of the federated incremental training to the end of the current time window, to obtain the current prediction error evaluation value; using the equipment maintenance server to compare the current prediction error evaluation value with the historical maximum prediction error evaluation value; if the current prediction error evaluation value is greater than the historical maximum prediction error evaluation value, then using the equipment maintenance server to trigger federated incremental training on the equipment life prediction model.
[0046] The historical comprehensive offset is the comprehensive offset of each bank's data, calculated and recorded by the equipment maintenance server during the most recent initiation of federated incremental training. The historical comprehensive offset characterizes the degree of global data drift when the automatic federated incremental training of the equipment life prediction model was last triggered. It serves as a preliminary screening criterion for determining whether federated incremental training needs to be initiated this time. The comparison between the current comprehensive offset and the historical comprehensive offset measures the further deterioration of the global data distribution of each bank's data since the last initiation of federated incremental training. If the current comprehensive offset is greater than the historical comprehensive offset, it can be understood that the global drift of each bank's data has been continuously aggravated since the last initiation of federated incremental training, thus necessitating further evaluation of whether to initiate federated incremental training. If the current comprehensive offset is equal to the historical comprehensive offset, it can be understood that the global drift of each bank's data has not improved since the last initiation of federated incremental training and remains at its original level, thus necessitating further evaluation of whether to initiate federated incremental training.
[0047] The predicted equipment lifetime is calculated by inputting the current equipment operating data for each time window between the last completion of federated incremental training and the end of the current time window into the equipment lifetime prediction model. The model outputs an estimate of the remaining lifetime of the bank's equipment for each time window. For example, the predicted equipment lifetime may include predicting the remaining runtime, predicting the failure probability distribution curve, or predicting the equipment health index.
[0048] The actual available life of the equipment is the true remaining available life of the bank's equipment. The actual available life serves as the training, evaluation, and label value for the equipment life prediction model. The actual available life is the true value corresponding to the predicted available life. Optionally, the actual available life can be determined based on the available life recorded in retrospective records after an actual equipment failure or based on the available life stated in a manual maintenance report. The predicted and actual available lifespans are used to calculate the current prediction error assessment value.
[0049] The current prediction error assessment value is the root mean square error between the predicted and actual device lifetime of the device lifetime prediction model from the last completion of federated incremental training to the end of the current time window. This current prediction error assessment value quantifies the degree of performance degradation of the current device lifetime prediction model.
[0050] The historical maximum prediction error assessment value is the highest of all prediction error assessment values calculated across all historical time windows prior to the current time window. This value characterizes the worst performance of the device lifetime prediction model across all historical time windows. The historical maximum prediction error assessment value is the final screening criterion for determining whether federated incremental training should be initiated.
[0051] If the current prediction error assessment value is greater than the historical maximum prediction error assessment value, it can be understood that the inference ability of the current equipment life prediction model has significantly decreased, and incremental training of the longitudinal federated model must be initiated. Conversely, if the current prediction error assessment value is greater than the historical maximum, it indicates that the model's inference ability is still acceptable, and model updates should be postponed.
[0052] Specifically, the equipment maintenance server compares the current overall offset with the historical overall offset from the last time federated incremental training was initiated. If the current overall offset is less than the historical overall offset, federated incremental training of the equipment lifespan prediction model is temporarily suspended, and execution returns to step S101 to continue detecting the current knowledge offset of each bank. If the current overall offset is greater than or equal to the historical overall offset, the equipment maintenance server calculates the root mean square error between the predicted equipment lifespan and the actual equipment lifespan output by the equipment lifespan prediction model for each time window from the last completion of federated incremental training to the end of the current time window, thus obtaining the current prediction error assessment value.
[0053] For example, the current prediction error assessment value can be calculated using the following formula: ; In the formula, This represents the current prediction error assessment value; n is the number of samples for the predicted or actual available lifespan of the equipment. The actual available lifetime of the device is the i-th time window between the last completion of federated incremental training and the end of the current time window. The predicted device lifetime corresponds to the i-th time window between the last completion of federated incremental training and the end of the current time window.
[0054] Specifically, the equipment maintenance server compares the current prediction error assessment value with the historical maximum prediction error assessment value. If the current prediction error assessment value is less than or equal to the historical maximum prediction error assessment value, then the federated incremental training of the equipment life prediction model is temporarily suspended, and execution returns to step S101 to continue detecting the current knowledge offset of each bank. If the current prediction error assessment value is greater than the historical maximum prediction error assessment value, then the federated incremental training of the equipment life prediction model is triggered.
[0055] This solution introduces a prediction error evaluation value as the second condition for the federated incremental training of the self-starting device lifetime prediction model. This effectively distinguishes between two different states: data shift and a substantial decline in model prediction capability. When device operating data experiences a momentary shift due to short-term environmental fluctuations but the model's prediction accuracy remains acceptable, the second prediction error evaluation value can effectively filter out such invalid starts, avoiding waste of computing and communication resources. Incremental training is only triggered when the data shift is severe enough to cause the prediction error to exceed the historical worst level, thus achieving a balance between the accuracy of triggering timing and the consumption of computing resources.
[0056] The technical solution of this invention employs a hippocampus module deployed at each bank terminal to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected within the current time window. When the current knowledge offset of any bank terminal exceeds its historical maximum knowledge offset, the bank terminal is identified as the target bank terminal. The target bank terminal then broadcasts abnormal knowledge offset information to other bank terminals. Upon detecting abnormal knowledge offset information, each bank terminal sends its corresponding current knowledge offset to the device maintenance server. The device maintenance server then processes the information for each bank terminal. The current knowledge bias at the bank's end is aggregated to obtain the current comprehensive bias. Based on the current comprehensive bias, the equipment life prediction model is subjected to federated incremental training. Based on the knowledge bias, the federated incremental training of the equipment life prediction model is automatically triggered, realizing automatic incremental training of the equipment life prediction model. It can perceive and respond to the distribution drift of equipment operation data in real time, effectively avoiding the delay in model update due to human negligence or negotiation delays. This significantly reduces the risk of unplanned equipment downtime during periods of model inaccuracy, reduces the cost of cross-institutional manual communication and coordination, and achieves objectivity and replicability of decision-making standards.
[0057] In an optional embodiment of the present invention, after using the equipment maintenance server to perform federated incremental training on the equipment life prediction model based on the current comprehensive offset, the method further includes: using the equipment maintenance server to distribute the equipment life prediction model after federated incremental training to each bank terminal; using the bank terminal to be tested to predict the target equipment life of the device to be tested based on the updated equipment life prediction model deployed locally, based on the real-time collected equipment operation data of the device to be tested, to obtain the target equipment life of the device to be tested.
[0058] The devices to be tested are bank-end devices for which usable lifetime prediction needs to be performed after the device lifetime prediction model has completed federated incremental training and deployment. These devices are currently operating front-end devices in each bank that have not yet experienced failures. Examples include ATMs, smart teller machines, and queuing systems. The operational data of the devices to be tested is the operational data collected in real-time from the devices during the model inference phase. This operational data characterizes the operational status of the devices. The target usable lifetime is the predicted remaining usable lifetime of the devices to be tested, output by the model after the operational data is input into the federated incrementally trained device lifetime prediction model.
[0059] Specifically, the equipment maintenance server distributes the federated incrementally trained equipment lifespan prediction model to each bank. The bank under test inputs the real-time collected operational data of the equipment under test into the locally deployed updated equipment lifespan prediction model to predict the target equipment lifespan.
[0060] This solution employs a federated incrementally trained device lifetime prediction model to predict the usable lifetime of the devices to be tested. This allows each bank to independently predict the lifetime of the devices based on real-time collected operational data, using an updated model deployed locally. No online collaborative inference is required from the coordinating party. Compared to online collaborative inference solutions, this local inference mode significantly reduces network communication overhead and interaction latency during the inference process. Each bank can complete device lifetime prediction locally in real time, resulting in faster response times. Furthermore, this solution supports banks in offline scenarios such as network restrictions or disconnections, enabling them to continue performing inference tasks normally. This expands the deployment flexibility and application scope of federated learning models in complex operational environments, further enhancing the timeliness and convenience of proactive operational decisions by banks.
[0061] Example 2 Figure 2This is a flowchart of a training method for a device life prediction model provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment further adds the following steps before "federated incremental training of the device life prediction model": "Obtaining current environmental parameters and historical environmental parameters corresponding to each historical version of the device life prediction model; performing similarity matching between the current environmental parameters and each historical environmental parameter to obtain the background deviation distance corresponding to each historical environmental parameter; selecting a target version of the device life prediction model from each historical version of the device life prediction model based on each background deviation distance; predicting the current equipment operating data of each bank based on the target version of the device life prediction model to obtain the available life of the sample equipment; and performing a hot-start initialization of the device life prediction model based on the available life of the sample equipment." By introducing the background deviation distance between the current environmental parameters and historical environmental parameters in the federated incremental training, selecting historical versions of the device life prediction model corresponding to similar environmental parameters, and initializing the device life prediction model, this replaces the existing method of mechanically using the previous version of the model for initialization, effectively avoiding the risk of negative transfer of prior knowledge due to significant differences in environmental conditions. Therefore, the new model obtains the correct cognitive guidance that matches the actual operating environment of the current device from the initial training stage, which significantly improves the prediction accuracy and robustness of the model after incremental updates while accelerating model convergence. It should be noted that parts not described in detail in this embodiment of the invention can be found in the descriptions of other embodiments.
[0062] See Figure 2 The equipment life prediction model training method shown includes: S201. Using the Hippocampus module deployed at each bank, the current knowledge offset of each bank is calculated in real time based on the current device operation data collected in the current time window.
[0063] S202. When it is detected that the current knowledge offset of any bank exceeds the historical maximum knowledge offset of the bank, the bank is identified as the target bank and the abnormal knowledge offset information is broadcast to other banks using the target bank.
[0064] S203. When abnormal knowledge offset information is detected by each bank terminal, the corresponding current knowledge offset degree is sent to the equipment maintenance service terminal.
[0065] S204. Using the equipment maintenance server, the current knowledge offset of each bank is integrated to obtain the current integrated offset.
[0066] S205. Using the equipment maintenance server, based on the current comprehensive offset, obtain the current environmental parameters and the historical environmental parameters corresponding to each historical version of the equipment life prediction model.
[0067] The current environmental parameters are the external environmental conditions collected from the device's operating environment at the moment the federated incremental training is triggered. These parameters may affect device lifespan but are independent of the device's own operating state. In contrast, current device operating data reflects the device's internal working state. This data is a direct feature used by the device lifespan prediction model to predict the device's usable lifespan. The current environmental parameters reflect the external environmental conditions under which the device operates. These parameters may indirectly affect the device's usable lifespan. They are not directly used as input data for the device lifespan prediction model but are instead used to select the most suitable historical version of the model. For example, current environmental parameters may include temperature, humidity, and dust concentration.
[0068] Historical environment parameters are the environmental parameters used when generating each historical version of the device lifetime prediction model. Each historical version has a corresponding set of historical environment parameters. These parameters provide a snapshot of the external environment in which the corresponding historical version of the device lifetime prediction model was trained. These parameters are used to perform similarity matching with the current environment parameters to determine which historical version of the device lifetime prediction model was in an external environment most similar to the current one.
[0069] Historical versions are versions of the equipment lifespan prediction model saved after each federated incremental training iteration. Each historical version has a unique version identifier. After each federated incremental training iteration, a new equipment lifespan prediction model is generated. The old model is not discarded but archived as a historical version for use in warm-start initialization during subsequent training. Optionally, historical environment parameters and historical versions can be stored in the equipment maintenance server. Optionally, the equipment maintenance server can periodically collect historical environment parameters. After each federated incremental training iteration, the corresponding historical version is archived on the equipment maintenance server.
[0070] Specifically, the equipment maintenance server compares the current overall offset with the historical overall offset from the last time federated incremental training was initiated. If the current overall offset is greater than or equal to the historical overall offset, the environmental parameter sensors at the bank end are used to obtain the current environmental parameters, and the historical environmental parameters corresponding to each historical version of the equipment life prediction model are obtained from the hippocampus module at the bank end.
[0071] S206. Using the equipment maintenance server, the current environmental parameters are matched with the historical environmental parameters to obtain the background deviation distance corresponding to each historical environmental parameter.
[0072] Background deviation distance is used to quantitatively assess the overall difference between current environmental parameters and a historical environmental parameter. The smaller the background deviation distance, the more similar the current environment is to the external environment during the training of the historical version of the device lifetime prediction model, and the more suitable the historical version of the device lifetime prediction model is as a starting point for a warm start.
[0073] Specifically, using an equipment maintenance server, the current environmental parameters and each historical environmental parameter are vectorized to obtain the current environmental parameter vector and each historical environmental parameter vector. The Manhattan distance between the current environmental parameter vector and each historical environmental parameter vector is calculated to obtain the background deviation distance corresponding to each historical environmental parameter.
[0074] In an optional embodiment of the present invention, similarity matching is performed between the current environmental parameters and each historical environmental parameter to obtain the background deviation distance corresponding to each historical environmental parameter. This includes: vectorizing the current environmental parameters and each historical environmental parameter to obtain the current environmental parameter vector and each historical environmental parameter vector; calculating the Euclidean distance and cosine distance between the current environmental parameter vector and each historical environmental parameter vector; and combining the Euclidean distance and cosine distance for a single historical environmental parameter to obtain the background deviation distance corresponding to the historical environmental parameter.
[0075] The current environmental parameter vector is the vectorized result of the current environmental parameters. The historical environmental parameter vector is the vectorized result of the historical environmental parameters. Euclidean distance measures the absolute distance between the current and historical environmental parameter vectors in multidimensional space. Euclidean distance reflects the difference in index values between the two sets of environmental parameters. Cosine distance measures the difference in the relative proportional relationship between the current and historical environmental parameter vectors, i.e., the difference in index trends. By comprehensively determining the background deviation distance using both Euclidean and cosine distances, a more comprehensive assessment of environmental similarity can be achieved.
[0076] Specifically, the current environmental parameters and each historical environmental parameter are vectorized to obtain the current environmental parameter vector and the historical environmental parameter vector, respectively. The Euclidean distance and cosine distance between the current environmental parameter vector and each historical environmental parameter vector are then calculated.
[0077] For example, the Euclidean distance between the current environmental parameter vector and the i-th historical environmental parameter vector can be calculated using the following formula: ; In the formula, The Euclidean distance between the current environment parameter vector and the i-th historical environment parameter vector; This is the current environment parameter vector; Let be the i-th historical environmental parameter vector; j is the dimension index of the environmental parameter vector; n is the total number of dimensions of the environmental parameter vector. This represents the value of the current environment parameter vector in the j-th dimension. Let be the value of the i-th historical environment parameter vector in the j-th dimension.
[0078] For example, the cosine similarity between the current environmental parameter vector and each historical environmental parameter vector can be calculated using the following formula: ; In the formula, The cosine similarity between the current environmental parameter vector and the i-th historical environmental parameter vector; This is the current environment parameter vector; Let be the i-th historical environmental parameter vector; j is the dimension index of the environmental parameter vector; n is the total number of dimensions of the environmental parameter vector. This represents the value of the current environment parameter vector in the j-th dimension. Let be the value of the i-th historical environment parameter vector in the j-th dimension.
[0079] For example, the cosine distance between the current environmental parameter vector and the i-th historical environmental parameter vector can be calculated using the following formula: ; In the formula, The cosine distance between the current environment parameter vector and the i-th historical environment parameter vector is the complement of the cosine similarity. This is the current environment parameter vector; This is the vector of historical environment parameters for the i-th time. Let be the cosine similarity between the current environment parameter vector and the i-th historical environment parameter vector.
[0080] Specifically, for a single historical environmental parameter, the Euclidean distance and cosine distance are weighted and summed to obtain the background deviation distance corresponding to the historical environmental parameter.
[0081] For example, the background deviation distance corresponding to the i-th historical environmental parameter can be obtained by weighted summing of the Euclidean distance and the cosine distance using the following formula: ; In the formula, The background deviation distance corresponding to the i-th historical environmental parameter; The Euclidean distance between the current environment parameter vector and the i-th historical environment parameter vector; The cosine distance between the current environment parameter vector and the i-th historical environment parameter vector; This is the current environment parameter vector; Let be the i-th historical environment parameter vector.
[0082] This solution determines the background deviation distance by combining Euclidean and cosine distances, while also considering the similarity of environmental parameters in both numerical magnitude and direction of change. Compared to a single distance metric, the comprehensive distance of this invention more comprehensively and accurately reflects the overall similarity of environmental conditions between two periods, avoiding mismatches caused by similar values but opposite trends, or similar trends but large numerical differences. Therefore, it provides a more accurate similarity judgment basis for selecting the target version model, further improving the adaptation quality of prior knowledge during hot-start initialization.
[0083] S207. Using the equipment maintenance server, based on the background deviation distance, select the target version of the equipment life prediction model from the equipment life prediction models of each historical version.
[0084] The target version is a historical version selected from all historical versions of the device lifetime prediction model that is similar to the current environmental parameters. There must be at least one target version. For example, the target version could be the historical version most similar to the current environmental parameters. The target version of the device lifetime prediction model is used to predict the available lifetime of sample devices based on current device operating data.
[0085] Specifically, using an equipment maintenance server, the target version of the equipment life prediction model is selected from the historical versions of the equipment life prediction model, based on the minimum background deviation distance.
[0086] S208. Using the equipment maintenance server, based on the target version of the equipment life prediction model, the current equipment operation data of each bank is predicted to obtain the available life of the sample equipment.
[0087] The sample equipment lifetime is a preliminary prediction of the available lifetime of equipment obtained by using the target version of the equipment lifetime prediction model to predict the current equipment operating data of each bank. This sample equipment lifetime is not the actual available lifetime of the bank's equipment, but rather a pseudo-label generated by the equipment lifetime prediction model based on historically similar environments. The sample equipment lifetime is used for warm-start initialization of the equipment lifetime prediction model to be trained before starting a new round of federated incremental training. It can be understood that these pseudo-labels are used to initialize the output or parameters of the equipment lifetime prediction model, thereby accelerating model convergence and reducing the number of training epochs.
[0088] Specifically, using the equipment maintenance server, the current equipment operation data of each bank is input into the target version of the equipment life prediction model to obtain the available life of sample equipment for each bank.
[0089] In an optional embodiment of the present invention, the process of selecting a target version of the equipment life prediction model from historical versions of the equipment life prediction model based on the background deviation distance includes: selecting a preset number of historical versions of the equipment life prediction model with smaller background deviation distances to obtain the target version of the equipment life prediction model; correspondingly, based on the target version of the equipment life prediction model, the current equipment operation data of each bank is predicted to obtain the available life of sample equipment, including: for a single target version of the equipment life prediction model, the current equipment operation data of each bank is predicted based on the target version of the equipment life prediction model to obtain the available life of candidate equipment; and the average of the available lifespans of each candidate equipment is calculated to obtain the available life of the sample equipment.
[0090] The preset quantity is the number of target versions to be selected. This preset quantity determines how many historical versions with the smallest background deviation distance should be chosen as target versions. Optionally, the preset quantity can be greater than 1. Candidate device lifetimes are the predicted device lifetimes output by the device lifetime prediction models for each target version. Each target version's device lifetime prediction model generates corresponding candidate device lifetimes. These candidate device lifetimes are aggregated to generate sample device lifetimes. There can be multiple candidate device lifetimes.
[0091] Specifically, a predetermined number of historical versions of equipment life prediction models with small background deviation distances are selected to obtain the target version of the equipment life prediction model. For a single target version of the equipment life prediction model, the current equipment operation data from each bank is input into the target version of the equipment life prediction model to obtain the available life of candidate equipment. The mean of the available life of each candidate equipment is calculated to obtain the available life of the sample equipment.
[0092] This scheme selects a predetermined number of device lifespan prediction models with small background deviation distances and uses the average of the available lifespans of candidate devices output by each model for warm-start initialization. This achieves the fusion and utilization of multi-source optimal adaptation prior knowledge. Compared to initializing with a single historical version closest to the background deviation, this scheme's strategy of fusing multiple historical versions effectively reduces the risk of initialization noise caused by random deviations of individual historical models on specific device subsets. This mechanism can more comprehensively capture the multi-dimensional typical patterns of device lifespan degradation under current environmental conditions, obtaining more robust and stable initial prediction values that are adapted to the current environment in a statistical sense. This further accelerates the convergence speed of the federated incremental training process and improves the prediction accuracy of the final model.
[0093] S209. Using the equipment maintenance server, perform a hot start initialization of the equipment life prediction model based on the available life of the sample equipment.
[0094] Specifically, the equipment maintenance server is used to perform a hot start initialization of the equipment life prediction model based on the available life of the sample equipment, so that the initial output value of the equipment life prediction model is close to the available life of the sample equipment.
[0095] S210. Use an equipment maintenance server to perform federated incremental training on the equipment life prediction model.
[0096] The technical solution of this invention introduces the background deviation distance between current and historical environmental parameters during federated incremental training. It then selects historical versions of equipment life prediction models corresponding to similar environmental parameters and initializes these models. This replaces the existing method of mechanically using the previous version of the model for initialization, effectively avoiding the risk of negative transfer of prior knowledge due to significant differences in environmental conditions. Therefore, the new model obtains the correct cognitive guidance matching the actual operating environment of the current equipment from the initial training stage, significantly improving the prediction accuracy and robustness of the incrementally updated model while accelerating model convergence.
[0097] The existing federated incremental training process for equipment life prediction models suffers from two main problems. First, it's difficult to automate the process of vertically federated incremental learning for equipment life prediction models. Specifically, the decision to initiate a new round of incremental federated learning is made by experts monitoring data changes, analyzing their impact on the model's inference capabilities, and consulting with partner experts. This not only leads to high human and time costs but also delays the opportunity to optimize the model's inference capabilities. Second, vertically federated learning models can only recall the memory of the previous version during incremental learning. However, the previous version and the version to be trained are not necessarily in the same environment. Blindly initializing with knowledge from the previous version can mislead the equipment life prediction model from the outset, gradually guiding its training in the wrong direction. Furthermore, vertically federated learning models cannot initialize with optimized prior knowledge tailored to the current environment during incremental learning.
[0098] To address the first problem mentioned above, based on the above embodiments, the present invention also provides a preferred embodiment of a method for training a device lifespan prediction model. See [link to previous document]. Figure 3 The equipment life prediction model training method shown includes: Step A1: At a certain time t, the hippocampus module of the target bank discovers that its current knowledge offset exceeds the historical maximum knowledge offset.
[0099] Step A2: The target bank broadcasts information about its abnormal knowledge offset exceeding the threshold to other banks via natural language. After receiving the abnormal knowledge offset information, each bank calculates its current knowledge offset in real time and sends it to the equipment maintenance service.
[0100] Step A3: The equipment maintenance server sums the current knowledge offsets of each bank and determines whether the current comprehensive offset is greater than or equal to the historical comprehensive offset when the federated incremental training was last started.
[0101] Step A4: If the target is not met, notify each bank to temporarily suspend federated incremental training and continue to monitor the current knowledge offset. If the target is met or exceeds the historical comprehensive offset when federated incremental training was last started, proceed to step A5.
[0102] Step A5: The equipment maintenance server calculates the mean squared error between all predicted equipment lifespans and their corresponding actual lifespans since the previous version of the equipment lifespan prediction model was trained, obtaining the current prediction error assessment value. This current assessment value is then compared to the historical maximum prediction error assessment value (i.e., the model's worst performance). If the current prediction error exceeds the historical maximum, it indicates a significant decrease in the current equipment lifespan prediction model's inference ability, and incremental training of the longitudinal federated learning model must be initiated. Conversely, if the current model's inference ability is acceptable, model updates should be postponed.
[0103] To address the second issue mentioned above, the hippocampus module of the equipment maintenance server records environmental parameters quarterly. While a random generation method or using the previous version of the equipment lifespan prediction model to predict the equipment's usable lifespan based on current operating data can be used as prior knowledge, the time span between versions can be significant (e.g., one year). The previous model and the current incremental training may occur under vastly different environmental contexts, resulting in two distinct sets of data and labels. Therefore, it is crucial to recall comprehensive prior knowledge, rather than just the most recent prior knowledge. This solution achieves the adaptation and recall of existing prior knowledge by the new equipment lifespan prediction model through the following steps.
[0104] The training method for the equipment life prediction model includes: Step B1: Withdraw from historical time on the bank Starting with the current equipment life prediction model M i Corresponding historical moment The environmental parameter dataset is used to form an environmental parameter matrix. Where m is the number of historical versions of the equipment life prediction model; n is the number of historical environmental parameters recorded in the hippocampus module of the equipment maintenance server.
[0105] Step B2: The bank obtains the current environment parameters and extracts the current environment parameter vector as the background knowledge for this incremental learning, denoted as... .
[0106] Step B3: Transfer the current environment parameter vector Add to environment parameter matrix At the tail, update the environmental parameter matrix. Furthermore, by taking the reciprocal or negative number, the inverse indicators are positiveized.
[0107] Among them, the larger the value of the inverse indicator, the worse the environmental conditions.
[0108] Step B4: Calculate the current environment parameter vectors respectively. Other than m historical environmental parameter vectors The background deviation distance between them.
[0109] The background deviation distance semantically includes both differences in indicator values and differences in indicator trends. Therefore, it is necessary to comprehensively consider both Euclidean distance and cosine distance to form the background deviation distance.
[0110] The background deviation distance can be calculated using the following sub-steps: Step B4-1: Data standardization.
[0111] For example, the following formula can be used to normalize the environmental parameter matrix. Standardize: ; In the formula, For the standardized environmental parameter matrix New elements in; Forwarded environmental parameter matrix The original elements in; Forwarded environmental parameter matrix The mean of a column in the table; Forwarded environmental parameter matrix The standard deviation of a certain column.
[0112] Step B4-2: Calculate the Euclidean distance.
[0113] Here, Euclidean distance represents the distance between the current environmental parameter vector and the historical environmental parameter vector, without considering direction.
[0114] For example, the Euclidean distance between the current environmental parameter vector and the i-th historical environmental parameter vector can be calculated using the following formula: ; In the formula, The Euclidean distance between the current environment parameter vector and the i-th historical environment parameter vector; This is the current environment parameter vector; Let be the i-th historical environmental parameter vector; j is the dimension index of the environmental parameter vector; n is the total number of dimensions of the environmental parameter vector. This represents the value of the current environment parameter vector in the j-th dimension. Let be the value of the i-th historical environment parameter vector in the j-th dimension.
[0115] Step B4-3: Calculate the cosine similarity.
[0116] Cosine similarity represents the difference in direction between the current environmental parameter vector and the historical environmental parameter vector, while ignoring feature values.
[0117] For example, the cosine similarity between the current environmental parameter vector and each historical environmental parameter vector can be calculated using the following formula: ; In the formula, The cosine similarity between the current environmental parameter vector and the i-th historical environmental parameter vector; This is the current environment parameter vector; Let be the i-th historical environmental parameter vector; j is the dimension index of the environmental parameter vector; n is the total number of dimensions of the environmental parameter vector. This represents the value of the current environment parameter vector in the j-th dimension. Let be the value of the i-th historical environment parameter vector in the j-th dimension.
[0118] Step B4-4: Calculate the cosine distance.
[0119] Here, the cosine distance is the complement of the cosine similarity.
[0120] For example, the cosine distance between the current environmental parameter vector and the i-th historical environmental parameter vector can be calculated using the following formula: ; In the formula, The cosine distance between the current environment parameter vector and the i-th historical environment parameter vector is the complement of the cosine similarity. This is the current environment parameter vector; This is the vector of historical environment parameters for the i-th time. Let be the cosine similarity between the current environment parameter vector and the i-th historical environment parameter vector.
[0121] Step B4-5: Calculate the background deviation distance.
[0122] Among them, the background deviation distance is used to comprehensively measure the distance between the current environmental parameter vector and the historical environmental parameter vector in terms of element value and direction.
[0123] For example, the background deviation distance corresponding to the i-th historical environmental parameter can be obtained by weighted summing of the Euclidean distance and the cosine distance using the following formula: ; In the formula, The background deviation distance corresponding to the i-th historical environmental parameter; The Euclidean distance between the current environment parameter vector and the i-th historical environment parameter vector; The cosine distance between the current environment parameter vector and the i-th historical environment parameter vector; This is the current environment parameter vector; Let be the i-th historical environment parameter vector.
[0124] Step B5: The bank selects the target version of the equipment life prediction model corresponding to the K smallest background deviation distances and performs background knowledge fusion. Here, K is a hyperparameter, which is set during the initialization of the first version of the equipment life prediction model.
[0125] For example, firstly, the selected K target versions of the equipment life prediction model are used to infer and predict the current equipment operating data to obtain the available life of candidate equipment. Then, the average available life of each candidate equipment (i.e., the available life of the sample equipment) is used as the initial knowledge for the new equipment life prediction model. The new equipment life prediction model will completely store all the knowledge of the target versions. Using this knowledge as prior knowledge for subsequent training not only enhances the robustness of the equipment life prediction model and accelerates convergence, but also avoids the problem of the equipment life prediction model going astray due to incorrect prior knowledge.
[0126] This solution introduces a hippocampus module as the intelligent memory unit for federated continuous learning across various banking and equipment maintenance service ends. This module is responsible for calculating and recording important data and parameters within different time windows, laying the foundation for self-starting incremental training and prior knowledge mining and adaptation. Regarding the conditions under which the equipment lifespan prediction model should begin longitudinal federated incremental training, the decision-making process is no longer reliant on data monitoring and repeated discussions among experts from various participating parties. Instead, the decision is made directly by the banking end in collaboration with the hippocampus module, saving significant manpower costs while accurately identifying key time points for continuous optimization of the equipment lifespan prediction model. The equipment maintenance service end queries a target version of the equipment lifespan prediction model with similar environmental parameters. Using this target version, it predicts the current equipment operating data and uses it as initialization knowledge for the upcoming incremental learning of the equipment lifespan prediction model. This allows for accurate guidance of the new model's training direction and leverages prior knowledge to improve the new model's performance.
[0127] Example 3 Figure 4 This is a schematic diagram of a device for training a device for predicting device lifespan, as provided in Embodiment 3 of the present invention. This embodiment of the invention is applicable to situations involving automatic federated incremental training of a device lifespan prediction model. The device can execute the device lifespan prediction model training method and can be implemented in hardware and / or software. The device can be configured in an electronic device that carries the device lifespan prediction model training function, such as a client or server.
[0128] See Figure 4 The equipment life prediction model training device shown includes: a current knowledge offset calculation module 401, an abnormal knowledge offset information broadcasting module 402, a current knowledge offset summarization module 403, a current comprehensive offset generation module 404, and a federated incremental training module 405. The system includes the following modules: a current knowledge offset calculation module 401, which uses the hippocampus module deployed at each bank to calculate the current knowledge offset of each bank in real time based on the current device operation data collected by each bank in the current time window; an abnormal knowledge offset information broadcasting module 402, which identifies the bank as the target bank when the current knowledge offset of any bank exceeds the bank's historical maximum knowledge offset, and broadcasts the abnormal knowledge offset information to other banks using the target bank; a current knowledge offset aggregation module 403, which sends the corresponding current knowledge offset to the equipment maintenance server when abnormal knowledge offset information is detected at each bank; a current comprehensive offset generation module 404, which uses the equipment maintenance server to aggregate the current knowledge offsets of each bank to obtain the current comprehensive offset; and a federated incremental training module 405, which uses the equipment maintenance server to perform federated incremental training on the equipment life prediction model based on the current comprehensive offset.
[0129] The technical solution of this invention employs a hippocampus module deployed at each bank terminal to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected within the current time window. When the current knowledge offset of any bank terminal exceeds its historical maximum knowledge offset, the bank terminal is identified as the target bank terminal. The target bank terminal then broadcasts abnormal knowledge offset information to other bank terminals. Upon detecting abnormal knowledge offset information, each bank terminal sends its corresponding current knowledge offset to the device maintenance server. The device maintenance server then processes the information for each bank terminal. The current knowledge bias at the bank's end is aggregated to obtain the current comprehensive bias. Based on the current comprehensive bias, the equipment life prediction model is subjected to federated incremental training. Based on the knowledge bias, the federated incremental training of the equipment life prediction model is automatically triggered, realizing automatic incremental training of the equipment life prediction model. It can perceive and respond to the distribution drift of equipment operation data in real time, effectively avoiding the delay in model update due to human negligence or negotiation delays. This significantly reduces the risk of unplanned equipment downtime during periods of model inaccuracy, reduces the cost of cross-institutional manual communication and coordination, and achieves objectivity and replicability of decision-making standards.
[0130] In an optional embodiment of the present invention, the federated incremental training module 405 includes: a comprehensive offset comparison unit, used to compare the current comprehensive offset with the historical comprehensive offset from the last time the federated incremental training was started, using the equipment maintenance server; a current prediction error evaluation value detection unit, used to calculate the root mean square error between the predicted available equipment life and the actual available equipment life output by the equipment life prediction model for each time window from the last completion of federated incremental training to the end time of the current time window, using the equipment maintenance server, to obtain the current prediction error evaluation value; a prediction error evaluation value comparison unit, used to compare the current prediction error evaluation value with the historical maximum prediction error evaluation value, using the equipment maintenance server; and a federated incremental training trigger unit, used to trigger the federated incremental training of the equipment life prediction model using the equipment maintenance server, if the current prediction error evaluation value is greater than the historical maximum prediction error evaluation value.
[0131] In an optional embodiment of the present invention, the current knowledge offset calculation module 401 includes: a start-end hash digest generation unit, used to perform hash calculations on the current device running data corresponding to the start time and end time of the current time window using the hippocampus module deployed at each bank, to obtain the start hash digest corresponding to the start time and the end hash digest corresponding to the end time of each bank; and a current knowledge offset calculation unit, used to calculate the Hamming distance between the start hash digest and the end hash digest corresponding to each bank using the hippocampus module deployed at the bank, to obtain the current knowledge offset of each bank.
[0132] In an optional embodiment of the present invention, the device further includes: an environmental parameter acquisition module, used to acquire current environmental parameters and historical environmental parameters corresponding to each historical version of the equipment life prediction model before performing federated incremental training on the equipment life prediction model; a background deviation distance generation module, used to perform similarity matching between the current environmental parameters and each historical environmental parameter to obtain the background deviation distance corresponding to each historical environmental parameter; an equipment life prediction model filtering module, used to filter the target version of the equipment life prediction model from each historical version of the equipment life prediction model according to each background deviation distance; a sample equipment available life prediction module, used to predict the current equipment operation data of each bank based on the target version of the equipment life prediction model to obtain the sample equipment available life; and an equipment life prediction model initialization module, used to perform hot start initialization of the equipment life prediction model according to the sample equipment available life.
[0133] In an optional embodiment of the present invention, the background deviation distance generation module includes: an environmental parameter vectorization unit, used to vectorize the current environmental parameter and each historical environmental parameter respectively to obtain the current environmental parameter vector and each historical environmental parameter vector; an environmental parameter matching unit, used to calculate the Euclidean distance and cosine distance between the current environmental parameter vector and each historical environmental parameter vector respectively; and a background deviation distance generation unit, used to combine the Euclidean distance and cosine distance for a single historical environmental parameter to obtain the background deviation distance corresponding to the historical environmental parameter.
[0134] In an optional embodiment of the present invention, the equipment life prediction model screening module includes: an equipment life prediction model screening unit, used to screen a preset number of historical versions of equipment life prediction models with small background deviation distances to obtain a target version of the equipment life prediction model; correspondingly, the sample equipment available life prediction module includes: a candidate equipment available life prediction unit, used to predict the current equipment operation data of each bank based on the target version of the equipment life prediction model to obtain the candidate equipment available life; and a sample equipment available life prediction unit, used to calculate the average of the available life of each candidate equipment to obtain the sample equipment available life.
[0135] In an optional embodiment of the present invention, the apparatus includes: an equipment life prediction model distribution module, used to distribute the federated incrementally trained equipment life prediction model to each bank terminal after performing federated incremental training on the equipment life prediction model based on the current comprehensive offset using the equipment maintenance server; and a target equipment available life detection module, used to predict the target equipment available life of the tested equipment based on the updated equipment life prediction model deployed locally using the bank terminal to be tested, based on the real-time collected equipment operation data of the tested equipment, to obtain the target equipment available life of the tested equipment.
[0136] The equipment life prediction model training device provided in this embodiment of the invention can execute the equipment life prediction model training method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0137] In the technical solutions of this invention, the information collected is information and data authorized by the user or fully authorized by all parties. The collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data all comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entry points for users to choose to authorize or refuse.
[0138] Example 4 According to embodiments of the present invention, the present invention also provides an electronic device, a readable storage medium, and a computer program product.
[0139] Figure 5A schematic diagram of an electronic device 500 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0140] like Figure 5 As shown, the electronic device 500 includes at least one processor 501 and a memory, such as a read-only memory 502 or a random access memory 503, communicatively connected to the at least one processor 501. The memory stores computer programs executable by the at least one processor. The processor 501 can perform various appropriate actions and processes based on the computer program stored in the read-only memory 502 or loaded from storage unit 508 into the random access memory 503. The random access memory 503 can also store various programs and data required for the operation of the electronic device 500. The processor 501, read-only memory 502, and random access memory 503 are interconnected via a bus 504. An input / output interface 505 is also connected to the bus 504.
[0141] Multiple components in electronic device 500 are connected to input / output interface 505, including: input unit 506, such as keyboard, mouse, etc.; output unit 507, such as various types of monitors, speakers, etc.; storage unit 508, such as disk, optical disk, etc.; and communication unit 509, such as network card, modem, wireless transceiver, etc. Communication unit 509 allows electronic device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0142] Processor 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 501 include, but are not limited to, central processing units, graphics processing units, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any suitable processor, controller, microcontroller, etc. Processor 501 performs the various methods and processes described above, such as device lifetime prediction model training methods.
[0143] In some embodiments, the device lifetime prediction model training method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 500 via read-only memory 502 and / or communication unit 509. When the computer program is loaded into random access memory 503 and executed by processor 501, one or more steps of the device lifetime prediction model training method described above may be performed. Alternatively, in other embodiments, processor 501 may be configured to execute the device lifetime prediction model training method by any other suitable means (e.g., by means of firmware).
[0144] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays, application-specific integrated circuits (ASICs), application-specific standard products (ASICs), systems-on-a-chip (SoCs), complex programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0145] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0146] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0147] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube or liquid crystal display monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0148] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0149] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system. This addresses the shortcomings of traditional physical hosts and virtual private servers, such as high management difficulty and weak business scalability.
[0150] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0151] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for training a device life prediction model, characterized in that, The method includes: The hippocampus module deployed at each bank terminal is used to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected at the current time window. When it is detected that the current knowledge offset of any of the banks exceeds the historical maximum knowledge offset of the bank, the bank is identified as the target bank and the abnormal knowledge offset information is broadcast to other banks using the target bank. When the abnormal knowledge offset information is detected by each of the aforementioned bank terminals, the corresponding current knowledge offset is sent to the equipment maintenance service terminal. Using the equipment maintenance server, the current knowledge offset of each bank is integrated to obtain the current integrated offset; Using the aforementioned equipment maintenance server, the equipment life prediction model is subjected to federated incremental training based on the current comprehensive offset.
2. The method according to claim 1, characterized in that, The step of using the equipment maintenance server to perform federated incremental training on the equipment life prediction model based on the current comprehensive offset includes: Using the aforementioned equipment maintenance server, the current overall offset is compared with the historical overall offset from the last time federated incremental training was initiated; If the current comprehensive offset is greater than or equal to the historical comprehensive offset, then the equipment maintenance server is used to calculate the mean square error between the predicted available life of the equipment and the actual available life of the equipment output by the equipment life prediction model for each time window from the last completion of federated incremental training to the end time of the current time window, and obtain the current prediction error evaluation value. The current prediction error assessment value is compared with the historical maximum prediction error assessment value using the equipment maintenance server. If the current prediction error assessment value is greater than the historical maximum prediction error assessment value, then the equipment maintenance server is used to trigger federated incremental training of the equipment life prediction model.
3. The method according to claim 1, characterized in that, The method employs a hippocampus module deployed at each bank terminal to calculate the current knowledge offset of each bank terminal in real time based on the current device operation data collected within the current time window, including: Using the Hippocampus module deployed at each bank, hash calculations are performed on the current device operation data corresponding to the start and end times of the current time window to obtain the start hash digest and the end hash digest corresponding to the end time for each bank. Using the hippocampal module deployed on the bank's end, the Hamming distance between the starting hash digest and the ending hash digest corresponding to each bank's end is calculated to obtain the current knowledge offset of each bank's end.
4. The method according to claim 1, characterized in that, Prior to the federated incremental training of the equipment lifetime prediction model, the following is also included: Obtain the current environmental parameters and the historical environmental parameters corresponding to each historical version of the equipment life prediction model; The current environmental parameters are matched with each of the historical environmental parameters to obtain the background deviation distance corresponding to each of the historical environmental parameters. Based on the background deviation distances described above, the target version of the equipment life prediction model is selected from the historical versions of the equipment life prediction model. Based on the target version of the equipment life prediction model, the current equipment operation data of each bank is predicted to obtain the available life of the sample equipment. Based on the available lifespan of the sample equipment, the equipment lifespan prediction model is initialized with a hot start.
5. The method according to claim 4, characterized in that, The step of performing similarity matching between the current environmental parameters and each of the historical environmental parameters to obtain the background deviation distance corresponding to each of the historical environmental parameters includes: The current environmental parameters and each of the historical environmental parameters are vectorized respectively to obtain the current environmental parameter vector and the vector of each historical environmental parameter; Calculate the Euclidean distance and cosine distance between the current environmental parameter vector and each of the historical environmental parameter vectors, respectively. For a single historical environmental parameter, the Euclidean distance and the cosine distance are combined to obtain the background deviation distance corresponding to the historical environmental parameter.
6. The method according to claim 4, characterized in that, The step of selecting the target version of the equipment life prediction model from the historical versions of the equipment life prediction models based on the background deviation distance includes: By selecting a predetermined number of historical versions of the equipment life prediction model with smaller background deviation distances, the target version of the equipment life prediction model is obtained. Accordingly, the device lifespan prediction model based on the target version predicts the current device operating data of each bank to obtain the available lifespan of the sample devices, including: For a single target version of the device life prediction model, based on the target version of the device life prediction model, the current device operation data of each bank terminal is predicted to obtain the available life of candidate devices; The mean of the available lifetime of each candidate device is calculated to obtain the available lifetime of the sample device.
7. The method according to claim 1, characterized in that, After the equipment maintenance service terminal performs federated incremental training on the equipment life prediction model based on the current comprehensive offset, the method further includes: Using the aforementioned equipment maintenance server, the equipment life prediction model, after federal incremental training, is distributed to each of the aforementioned banks. Using the bank terminal under test, based on the updated equipment life prediction model deployed locally, the real-time collected operating data of the equipment under test is used to predict the target available life of the equipment under test.
8. A training device for a equipment life prediction model, characterized in that, The device includes: The current knowledge offset calculation module is used to calculate the current knowledge offset of each bank in real time based on the current device operation data collected by each bank in the current time window using the hippocampus module deployed at each bank. The abnormal knowledge offset information broadcasting module is used to identify the bank as the target bank when it is detected that the current knowledge offset of any of the banks exceeds the historical maximum knowledge offset of the bank, and to broadcast abnormal knowledge offset information to other banks using the target bank. The current knowledge offset summary module is used by each of the aforementioned banks to send the corresponding current knowledge offset to the equipment maintenance service terminal when the abnormal knowledge offset information is detected. The current comprehensive offset generation module is used to integrate the current knowledge offsets of each of the banks using the equipment maintenance server to obtain the current comprehensive offset. The federated incremental training module is used to perform federated incremental training on the equipment life prediction model based on the current comprehensive offset using the equipment maintenance server.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the device lifetime prediction model training method according to any one of claims 1-7.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the equipment lifetime prediction model training method according to any one of claims 1-7.
