Lock fault identification method, device, system, electronic device and storage medium thereof

Through the communication between the lock fault identification equipment and the control center and the server, the query and display of lock function status information is realized, which solves the difficulty of identifying shared vehicle lock faults, improves the accuracy and adaptability of fault identification, and reduces the risk of vehicle failure. Union and repair costs.

CN115410291BActive Publication Date: 2024-08-23BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210373054.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-26
Filing Date
2022-04-11
Publication Date
2024-08-23
Estimated Expiration
2042-04-11

AI Technical Summary

Technical Problem

It is difficult to identify faults in shared vehicle locks, which results in the reuse of some faulty locks increasing the risk of vehicle loss, and misdiagnosing repairs of some non-faulty locks increasing maintenance costs.

Method used

Through the communication between the lock fault identification equipment and the control center and server, it sends function detection instructions, queries and displays the function status information of the lock, and realizes the rapid identification of multiple fault categories.

Benefits of technology

The adaptability and accuracy of lock fault identification are improved, and the risk of vehicle loss and maintenance costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115410291B_ABST
    Figure CN115410291B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a lock fault identification method, device, system, electronic device and storage medium thereof. According to the solution provided by the embodiments of the present application, the lock fault identification device is connected to the lock through an interface and sends a corresponding function detection instruction to the lock, so that the lock can forward its own identification and the function detection instruction to the server, and the server queries the status of the relevant function of the lock, thereby generating function status information and returning it to the lock, and then the lock can return the function status information to the lock fault identification device and display it in a visual interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a lock fault identification method, device, system, electronic device and storage medium thereof. Background Art

[0002] With the popularity of shared vehicles, the number of vehicles put into use has also increased rapidly, which inevitably leads to situations where locks fail and need maintenance. When faced with dismantled locks, operation and maintenance personnel can only determine whether the locks are normal based on appearance and manual testing of the lock switch function, which has great limitations in fault classification. This has led to some faulty locks being put into use repeatedly, increasing the risk of vehicle loss and asset loss; and some non-faulty locks have been mistakenly judged to need repair, which has also increased repair costs.

[0003] Based on this, a lock fault identification solution with wider adaptability is needed. Summary of the invention

[0004] In view of this, an embodiment of the present application provides a fault identification solution for a solution lock to at least partially solve the above-mentioned problem.

[0005] According to the first aspect of an embodiment of the present application, a lock fault identification method is provided, which is applied to a lock fault identification device, wherein the lock fault identification device is connected to a control center of the lock, and the method comprises: sending a function detection instruction to the control center, so that the control center sends an identification of the lock and the function detection instruction and forwards it to a server; receiving function status information sent by the control center, wherein the function status information is obtained by the server based on the identification of the lock and the function detection instruction, and the function status information is used to characterize the status of each function corresponding to the function detection instruction; and displaying the function status information in a visual interface.

[0006] According to the second aspect of an embodiment of the present application, another lock fault identification method is provided, which is applied to a control center of a lock, and the control center is connected to a lock fault identification device, and the method includes: receiving a function detection instruction sent by the lock fault identification device; obtaining an identification of the lock, sending the identification of the lock and the function detection instruction to a server, so that the server performs information query based on the function detection instruction and the identification of the lock and generates function status information, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; receiving the function status information returned by the server; sending the function status information to the lock fault identification device, so that the lock fault identification device displays the function status information in a visual interface.

[0007] According to the third aspect of an embodiment of the present application, there is provided another method for identifying a lock fault, which is applied to a server, and the server is network-connected to a control center of the lock. The method comprises: receiving an identification and a function detection instruction of the lock sent by the control center; querying and acquiring function status information of the lock according to the identification and the function detection instruction of the lock, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; and sending the function status information to the control center.

[0008] According to a fourth aspect of an embodiment of the present application, a lock fault identification system is provided, comprising: a lock fault identification device, sending a function detection instruction to a control center of the lock; the control center, connected to the lock fault identification device, receiving the function detection instruction, obtaining an identification of the lock, sending the identification of the lock and the function detection instruction to a server; the server, connected to the control center, performing information query according to the function detection instruction and the identification of the lock to obtain function status information, and sending the function status information to the control center, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; the control center, sending the function status information to the lock fault identification device; the lock fault identification device, displaying the function status information in a visual interface.

