Cable duct lock key information transmission system and method based on bluetooth connection

By querying and verifying the associated smart key of the user terminal device in the cable duct lock management equipment, the problem of low security of Bluetooth connection between the user terminal device and the smart key is solved, and the secure transmission of the key is realized.

CN119810955BActive Publication Date: 2025-12-16GUANGZHOU PANYU CABLE WORKS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411706447.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-12-16
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

In existing smart lock management technologies for cable ducts, the Bluetooth connection between the user-end device and the smart key has low security, which in turn leads to low security in key transmission.

Method used

After generating key information through the cable duct lock management device, the smart key information set is queried to obtain the associated smart key of the user terminal device. The key information, along with the code to be verified and the identification information, are then sent to the user terminal device. The user terminal device parses and processes the data to verify the key's identity. Upon successful verification, a Bluetooth connection is established and the key is transmitted.

Benefits of technology

It enables secure connection between user devices and smart keys, ensures secure key transmission, and improves the security of Bluetooth connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810955B_ABST
    Figure CN119810955B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a cable conduit lock key information transmission system and method based on Bluetooth connection, and the method comprises the following steps: when the cable conduit lock management equipment has generated key information, the associated smart key information set is queried according to the user terminal device information, the pre-opening cable conduit smart lock information is acquired, the associated smart key is determined according to the smart key information set and the pre-opening cable conduit smart lock information, the key information, the to-be-verified code and the identification information of the associated smart key are sent to the user terminal device, the to-be-verified code is sequentially split and matched and combined by the user terminal device to obtain analysis data, the key identity is verified based on the analysis data and the identification information, when the key identity is verified, the Bluetooth connection is established based on the identification information and the associated smart key, and the key information is transmitted to the associated smart key based on the established Bluetooth connection. The scheme can realize the safe connection of the user terminal device and the smart key and ensure the safe transmission of the key.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The embodiment of the present application relates to the technical field of cable duct intelligent lock management, and particularly relates to a cable duct lock key information transmission system and method based on Bluetooth connection. BACKGROUND

[0002] During cable laying, problems such as cable pipe installation not in the specified order, cable position in each cable well not corresponding, and cable winding in disorder often occur, which increases the operation difficulty of the staff and increases the maintenance operation difficulty and maintenance time. Moreover, the underground resources in the first-line cities are extremely scarce, and the cable duct, as a special pipe for cable laying, is often occupied, such as optical cable, communication line, etc., which affects the subsequent power construction and operation. In order to solve the above problems, the cable duct intelligent lock emerges as the times require. The cable duct intelligent lock combines digital encryption, wireless communication and remote management technology to ensure that only authorized personnel can access the cable duct, thereby effectively preventing unauthorized access and potential threats.

[0003] In the related cable duct intelligent lock management scheme, after the user terminal device receives the key issued by the cable duct intelligent lock management platform, the Bluetooth connection between the user terminal device and the intelligent key needs to be established, and the key is transmitted to the intelligent key for insertion into the cable duct intelligent lock for opening. In this way, the security of the Bluetooth connection between the user terminal device and the intelligent key is low, which leads to relatively low security of the key transmission. SUMMARY

[0004] The embodiment of the present application provides a cable duct lock key information transmission system and method based on Bluetooth connection, which solves the problem of low security of the Bluetooth connection between the user terminal device and the intelligent key in the existing cable duct intelligent lock management technology, which leads to relatively low security of the key transmission, and can realize the secure connection between the user terminal device and the intelligent key and ensure the secure transmission of the key.

[0005] In the first aspect, the embodiment of the present application provides a cable duct lock key information transmission method based on Bluetooth connection, comprising:

[0006] When the cable duct lock management device has generated the key information, the cable duct lock management device queries the associated intelligent key information set according to the received user terminal device information, and acquires the pre-opening cable duct intelligent lock information uploaded by the user terminal device corresponding to the user terminal device information stored.

[0007] The cable conduit lock management device determines the associated smart key of the user terminal device according to the smart key information set and the pre-opening cable conduit smart lock information, the smart key information set includes the to-be-verified codes and identification information of multiple smart keys, and the key information is synchronously sent to the user terminal device together with the to-be-verified codes and identification information of the associated smart key.

[0008] The user terminal device receives the key information, the to-be-verified codes and identification information of the associated smart key sent by the cable conduit lock management device, sequentially splits and matches the to-be-verified codes to obtain analysis data, determines whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information, and establishes a Bluetooth connection between the user terminal device and the associated smart key based on the identification information in a case where the key identity verification is passed.

[0009] The user terminal device transmits the key information to the associated smart key based on the established Bluetooth connection.

[0010] Optionally, the determination of the associated smart key of the user terminal device according to the smart key information set and the pre-opening cable conduit smart lock information includes that:

[0011] The cable conduit lock management device acquires connection record data of each smart key in the stored smart key information set, and determines multiple to-be-determined associated smart keys that meet a preset connectable condition from the smart keys based on the connection record data.

[0012] The cable conduit lock management device performs matching processing on the pre-opening cable conduit smart lock information and the identification information of each to-be-determined associated smart key, and determines a to-be-determined associated smart key corresponding to the identification information that matches the pre-opening cable conduit smart lock information as the associated smart key of the user terminal device.

