A fault prediction method, device, storage medium and server

By receiving and analyzing the usage status information of electronic locks, filtering electronic lock information from the same batch based on production identification, predicting fault types and determining fault locations, the problem of passive electronic locks being unable to be upgraded quickly is solved, achieving rapid upgrades and improved maintenance efficiency.

CN116938679BActive Publication Date: 2026-11-27SHENZHEN KAICONN INNOVATIVE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310762434.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2026-11-27
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

In existing technologies, when a passive electronic lock malfunctions, it is impossible to quickly identify the fault risk of other electronic locks in the same batch, making it impossible to achieve a unified upgrade.

Method used

By receiving usage status information sent by electronic devices, filtering electronic lock information from the same batch based on production identifiers, predicting fault types and determining fault locations, and using a cloud platform for analysis and rapid upgrades.

Benefits of technology

It enables fault risk prediction and rapid upgrades for the same batch of electronic locks, improving the maintenance efficiency and security of electronic locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116938679B_ABST
    Figure CN116938679B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a fault prediction method and device, a storage medium and a server. The method comprises: receiving use state information about a target electronic lock sent by an electronic device, the use state information comprising target electronic lock use sub-information and a target electronic lock production identifier; determining, based on the target electronic lock production identifier, other electronic lock production identifiers of other electronic locks that match the target electronic lock production identifier; screening, from the received use state information, other use state information comprising the other electronic lock production identifiers; predicting a fault type based on the other electronic lock use sub-information included in the other use state information and the target electronic lock use sub-information; and determining a fault location that has a mapping relationship with the fault type. The use state information is used for prediction analysis, thereby predicting the fault type and the corresponding fault location, for rapid upgrading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and specifically to a fault prediction method, apparatus, computer-readable storage medium, and server. Background Technology

[0002] An electronic lock is an electronic product that uses a password input to control a circuit or chip (access control system), thereby controlling the opening and closing of a mechanical switch to complete the unlocking and locking tasks. There are many types, ranging from simple circuit products to cost-effective chip-based products. Currently, the most widely used electronic combination locks are chip-based and implemented through programming. In the field of security technology, electronic combination locks with burglar alarm functions have replaced traditional mechanical combination locks, overcoming the shortcomings of mechanical combination locks such as limited password possibilities and poor security performance, significantly improving the technology and performance of combination locks.

[0003] In the process of researching and practicing the prior art, the inventors of this application discovered that when the passive electronic lock of the prior art malfunctions, it is impossible to know whether other electronic locks in the same production batch also have the risk of malfunction, and it is impossible to achieve rapid upgrade when all electronic locks in the same batch have the risk of malfunction. Summary of the Invention

[0004] This application provides a fault prediction method, apparatus, computer-readable storage medium, and server, which can predict the fault risk of electronic locks and enable rapid upgrades of electronic locks in the same batch.

[0005] To address the aforementioned technical problems, this application provides the following technical solutions: A fault prediction method, comprising: Receive usage status information about the target electronic lock sent by an electronic device, the usage status information including the target electronic lock usage sub-information and the target electronic lock production identifier; Based on the target electronic lock production identifier, determine the other electronic lock production identifiers of other electronic locks that match the target electronic lock production identifier; From the received usage status information, filter out other usage status information that includes the production identifier of the other electronic locks; Based on the other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information, the fault type is predicted; Identify the fault location that has a mapping relationship with the fault type.

[0006] A fault prediction method, comprising: In response to an unlocking control operation for the target electronic lock, the system receives usage status information sent by the target electronic lock, the usage status information including target electronic lock usage sub-information and target electronic lock production identifier; The usage status information is sent to the cloud platform corresponding to the target electronic lock, triggering the cloud platform to predict the fault type based on the target electronic lock usage sub-information and target electronic lock production identifier included in the usage status information.

[0007] A fault prediction device, comprising: The receiving module is used to receive usage status information about the target electronic lock sent by the electronic device. The usage status information includes usage sub-information of the target electronic lock and the production identifier of the target electronic lock. The first determining module is used to determine, based on the target electronic lock production identifier, other electronic lock production identifiers that match the target electronic lock production identifier; The filtering module is used to filter out other usage status information, including the production identifier of the other electronic locks, from the received usage status information; The prediction module is used to predict the fault type based on the other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information; The second determining module is used to determine the fault location that has a mapping relationship with the fault type.

[0008] In some embodiments, the apparatus further includes: The lookup module is used to find the target usage status information, including the production identifier of the target electronic lock, from the stored usage status information; The update module is used to update the target electronic lock usage sub-information included in the usage status information into the target usage status information.