[0009] Corresponding to the first aspect, according to the fifth aspect of the embodiment of the present application, a lock fault identification device is provided, which is applied to a lock fault identification device, and the lock fault identification device is connected to the control center of the lock, and the device includes: a second sending module, sending a function detection instruction to the control center, so that the control center sends the lock identification and the function detection instruction to forward to the server; a second receiving module, receiving function status information sent by the control center, wherein the function status information is obtained by the server based on the lock identification and the function detection instruction, and the function status information is used to characterize the status of each function corresponding to the function detection instruction; a display module, displaying the function status information in a visual interface.

[0010] Corresponding to the second aspect, according to the sixth aspect of the embodiment of the present application, another lock fault identification device is provided, which is applied to the control center of the lock, and the control center is connected to the lock fault identification device, and the device includes: a first receiving module, receiving the function detection instruction sent by the lock fault identification device; a first sending module, obtaining the identification of the lock, sending the identification of the lock and the function detection instruction to the server, so that the server performs information query according to the function detection instruction and the identification of the lock; the first receiving module, receiving the function status information returned by the server, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; the first sending module, sending the function status information to the lock fault identification device, so that the lock fault identification device displays the function status information in a visual interface.

[0011] Corresponding to the third aspect, according to the seventh aspect of the embodiment of the present application, there is provided another lock fault identification device, which is applied to a server, and the server network is connected to the control center of the lock, and the device includes: a third receiving module, which receives the lock identification and function detection instructions sent by the control center; a query module, which queries and obtains the functional status information of the lock according to the lock identification and function detection instructions, wherein the functional status information is used to characterize the status of each function corresponding to the function detection instruction; a third sending module, which sends the functional status information to the control center.

[0012] According to an eighth aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the lock fault identification method as described in the first aspect, the second aspect, or the third aspect is implemented.

[0013] According to a ninth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the lock fault identification method as described in the first aspect, the second aspect or the third aspect is implemented.

[0014] According to a tenth aspect of an embodiment of the present application, a computer program product is provided, comprising computer instructions, wherein the computer instructions instruct a computing device to execute the lock fault identification method as described in the first aspect, the second aspect or the third aspect.

[0015] According to the solution provided in the embodiment of the present application, the lock fault identification device is connected to the lock through an interface and sends a corresponding function detection instruction to the lock, so that the lock can forward its own identification and the function detection instruction to the server, and the server queries the status of the relevant functions of the lock, thereby generating function status information and returning it to the lock, and then the lock can return the function status information to the lock fault identification device and display it in a visual interface, thereby realizing rapid identification of various fault categories of the lock and having wider adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0017] Figure 1 A schematic diagram of the architecture of a system involved in an embodiment of the present application;

[0018] Figure 2a A schematic flow chart of a lock fault identification method provided in an embodiment of the present application;

[0019] Figure 2b A schematic diagram of a test interface in a lock fault identification device provided in an embodiment of the present application;

[0020] Figure 2c Schematic diagram of a split lock and a lock fault identification device provided in an embodiment of the present application

[0021] Figure 2d A schematic diagram of a connection between a horseshoe lock and a lock fault identification device provided in an embodiment of the present application;

[0022] Figure 3 A flowchart of another lock fault identification method provided in an embodiment of the present application;

[0023] Figure 4 A schematic flow chart of another lock fault identification method provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of the structure of a lock fault identification device provided in an embodiment of the present application;

[0025] Figure 6 A schematic diagram of the structure of another lock fault identification device provided in an embodiment of the present application;

[0026] Figure 7A schematic diagram of the structure of another lock fault identification device provided in an embodiment of the present application;

[0027] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.

[0029] At present, if the lock of a shared vehicle is judged to be faulty (it may be that the lock reports a related fault itself, the user reports a fault, or the server determines that the fault is faulty), the maintenance personnel need to pull it back and disassemble it for maintenance. After the faulty lock is returned to the warehouse, the maintenance and operation personnel can only make basic judgments and distinctions based on the appearance of the faulty lock and manually test the lock switch. There is no effective detection method to detect whether other related functions (including functions such as communication, power, speakers, etc.) are normal. Based on this, the embodiments of the present application provide a more adaptable fault identification solution.

[0030] like Figure 1 As shown, Figure 1 The schematic diagram of the system architecture involved in the embodiment of the present application. The system includes a lock fault identification device, a lock and a server. The lock fault identification device is connected to the lock control center through the relevant interface in the lock, and the lock control center and the server maintain communication. The specific implementation of the embodiment of the present application is further described below in conjunction with the accompanying drawings of the embodiment of the present application.