[0013] Optionally, the determination of the multiple to-be-determined associated smart keys that meet the preset connectable condition from the smart keys based on the connection record data includes that:

[0014] The cable conduit lock management device determines the number of connections of each smart key within a preset time according to the connection record data, and determines a smart key with a connection number that does not reach a preset number as a to-be-determined associated smart key.

[0015] Optionally, the sequential splitting and matching combination processing of the to-be-verified codes to obtain the analysis data includes that:

[0016] The user terminal device determines adjacent coding characters in the to-be-verified coding that are the same in format from front to back as a matching object, and obtains parsing data by matching and combining each matching object with pre-stored matching information.

[0017] Optionally, the pre-stored matching information includes a plurality of preset matching objects and corresponding character strings, and the obtaining of the parsing data by matching and combining each matching object with the pre-stored matching information includes:

[0018] The user terminal device matches each matching object with each preset matching object, determines a character string corresponding to a preset matching object that matches successfully as to-be-combined parsing data of the matching object, and combines the to-be-combined parsing data of each matching object in the arrangement order in the to-be-verified coding to obtain the parsing data.

[0019] Optionally, the determining of whether the key identity verification of the associated smart key is successful based on the parsing data and the identification information includes:

[0020] The user terminal device acquires pre-stored comparison information, the pre-stored comparison information includes a plurality of comparison parsing data and associated comparison identification information, and the user terminal device queries whether there is comparison parsing data that is the same as the parsing data in the pre-stored comparison information.

[0021] In the case that there is comparison parsing data that is the same as the parsing data, the user terminal device determines whether comparison identification information associated with the comparison parsing data is the same as the identification information, and in the case that they are the same, determines that the key identity verification of the associated smart key is successful, otherwise, determines that the key identity verification of the associated smart key is unsuccessful.

[0022] Optionally, the user terminal device establishes a Bluetooth connection with the associated smart key based on the identification information, and the establishing of the Bluetooth connection includes:

[0023] The user terminal device sets the identification information as priority search information, searches for broadcast information in which the identification information exists, and in the case that the broadcast information in which the identification information exists is searched, the user terminal device is automatically connected with a smart key that sends the broadcast information in which the identification information exists.

[0024] In a second aspect, an embodiment of the present application further provides a cable conduit lock key information transmission system based on a Bluetooth connection, including:

[0025] The query module is configured to, in the case that the cable conduit lock management device has generated key information, query an associated smart key information set according to received user terminal device information.

[0026] An acquisition module is configured to acquire pre-opening cable conduit intelligent lock information uploaded by a user terminal device corresponding to stored user terminal device information.

[0027] A key determination module is configured to determine an associated intelligent key of the user terminal device according to the intelligent key information set and the pre-opening cable conduit intelligent lock information, wherein the intelligent key information set includes to-be-verified codes and identification information of a plurality of intelligent keys.

[0028] An information issuing module is configured to issue the key information, the to-be-verified code and the identification information of the associated intelligent key to the user terminal device synchronously.

[0029] An analysis data determination module is configured to receive the key information, the to-be-verified code and the identification information of the associated intelligent key sent by the cable conduit lock management device, and to perform sequential splitting and matching combination processing on the to-be-verified code to obtain analysis data.

[0030] A key identity verification module is configured to determine whether key identity verification of the associated intelligent key is successful based on the analysis data and the identification information.

[0031] A Bluetooth connection establishment module is configured to, in a case where the key identity verification is passed, establish a Bluetooth connection between the user terminal device and the associated intelligent key based on the identification information.

[0032] A key transmission module is configured to transmit the key information to the associated intelligent key based on the established Bluetooth connection.

[0033] In a third aspect, an embodiment of the present application further provides a cable conduit lock key information transmission device based on Bluetooth connection, which comprises:

[0034] One or more processors;

[0035] A storage device configured to store one or more programs,

[0036] When the one or more programs are executed by the one or more processors, the one or more processors implement the cable conduit lock key information transmission method based on Bluetooth connection provided by the embodiment of the present application.

[0037] In a fourth aspect, an embodiment of the present application further provides a storage medium storing computer executable instructions, which are used to execute the cable conduit lock key information transmission method based on Bluetooth connection when executed by a computer processor.

[0038] In the embodiment of the application, the cable conduit lock management device queries the associated smart key information set according to the received user terminal device information and obtains the pre-opened cable conduit smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information in the case of having generated the key information. The cable conduit lock management device determines the associated smart key of the user terminal device according to the smart key information set and the pre-opened cable conduit smart lock information. The smart key information set includes the to-be-verified codes and identification information of multiple smart keys. The key information, the to-be-verified codes and identification information of the associated smart key are synchronously issued to the user terminal device. The user terminal device receives the key information, the to-be-verified codes and identification information of the associated smart key sent by the cable conduit lock management device, sequentially splits and matches the to-be-verified codes to obtain analysis data, determines whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information, establishes a Bluetooth connection between the user terminal device and the associated smart key based on the identification information in the case of passing the key identity verification, and transmits the key information to the associated smart key based on the established Bluetooth connection. The scheme solves the problem of low security of Bluetooth connection between the user terminal device and the smart key in the existing cable conduit smart lock management technology, which leads to relatively low security of key transmission, and can realize the secure connection between the user terminal device and the smart key and ensure the secure transmission of the key. BRIEF DESCRIPTION OF DRAWINGS