[0009] In some embodiments, the electronic lock uses sub-information including the current battery level of the electronic lock, and the prediction module includes: The first acquisition submodule is used to acquire the target current battery value included in the target electronic lock usage sub-information, and to acquire other current battery values ​​included in the other electronic lock usage sub-information; The first calculation submodule is used to calculate the average value of the target current battery value and the other current battery values ​​to obtain the average battery value; The first determining submodule is used to determine the abnormality type as an abnormality type of battery value if the average battery value is less than a preset battery value. The second determining submodule is used to determine, based on the mapping relationship between the abnormality type and the fault type, the fault type corresponding to the abnormal power value is a capacitor fault type.

[0010] In some embodiments, the second determining module includes: The third determining submodule is used to determine the fault location corresponding to the capacitor fault type as the capacitor based on the mapping relationship between the fault type and the fault location. In some embodiments, the electronic lock uses sub-information including the locking and unlocking time of the electronic lock, and a prediction module includes: The second acquisition submodule is used to acquire the target lock switching time included in the target electronic lock usage sub-information, and to acquire the other lock switching time included in the other electronic lock usage sub-information; The second calculation submodule is used to calculate the average of the target switch lock consumption time and the other switch lock consumption times to obtain the average switch lock consumption time; The fourth determination submodule is used to determine the abnormality type as a lock / switch abnormality type if the lock / switch consumption time exceeds the preset lock / switch consumption time. The fifth determination submodule is used to determine the fault type corresponding to the switch lock abnormality type as the switch mechanism fault type based on the mapping relationship between abnormality type and fault type.

[0011] In some embodiments, the second determining module includes: The sixth determination submodule is used to determine the fault location corresponding to the fault type of the switching mechanism as the switching mechanism based on the mapping relationship between the fault type and the fault location.

[0012] A computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to perform the steps in the fault prediction method described above.

[0013] A server includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the steps in the fault prediction method described above.

[0014] This application embodiment receives usage status information about a target electronic lock sent by an electronic device. This usage status information includes usage sub-information of the target electronic lock and a production identifier of the target electronic lock. Based on the target electronic lock's production identifier, it identifies other electronic lock production identifiers that match the target electronic lock's production identifier. From the received usage status information, it filters out other usage status information that includes the other electronic lock's production identifier. Based on the other electronic lock's usage sub-information and the target electronic lock's usage sub-information included in the other usage status information, it predicts the fault type. Finally, it identifies the fault location that has a mapping relationship with the fault type. In this way, the electronic device sends the usage status information of the electronic lock to a cloud platform. The cloud platform determines the usage status information of electronic locks from the same production batch based on the production identifier and performs predictive analysis on the usage status information to predict fault types and corresponding fault locations, enabling rapid upgrades and replacements. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1a This is a schematic diagram of a scenario for the fault prediction method provided in the embodiments of this application.

[0017] Figure 1b This is a flowchart illustrating the fault prediction method provided in an embodiment of this application.

[0018] Figure 2 This is a schematic diagram of the structure of the fault prediction device provided in the embodiments of this application; Figure 3 This is a schematic diagram of the server structure provided in an embodiment of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0020] This application provides a fault prediction method, apparatus, computer-readable storage medium, and server.

[0021] Please see Figure 1a , Figure 1aThis is a schematic diagram of the fault prediction system provided in this application embodiment. The system may include at least one electronic device 1000, an electronic lock 2000, a network 3000, and at least one server 4000. The electronic device 1000 can be a computer device such as a mobile phone, tablet, or personal digital assistant. At least one transmission module, such as a near-field communication (NFC) module or a Bluetooth module, is installed on the electronic device 1000. Various business applications, such as interactive applications, game applications, and image viewing applications, may also be installed on the electronic device 1000. The electronic lock 2000 includes at least one transmission module, such as an NFC module or a Bluetooth module. It also includes a chip, a lock cylinder shell, a lock cylinder, an external limit stop, an unlocking drive circuit, a locking device, an unlocking drive device, an energy storage module, and a power processing module. The user controls the electronic lock 2000 through the electronic device 1000 to perform the locking and unlocking functions. Each time the lock is opened or closed, the electronic lock 2000 transmits its current usage status information to the electronic device 1000 through the transmission module, and the electronic device 1000 forwards the usage status information to the corresponding server 4000 through the network 3000.