[0031] Regarding the first aspect of the embodiment of the present application, that is, the lock fault identification device, as shown in FIG. Figure 2a As shown, Figure 2a A flow chart of a lock fault identification method provided in an embodiment of the present application is applied to a lock fault identification device, wherein the lock fault identification device is connected to a lock control center, and the method specifically includes:

[0032] S201, sending a function detection instruction to the control center, so that the control center sends the lock identifier and the function detection instruction to the server.

[0033] The lock fault identification device may include a visual interface. For example, a corresponding test application may be built into the lock fault identification device, and a user may open the test application to display a test interface, and display related functions to be tested in the test interface.

[0034] Thus, the user can select relevant functions in the test interface based on the buttons / touch screen (which can be a touch screen or touch buttons or physical buttons, not a touch screen) provided by the lock fault identification device. Figure 2b As shown, Figure 2b A schematic diagram of a test interface in a lock fault identification device provided in an embodiment of the present application.

[0035] The user selects and confirms the corresponding function (including but not limited to power, network, GPS, speaker, switch lock, etc.) in the visual interface, so that the corresponding function detection instruction is generated in the lock fault identification device. After receiving the function detection instruction, the lock control center sends the lock identification and the function detection instruction to the server.

[0036] The function detection instruction may be an instruction corresponding to one function, or may be a function detection instruction corresponding to multiple functions. For example, the function detection instruction may be a function detection instruction requiring detection of the "positioning" function, or may be a function detection instruction requiring detection of the "positioning, battery and communication" functions. Alternatively, the function detection instruction may be three function detection instructions requiring detection of "positioning," "communication" and "battery" respectively.

[0037] S203: Receive function status information sent by the control center.

[0038] The function status information is obtained by the server based on the lock identification and the function detection instruction, and the function status information is used to characterize the status of each function corresponding to the function detection instruction. In addition, the lock fault identification device can also receive the test status information sent back by the lock control center when testing the function locally.

[0039] Specifically, after receiving the function detection instruction and the lock identification, the server can query information based on the lock identification from the historical database.

[0040] It should be noted that in the scenarios involved in the embodiments of the present application, the locks are generally found to have some kind of fault during use by the user and reported (although such fault reporting is not very accurate), or the control center can also regularly report its own relevant status information (including the status of functions such as speakers and batteries), and the server can store the reported information. In other words, the relevant functional status of the lock can be stored in the historical database of the server. As shown in Table 1, Table 1 is a historical status table of the lock functions that may be stored in a server provided in the embodiments of the present application.

[0041] Table 1 Historical status table of lock functions

[0042] Lock logo Battery communication position speaker unlock Lock 20550 OK OK OK OK OK NG 20551 OK NG OK OK OK OK …… …… …… …… …… …… ……

[0043] Furthermore, the server can determine which function status information needs to be returned based on the function detection instruction. For example, if the function detection instruction indicates that the "positioning, communication and speaker" functions need to be detected, the server can query the battery and communication functions based on the pre-stored relevant information, and for the positioning function, it may be possible to temporarily initiate a positioning test in sequence to determine the number of satellites connected to the positioning module in the lock. If the number of satellites exceeds a certain value (for example, 3), the positioning function of the lock is considered to be normal.

[0044] The function status information finally obtained by the query may be in the form of "positioning: OK; communication: NG; speaker: OK", that is, the function status information corresponds to the status of each function corresponding to the function detection instruction.

[0045] S205: Display the function status information in a visual interface.

[0046] like Figure 2b As shown, for different states of functions (normal or abnormal), the lock fault identification device can be directly displayed in the visual interface. Specifically, normal functions and abnormal functions can be displayed by different colors or texts.

[0047] For example, on the terminal screen, the function can be set to display green for normal function and red for abnormal function; or the function can be displayed as normal text directly, and the function can be displayed as abnormal text directly. Other display methods are not enumerated, and different methods of distinguishing different states are all acceptable.

[0048] According to the solution provided in the embodiment of the present application, the lock fault identification device is connected to the lock through an interface and sends a corresponding function detection instruction to the lock, so that the lock can forward its own identification and the function detection instruction to the server, and the server queries the status of the relevant functions of the lock, thereby generating function status information and returning it to the lock, and then the lock can return the function status information to the lock fault identification device and display it in a visual interface, thereby realizing rapid identification of various fault categories of the lock and having wider adaptability.