[0039] Figure 1 A flowchart of a cable conduit lock key information transmission method based on Bluetooth connection provided for the embodiment of the application is shown in FIG. 1.

[0040] Figure 2 A flowchart of another cable conduit lock key information transmission method based on Bluetooth connection provided for the embodiment of the application is shown in FIG. 2.

[0041] Figure 3 A flowchart of another cable conduit lock key information transmission method based on Bluetooth connection provided for the embodiment of the application is shown in FIG. 3.

[0042] Figure 4 A module structure block diagram of a cable conduit lock key information transmission system based on Bluetooth connection provided for the embodiment of the application is shown in FIG. 4.

[0043] Figure 5 A structure schematic diagram of a cable conduit lock key information transmission device based on Bluetooth connection provided for the embodiment of the application is shown in FIG. 5. DETAILED DESCRIPTION

[0044] The application examples are further described in detail below with reference to the drawings and examples. It can be understood that the specific examples described herein are only used to explain the application examples, and not to limit the application examples. In addition, it should be noted that, for the convenience of description, only the parts related to the application examples are shown in the drawings, not all the structures.

[0045] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a class, not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character "or" generally means that the associated objects before and after are an "or" relationship.

[0046] The cable duct lock key information transmission method based on Bluetooth connection provided by the application examples can be applied to the key transmission scene of the user terminal device and the intelligent key of the cable duct intelligent lock. The cable duct lock key information transmission method based on Bluetooth connection provided by the application examples can be applied to the key transmission scene of the user terminal device and the intelligent key of the cable duct intelligent lock. The execution subject of each step of the cable duct lock key information transmission method based on Bluetooth connection provided by the application examples can be a computer device, which refers to any electronic device with data calculation, processing and storage capabilities, such as mobile phones, PC (Personal Computer), tablet computers and other terminal devices, and can also be a server or other device. The application examples are not limited in this regard.

[0047] Figure 1 A flow chart of a cable duct lock key information transmission method based on Bluetooth connection provided by the application examples is shown in Figure 1 , and specifically includes:

[0048] Step S101, the cable duct lock management device, in the case of having generated key information, queries the associated intelligent key information set according to the received user terminal device information, and obtains the pre-opened cable duct intelligent lock information uploaded by the user terminal device corresponding to the stored user terminal device information.

[0049] The key information is used to represent the encrypted information verified by the cable duct intelligent lock when the cable duct intelligent lock is opened. The cable duct lock management device can be a management layer device for managing each cable duct intelligent lock, and each related operation of each cable duct intelligent lock can be managed by using the cable duct lock management device. The user terminal device information is used to represent the related information of the user terminal device requesting to open the cable duct intelligent lock. The user terminal device can be a terminal device specially used by the user to open the cable duct intelligent lock. The set of intelligent key information can be a combination of a plurality of intelligent key information. The pre-opening cable duct intelligent lock information is used to represent the related information of the cable duct intelligent lock requested to be opened by the user terminal device. An exemplary example can be that the user terminal device information received by the cable duct lock management device is a user terminal device identifier, the user terminal device identifier is A1, the set of intelligent key information associated with the user terminal device identifier A1 is found to be the set of intelligent key information a, and the pre-opening cable duct intelligent lock information uploaded by the user terminal device corresponding to the user terminal device identifier A1 is found to be the cable duct intelligent lock identifier T12.

[0050] In step S102, the cable duct lock management device determines the associated intelligent key of the user terminal device according to the set of intelligent key information and the pre-opening cable duct intelligent lock information, the set of intelligent key information includes the to-be-verified codes and identifier information of a plurality of intelligent keys, and the key information and the to-be-verified codes and identifier information of the associated intelligent key are synchronously issued to the user terminal device.

[0051] The associated intelligent key can be an intelligent key associated with the current situation of the user terminal device. The to-be-verified code is used to represent the data code waiting for verification. The identifier information can be identifier data representing the intelligent key. In an embodiment, the cable duct lock device matches the pre-opening cable duct intelligent lock information with each identifier information in the set of intelligent key information, and determines the intelligent key corresponding to the matching identifier information as the associated intelligent key of the user terminal device. Optionally, a determination method of the associated intelligent key can be that the cable duct lock management device obtains connection record data of each intelligent key in the stored set of intelligent key information, determines a plurality of to-be-determined associated intelligent keys satisfying a preset connectable condition based on the connection record data, matches the pre-opening cable duct intelligent lock information with the identifier information of each to-be-determined associated intelligent key, and determines the to-be-determined associated intelligent key corresponding to the matching identifier information as the associated intelligent key of the user terminal device. By screening the connectable intelligent keys in the set of intelligent key information through the connection record data and then matching the pre-opening cable duct intelligent lock information, the workload of the matching process can be reduced, and the associated intelligent key of the user terminal device can be quickly determined.

[0052] In step S103, the user terminal device receives the key information, the to-be-verified code of the associated smart key, and the identification information sent by the cable pipe lock management device, sequentially splits the to-be-verified code, and performs matching combination processing to obtain analysis data, and determines whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information.