[0022] This application provides a fault prediction method, which can be executed by a server. For example... Figure 1a As shown, the server 4000 receives usage status information about a target electronic lock sent by an electronic device. This usage status information includes the target electronic lock's usage sub-information and its production identifier. Based on the target electronic lock's production identifier, it identifies other electronic lock production identifiers that match the target electronic lock's production identifier. From the received usage status information, it filters out other usage status information that includes the other electronic lock's production identifier. Based on the other electronic lock's usage sub-information and the target electronic lock's usage sub-information included in the other usage status information, it predicts the fault type. It then determines the fault location that has a mapping relationship with the fault type. In this way, the electronic device sends the usage status information of the electronic lock to the cloud platform. The cloud platform determines the usage status information of electronic locks from the same production batch based on the production identifier and performs predictive analysis on the usage status information to predict fault types and corresponding fault locations, enabling rapid upgrades and replacements.

[0023] It should be noted that, Figure 1a The schematic diagram of the fault prediction system shown is merely an example. The fault prediction system and scenarios described in this application are intended to more clearly illustrate the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of fault prediction systems and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

[0024] In this embodiment, the description will be from the perspective of a fault prediction device, which can be integrated into an electronic device that has a storage unit and a microprocessor and thus computing power.

[0025] Please see Figure 1b , Figure 1b This is a flowchart illustrating the fault prediction method provided in an embodiment of this application. The fault prediction method includes: In step 101, the user receives usage status information about the target electronic lock sent by the electronic device. The usage status information includes the target electronic lock usage sub-information and the target electronic lock production identifier.

[0026] In this system, users control the electronic lock through electronic devices to enable the locking and unlocking functions. Each time the lock is opened or closed, the electronic lock transmits its current usage status information to the electronic device via a transmission module, and the electronic device then forwards the usage status information to the corresponding server via the network.

[0027] Specifically, the usage status information includes sub-information about the electronic lock, such as battery power consumption, charge / discharge cycles, lock / unlock status, and data transmission status. It also includes the electronic lock's manufacturing identifier. This identifier can be a string of letters and / or numbers, such as ABC12345XXX.

[0028] In step 102, based on the target electronic lock production identifier, other electronic lock production identifiers that match the target electronic lock production identifier are determined.

[0029] In the production of electronic locks, which are typically manufactured in batches, locks from the same batch often share the same or matched production identification codes. Therefore, the production identification codes of other electronic locks produced in the same batch as the target lock can be used to determine their individual production identification codes.

[0030] Specifically, based on the target electronic lock's production identifier, the method for determining the production identifiers of other electronic locks that match the target electronic lock's production identifier can be as follows: If the electronic locks in the same batch have the same production identifier, then directly search for the production identifiers of other electronic locks whose production identifier is the target electronic lock's production identifier. If the electronic locks in the same batch match a certain segment of the identification code in their production identifiers, for example, if the target electronic lock's production identifier is "ABC12345XXX", and the default identification codes of electronic locks produced in the same batch have the same English part, then filter out the English part "ABC" from "ABC12345XXX", and use "ABC" to find other electronic locks whose production identifiers include the English part "ABC".

[0031] In some embodiments, after the step of receiving the usage status information of the target electronic lock sent by the electronic device, the method further includes: (1) Find the target usage status information, including the production identifier of the target electronic lock, from the stored usage status information; (2) Update the target electronic lock usage sub-information included in the usage status information to the target usage status information.

[0032] In order to facilitate the subsequent analysis of the usage status information of electronic locks produced in the same batch, it can be set that when the usage status information of an electronic lock is received, the historical electronic lock usage sub-information stored in the corresponding usage status information of the electronic lock is updated to the electronic lock usage sub-information received this time.

[0033] In step 103, other usage status information, including other electronic lock production identifiers, is filtered out from the received usage status information.

[0034] This application stipulates that each electronic lock uploads its usage status information via the user's electronic device when it is opened or closed. Therefore, after identifying the production identifiers of other electronic locks, the application can filter out other usage status information that includes the production identifiers of other electronic locks from the received usage status information, that is, filter out other usage status information uploaded by other electronic locks produced in the same batch as the target electronic lock.

[0035] In step 104, the fault type is predicted based on other usage status information, including other electronic lock usage sub-information and target electronic lock usage sub-information.

[0036] Since the hardware or software used in the same batch of production are the same, it is possible to predict some types of failures that may occur during the production of this batch based on other usage status information, including other electronic lock usage sub-information and target electronic lock usage sub-information.