[0049] In one embodiment, the lock fault identification device displays multiple function options to be tested in a visual interface to allow the user to select; or the test application can be set to automatic detection, thereby generating function detection instructions that correspond one-to-one to the function options displayed in the visual interface to meet the actual needs of maintenance personnel.

[0050] In one embodiment, the function detection instruction sent by the lock fault identification device may include a secret key. For example, the function detection instruction may be encrypted based on the private key of the lock fault identification device to obtain the encrypted function detection instruction, and the server may decrypt the instruction based on the public key corresponding to the private key to obtain the original unencrypted function detection instruction. Thus, the server may verify the legitimacy of the secret key, and return information indicating the legitimacy of the function detection instruction to the control center of the lock after the verification is passed, so that the control center will return the function status information to the lock fault identification device only after receiving the information. In this way, the security of the instructions during the test process can be guaranteed, and the lock may be opened at will due to the leakage of the test instructions.

[0051] In the embodiment of the present application, the functions corresponding to the function detection instruction include at least one of positioning, battery, network, opening / closing the lock or speaker. Of course, in fact, since the function of the lock is not limited to this, there may be more other functions.

[0052] In one embodiment, if the lock is a split lock, that is, the control center of the lock is not directly connected to the switch part of the lock, at this time, the lock fault identification device needs to be connected to the lock fault identification device through the solar serial port and the lock's gate line interface respectively, wherein the lock's gate line interface connection is used to detect the open / close lock function of the split lock.

[0053] In actual applications, the solar serial port of the lock often provides the function of communicating with peripherals. The lock control center can transmit relevant function detection instructions and information through the solar serial port and the lock fault identification device; at the same time, the lock's gate line interface can be connected to the lock fault identification device to detect the switch lock part of the split lock. Figure 2c As shown, Figure 2cThis is a schematic diagram of a connection between a split lock and a lock fault identification device provided in an embodiment of the present application. The two parties can realize the corresponding connection and subsequent communication functions by plugging each other through corresponding interfaces.

[0054] When the lock is a horseshoe lock, that is, the lock control center is connected to the switch part of the lock, then the lock fault identification device only needs to be connected to the lock control center through the lock's solar serial port. The lock control center can return whether the switch lock part of the horseshoe lock is normal to the lock fault identification device. Figure 2d As shown, Figure 2d A schematic diagram of the connection between a horseshoe lock and a lock fault identification device provided in an embodiment of the present application.

[0055] Regarding the second aspect of the embodiment of the present application, that is, the control center of the lock, as shown in FIG. Figure 3 As shown, Figure 3 A flow chart of another lock fault identification method provided in an embodiment of the present application is applied to a lock control center, wherein the control center is connected to a lock fault identification device, and the method includes:

[0056] S301, receiving a function detection instruction sent by the lock fault identification device.

[0057] The received function detection instruction may be an instruction corresponding to one function, or may be a function detection instruction corresponding to multiple functions. For example, the function detection instruction may be a function detection instruction requiring detection of the "positioning" function, or may be a function detection instruction requiring detection of the "positioning, battery and communication" functions. Alternatively, the function detection instruction may be three function detection instructions requiring detection of "positioning," "communication" and "battery" respectively.

[0058] S303, obtaining the lock identifier, sending the lock identifier and the function detection instruction to the server.

[0059] In this process, the control center of the lock will not verify or parse the function detection instruction, and the forwarding process is a transparent transmission process.

[0060] After receiving the function detection instruction and the lock identification, the server can query information based on the lock identification from the historical database.

[0061] It should be noted that in the scenario involved in the embodiment of the present application, the lock is generally found to have a certain fault during use by the user and reported (although such fault reporting is not very accurate), or the control center can also regularly report its own relevant status information (including the status of functions such as speakers and batteries), and the server can store the reported information. In other words, the relevant functional status of the lock can be stored in the historical database of the server, and the details can be seen in the description of Table 1 above.

[0062] Furthermore, the server can determine which function status information needs to be returned based on the function detection instruction. This can be seen in the above description of step S203, which will not be repeated here.

[0063] S305, receiving the function status information returned by the server.

[0064] S307: Send the function status information to the lock fault identification device, so that the lock fault identification device displays the function status information in a visual interface.

[0065] In one embodiment, the lock control center can also test the various functions indicated in the function detection instruction locally in the lock to obtain test status information. The test status information also represents the status of each function corresponding to the function detection instruction. Thus, the lock control center can simultaneously return the test status information and the function status information to the lock fault identification device, so that the lock fault identification device can make a fault judgment based on a combination of various information.