[0053] The key identity verification is used to represent the verification of the identity of the determined associated smart key by the user terminal device. In an embodiment, after the user terminal device receives the key information, the to-be-verified code of the associated smart key, and the identification information sent by the cable pipe lock management device, the corresponding analysis data is obtained by querying a preset analysis data reference table according to the to-be-verified code of the associated smart key. Optionally, a determination method of the analysis data can be that the user terminal device determines adjacent code characters in the to-be-verified code of the associated smart key from front to back as a matching object, and performs matching combination processing on each matching object and the pre-stored matching information to obtain the analysis data. By splitting the to-be-verified code to obtain multiple matching objects, and performing matching combination processing on each matching object to obtain the analysis data of the to-be-verified code, the complexity of the to-be-verified code analysis can be improved, so as to improve the security of the subsequent key identity verification.

[0054] In an embodiment, after the sequential splitting and matching combination processing of the to-be-verified code of the associated smart key to obtain the parsed data, the parsed data of the to-be-verified code of the associated smart key is integrated with the identification information of the associated smart key to obtain key identity verification information, the key identity verification information is compared with each pre-stored comparison information, if there is pre-stored comparison information that matches successfully, it is determined that the key identity verification of the associated smart key is successful, otherwise, it is determined that the key identity verification of the associated smart key is unsuccessful. Optionally, a key identity verification method can be that the user terminal device obtains pre-stored comparison information, the pre-stored comparison information includes a plurality of comparison parsed data and associated comparison identification information, and it is queried whether there is comparison parsed data that is the same as the parsed data in the pre-stored comparison information. In the case where there is comparison parsed data that is the same as the parsed data, the user terminal device determines whether the comparison identification information associated with the comparison parsed data is the same as the identification information. In the case where they are the same, it is determined that the key identity verification of the associated smart key is successful, otherwise, it is determined that the key identity verification of the associated smart key is unsuccessful. An exemplary example can be that the comparison parsed data in the pre-stored comparison information obtained by the user terminal device is 11234679, 22347216, 39846514, 34580264, and 76452890, respectively, and the corresponding comparison identification information is A1, A2, A3, A4, and A5, respectively. The parsed data of the to-be-verified code of the associated smart key of the user terminal device is 22347216, and the identification information of the associated smart key of the user terminal device is A2. There is comparison parsed data that is the same as the parsed data in the pre-stored comparison information, and the comparison identification information associated with the comparison parsed data is the same as the identification information of the associated smart key of the user terminal device, both of which are A2. It is determined that the key identity verification of the associated smart key is successful.

[0055] In step S104, in the case where the key identity verification is passed, the user terminal device establishes a Bluetooth connection with the associated smart key based on the identification information, and transmits the key information to the associated smart key based on the established Bluetooth connection.

[0056] The Bluetooth connection is used to represent a short-range wireless communication technology, which is usually used to connect electronic devices within a specified range, and uses low-power radio waves for communication. The user terminal device can transmit data to the associated smart key through the Bluetooth connection established with the associated smart key. In an embodiment, if the key identity verification is passed, the user terminal device matches the identification information of the associated smart key with each broadcast information within the preset range, and automatically connects with the smart key corresponding to the matching broadcast information if there is a matching broadcast information. Alternatively, a Bluetooth connection establishment method can be that the user terminal device sets the identification information of the associated smart key as the priority search information, and searches for broadcast information containing the identification information of the associated smart key. If the broadcast information containing the identification information of the associated smart key is found, the user terminal device automatically connects with the smart key sending the broadcast information. An exemplary example can be that the identification information of the associated smart key of the user terminal device is A1, then A1 is set as the priority search information, and broadcast information containing A1 is searched. The current broadcast information includes broadcast information 1, broadcast information 2, and broadcast information 3. Among them, A1 exists in the broadcast information 2, so the user terminal device automatically connects with the smart key sending the broadcast information 2 (the associated smart key of the user terminal device).

[0057] As can be seen from the above, in the case that the key information has been generated, the cable duct lock management device queries the associated smart key information set according to the received user terminal device information, and obtains the pre-opened cable duct smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information. The cable duct lock management device determines the associated smart key of the user terminal device according to the smart key information set and the pre-opened cable duct smart lock information. The smart key information set includes the to-be-verified codes and identification information of multiple smart keys. The key information, the to-be-verified codes and the identification information of the associated smart key are synchronously sent to the user terminal device. The user terminal device receives the key information, the to-be-verified codes and the identification information of the associated smart key sent by the cable duct lock management device, sequentially splits and matches the to-be-verified codes to obtain analysis data, determines whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information, and establishes a Bluetooth connection with the associated smart key based on the identification information in the case that the key identity verification is passed. The user terminal device transmits the key information to the associated smart key based on the established Bluetooth connection. Through the key identity verification, the present scheme solves the problem that the security of the Bluetooth connection between the user terminal device and the smart key is low in the existing cable duct smart lock management technology, and the security of the key transmission is also relatively low, and can realize the secure connection between the user terminal device and the smart key, and ensure the secure transmission of the key.

[0058] Figure 2 Another flowchart of the cable conduit lock key information transmission method based on Bluetooth connection provided by the embodiment of the present application is shown in FIG. 2, which shows a specific method for determining the associated smart key, and specifically includes the following steps: Figure 2

[0059] In step S201, the cable conduit lock management device, in the case that the key information has been generated, queries the associated smart key information set according to the received user terminal device information, and acquires the pre-opening cable conduit smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information.