[0037] In some implementations, the electronic lock usage sub-information includes the current battery level of the electronic lock. The step of predicting the fault type based on other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information includes: (1) Obtain the target current power value included in the target electronic lock usage sub-information, and obtain the other current power values ​​included in the other electronic lock usage sub-information; (2) Calculate the average value of the target current power value and the other current power values ​​to obtain the average power value; (3) If the average power value is less than the preset power value, the abnormality type is determined to be the power value abnormality type; (4) Based on the mapping relationship between abnormality type and fault type, the fault type corresponding to the abnormal power value is determined to be the capacitor fault type.

[0038] The electronic lock usage sub-information includes the current battery level of the electronic lock when it is locked or unlocked. Therefore, the target current battery level of the target electronic lock usage sub-information and other current battery levels of the other electronic lock usage sub-information can be obtained. The average battery level of the target current battery level and the other current battery levels is calculated. If the average battery level is less than a preset battery level, the abnormality type is determined to be a battery level abnormality type. Based on the mapping relationship between abnormality type and fault type, the fault type corresponding to the battery level abnormality type is determined to be a capacitor fault type.

[0039] For example, if the target current battery level is 50%, and other current battery levels are 40%, 30%, 60%, and 30%, then the average battery level is (50+40+30+60+30) / 5=42%. If the preset battery level is 60%, it indicates that this batch of electronic locks is consuming power quickly, and the anomaly type is determined to be a battery level anomaly. Based on the pre-established mapping relationship between anomaly types and fault types, the fault type causing the battery level anomaly is a capacitor fault.

[0040] In some implementations, the electronic lock usage sub-information includes the lock opening and closing time. The step of predicting the fault type based on other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information includes: (1) Obtain the target lock switching time included in the target electronic lock usage sub-information, and obtain the other lock switching time included in the other electronic lock usage sub-information; (2) Calculate the average time consumed by the target switch lock and the other switch locks to obtain the average switch lock consumption time; (3) If the lock switching time exceeds the preset lock switching time, the abnormality type is determined to be a lock switching abnormality type; (4) Based on the mapping relationship between the abnormal type and the fault type, the fault type corresponding to the abnormal type of the switch lock is determined to be the fault type of the switch mechanism.

[0041] The electronic lock usage sub-information includes the lock-on / lock-off time consumed during the locking and unlocking process. Therefore, the target lock-on / lock-off time included in the target electronic lock usage sub-information, as well as the other lock-on / lock-off times included in the other electronic lock usage sub-information, can be obtained. The average lock-on / lock-off time is calculated by averaging the target lock-on / lock-off time and the other lock-on / lock-off times. If the average lock-on / lock-off time exceeds a preset lock-on / lock-off time, the abnormality type is determined to be a lock-on / lock-off abnormality type. Based on the mapping relationship between abnormality types and fault types, the fault type corresponding to the lock-on / lock-off abnormality type is determined to be a switch mechanism fault type.

[0042] For example, if the target switch / lock consumption time is 3 seconds, and other current battery values ​​are 5 seconds, 6 seconds, 2 seconds, and 10 seconds, then the average battery value is (3+5+6+2+10) / 5 = 5.2 seconds. If the preset switch / lock consumption time is 3 seconds, it indicates that the electronic switch / lock consumption time in this batch is relatively long, and the anomaly type is determined to be a switch / lock anomaly. From the pre-established mapping relationship between anomaly types and fault types, the fault type causing the switch / lock anomaly will be a switch mechanism fault type.

[0043] In step 105, the fault location that has a mapping relationship with the fault type is determined.

[0044] After predicting the fault type, the system can determine which corresponding fault parts are caused by different fault types based on the pre-established mapping relationship between fault types and fault parts, thereby enabling rapid repair or replacement of the fault parts.

[0045] In some implementations, the step of determining the fault location that is mapped to the fault type includes: Based on the mapping relationship between fault type and fault location, the fault location corresponding to the capacitor fault type is determined to be the capacitor.

[0046] The cause of the capacitor failure type is the capacitor itself. Therefore, based on the mapping relationship between the failure type and the failure location, the failure location corresponding to the capacitor failure type is determined to be the capacitor.

[0047] Specifically, regarding the capacitor issue, we can replace the capacitors in this batch of electronic locks by changing the capacitor supplier.

[0048] In some implementations, the step of determining the fault location that is mapped to the fault type includes: Based on the mapping relationship between fault type and fault location, the fault location corresponding to the fault type of the switching mechanism is determined to be the switching mechanism.

[0049] The cause of the switch mechanism failure is a fault in the switch mechanism itself. Therefore, based on the mapping relationship between the failure type and the failure location, the failure location corresponding to the failure type of the switch mechanism is determined to be the switch mechanism.