[0066] In addition, it should be noted that the test status information of the lock does not necessarily need to include the status of all functions indicated in the function detection instruction, because the status of some functions cannot be tested locally on the lock. For example, for the positioning function, the lock itself may be able to perform positioning, but it is difficult to know whether the positioning function of the lock is normal by relying solely on the local test of the lock, and this function often requires the support of the server; for example, whether the lock's identification is accurate, whether the system version used in the lock's control center is the latest, etc., these cannot be tested solely by relying on the local functions of the lock. Therefore, for the test status information, it may only include some functions that can be tested for normality locally on the lock that correspond to the function detection instruction.

[0067] In one embodiment, the server also needs to verify whether the function detection instruction is legal. Specifically, the lock fault identification device may include a certain secret key in the function detection instruction when sending the function detection instruction, and the server may verify the legitimacy of the secret key. For example, the secret key of the lock fault identification device may be a function detection instruction encrypted based on the private key of the lock fault identification device itself, and the server may decrypt the unencrypted function detection instruction based on the public key corresponding to the private key of the lock fault identification device. If the decryption is successful, it means that the unencrypted detection instruction is legal, otherwise the function detection instruction is illegal.

[0068] When the function detection instruction is legal, the server can return information indicating that the function detection instruction is legal, so as to instruct the lock control center to continue to return the function status information to the lock fault identification device; on the contrary, if the function detection instruction is illegal, the server can return information indicating that the function detection instruction is illegal, so as to instruct the lock control center to no longer return the function status information, and not to obtain the test status information locally in the lock.

[0069] In one embodiment, the following situation may occur: the function status information and the test status information both indicate the status of a certain function, but in the same function included in both parties (i.e., the function status information and the test status information), the status indicated by the two is not the same.

[0070] For example, with regard to the "communication" function, since a shared vehicle may switch between normal mode and flight mode (in flight mode, the communication function is temporarily disabled) during use or maintenance, the server may query the historical status of the communication and obtain the status of "NG" (this status information may be caused by the vehicle entering flight mode, and the user believes that it is a fault and reports it to the security department), that is, an abnormal state; while the control center may, after testing, conclude that the communication function is "OK", that is, a normal state.

[0071] At this time, for any function included by both parties at the same time, the influence factor of the function in the functional status information and the test status information can be determined respectively. For example, for the "communication" function, the local test is often more accurate than the server test. Therefore, a larger influence factor (for example, 1) can be assigned to the "communication" function of the test status information in advance, and a larger influence factor (for example, 0) can be assigned to the "communication" function in the functional status information. Thus, the state of the function included in the party with a larger influence factor is determined as the state of the other party, that is, the "communication" function of the test status information is assigned to the state of the "communication" function in the functional status information. Thereby, the functional status information sent to the lock fault identification device can be made more accurate, and more accurate fault identification can be achieved.

[0072] In the embodiment of the present application, the functions corresponding to the function detection instruction include at least one of positioning, battery, network, opening / closing the lock or speaker. Of course, in fact, since the function of the lock is not limited to this, there may be more other functions.

[0073] Regarding the third aspect of the embodiment of the present application, that is, the server side, as Figure 4 As shown, Figure 4 A flowchart of another method for identifying a lock fault provided in an embodiment of the present application is provided, which is applied to a server, wherein the server is connected to a control center of the lock through a network, and the method includes:

[0074] S401, receiving the lock identification and function detection instruction sent by the control center.

[0075] The function detection instruction set is sent by the lock fault identification device based on the user's selection, or is automatically generated based on the configuration of the application.

[0076] S403, query and obtain the function status information of the lock according to the lock identification and the function detection instruction, wherein the function status information is used to represent the status of each function corresponding to the function detection instruction. The specific query method has been described above and will not be repeated here.

[0077] S405: Send the function status information to the control center. The lock control center can forward the function status information to the lock fault identification device.

[0078] In one embodiment, if the function test instruction contains a secret key, the server can also verify the legitimacy of the secret key; if the verification passes, information indicating the legitimacy of the function test instruction is sent to the control center of the lock to avoid leakage of the function test instruction and improve security.

[0079] An embodiment of the present application discloses TS1, a lock fault identification method, which is applied to a lock fault identification device, wherein the lock fault identification device is connected to a control center of the lock, and the method comprises: sending a function detection instruction to the control center, so that the control center sends the lock identification and the function detection instruction to a server; receiving function status information sent by the control center, wherein the function status information is obtained by the server based on the lock identification and the function detection instruction, and the function status information is used to characterize the status of each function corresponding to the function detection instruction; and displaying the function status information in a visual interface.