[0060] In step S202, the cable conduit lock management device acquires the connection record data of each smart key in the stored smart key information set, and determines a plurality of to-be-determined associated smart keys from the smart keys that meet the preset connectable condition based on the connection record data.

[0061] The connection record data can be the relevant record data of the Bluetooth connection established by the smart key. The connection record data can be used to determine the situation of the Bluetooth connection established by the smart key. The preset connectable condition is used to represent the condition under which the smart key can be connected by Bluetooth. The to-be-determined associated smart key is used to represent the smart key to be determined whether it is an associated smart key. Optionally, one determination method of the to-be-determined associated smart key can be that the cable conduit lock management device determines the connection times of each smart key in the smart key information set within a preset time according to the connection record data, and determines the smart key whose connection times do not reach a preset number as the to-be-determined associated smart key. An exemplary example can be that the smart key information set records the to-be-verified codes and identification information of smart key a1, smart key a2, smart key a3, and smart key a4, the preset time is 1 day, and the preset number is 3. The cable conduit lock management device determines that the connection times of smart key a1 within 1 day are 2, the connection times of smart key a2 within 1 day are 1, the connection times of smart key a3 within 1 day are 0, and the connection times of smart key a4 within 1 day are 3 according to the acquired connection record data of each smart key in the smart lock information set. Among them, the smart keys whose connection times do not reach the preset number, i.e., smart key a1, smart key a2, and smart key a3, are to-be-determined associated smart keys. In another embodiment, the cable conduit lock management device determines each smart key in the smart key information set that has not been connected within a preset time according to the connection record data, and determines each smart key that has not been connected as a to-be-determined associated smart key.

[0062] ​Step S203, the cable pipe lock management device matches the pre-opening cable pipe intelligent lock information with the identification information of each to-be-determined associated intelligent key, and determines the to-be-determined associated intelligent key corresponding to the identification information matched successfully with the pre-opening cable pipe intelligent lock information as the associated intelligent key of the user terminal device.

[0063] In the embodiment, after determining each to-be-determined associated intelligent key, the cable pipe intelligent management device matches the pre-opening cable pipe intelligent lock information with the identification information of each to-be-determined associated intelligent key, and determines the to-be-determined associated intelligent key corresponding to the identification information matched successfully with the pre-opening cable pipe intelligent lock information as the associated intelligent key of the user terminal device. For example, the pre-opening cable pipe intelligent lock information is cable pipe intelligent lock identification A1, the identification information of each to-be-determined associated intelligent key is a1, a2, a3 in sequence, the preset matching intelligent lock identification of a1 is A1, the preset matching intelligent lock identification of a2 is A2, and the preset matching intelligent lock identification of a3 is A3. The identification information matched successfully with the pre-opening cable pipe intelligent lock information is a1, that is, the to-be-determined associated intelligent key corresponding to a1 is determined as the associated intelligent key of the user terminal device.

[0064] Step S204, the cable pipe lock management device synchronously sends the key information, the to-be-verified code and the identification information of the associated intelligent key to the user terminal device.

[0065] Step S205, the user terminal device receives the key information, the to-be-verified code and the identification information of the associated intelligent key sent by the cable pipe lock management device, sequentially splits and matches the to-be-verified code to obtain analysis data, and determines whether the key identity verification of the associated intelligent key is successful based on the analysis data and the identification information.

[0066] Step S206, in the case that the key identity verification is passed, the user terminal device establishes a Bluetooth connection with the associated intelligent key based on the identification information, and transmits the key information to the associated intelligent key based on the established Bluetooth connection.

[0067] From the above, the cable pipe lock management device obtains the connection record data of each smart key in the stored smart key information set, determines a plurality of to-be-determined associated smart keys that meet the preset connectable condition based on the connection record data, and matches the pre-opened cable pipe smart lock information with the identification information of each to-be-determined associated smart key, and determines the to-be-determined associated smart key corresponding to the identification information matched with the pre-opened cable pipe smart lock information as the associated smart key of the user terminal device. The scheme can reduce the workload of matching processing by screening the connectable smart keys in the smart key information set based on the connection record data, and then matching with the pre-opened cable pipe smart lock information, so as to quickly determine the associated smart key of the user terminal device.

[0068] Figure 3 Another flowchart of the cable pipe lock key information transmission method based on Bluetooth connection provided by the embodiment of the application is shown in FIG. 6, which shows a specific method for determining and analyzing data, and specifically includes the following steps. Figure 3

[0069] Step S301, in the case where the cable pipe lock management device has generated key information, the cable pipe lock management device queries the associated smart key information set according to the received user terminal device information, and obtains the pre-opened cable pipe smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information.

[0070] Step S302, the cable pipe lock management device determines the associated smart key of the user terminal device according to the smart key information set and the pre-opened cable pipe smart lock information, the smart key information set includes the to-be-verified code and identification information of a plurality of smart keys, and the key information and the to-be-verified code and identification information of the associated smart key are synchronously issued to the user terminal device.

[0071] Step S303, the user terminal device receives the key information, the to-be-verified code and identification information of the associated smart key sent by the cable pipe lock management device, determines the adjacent code characters in the same format from front to back in the to-be-verified code as a matching object, and obtains analysis data by matching and combining each matching object with pre-stored matching information.