[0050] Specifically, regarding the switch mechanism issue, alternative switch mechanisms can be procured from different suppliers to replace the switches in this batch of electronic locks. Alternatively, the switch mechanism can be repaired or improved to remedy the problem.

[0051] In some embodiments, this application also provides a fault prediction method, including: (1) In response to an unlocking control operation for the target electronic lock, receive usage status information sent by the target electronic lock, wherein the usage status information includes the target electronic lock usage sub-information and the target electronic lock production identifier; (2) Send the usage status information to the cloud platform corresponding to the target electronic lock, and trigger the cloud platform to predict the fault type based on the target electronic lock usage sub-information and target electronic lock production identifier included in the usage status information.

[0052] In this fault prediction method, the user's electronic device is used. When the user unlocks the target electronic lock through the electronic device, the electronic device responds to the unlocking control operation of the target electronic lock by receiving the usage status information sent by the target electronic lock. The usage status information includes the target electronic lock usage sub-information and the target electronic lock production identifier. The electronic device then sends the usage status information to the cloud platform corresponding to the target electronic lock, triggering the cloud platform to predict the fault type based on the target electronic lock usage sub-information and the target electronic lock production identifier included in the usage status information.

[0053] As described above, this embodiment of the application receives usage status information about a target electronic lock sent by an electronic device. This usage status information includes usage sub-information of the target electronic lock and a production identifier of the target electronic lock. Based on the production identifier of the target electronic lock, it determines the production identifiers of other electronic locks that match the target electronic lock's production identifier. From the received usage status information, it filters out other usage status information that includes the production identifiers of the other electronic locks. Based on the usage sub-information of the other electronic locks included in the other usage status information and the usage sub-information of the target electronic lock, it predicts the fault type. Finally, it determines the fault location that has a mapping relationship with the fault type. In this way, the electronic device sends the usage status information of the electronic lock to a cloud platform. The cloud platform determines the usage status information of electronic locks from the same production batch based on the production identifier and performs predictive analysis on the usage status information to predict the fault type and the corresponding fault location, enabling rapid upgrades and replacements.

[0054] Based on the methods described in the above embodiments, the following examples will provide further detailed explanations.

[0055] To facilitate better implementation of the fault prediction method provided in the embodiments of this application, the embodiments of this application also provide an apparatus based on the above-described fault prediction method. The meanings of the terms used are the same as in the fault prediction method described above, and specific implementation details can be found in the descriptions within the method embodiments.

[0056] Please see Figure 2 , Figure 2 This is a schematic diagram of the structure of a fault prediction device provided in an embodiment of this application. The fault prediction device is applied to an electronic device with a graphics processor and may include a receiving module 201, a first determining module 202, a filtering module 203, a prediction module 204, and a second determining module 205, etc.

[0057] The receiving module 201 is used to receive usage status information about the target electronic lock sent by the electronic device. The usage status information includes usage sub-information of the target electronic lock and the production identifier of the target electronic lock. The first determining module 202 is used to determine, based on the target electronic lock production identifier, other electronic lock production identifiers that match the target electronic lock production identifier; The filtering module 203 is used to filter out other usage status information, including the production identifier of the other electronic locks, from the received usage status information; Prediction module 204 is used to predict the fault type based on the other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information; The second determining module 205 is used to determine the fault location that has a mapping relationship with the fault type.

[0058] In some embodiments, the apparatus further includes: The lookup module is used to find the target usage status information, including the production identifier of the target electronic lock, from the stored usage status information; The update module is used to update the target electronic lock usage sub-information included in the usage status information into the target usage status information.

[0059] In some embodiments, the electronic lock uses sub-information including the current battery level of the electronic lock, and the prediction module includes: The first acquisition submodule is used to acquire the target current battery value included in the target electronic lock usage sub-information, and to acquire other current battery values ​​included in the other electronic lock usage sub-information; The first calculation submodule is used to calculate the average value of the target current battery value and the other current battery values ​​to obtain the average battery value; The first determining submodule is used to determine the abnormality type as an abnormality type of battery value if the average battery value is less than a preset battery value. The second determining submodule is used to determine, based on the mapping relationship between the abnormality type and the fault type, the fault type corresponding to the abnormal power value is a capacitor fault type.