[0080] TS2. A method as described in TS1, wherein sending a function detection instruction to the control center comprises: sending a function detection instruction containing a secret key to the control center, so that the server verifies the legitimacy of the secret key, and returns information indicating the legitimacy of the function detection instruction to the control center after the verification is passed.

[0081] TS3. A method as described in TS1, wherein displaying the function status information in a visual interface includes: determining the status of a corresponding function as normal or abnormal according to the function status information; and displaying normal and abnormal functions by different colors or texts.

[0082] TS4. A method as described in TS1, wherein, before sending a function detection instruction to the control center, the method further includes: displaying function options corresponding to the function to be detected in a visual interface; receiving a user's selection instruction for the function option, and generating a function detection instruction for the function option selected by the user; or, generating a function detection instruction corresponding one-to-one to the function options displayed in the visual interface.

[0083] TS5. The method as described in TS1, wherein, if the lock is a split lock, the lock fault identification device is connected to the lock via a solar serial port and a gate line interface of the lock; if the lock is a horseshoe lock, the lock fault identification device is connected to the lock via a solar serial port.

[0084] TS6. The method as described in TS1, wherein the functions corresponding to the function detection instructions include at least one of positioning, battery, network, opening / closing lock or speaker.

[0085] The embodiment of the present application also discloses TS7, a lock fault identification method, which is applied to the control center of the lock, and the control center is connected to the lock fault identification device, and the method includes: receiving a function detection instruction sent by the lock fault identification device; obtaining the identification of the lock, sending the identification of the lock and the function detection instruction to the server, so that the server performs information query according to the function detection instruction and the identification of the lock to generate function status information, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; receiving the function status information returned by the server; sending the function status information to the lock fault identification device, so that the lock fault identification device displays the function status information in a visual interface.

[0086] TS8. The method as described in TS7 further includes: testing each function corresponding to the function detection instruction to generate test status information; sending the function status information to the lock fault identification device includes: sending the function status information and the test status information to the lock fault identification device.

[0087] TS9. A method as described in TS7 or TS8, wherein sending the functional status information to the lock fault identification device comprises: if information indicating that the functional detection instruction is legal is received from the server, sending the functional status information to the lock fault identification device.

[0088] TS10. As described in TS7, before sending the functional status information and the test status information returned by the server to the lock fault identification device, the method also includes: if the states of the functions simultaneously included in the functional status information and the test status information are different, for any function simultaneously included by both parties, determining the influence factor of the function in the functional status information and the test status information respectively; and determining the state of the function included in the party with a larger influence factor as the state of the function included in the other party.

[0089] An embodiment of the present application also discloses TS11, a lock fault identification method, which is applied to a server, wherein the server network is connected to a control center of the lock, and the method comprises: receiving an identification and a function detection instruction of the lock sent by the control center; querying and obtaining function status information of the lock according to the identification and the function detection instruction of the lock, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; and sending the function status information to the control center.

[0090] TS12. The method described in TS11, wherein if the function detection instruction includes a secret key, the method further comprises: verifying the legitimacy of the secret key; if the verification is successful, sending information indicating that the function detection instruction is legal to the control center.

[0091] The embodiment of the present application also discloses TS13, a lock fault identification system, comprising: a lock fault identification device, sending a function detection instruction to a control center of the lock; the control center, connected to the lock fault identification device, receiving the function detection instruction, obtaining the identification of the lock, sending the identification of the lock and the function detection instruction to a server; the server, connected to the control center, performing information query according to the function detection instruction and the identification of the lock to obtain function status information, and sending the function status information to the control center, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; the control center, sending the function status information to the lock fault identification device; the lock fault identification device, displaying the function status information in a visual interface.

[0092] The embodiment of the present application also discloses TS14, a lock fault identification device, which is applied to a lock fault identification device, wherein the lock fault identification device is connected to a control center of the lock, and the device comprises: a second sending module, which sends a function detection instruction to the control center, so that the control center sends the lock identification and the function detection instruction to forward to the server; a second receiving module, which receives function status information sent by the control center, wherein the function status information is obtained by the server based on the lock identification and the function detection instruction, and the function status information is used to characterize the status of each function corresponding to the function detection instruction; a display module, which displays the function status information in a visual interface.