[0072] ​The format can be the format of each character in the to-be-verified code, for example, the to-be-verified code is ac13AB, the format of "a" and "c" is the format of a lowercase letter, the format of "1" and "2" is the format of a number, and the format of "A" and "B" is the format of an uppercase letter. The matching object is used to represent the object subjected to the matching combination processing. The pre-stored matching information is used to represent the information pre-stored for the matching combination processing. The matching combination processing is performed by using the matching object and the pre-stored matching information, so that the parsed data of the to-be-verified code of the associated smart key can be determined. Optionally, the pre-stored matching information includes a plurality of preset matching objects and corresponding strings. One matching combination processing manner can be that the user terminal device matches each matching object with each preset matching object, determines the string corresponding to the preset matching object that is successfully matched as the to-be-combined parsed data of the matching object, and combines the to-be-combined parsed data of each matching object according to the arrangement order in the to-be-verified code to obtain the parsed data. An exemplary example can be that the to-be-verified code is ac13AB, the matching object 1 is ac, the matching object 2 is 13, and the matching object 3 is AB. The string corresponding to the preset matching object with the content of ac, that is, the to-be-combined parsed data of the matching object 1, is xz. The string corresponding to the preset matching object with the content of 13, that is, the to-be-combined parsed data of the matching object 2, is mac. The string corresponding to the preset matching object with the content of AB, that is, the to-be-combined parsed data of the matching object 3, is 12ab. The to-be-combined parsed data of each matching object is combined according to the arrangement order in the to-be-verified code to obtain the parsed data xzmac12ab. In another embodiment, the user terminal device matches each matching object with each preset matching object in the pre-stored matching information, determines the string corresponding to the preset matching object that is successfully matched as the to-be-combined parsed data of the matching object, and combines the to-be-combined parsed data of each matching object according to the preset arrangement order to obtain the parsed data.

[0073] In step S304, whether the key identity verification of the associated smart key is successful is determined based on the parsed data and the identification information.

[0074] In step S305, in the case where the key identity verification is passed, the user terminal device establishes a Bluetooth connection with the associated smart key based on the identification information, and transmits the key information to the associated smart key based on the established Bluetooth connection.

[0075] From the above, the user terminal device determines the adjacent code characters in the to-be-verified code of the associated smart key from front to back as a matching object, and obtains the analysis data by matching and combining each matching object with the pre-stored matching information. The scheme can improve the complexity of the to-be-verified code analysis and improve the security of the subsequent key identity verification by splitting the to-be-verified code to obtain multiple matching objects and performing matching and combination processing on each matching object to obtain the analysis data of the to-be-verified code.

[0076] Figure 4 A module structure block diagram of a cable duct lock key information transmission system based on Bluetooth connection is provided for the embodiments of the application. The system is used to execute the cable duct lock key information transmission method based on Bluetooth connection provided by the above embodiments, and has the corresponding function modules and beneficial effects of the execution method. As shown in the figure, the system specifically includes: Figure 4

[0077] The query module 101 is configured to query the associated smart key information set according to the received user terminal device information in the case that the cable duct lock management device has generated the key information.

[0078] The acquisition module 102 is configured to acquire the pre-opened cable duct smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information.

[0079] The key determination module 103 is configured to determine the associated smart key of the user terminal device according to the smart key information set and the pre-opened cable duct smart lock information by the cable duct lock management device. The smart key information set includes the to-be-verified code and identification information of multiple smart keys.

[0080] The information delivery module 104 is configured to synchronously deliver the key information, the to-be-verified code and the identification information of the associated smart key to the user terminal device.

[0081] The analysis data determination module 105 is configured to receive the key information, the to-be-verified code and the identification information of the associated smart key sent by the cable duct lock management device, sequentially split the to-be-verified code, and perform matching and combination processing to obtain the analysis data.

[0082] The key identity verification module 106 is configured to determine whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information.

[0083] The Bluetooth connection establishment module 107 is configured to establish Bluetooth connection between the user terminal device and the associated smart key based on the identification information in the case that the key identity verification is passed.

[0084] ​The key transmission module 108 is configured to transmit the key information to the associated smart key based on the established Bluetooth connection.

[0085] According to the above scheme, in the case that the cable pipe lock management device has generated the key information, the cable pipe lock management device queries the associated smart key information set according to the received user terminal device information, and acquires the pre-opening cable pipe smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information. The cable pipe lock management device determines the associated smart key of the user terminal device according to the smart key information set and the pre-opening cable pipe smart lock information. The smart key information set includes the to-be-verified codes and identification information of multiple smart keys. The key information and the to-be-verified codes and identification information of the associated smart key are synchronously issued to the user terminal device. The user terminal device receives the key information and the to-be-verified codes and identification information of the associated smart key sent by the cable pipe lock management device, sequentially splits and matches the to-be-verified codes to obtain analysis data, determines whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information, and in the case that the key identity verification is passed, the user terminal device establishes a Bluetooth connection with the associated smart key based on the identification information, and transmits the key information to the associated smart key based on the established Bluetooth connection. Through the key identity verification, the scheme solves the problem that the security of the Bluetooth connection between the user terminal device and the smart key is relatively low in the existing cable pipe smart lock management technology, and the security of the key transmission is also relatively low, and can realize the secure connection between the user terminal device and the smart key and ensure the secure transmission of the key.