[0060] In some embodiments, the second determining module includes: The third determining submodule is used to determine the fault location corresponding to the capacitor fault type as the capacitor based on the mapping relationship between the fault type and the fault location. In some embodiments, the electronic lock uses sub-information including the locking and unlocking time of the electronic lock, and a prediction module includes: The second acquisition submodule is used to acquire the target lock switching time included in the target electronic lock usage sub-information, and to acquire the other lock switching time included in the other electronic lock usage sub-information; The second calculation submodule is used to calculate the average of the target switch lock consumption time and the other switch lock consumption times to obtain the average switch lock consumption time; The fourth determination submodule is used to determine the abnormality type as a lock / switch abnormality type if the lock / switch consumption time exceeds the preset lock / switch consumption time. The fifth determination submodule is used to determine the fault type corresponding to the switch lock abnormality type as the switch mechanism fault type based on the mapping relationship between abnormality type and fault type.

[0061] In some embodiments, the second determining module includes: The sixth determination submodule is used to determine the fault location corresponding to the fault type of the switching mechanism as the switching mechanism based on the mapping relationship between the fault type and the fault location.

[0062] As described above, this embodiment of the application receives usage status information about a target electronic lock sent by an electronic device via a receiving module 201. This usage status information includes the target electronic lock's usage sub-information and its production identifier. A first determining module 202, based on the target electronic lock's production identifier, determines the production identifiers of other electronic locks that match the target electronic lock's production identifier. A filtering module 203 filters out other usage status information that includes the production identifiers of the other electronic locks from the received usage status information. A prediction module 204 predicts the fault type based on the other electronic lock usage sub-information and the target electronic lock's usage sub-information included in the other usage status information. A second determining module 205 determines the fault location that has a mapping relationship with the fault type. Thus, the electronic device sends the usage status information of the electronic lock to a cloud platform. The cloud platform determines the usage status information of electronic locks from the same production batch based on the production identifier and performs predictive analysis on the usage status information to predict the fault type and corresponding fault location, enabling rapid upgrades and replacements.

[0063] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0064] Accordingly, this application also provides a server, which can be a terminal or a server, and the terminal can be a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Figure 3 As shown, Figure 3 This is a schematic diagram of the server structure provided in an embodiment of this application. The server 4000 includes a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 and the memory 402 are electrically connected. Those skilled in the art will understand that the server structure shown in the figure does not constitute a limitation on the server, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0065] The processor 401 is the control center of the server 4000. It connects various parts of the server 4000 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it performs various functions of the server 4000 and processes data, thereby monitoring the server 4000 as a whole.

[0066] In this embodiment, the processor 401 in the server 4000 loads the instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and the processor 401 runs the applications stored in the memory 402 to achieve various functions: The system receives usage status information about a target electronic lock sent by an electronic device. The usage status information includes usage sub-information of the target electronic lock and a production identifier of the target electronic lock. Based on the production identifier of the target electronic lock, it determines the production identifiers of other electronic locks that match the production identifier of the target electronic lock. From the received usage status information, it filters out other usage status information that includes the production identifiers of the other electronic locks. Based on the usage sub-information of the other electronic locks included in the other usage status information and the usage sub-information of the target electronic lock, it predicts the fault type. It then determines the fault location that has a mapping relationship with the fault type.

[0067] In some embodiments, after the step of receiving the usage status information of the target electronic lock sent by the electronic device, the method further includes: Retrieve the target usage status information, including the production identifier of the target electronic lock, from the stored usage status information; Update the target electronic lock usage sub-information, which is included in the usage status information, to the target usage status information.

[0068] In some implementations, the electronic lock usage sub-information includes the current battery level of the electronic lock. The step of predicting the fault type based on other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information includes: Obtain the target current battery level, which is included in the target electronic lock usage sub-information, and obtain other current battery levels, which are included in the other electronic lock usage sub-information. Calculate the average of the target current battery value and the other current battery values ​​to obtain the average battery value; If the average battery level is less than the preset battery level, the abnormality type is determined to be a battery level abnormality type. Based on the mapping relationship between abnormality type and fault type, the fault type corresponding to the abnormal power value is determined to be a capacitor fault type.

[0069] In some implementations, the step of determining the fault location that is mapped to the fault type includes: Based on the mapping relationship between fault type and fault location, the fault location corresponding to the capacitor fault type is determined to be the capacitor.

[0070] In some implementations, the electronic lock usage sub-information includes the lock opening and closing time. The step of predicting the fault type based on other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information includes: The target electronic lock usage sub-information includes the target lock opening and closing time, and the other electronic lock usage sub-information includes the other lock opening and closing times. Calculate the average time consumed by the target switch lock and the average time consumed by the other switches locks to obtain the average time consumed by the switch lock; If the lock / unlock time exceeds the preset lock / unlock time, the abnormality type is determined to be a lock / unlock abnormality type. Based on the mapping relationship between abnormality type and fault type, the fault type corresponding to the abnormality type of the switch lock is determined to be the fault type of the switch mechanism.