[0093] The embodiment of the present application also discloses TS15, a lock fault identification device, which is applied to the control center of the lock, and the control center is connected to the lock fault identification device, and the device includes: a first receiving module, which receives the function detection instruction sent by the lock fault identification device; a first sending module, which obtains the identification of the lock, sends the identification of the lock and the function detection instruction to the server, so that the server performs information query according to the function detection instruction and the identification of the lock; the first receiving module receives the function status information returned by the server, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; the first sending module sends the function status information to the lock fault identification device, so that the lock fault identification device displays the function status information in a visual interface.

[0094] The embodiment of the present application also discloses TS16, a lock fault identification device, which is applied to a server, and the server network is connected to the control center of the lock. The device includes: a third receiving module, which receives the lock identification and function detection instructions sent by the control center; a query module, which queries and obtains the function status information of the lock according to the lock identification and function detection instructions, wherein the function status information is used to characterize the status of each function corresponding to the function detection instruction; a third sending module, which sends the function status information to the control center.

[0095] In a fourth aspect of the embodiment of the present application, a lock fault identification system is also provided, and its architecture can be seen in Figure 1 , the system includes:

[0096] A lock fault identification device sends a function detection instruction to the control center;

[0097] The lock control center is connected to the lock fault identification device, receives the function detection instruction, obtains the lock identification, sends the lock identification and the function detection instruction to the server;

[0098] A server connected to the control center performs information query according to the function detection instruction and the identification of the lock to obtain function status information, and sends the function status information to the control center, wherein the function status information is used to represent the status of each function corresponding to the function detection instruction;

[0099] The control center sends the functional status information to the lock fault identification device;

[0100] The lock fault identification device displays the functional status information in a visual interface.

[0101] For the specific implementation methods of the lock fault identification device, the lock control center and the server in the system, please refer to the relevant descriptions of the first aspect, the second aspect and the third aspect respectively.

[0102] Corresponding to the first aspect, according to a fifth aspect of an embodiment of the present application, a lock fault identification device is provided, which is applied to a lock fault identification device, wherein the lock fault identification device is connected to a control center of the lock, such as Figure 5 As shown, Figure 5 A schematic diagram of the structure of a lock fault identification device provided in an embodiment of the present application, the device comprising:

[0103] The second sending module 501 sends a function detection instruction to the control center, so that the control center sends the lock identifier and the function detection instruction to the server;

[0104] The second receiving module 503 receives the function status information sent by the control center, wherein the function status information is obtained by the server based on the identification of the lock and the function detection instruction, and the function status information is used to represent the status of each function corresponding to the function detection instruction;

[0105] The display module 505 displays the function status information in a visual interface.

[0106] Corresponding to the second aspect, according to a sixth aspect of an embodiment of the present application, another lock fault identification device is provided, which is applied to a lock control center, and the control center is connected to a lock fault identification device, such as Figure 6 As shown, Figure 6 A schematic diagram of the structure of another lock fault identification device provided in an embodiment of the present application, the device comprising:

[0107] A first receiving module 601 receives a function detection instruction sent by the lock fault identification device;

[0108] The first sending module 603 obtains the lock identifier, sends the lock identifier and the function detection instruction to the server, so that the server performs information query according to the function detection instruction and the lock identifier;

[0109] The first receiving module 601 receives function status information returned by the server, wherein the function status information is used to represent the status of each function corresponding to the function detection instruction;

[0110] The first sending module 603 sends the functional status information to the lock fault identification device, so that the lock fault identification device displays the functional status information in a visual interface.

[0111] Corresponding to the third aspect, according to a seventh aspect of the embodiment of the present application, there is provided another lock fault identification device, which is applied to a server, wherein the server network is connected to a control center of the lock, such as Figure 7 As shown, Figure 7 A schematic diagram of the structure of another lock fault identification device provided in an embodiment of the present application, the device comprising:

[0112] The third receiving module 701 receives the lock identification and function detection instruction sent by the control center;

[0113] A query module 703 is configured to query and obtain functional status information of the lock according to the lock identification and the functional detection instruction, wherein the functional status information is used to represent the status of each function corresponding to the functional detection instruction;

[0114] The third sending module 705 sends the function status information to the control center.

[0115] The device of this embodiment is used to implement the corresponding lock fault identification method in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. In addition, the functional implementation of each module in the lock fault identification device of this embodiment can refer to the description of the corresponding part in the aforementioned method embodiments, which will not be repeated here.

[0116] In an eighth aspect of an embodiment of the present application, a computer device is also provided, which comprises at least a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the lock fault identification method as described in the first aspect, the second aspect, or the third aspect is implemented.