[0086] In one possible implementation, the key determination module 103 is specifically configured to:

[0087] The cable pipe lock management device acquires the connection record data of each smart key in the stored smart key information set, and determines multiple to-be-determined associated smart keys that meet a preset connectable condition based on the connection record data.

[0088] The cable pipe lock management device performs matching processing on the pre-opening cable pipe smart lock information and the identification information of each to-be-determined associated smart key, and determines the to-be-determined associated smart key corresponding to the identification information that matches the pre-opening cable pipe smart lock information as the associated smart key of the user terminal device.

[0089] In one possible implementation, the key determination module 103 is further configured to:

[0090] The cable conduit lock management device determines the connection times of the respective smart keys within a preset time according to the connection record data, and determines the smart key whose connection times do not reach a preset number as a to-be-determined associated smart key.

[0091] In a possible embodiment, the parsing data determination module 105 is specifically configured to:

[0092] The user terminal device determines adjacent encoding characters in the to-be-verified encoding as a matching object, and obtains parsing data by matching and combining each matching object with pre-stored matching information.

[0093] In a possible embodiment, the parsing data determination module 105 is further configured to:

[0094] The user terminal device matches each matching object with each preset matching object respectively, determines a string corresponding to a preset matching object that matches successfully as to-be-combined parsing data of the matching object, and combines to-be-combined parsing data of each matching object according to an arrangement order in the to-be-verified encoding to obtain parsing data.

[0095] In a possible embodiment, the key identity verification module 106 is specifically configured to:

[0096] The user terminal device obtains pre-stored comparison information, the pre-stored comparison information includes a plurality of comparison parsing data and associated comparison identification information, and queries whether there is comparison parsing data identical to the parsing data in the pre-stored comparison information.

[0097] In a case where there is comparison parsing data identical to the parsing data, the user terminal device determines whether comparison identification information associated with the comparison parsing data is identical to the identification information, in a case of identity, determines that key identity verification of the associated smart key is successful, otherwise, determines that key identity verification of the associated smart key is unsuccessful.

[0098] In a possible embodiment, the Bluetooth connection establishment module 107 is specifically configured to:

[0099] The user terminal device sets the identification information as priority search information, and searches for broadcast information in which the identification information exists, in a case where broadcast information in which the identification information exists is searched, the user terminal device is automatically connected with a smart key that sends the broadcast information in which the identification information exists.

[0100] Figure 5 A structural schematic diagram of a cable conduit lock key information transmission device based on Bluetooth connection provided by an embodiment of the present application is shown in FIG. 1. Figure 5As shown, the device includes a processor 201, a memory 202, an input device 203 and an output device 204; the number of processors 201 in the device can be one or more, Figure 5 In an example, one processor 201 is taken as an example; the processor 201, the memory 202, the input device 203 and the output device 204 in the device can be connected through a bus or other means, Figure 5 In an example, the connection through the bus is taken as an example. The memory 202, as a kind of computer readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions or modules corresponding to the cable pipe lock key information transmission method based on Bluetooth connection in the embodiment of the present application. The processor 201 executes the software program, instruction and module stored in the memory 202, thereby executing various function applications and data processing of the device, that is, realizing the cable pipe lock key information transmission method based on Bluetooth connection described above. The input device 203 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 204 can include display devices such as display screen.

[0101] The embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute the cable pipe lock key information transmission method based on Bluetooth connection when executed by a computer processor, and the method comprises:

[0102] The cable pipe lock management device queries the associated smart key information set according to the received user terminal device information in the case of having generated key information, and obtains the pre-opening cable pipe smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information;

[0103] The cable pipe lock management device determines the associated smart key of the user terminal device according to the smart key information set and the pre-opening cable pipe smart lock information, the smart key information set includes the to-be-verified code and identification information of a plurality of smart keys, and the key information and the to-be-verified code and identification information of the associated smart key are synchronously issued to the user terminal device;

[0104] The user terminal device receives the key information, the to-be-verified code and identification information of the associated smart key sent by the cable pipe lock management device, sequentially splits and matches the to-be-verified code to obtain analysis data, determines whether the key identity verification of the associated smart key is successful based on the analysis data and the identification information, and in the case that the key identity verification is passed, the user terminal device establishes Bluetooth connection with the associated smart key based on the identification information;

[0105] The user terminal device transmits the key information to the associated smart key based on the established Bluetooth connection.

[0106] It is worth noting that the embodiments of the cable conduit lock key information transmission method based on Bluetooth connection described above include various units and modules only according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy mutual distinction, and are not used to limit the protection scope of the embodiments of the present application.

[0107] Note that the above is only the preferred embodiment of the present application and the technical principle applied. Those skilled in the art will understand that the embodiments of the present application are not limited to the specific embodiments described herein, and those skilled in the art can make various obvious changes, readjustments and substitutions without departing from the scope of the embodiments of the present application. Therefore, although the embodiments of the present application have been described in more detail through the above embodiments, the embodiments of the present application are not limited to the above embodiments, and can include more other equivalent embodiments without departing from the concept of the embodiments of the present application, and the scope of the embodiments of the present application is determined by the scope of the appended claims.

Claims