[0071] In some implementations, the step of determining the fault location that is mapped to the fault type includes: Based on the mapping relationship between fault type and fault location, the fault location corresponding to the fault type of the switching mechanism is determined to be the switching mechanism.

[0072] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0073] Optional, such as Figure 3 As shown, the server 4000 also includes: a touch display screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407. Those skilled in the art will understand that... Figure 3 The server structure shown does not constitute a limitation on the server and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0074] The touch display screen 403 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 403 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the server. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 401. It can also receive and execute commands from the processor 401. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 401 to determine the type of touch event. Subsequently, the processor 401 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 403 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 403 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 403 can also be used as part of the input unit 406 to achieve input functions.

[0075] In this embodiment, a game application is executed by processor 401 to generate a graphical user interface (GUI) on touch display screen 403. The virtual scene on the GUI includes at least one skill control area, and the skill control area includes at least one skill control. The touch display screen 403 is used to present the GUI and receive operation commands generated by the user interacting with the GUI.

[0076] The radio frequency circuit 404 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other servers, and to transmit and receive signals with network devices or other servers.

[0077] Audio circuitry 405 can be used to provide an audio interface between the user and the server via a speaker and a microphone. Audio circuitry 405 converts received audio data into electrical signals, transmits them to the speaker, and the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 405, converted back into audio data, and then processed by processor 401 before being transmitted via radio frequency circuitry 404 to, for example, another server, or output to memory 402 for further processing. Audio circuitry 405 may also include an earphone jack to facilitate communication between peripheral headphones and the server.

[0078] The input unit 406 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0079] Power supply 407 is used to power the various components of server 4000. Optionally, power supply 407 can be logically connected to processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 407 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0080] although Figure 3 As not shown in the diagram, the server 4000 may also include a camera, sensors, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0081] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0082] As described above, the server provided in this embodiment receives usage status information about a target electronic lock sent by an electronic device. This usage status information includes the target electronic lock's usage sub-information and production identifier. Based on the target electronic lock's production identifier, it determines the production identifiers of other electronic locks that match the target electronic lock's production identifier. From the received usage status information, it filters out other usage status information that includes the production identifiers of the other electronic locks. Based on the other usage status information including the other electronic lock's usage sub-information and the target electronic lock's usage sub-information, it predicts the fault type. Finally, it determines the fault location that has a mapping relationship with the fault type. Thus, the electronic device sends the usage status information of the electronic lock to the cloud platform. The cloud platform determines the usage status information of electronic locks from the same production batch based on the production identifier and performs predictive analysis on the usage status information to predict the fault type and the corresponding fault location, enabling rapid upgrades and replacements.

[0083] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0084] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a processor to execute steps in any of the control methods provided in the embodiments of this application. For example, the computer program can execute the following steps: The system receives usage status information about a target electronic lock sent by an electronic device. The usage status information includes usage sub-information of the target electronic lock and a production identifier of the target electronic lock. Based on the production identifier of the target electronic lock, it determines the production identifiers of other electronic locks that match the production identifier of the target electronic lock. From the received usage status information, it filters out other usage status information that includes the production identifiers of the other electronic locks. Based on the usage sub-information of the other electronic locks included in the other usage status information and the usage sub-information of the target electronic lock, it predicts the fault type. It then determines the fault location that has a mapping relationship with the fault type.