[0117] Figure 8 A more specific hardware structure diagram of a computing device provided in an embodiment of this specification is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0118] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0119] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0120] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0121] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0122] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0123] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0124] According to a ninth aspect of an embodiment of the present application, a computer storage medium is also provided, on which a computer program is stored, and when the program is executed by a processor, the lock fault identification method as described in the first aspect, the second aspect or the third aspect is implemented.

[0125] According to a tenth aspect of an embodiment of the present application, a computer program product is provided, comprising computer instructions, wherein the computer instructions instruct a computing device to execute the lock fault identification method as described in the first aspect, the second aspect or the third aspect.

[0126] It can be known from the above description of the implementation mode that the technicians in this field can clearly understand that the embodiments of this specification can be implemented by means of software plus the necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of this specification can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments of this specification.

[0127] The systems, methods, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0128] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The method embodiment described above is merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the functions of each module can be implemented in the same one or more software and / or hardware when implementing the embodiment scheme of this specification. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the embodiment scheme. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0129] The above is only a specific implementation of the embodiments of this specification. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the embodiments of this specification. These improvements and modifications should also be regarded as the protection scope of the embodiments of this specification.

Claims

1. A lock fault identification method, applied to a lock fault identification device, wherein the lock fault identification device is connected to a lock control center, the method comprising: Sending a function detection instruction containing a secret key to the control center, so that the server verifies the legitimacy of the secret key, and returning information indicating that the function detection instruction is legitimate to the control center after the verification, so that the control center sends the identification of the lock and the function detection instruction to the server, and obtains the test status information locally on the lock; In response to the verification failing, instructing the control center not to return the function status information any more and not to obtain the test status information locally on the lock; Receiving the function status information and the test status information sent by the control center, wherein the function status information is obtained by the server based on the identification of the lock and the function detection instruction, and the function status information and the test status information are used to represent the status of each function corresponding to the function detection instruction; In response to the inconsistency between the states of the function indicated by the function state information and the test state information, respectively determining the influence factors of the function corresponding to the function state information and the test state information, and determining the state of the function included in the one with the larger influence factor as the state of the other function; The function status information is displayed in a visual interface.

2. The method according to claim 1, wherein displaying the functional status information in a visual interface comprises: Determine, according to the function status information, whether the status of the corresponding function is normal or abnormal; Different colors or texts are used to distinguish between normal functions and abnormal functions.

3. The method according to claim 1, before sending the function detection instruction to the control center, the method further comprises: Displaying function options corresponding to the function to be detected in the visual interface; receiving a selection instruction of the function option from the user, and generating a function detection instruction for the function option selected by the user; Alternatively, a function detection instruction corresponding one to one to the function options displayed in the visual interface is generated.

4. The method according to claim 1, if the lock is a split lock, the lock fault identification device is connected to the lock through a solar serial port and a gate line interface of the lock; if the lock is a horseshoe lock, the lock fault identification device is connected to the lock through a solar serial port.

5. The method according to claim 1, wherein the functions corresponding to the function detection instructions include at least one of positioning, battery, network, opening / closing a lock, or a speaker.

6. A lock fault identification device, applied to a lock fault identification device, wherein the lock fault identification device is connected to a lock control center, and the device comprises: The second sending module sends a function detection instruction containing a secret key to the control center, so that the server verifies the legitimacy of the secret key, and returns information indicating that the function detection instruction is legitimate to the control center after the verification is passed, so that the control center sends the identification of the lock and the function detection instruction to the server, and obtains the test status information locally on the lock; In response to the verification failing, instructing the control center not to return the function status information any more and not to obtain the test status information locally on the lock; A second receiving module receives the function status information and the test status information sent by the control center, wherein the function status information is obtained by the server based on the identification of the lock and the function detection instruction, and the function status information and the test status information are used to characterize the status of each function corresponding to the function detection instruction; in response to the inconsistency between the status of the function indicated by the function status information and the test status information, respectively determines the influence factors of the function corresponding to the function status information and the test status information, and determines the status of the function included in the one with the larger influence factor as the status of the other function; A display module displays the function status information in a visual interface.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the lock fault identification method according to any one of claims 1 to 5 is implemented.

8. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the lock fault identification method according to any one of claims 1 to 5 is implemented.

9. A computer program product, comprising computer instructions, wherein the computer instructions instruct a computing device to execute the lock fault identification method according to any one of claims 1 to 5.