CN112065166B - Mechanical lock password reading method, device, system, equipment and storage medium - Google Patents

Mechanical lock password reading method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN112065166B
CN112065166B CN202010878364.5A CN202010878364A CN112065166B CN 112065166 B CN112065166 B CN 112065166B CN 202010878364 A CN202010878364 A CN 202010878364A CN 112065166 B CN112065166 B CN 112065166B
Authority
CN
China
Prior art keywords
password
mechanical lock
voltage
reading
wheel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010878364.5A
Other languages
Chinese (zh)
Other versions
CN112065166A (en
Inventor
胡杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kunshan Intelligent Technology Co.,Ltd.
Original Assignee
Suzhou Kunshan Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Kunshan Intelligent Technology Co ltd filed Critical Suzhou Kunshan Intelligent Technology Co ltd
Priority to CN202010878364.5A priority Critical patent/CN112065166B/en
Publication of CN112065166A publication Critical patent/CN112065166A/en
Application granted granted Critical
Publication of CN112065166B publication Critical patent/CN112065166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B37/00Permutation or combination locks; Puzzle locks
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B15/00Other details of locks; Parts for engagement by bolts of fastening devices
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B37/00Permutation or combination locks; Puzzle locks
    • E05B37/0044Permutation or combination locks; Puzzle locks with telephone-type dial

Abstract

The embodiment of the invention discloses a method for reading a mechanical lock password, which comprises the following steps: establishing a corresponding relation between each digital tooth position on the password wheel and a voltage sampling value; collecting the voltage value of each password wheel when the mechanical lock is at a set password position; and determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock. According to the password reading method of the mechanical lock, provided by the embodiment of the invention, the voltage value of each password wheel when the mechanical lock is at the set password position is collected, the password of the mechanical lock is determined according to the corresponding relation between the digital tooth position and the voltage value, when a user forgets the password, the password of the mechanical lock can be obtained without adopting a breaking-in unlocking mode, and the convenience of the user in using the mechanical lock is improved.

Description

Mechanical lock password reading method, device, system, equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of mechanical coded locks, in particular to a method, a device, a system, equipment and a storage medium for reading a mechanical lock password.
Background
The mechanical coded lock is largely used in life and production due to the characteristic of no physical key, and is popular with users. However, the mechanical combination lock brings convenience to the user, and also is easy to cause the user to forget the set combination and have to unlock the combination in a breaking-in manner, thereby bringing inconvenience to the user.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a system, equipment and a storage medium for reading a mechanical lock password, which can read the mechanical lock password, thereby improving the convenience of using a mechanical lock by a user.
In a first aspect, an embodiment of the present invention provides a method for reading a password of a mechanical lock, including:
establishing a corresponding relation between each digital tooth position on the password wheel and a voltage sampling value;
collecting the voltage value of each password wheel when the mechanical lock is at a set password position;
and determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock.
Further, establishing a corresponding relation between each digital tooth position on the code wheel and a voltage sampling value, comprising the following steps of:
and sequentially collecting the voltage values of the password wheel on the digital tooth positions to establish the corresponding relation between the voltage values and the digital tooth positions.
Further, after reading the password of the mechanical lock, the method further comprises:
and sending the password to a terminal associated with the mechanical lock.
In a second aspect, an embodiment of the present invention further provides a device for reading a password, including:
the corresponding relation establishing module is used for establishing the corresponding relation between each digital tooth position on the code wheel and the voltage sampling value;
the voltage value acquisition module is used for acquiring the voltage value of each password wheel when the mechanical lock is at the set password position;
and the password reading module is used for determining the digital tooth position corresponding to the voltage value according to the corresponding relation and reading the password of the mechanical lock.
Optionally, the correspondence relationship establishing module is further configured to:
and sequentially collecting the voltage values of the password wheel on the digital tooth positions to establish the corresponding relation between the voltage values and the digital tooth positions.
In a third aspect, an embodiment of the present invention further provides a system for reading a mechanical lock password, where the system includes: the device comprises a multi-path selection switch, a plurality of divider resistors, a microcontroller, a voltage collector and at least one password wheel;
one end of the multi-path selection switch is connected with the voltage input end, and the other end of the multi-path selection switch is connected with the at least one password wheel; the voltage collectors are arranged at two ends of the divider resistor; the microcontroller is connected with the voltage collector and used for receiving the voltage value collected by the voltage collector;
the password wheel is provided with a plurality of digital tooth positions; the divider resistors are connected with the digital tooth positions in a one-to-one corresponding manner;
the multi-way selection switch is used for selectively switching on one password wheel; the voltage collector is used for collecting voltages at two ends of the connected divider resistor; the connected divider resistor is connected with the digital tooth position where the password wheel is located currently; the microcontroller is also used for establishing a corresponding relation between the voltage value and the digital tooth position and determining the password of the mechanical lock according to the corresponding relation and the voltage of each password wheel when the mechanical lock is at the set password position.
Optionally, the system further includes: a common resistance; the common resistor is connected between the multi-path selection switch and the voltage division resistor.
Optionally, the resistance values of the voltage dividing resistors corresponding to the same password wheel are different.
In a fourth aspect, an embodiment of the present invention further provides a computer device, where the computer device includes: the mechanical lock password reading method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the mechanical lock password reading method according to any one of the embodiments of the invention.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements the method for reading a mechanical lock password according to any one of the embodiments of the present invention.
Firstly, establishing a corresponding relation between each digital tooth position on a code wheel and a voltage sampling value; then collecting the voltage value of each password wheel when the mechanical lock is at the set password position; and finally, determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock. According to the password reading method of the mechanical lock, provided by the embodiment of the invention, the voltage values of the password wheels when the mechanical lock is at the set password position are collected, the password of the mechanical lock is determined according to the corresponding relation between the digital tooth position and the voltage values, when a user forgets the password, the password of the mechanical lock can be obtained without unlocking in a breaking-in mode, and the convenience of using the mechanical lock by the user is improved.
Drawings
Fig. 1 is a flowchart of a method for reading a mechanical lock password according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a mechanical lock according to an embodiment of the present invention;
FIG. 3 is a circuit diagram of a method for reading a mechanical lock password according to a first embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a device for reading a combination of a mechanical lock according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mechanical lock password reading system according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of a method for reading a mechanical lock password according to an embodiment of the present invention, where the embodiment is applicable to a situation where a mechanical lock password is read, and the method may be executed by a device for reading a mechanical lock password, where the device may be composed of hardware and/or software, and may be generally integrated in a device having a function of reading a mechanical lock password, where the device may be an electronic device such as a server or a server cluster. As shown in fig. 1, the method specifically comprises the following steps:
and step 110, establishing a corresponding relation between each digital tooth position on the password wheel and a voltage sampling value.
Fig. 2 is a schematic structural diagram of a mechanical lock according to an embodiment of the present invention, as shown in fig. 2, a typical mechanical combination lock can be split into five parts, where B is a combination wheel, the combination wheel can rotate, and there are ten digital tooth positions of 0 to 9. A mechanical coded lock can comprise at least one code wheel, when a user sets a code, the number which the user wants to set on each code wheel is rotated to a corresponding position, and when the mechanical coded lock is opened, the code wheels are also rotated to enable the tooth positions of the numbers to be matched with the set code positions.
Fig. 3 is a circuit diagram of a method for reading a password of a mechanical lock according to an embodiment of the present invention, as shown in fig. 3, one password wheel corresponds to a plurality of voltage dividing resistors, the voltage dividing resistors correspond to digital tooth positions on the password wheel one to one, and resistance values of the voltage dividing resistors corresponding to the same password wheel are different. Typically, a plurality of voltage dividing resistors corresponding to the same cipher wheel can be arranged according to the rule that the resistance value increases or decreases.
In this embodiment, the manner of establishing the correspondence between each digital tooth position on the cipher wheel and the voltage sampling value may be: and sequentially collecting the voltage values of the password wheel on the digital tooth positions to establish the corresponding relation between the voltage values and the digital tooth positions.
Specifically, because the resistance values of a plurality of divider resistors corresponding to the same password wheel are different, and the voltage values at two ends of the divider resistors connected with each digital tooth position on the password wheel are also different, the corresponding relation table of the voltage values and the digital tooth positions can be established by sequentially gating and collecting the voltage values of each password wheel on each digital tooth position.
And step 120, acquiring the voltage value of each password wheel when the mechanical lock is at the set password position.
Specifically, after the user sets the password of the mechanical lock, the mechanical lock is internally positioned at the set password position, and at the moment, the voltage values at two ends of the divider resistor communicated with each password wheel can be sequentially collected. The connected divider resistor is connected with the password bit currently set by the password wheel. For example, if the mechanical lock includes three code wheels and the code is set to 321, the voltage dividing resistors that are connected to the 3, 2, and 1 digit positions of the three code wheels are connected to the voltage dividing resistors.
And step 130, determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock.
Specifically, after the voltage value of each password wheel when the mechanical lock is at the set password position is collected, the set password position on each password wheel can be determined according to the established corresponding relation between the digital tooth position on the password wheel and the voltage sampling value, and the password position of each password wheel is sequentially determined to obtain the password of the mechanical password lock.
In this embodiment, after reading the password of the mechanical lock, the following steps may be further performed: the password is sent to a terminal associated with the mechanical lock.
Specifically, the mechanical coded lock in the embodiment of the invention can be in communication connection with a terminal such as a mobile phone of a user, and after the password of the mechanical coded lock is read, the password can be sent to the terminal of the user through the communication connection, so that the user can conveniently check the set password. For example, when the user forgets the set password, the set password can be read through the mobile phone, and the lock can be unlocked without being broken.
In the embodiment of the invention, the corresponding relation between each digital tooth position on the password wheel and a voltage sampling value is established; then collecting the voltage value of each password wheel when the mechanical lock is at the set password position; and finally, determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock. According to the password reading method of the mechanical lock, provided by the embodiment of the invention, the voltage value of each password wheel when the mechanical lock is at the set password position is collected, the password of the mechanical lock is determined according to the corresponding relation between the digital tooth position and the voltage value, when a user forgets the password, the password of the mechanical lock can be obtained without adopting a breaking-in unlocking mode, and the convenience of the user in using the mechanical lock is improved.
Example two
Fig. 4 is a schematic structural diagram of a device for reading a mechanical lock password according to a second embodiment of the present invention. As shown in fig. 4, the apparatus includes: a corresponding relation establishing module 410, a voltage value collecting module 420 and a password reading module 430.
The correspondence establishing module 410 is used for establishing the correspondence between each digital tooth position on the password wheel and the voltage sampling value.
And the voltage value acquisition module 420 is used for acquiring the voltage value of each password wheel when the mechanical lock is at the set password position.
And the password reading module 430 is configured to determine a digital tooth position corresponding to the voltage value according to the correspondence, and read a password of the mechanical lock.
Optionally, the corresponding relationship establishing module 410 is further configured to: and sequentially collecting the voltage values of the password wheel on the digital tooth positions to establish the corresponding relation between the voltage values and the digital tooth positions.
Optionally, the apparatus further comprises: and the password sending module is used for sending the password to the terminal associated with the mechanical lock.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a mechanical lock password reading system according to a third embodiment of the present invention, as shown in fig. 5, the system includes: the device comprises a multi-path selection switch, a plurality of divider resistors, a microcontroller, a voltage collector and at least one password wheel.
One end of the multi-path selection switch is connected with the voltage input end, and the other end of the multi-path selection switch is connected with at least one password wheel; the voltage collectors are arranged at two ends of the divider resistor; the microcontroller is connected with the voltage collector and used for receiving the voltage value collected by the voltage collector.
The password wheel is provided with a plurality of digital tooth positions; the divider resistors are connected with the digital tooth positions in a one-to-one correspondence manner.
The multi-path selection switch is used for selectively connecting one password wheel; the voltage collector is used for collecting voltages at two ends of the connected divider resistor; the connected divider resistor is connected with the digital tooth position where the password wheel is located currently; the microcontroller is also used for establishing a corresponding relation between the voltage value and the digital tooth position and determining the password of the mechanical lock according to the corresponding relation and the voltage of each password wheel when the mechanical lock is at the set password position.
The connected divider resistor is connected with the digital tooth position where the password wheel is located currently.
Optionally, the system further includes a common resistor, and the common resistor is connected between the multiplexing switch and the voltage dividing resistor.
In this embodiment, the resistance values of the voltage dividing resistors corresponding to the same cipher wheel are different.
Example four
Fig. 6 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 6 illustrates a block diagram of a computer device 612 suitable for use in implementing embodiments of the present invention. The computer device 612 shown in fig. 6 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention. Device 612 is a typical mechanical lock password reading computing device.
As shown in fig. 6, the computer device 612 is in the form of a general purpose computing device. Components of computer device 612 may include, but are not limited to: one or more processors 616, a memory device 628, and a bus 618 that couples various system components including the memory device 628 and the processors 616.
Bus 618 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures can include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 612 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 612 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 628 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 630 and/or cache Memory 632. The computer device 612 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 634 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In such cases, each drive may be connected to bus 618 by one or more data media interfaces. Storage device 628 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program 636 having a set (at least one) of program modules 626 may be stored, for example, in storage device 628, such program modules 626 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 626 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
Computer device 612 may also communicate with one or more external devices 614 (e.g., keyboard, pointing device, camera, display 624, etc.), with one or more devices that enable a user to interact with computer device 612, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 612 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 622. Further, computer device 612 may also communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via Network adapter 620. As shown, the network adapter 620 communicates with the other modules of the computer device 612 via the bus 618. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the computer device 612, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 616 executes various functional applications and data processing by running programs stored in the storage device 628, for example, implementing the method for reading the mechanical lock password provided by the above-described embodiment of the present invention.
EXAMPLE five
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements a method for reading a mechanical lock password as in an embodiment of the present invention. The computer readable medium of the present invention described above may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: establishing a corresponding relation between each digital tooth position on the password wheel and a voltage sampling value; collecting the voltage value of each password wheel when the mechanical lock is at a set password position; and determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (7)

1. A method for reading a mechanical lock password is characterized by comprising the following steps:
sequentially collecting voltage values of the password wheel on each digital tooth position to establish a corresponding relation between the voltage values and the digital tooth positions;
collecting the voltage value of each password wheel when the mechanical lock is at a set password position;
determining the digital tooth position corresponding to the voltage value according to the corresponding relation, and reading the password of the mechanical lock;
and sending the password to a terminal associated with the mechanical lock.
2. A mechanical lock combination reading device, comprising:
the corresponding relation establishing module is used for sequentially acquiring voltage values of the password wheels on the digital tooth positions so as to establish the corresponding relation between the voltage values and the digital tooth positions;
the voltage value acquisition module is used for acquiring the voltage value of each password wheel when the mechanical lock is at the set password position;
the password reading module is used for determining the digital tooth position corresponding to the voltage value according to the corresponding relation and reading the password of the mechanical lock;
and the password sending module is used for sending the password to a terminal associated with the mechanical lock.
3. A mechanical lock combination reading system, comprising: the device comprises a multi-path selection switch, a plurality of divider resistors, a microcontroller, a voltage collector and at least one password wheel;
one end of the multi-path selection switch is connected with the voltage input end, and the other end of the multi-path selection switch is connected with the at least one password wheel; the voltage collectors are arranged at two ends of the divider resistor; the microcontroller is connected with the voltage collector and used for receiving the voltage value collected by the voltage collector;
the password wheel is provided with a plurality of digital tooth positions; the divider resistors are connected with the digital tooth positions in a one-to-one corresponding manner;
the multi-way selection switch is used for selectively switching on one password wheel; the voltage collector is used for collecting voltages at two ends of the connected divider resistor; the connected divider resistor is connected with the digital tooth position where the password wheel is located currently; the microcontroller is also used for establishing a corresponding relation between the voltage value and the digital tooth position, and determining the password of the mechanical lock according to the corresponding relation and the voltage of each password wheel when the mechanical lock is at the set password position.
4. The system of claim 3, further comprising: a common resistance; the common resistor is connected between the multi-path selection switch and the voltage division resistor.
5. The system of claim 3 wherein the plurality of voltage divider resistors for the same code wheel have different resistance values.
6. A computer device, characterized in that the device comprises: comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method for reading a mechanical lock password as claimed in claim 1 when executing the program.
7. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processing device, implements a method for reading a mechanical lock code according to claim 1.
CN202010878364.5A 2020-08-27 2020-08-27 Mechanical lock password reading method, device, system, equipment and storage medium Active CN112065166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010878364.5A CN112065166B (en) 2020-08-27 2020-08-27 Mechanical lock password reading method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010878364.5A CN112065166B (en) 2020-08-27 2020-08-27 Mechanical lock password reading method, device, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112065166A CN112065166A (en) 2020-12-11
CN112065166B true CN112065166B (en) 2022-09-02

Family

ID=73660418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010878364.5A Active CN112065166B (en) 2020-08-27 2020-08-27 Mechanical lock password reading method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112065166B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2750000Y (en) * 2004-07-19 2006-01-04 上海伙伴科技发展有限公司 Rolling wheel type cipher lock assembly and its application
US7827430B2 (en) * 2006-07-26 2010-11-02 Broadcom Corporation Integrated circuit with interpolation to avoid harmonic interference
CN104915140A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Processing method based on virtual key touch operation data and processing device based on virtual key touch operation data
EP3303738A4 (en) * 2015-06-05 2019-01-09 Sargent and Greenleaf Inc. High security electromechanical lock

Also Published As

Publication number Publication date
CN112065166A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
US9628107B2 (en) Compression of floating-point data by identifying a previous loss of precision
CN111800513B (en) Method and device for pushing information and computer readable medium of electronic equipment
US20190012404A1 (en) Directed graph compression
CN111949850A (en) Multi-source data acquisition method, device, equipment and storage medium
CN112328927A (en) Document processing method and device, readable medium and electronic equipment
CN112065166B (en) Mechanical lock password reading method, device, system, equipment and storage medium
CN108037976A (en) Intelligent Matching method, medium and the equipment of a kind of portal template
CN106603099B (en) A kind of single-bit receiver signal detection method based on probability calculation
CN1585408B (en) Supplicant and authenticator intercommunication mechanism
CN113298573A (en) Content delivery strategy comparison method and device, readable medium and electronic equipment
CN111124541A (en) Configuration file generation method, device, equipment and medium
CN112152758B (en) Navigation communication method and device
CN112000667B (en) Method, apparatus, server and medium for retrieving tree data
CN115344688A (en) Business data display method and device, electronic equipment and computer readable medium
Lin et al. Analysis and power evaluation of window‐stopped parallel turbo decoding for LTE rate matching
CN112187684A (en) Soft demodulation method, device, receiver and storage medium
CN113076534A (en) User distinguishing method, device, equipment and storage medium
CN111143355B (en) Data processing method and device
CN114611120A (en) Data encryption method, device, equipment and medium
CN111858109A (en) Mutually exclusive logic verification method, device, equipment and storage medium
CN113505905A (en) Vehicle firmware replacement method, device, equipment and storage medium
CN112258091A (en) Data transmission method, device, equipment and storage medium
CN112667119A (en) Measuring point batch correlation method and device, electronic equipment and computer readable medium
CN111782895A (en) Retrieval processing method and device, readable medium and electronic equipment
CN111382233A (en) Similar text detection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221226

Address after: 201107 Room 3445, Area A, Floor 3, Building 1, No. 9138, Beiqing Road, Qingpu District, Shanghai

Patentee after: Shanghai Kunshan Intelligent Technology Co.,Ltd.

Address before: 215345 No. 118 Dianxing Road, Dianshan Lake Town, Kunshan City, Suzhou City, Jiangsu Province

Patentee before: SUZHOU KUNSHAN INTELLIGENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right