[0085] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0086] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0087] Since the computer program stored in the storage medium can execute the steps in any of the fault prediction methods provided in the embodiments of this application, the beneficial effects that any of the fault prediction methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0088] The above provides a detailed description of a fault prediction method, apparatus, storage medium, and server provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A fault prediction method, executed by a server, characterized in that, include: Receive usage status information about the target electronic lock sent by an electronic device, the usage status information including the target electronic lock usage sub-information and the target electronic lock production identifier; Based on the target electronic lock production identifier, determine the other electronic lock production identifiers of other electronic locks that match the target electronic lock production identifier; From the received usage status information, filter out other usage status information that includes the production identifier of the other electronic locks; Based on the other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information, the fault type is predicted; Identify the fault location that has a mapping relationship with the fault type; Wherein, when the electronic lock usage sub-information includes the current battery level of the electronic lock, the step of predicting the fault type based on other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information includes: Obtain the target current battery value, which is included in the target electronic lock usage sub-information, and obtain other current battery values, which are included in the other electronic lock usage sub-information; Calculate the average of the target current battery value and the other current battery values ​​to obtain the average battery value; If the average battery level is less than the preset battery level, the abnormality type is determined to be a battery level abnormality type. Based on the mapping relationship between abnormality type and fault type, the fault type corresponding to the abnormal power value is determined to be a capacitor fault type; Wherein, when the electronic lock usage sub-information includes the lock opening and closing time, the step of predicting the fault type based on other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information includes: The target electronic lock usage sub-information includes the target lock opening and closing time, and the other electronic lock usage sub-information includes the other lock opening and closing times. Calculate the average time consumed by the target switch lock and the average time consumed by the other switches locks to obtain the average time consumed by the switch lock; If the lock / unlock time exceeds the preset lock / unlock time, the abnormality type is determined to be a lock / unlock abnormality type. Based on the mapping relationship between abnormality type and fault type, the fault type corresponding to the abnormality type of the switch lock is determined to be the fault type of the switch mechanism.

2. The fault prediction method according to claim 1, characterized in that, Following the step of receiving usage status information about the target electronic lock sent by the electronic device, the method further includes: Retrieve the target usage status information, including the production identifier of the target electronic lock, from the stored usage status information; Update the target electronic lock usage sub-information, which is included in the usage status information, to the target usage status information.

3. The fault prediction method according to claim 1, characterized in that, The step of determining the fault location that has a mapping relationship with the fault type includes: Based on the mapping relationship between fault type and fault location, the fault location corresponding to the capacitor fault type is determined to be the capacitor.

4. The fault prediction method according to claim 1, characterized in that, The step of determining the fault location that has a mapping relationship with the fault type includes: Based on the mapping relationship between fault type and fault location, the fault location corresponding to the fault type of the switching mechanism is determined to be the switching mechanism.

5. A fault prediction method, executed by an electronic device, characterized in that, include: In response to an unlocking control operation for the target electronic lock, the system receives usage status information sent by the target electronic lock, the usage status information including target electronic lock usage sub-information and target electronic lock production identifier; The usage status information is sent to the cloud platform corresponding to the target electronic lock, triggering the cloud platform to execute the fault prediction method as described in claim 1.

6. A fault prediction device, characterized in that, include: The receiving module is used to receive usage status information about the target electronic lock sent by the electronic device. The usage status information includes usage sub-information of the target electronic lock and the production identifier of the target electronic lock. The first determining module is used to determine, based on the target electronic lock production identifier, other electronic lock production identifiers that match the target electronic lock production identifier; The filtering module is used to filter out other usage status information, including the production identifier of the other electronic locks, from the received usage status information; The prediction module is used to predict the fault type based on the other electronic lock usage sub-information included in the other usage status information and the target electronic lock usage sub-information; The second determining module is used to determine the fault location that has a mapping relationship with the fault type; The electronic lock uses sub-information including the current battery level of the electronic lock, and the prediction module includes: The first acquisition submodule is used to acquire the target current battery value included in the target electronic lock usage sub-information, and to acquire other current battery values ​​included in the other electronic lock usage sub-information; The first calculation submodule is used to calculate the average value of the target current battery value and the other current battery values ​​to obtain the average battery value; The first determining submodule is used to determine the abnormality type as an abnormality type of battery value if the average battery value is less than a preset battery value. The second determining submodule is used to determine, based on the mapping relationship between the abnormality type and the fault type, the fault type corresponding to the abnormal power value is a capacitor fault type. The electronic lock uses sub-information including the lock opening and closing time, and the prediction module includes: The second acquisition submodule is used to acquire the target lock switching time included in the target electronic lock usage sub-information, and to acquire the other lock switching time included in the other electronic lock usage sub-information; The second calculation submodule is used to calculate the average of the target switch lock consumption time and the other switch lock consumption times to obtain the average switch lock consumption time; The fourth determination submodule is used to determine the abnormality type as a lock / switch abnormality type if the lock / switch consumption time exceeds the preset lock / switch consumption time. The fifth determination submodule is used to determine the fault type corresponding to the switch lock abnormality type as the switch mechanism fault type based on the mapping relationship between abnormality type and fault type.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to perform the steps of the fault prediction method according to any one of claims 1 to 5.

8. A server, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the fault prediction method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Fault detection method for intelligent door lock, intelligent door lock and storage medium

    CN109937584A

  • Diode performance prediction method and system based on production data

    CN116307405A