1. A method for transmitting cable duct lock key information based on Bluetooth connection, characterized in that, include: When the key information has been generated, the cable duct lock management device queries the associated smart key information set based on the received user terminal device information, and obtains the pre-opening cable duct smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information. The cable duct lock management device determines the associated smart key of the user terminal device based on the smart key information set and the pre-opening cable duct smart lock information. The smart key information set includes the verification codes and identification information of multiple smart keys. The key information and the verification codes and identification information of the associated smart keys are synchronously sent to the user terminal device. The user terminal device receives key information, the verification code of the associated smart key, and identification information sent by the cable duct lock management device. The user terminal device identifies adjacent characters with the same format in the verification code as a matching object, and performs matching and combination processing with pre-stored matching information to obtain parsed data. The pre-stored matching information includes multiple preset matching objects and corresponding strings. The process of matching and combining each matching object with the pre-stored matching information to obtain parsed data includes: the user terminal device matching each matching object with each preset matching object; identifying the string corresponding to the successfully matched preset matching object as the parsed data to be combined for that matching object; combining the parsed data of each matching object according to the order in the verification code to obtain parsed data; and determining whether the key authentication of the associated smart key is successful based on the parsed data and the identification information. If the key authentication is successful, the user terminal device establishes a Bluetooth connection with the associated smart key based on the identification information. The user terminal device transmits the key information to the associated smart key based on the established Bluetooth connection.

2. The method for transmitting cable duct lock key information based on Bluetooth connection according to claim 1, characterized in that, The step of determining the associated smart key of the user terminal device based on the smart key information set and the pre-opening cable duct smart lock information includes: The cable duct lock management device acquires connection record data of each smart key in the stored smart key information set, and determines multiple undetermined associated smart keys that meet preset connection conditions based on the connection record data. The cable duct lock management device matches the information of the pre-opening cable duct smart lock with the identification information of the multiple smart keys to be associated, and determines the smart key to be associated with the identification information that successfully matches the information of the pre-opening cable duct smart lock as the associated smart key of the user terminal device.

3. The method for transmitting cable duct lock key information based on Bluetooth connection according to claim 2, characterized in that, The step of determining multiple unassigned smart keys that meet preset connection conditions from among the various smart keys based on the connection record data includes: The cable duct lock management device determines the number of times each smart key connects within a preset time period based on the connection record data, and identifies smart keys whose connection count has not reached the preset number as smart keys to be associated.

4. The cable conduit lock key information transmission method based on Bluetooth connection according to any one of claims 1-3, characterized in that, The step of determining whether the key authentication of the associated smart key is successful based on the parsed data and the identification information includes: The user terminal device acquires pre-stored comparison information, which includes multiple comparison parsing data and associated comparison identification information, and queries whether there is comparison parsing data in the pre-stored comparison information that is the same as the parsing data. If there is matching parsing data that is identical to the parsed data, the user terminal device determines whether the matching identification information associated with the matching parsing data is the same as the identification information. If they are the same, the device determines that the key authentication of the associated smart key is successful; otherwise, the device determines that the key authentication of the associated smart key is unsuccessful.

5. The cable conduit lock key information transmission method based on Bluetooth connection according to any one of claims 1-3, characterized in that, The user terminal device establishes a Bluetooth connection with the associated smart key based on the identification information, including: The user terminal device sets the identification information as the priority search information and searches for broadcast information containing the identification information. If broadcast information containing the identification information is found, the user terminal device automatically connects to the smart key that sent the broadcast information containing the identification information.

6. A cable duct lock key information transmission system based on Bluetooth connection, characterized in that, include: The query module is used to query the set of associated smart key information based on the received user terminal device information, given that key information has already been generated. The acquisition module is used to acquire the pre-opening cable duct smart lock information uploaded by the user terminal device corresponding to the stored user terminal device information; The key determination module is used to determine the associated smart key of the user terminal device based on the smart key information set and the smart lock information of the pre-opened cable duct. The smart key information set includes the verification codes and identification information of multiple smart keys. The information delivery module is used to synchronously deliver the key information, the verification code of the associated smart key, and the identification information to the parsing data determination module. The data parsing and determination module is used to receive key information, verification code of associated smart key and identification information sent by the information delivery module, determine adjacent coded characters with the same format from front to back in the verification code as a matching object, match each matching object with each preset matching object, determine the string corresponding to the successfully matched preset matching object as the parsing data to be combined for the matching object, and combine the parsing data to be combined for each matching object according to the arrangement order in the verification code to obtain the parsing data; The key authentication module is used to determine whether the key authentication of the associated smart key is successful based on the parsed data and the identification information; A Bluetooth connection establishment module is used to establish a Bluetooth connection with the associated smart key based on the identification information when the key authentication is successful. A key transmission module is used to transmit the key information to the associated smart key based on the established Bluetooth connection.

7. A cable duct lock key information transmission device based on Bluetooth connection, the device comprising: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the Bluetooth-based cable duct lock key information transmission method as described in any one of claims 1-5.

8. A storage medium storing computer-executable instructions, which, when executed by a computer processor, are used to perform the cable duct lock key information transmission method based on a Bluetooth connection as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Intelligent electric control lock control system and method

    CN106127885A

  • Intelligent Bluetooth electronic lock

    CN106600794A